/* ============================================
   Ansoon Superior — Custom Theme
   Primary: #BD242A | Secondary: #FFFFFF
   ============================================ */

/* ---------- Variables ---------- */
:root {
  --primary: #BD242A;
  --primary-dark: #9a1d22;
  --primary-light: #d43a3f;
  --secondary: #FFFFFF;
  --dark: #1a1a1a;
  --dark-bg: #1a1a1a;
  --dark-bg-light: #2a2a2a;
  --text: #555555;
  --text-light: #888888;
  --white: #ffffff;
  --light-bg: #f7f7f7;
  --border: #e0e0e0;
  --gradient-dark: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
  --gradient-primary: linear-gradient(135deg, #BD242A 0%, #d43a3f 100%);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
  --radius: 5px;
  --transition: all 0.35s ease;
}

/* ---------- Reset & Global ---------- */
* { box-sizing: border-box; }

body {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img { max-width: 100%; height: auto; }

section { padding: 90px 0; }

/* ---------- Reusable Section Header ---------- */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.section-header-row .section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin: 0;
}

.section-header-row .section-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--dark);
  margin: 0;
}

.section-header-row .section-link a {
  color: var(--dark);
}

.section-header-row .section-link a:hover {
  color: var(--primary);
}

.section-heading {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 40px;
  max-width: 700px;
}

.section-heading-white {
  color: var(--white);
}

.section-desc {
  font-size: 15px;
  color: var(--text);
  max-width: 550px;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn-ac {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ac:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(189,36,42,0.3);
}

.btn-ac i { font-size: 12px; }

.btn-ac-white {
  background: var(--white);
  color: var(--primary);
}

.btn-ac-white:hover {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-ac-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.btn-ac-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.btn-ac-dark-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--dark);
}

.btn-ac-dark-outline:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   NAVBAR — Floating dark pill (logo+links)
   + separate CTA on right
   ============================================ */
.navbar {
  padding: 20px 0;
  transition: var(--transition);
  z-index: 1050;
  background: transparent;
}

.navbar.scrolled {
  background: var(--white);
  padding: 12px 0;
}

/* Outer flex: centers the pill + CTA */
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 20px;
}

/* ---- The dark pill (logo + nav links) ---- */
.navbar-pill {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 50px;
  padding: 8px 10px 8px 18px;
  gap: 8px;
  transition: var(--transition);
}


/* Logo inside pill */
.navbar-pill .navbar-brand {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  margin-right: 8px;
}

.navbar-pill .navbar-brand img {
  height: 42px;
  transition: var(--transition);
}

.navbar.scrolled .navbar-pill .navbar-brand img {
  height: 36px;
}

/* Nav links inside pill */
.navbar-pill .nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.navbar-pill .nav-links .nav-link {
  color: var(--dark);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 10px 16px;
  transition: var(--transition);
  white-space: nowrap;
}

.navbar-pill .nav-links .nav-link:hover {
  color: var(--primary);
}

.navbar-pill .nav-links .nav-link.active {
  color: var(--primary);
}

/* ---- CTA button (outside pill, right side) ---- */
.navbar-cta {
  flex-shrink: 0;
}

.navbar-cta .btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  white-space: nowrap;
}

.navbar-cta .btn-nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(189,36,42,0.35);
}

.navbar-cta .btn-nav-cta i {
  font-size: 12px;
}

/* ---- Mobile toggler (inside pill) ---- */
.navbar-toggler {
  border: none;
  padding: 10px;
  display: none;
  background: var(--primary);
  border-radius: 8px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  position: relative;
  flex-shrink: 0;
}

.navbar-toggler:focus { box-shadow: none; outline: none; }

.toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.toggler-bar:nth-child(1) { top: 12px; }
.toggler-bar:nth-child(2) { top: 20px; }
.toggler-bar:nth-child(3) { top: 28px; }

.navbar-toggler.open .toggler-bar:nth-child(1) {
  top: 20px;
  transform: translateX(-50%) rotate(45deg);
}

.navbar-toggler.open .toggler-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.open .toggler-bar:nth-child(3) {
  top: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ---- Mobile nav dropdown ---- */
.mobile-nav {
  display: none;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.mobile-nav.show { display: block; }

.mobile-nav-inner {
  padding: 10px 20px 20px;
}

.mobile-nav .nav-link {
  display: block;
  color: var(--dark);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.mobile-nav .nav-link:hover {
  color: var(--primary);
}

.mobile-nav .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.mobile-nav .btn-nav-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 16px;
  transition: var(--transition);
}

.mobile-nav .btn-nav-cta-mobile:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* ============================================
   HERO — Video bg, text left, stats bottom bar
   with white angled divider at bottom
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--dark);
  overflow: hidden;
  padding: 0;
}

/* Video background */
.hero-video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 60%, rgba(255,255,255,0.55) 100%);
  z-index: 1;
}

/* Hero content area */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 25px;
}

.hero-title {
  font-size: 68px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.08;
  margin-bottom: 25px;
  max-width: 800px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 35px;
  font-weight: 400;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  align-self: flex-start;
}

.btn-hero-cta:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(189,36,42,0.4);
}

.btn-hero-cta i { font-size: 12px; }

/* ---- Stats bar at bottom of hero ---- */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  padding: 50px 0 60px;
}

.hero-stats-row {
  display: flex;
  align-items: flex-start;
}

.hero-stat-item {
  flex: 1;
  padding: 0 30px;
  border-left: 1px solid rgba(0,0,0,0.1);
}

.hero-stat-item:first-child {
  border-left: none;
  padding-left: 0;
}

/* Label + Number on same row */
.hero-stat-top {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 12px;
}

.hero-stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.hero-stat-number {
  font-size: 80px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-stat-number .suffix {
  font-size: 52px;
  font-weight: 700;
}

.hero-stat-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 400;
}

/* ---- White angled divider at bottom ---- */
.hero-angle {
  position: relative;
  z-index: 3;
  height: 80px;
  overflow: hidden;
}

.hero-angle::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light-bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* ---------- About Section ---------- */
.about-section {
  background: var(--light-bg);
  padding: 90px 0;
}

.about-img-area {
  position: relative;
}

.about-img-area img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-badge {
  position: absolute;
  bottom: -30px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 30px rgba(189,36,42,0.3);
}

.about-badge .badge-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 2px;
}

.about-badge .badge-number {
  display: block;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.about-text-content { padding-left: 20px; }

.about-text-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}

/* Sustainability Divider */
.sustainability-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 50px 0 30px;
}

.sustainability-divider .line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sustainability-divider h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  margin: 0;
}

.sustainability-row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.sustainability-badge-col { flex-shrink: 0; }

.sustainability-text p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.eco-badge {
  width: 110px;
  height: 110px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  padding: 10px;
}

.eco-badge i { font-size: 28px; margin-bottom: 4px; }
.eco-badge span { font-size: 11px; font-weight: 600; line-height: 1.3; }

/* ---------- Industries / Products Section ---------- */
.industries-section {
  background: var(--white);
  padding: 90px 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--dark);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.industry-card .card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.industry-card .card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.industry-card .num {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  width: 32px;
  height: 32px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.industry-card h5 {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.industry-card p {
  font-size: 13px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.industry-cta-card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 30px 25px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}

.industry-cta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(189,36,42,0.3);
  color: var(--white);
}

.industry-cta-card h5 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

/* ---------- Why Choose Us ---------- */
.why-section {
  background: var(--light-bg);
  color: var(--dark);
  padding: 90px 0;
}

.why-section .section-header-row {
  border-bottom-color: var(--border);
}

.why-section .section-label {
  color: var(--primary);
}

.why-section .section-link {
  color: var(--dark);
}

.why-section .section-link a {
  color: var(--dark);
}

.why-section .section-link a:hover {
  color: var(--primary);
}

/* Why grid — 3 columns like reference */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Card style matching reference */
.why-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.why-card .num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.why-card .icon-wrap {
  margin-bottom: 18px;
}

.why-card .icon-wrap i {
  font-size: 36px;
  color: var(--dark);
  transition: var(--transition);
}

.why-card:hover .icon-wrap i {
  color: var(--primary);
}

.why-card h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Testimonials ---------- */
.testimonial-section {
  background: var(--white);
  padding: 90px 0;
  overflow: hidden;
}

.testimonial-wrapper {
  display: flex;
  gap: 0;
  align-items: stretch;
  min-height: 350px;
}

.testimonial-left {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 50px 40px;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  border-right: none;
}

.testimonial-left .testi-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 30px;
}

.testimonial-left .testi-quote {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-left .testi-author {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.testimonial-left .testi-role {
  font-size: 13px;
  color: var(--text-light);
}

.testimonial-right {
  width: 350px;
  flex-shrink: 0;
  background: var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.testimonial-right h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.testi-dots {
  display: flex;
  gap: 8px;
  margin-top: 25px;
}

.testi-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.testi-dots .dot.active {
  background: var(--primary);
}

/* ---------- CTA Banner ---------- */
.cta-section {
  background: var(--primary);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 38px;
  color: var(--white);
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 550px;
  margin: 0 auto 30px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--white);
  color: var(--text);
  padding: 70px 0 0;
  border-top: 3px solid var(--primary);
}

.footer-brand-logo {
  display: inline-block;
  margin-bottom: 15px;
}

.footer-brand-logo img {
  height: 70px;
}

.footer p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.footer h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: var(--text);
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-links a i {
  font-size: 10px;
  color: var(--primary);
}

.footer-contact { list-style: none; padding: 0; margin: 0; }

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--text);
}

.footer-contact li i {
  color: var(--primary);
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 15px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  margin-top: 50px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--text-light);
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  color: var(--white);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 35px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.show { opacity: 1; visibility: visible; }

.back-to-top:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }
[data-delay="7"] { transition-delay: 0.7s; }
[data-delay="8"] { transition-delay: 0.8s; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hero-title { font-size: 54px; }
  .hero-stat-number { font-size: 64px; }
  .hero-stat-number .suffix { font-size: 42px; }
  .section-heading { font-size: 36px; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .navbar-pill .nav-links .nav-link { padding: 10px 12px; font-size: 12px; }
}

@media (max-width: 991px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 42px; }
  .hero-stat-number { font-size: 50px; }
  .hero-stat-number .suffix { font-size: 34px; }
  .hero-stat-item { padding: 0 20px; }
  .hero-stat-top { gap: 12px; }
  .section-heading { font-size: 32px; }

  /* Navbar mobile */
  .navbar { background: var(--white); padding: 10px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
  .navbar-inner { justify-content: center; }
  .navbar-pill { width: 100%; justify-content: space-between; border-radius: 0; padding: 4px 0; background: var(--white); }
  .navbar-pill .nav-links { display: none; }
  .navbar-toggler { display: block; }
  .navbar-cta { display: none; }

  .industry-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial-wrapper { flex-direction: column; }
  .testimonial-right {
    width: 100%;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 25px;
  }
  .testimonial-left {
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .testimonial-right h2 {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 36px;
  }

  .about-text-content { padding-left: 0; margin-top: 50px; }
  .about-badge { right: 10px; bottom: -20px; }

  .hero-angle { height: 50px; }
}

@media (max-width: 767px) {
  .why-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }

  .hero-inner { padding-top: 110px; padding-bottom: 40px; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 14px; }

  .hero-stats-bar { padding: 30px 0 40px; }
  .hero-stats-row { flex-direction: column; gap: 25px; }
  .hero-stat-item { border-left: none; padding: 0; border-bottom: 1px solid rgba(0,0,0,0.08); padding-bottom: 25px; }
  .hero-stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .hero-stat-number { font-size: 42px; }
  .hero-stat-number .suffix { font-size: 30px; }
  .hero-stat-top { gap: 15px; }

  .hero-angle { height: 40px; }

  .section-heading { font-size: 26px; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 5px; }

  .industry-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .industry-card .card-img { height: 130px; }
  .industry-card .card-body { padding: 15px; }
  .industry-card h5 { font-size: 15px; }

  .cta-section h2 { font-size: 28px; }

  .sustainability-row { flex-direction: column; }

  .navbar-pill .navbar-brand img { height: 32px; }
}

/* ============================================
   PAGE-SPECIFIC STYLES (inner pages)
   ============================================ */

/* ---------- Page Header (all inner pages) ---------- */
.page-header {
  position: relative;
  padding: 220px 0 120px;
  text-align: center;
  overflow: hidden;
  background: var(--dark-bg);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--page-header-bg, none) var(--page-header-bg-pos, center) / cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0.55) 100%);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.section-subtitle-page {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 10px;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.page-header-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .page-header { padding: 160px 0 80px; }
  .page-header h1 { font-size: 30px; }
}

/* ---------- Product Page ---------- */
.product-filter-section {
  padding: 40px 0 0;
  background: var(--white);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.filter-btn {
  background: var(--light-bg);
  border: 1px solid var(--border);
  color: var(--dark);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Space Grotesk', sans-serif;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.product-grid-section {
  padding: 50px 0 90px;
  background: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-card-page {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: var(--transition);
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.product-card-page:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.product-card-page img {
  width: 50%;
  height: 100%;
  min-height: 100px;
  object-fit: cover;
  flex-shrink: 0;
}

.product-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card-info h5 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.product-card-info p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* OEM Banner */
.oem-banner {
  background: var(--primary);
  padding: 80px 0;
}

.oem-inner {
  text-align: center;
}

.oem-text h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 15px;
}

.oem-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 550px;
  margin: 0 auto 30px;
}

@media (max-width: 991px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card-page { flex-direction: column; }
  .product-card-page img { width: 100%; height: 280px; min-height: auto; }
}

/* ---------- Product Detail Page ---------- */
.product-items-section {
  padding: 50px 0 70px;
  background: var(--white);
}

.items-count-bar {
  text-align: center;
  margin-bottom: 35px;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.item-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.item-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.item-card-img img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: var(--light-bg);
  padding: 10px;
}

.item-card-placeholder {
  height: 320px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--border);
}

.item-card-body {
  padding: 18px;
}

.item-card-body h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.item-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.item-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 13px;
}

.item-specs li:last-child {
  border-bottom: none;
}

.item-specs li span {
  color: var(--text-light);
  font-weight: 400;
}

.item-specs li strong {
  color: var(--dark);
  font-weight: 600;
}

.item-material-tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--text-light);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tbc-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
}

.product-detail-cta {
  background: var(--primary);
  padding: 70px 0;
}

.product-detail-cta h2 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 10px;
}

.product-detail-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 25px;
}

.other-products-section {
  padding: 70px 0;
  background: var(--light-bg);
}

.other-products-title {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 30px;
}

.other-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.other-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px;
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
}

.other-product-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.other-product-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.other-product-card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

@media (max-width: 767px) {
  .item-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .item-card-placeholder { height: 100px; font-size: 28px; }
  .item-card-body { padding: 12px; }
  .item-card-body h5 { font-size: 14px; }
  .item-specs li { font-size: 12px; }
  .product-detail-cta h2 { font-size: 26px; }
  .other-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .item-grid { grid-template-columns: repeat(2, 1fr); }
  .other-products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Process Page ---------- */
.process-section {
  padding: 90px 0;
  background: var(--white);
}

.process-timeline {
  position: relative;
  padding-left: 50px;
  max-width: 600px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.process-step {
  position: relative;
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.process-step:last-child { margin-bottom: 0; }

.step-number {
  position: absolute;
  left: -50px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
}

.step-content {
  background: var(--light-bg);
  padding: 25px 30px;
  border-radius: 12px;
  flex: 1;
}

.step-content .step-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.step-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

.custom-design-section {
  padding: 90px 0;
  background: var(--light-bg);
}

@media (max-width: 767px) {
  .process-timeline { padding-left: 40px; }
  .step-number { left: -40px; width: 36px; height: 36px; font-size: 14px; }
  .process-timeline::before { left: 17px; }
  .step-content { padding: 20px; }
}

/* ---------- History Timeline (Alternating Left-Right) ---------- */
.history-timeline-section {
  padding: 90px 0;
  background: var(--light-bg);
}

.history-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.history-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.history-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
  width: 100%;
}

.history-item:last-child {
  margin-bottom: 0;
}

.history-dot {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 3px solid var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(189,36,42,0.15);
}

.history-content {
  width: 45%;
  background: var(--white);
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.history-content:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.history-left .history-content {
  margin-right: auto;
  text-align: right;
}

.history-right .history-content {
  margin-left: auto;
  text-align: left;
}

.history-year {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.history-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.history-content p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .history-timeline-line {
    left: 20px;
  }

  .history-dot {
    left: 20px;
    top: 20px;
  }

  .history-left .history-content,
  .history-right .history-content {
    width: calc(100% - 50px);
    margin-left: 50px;
    margin-right: 0;
    text-align: left;
  }
}

/* ---------- Mission & Vision Cards ---------- */
.mission-vision-card {
  background: var(--white);
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}

.mission-vision-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.mv-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.mission-vision-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.mission-vision-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin: 0;
}

/* ---------- Solar / Green Energy Section ---------- */
.solar-section {
  padding: 90px 0;
  background: var(--white);
}

.solar-text p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 15px;
}

.solar-highlights {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.solar-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.solar-highlight-item i {
  color: var(--primary);
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.solar-gallery-main {
  margin-bottom: 12px;
}

.solar-gallery-main img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

.solar-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.solar-gallery-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: var(--transition);
}

.solar-gallery-grid img:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 767px) {
  .solar-gallery-main img { height: 200px; }
  .solar-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .solar-gallery-grid img { height: 100px; }
}

/* ---------- Contact Page ---------- */
.contact-info-list {
  margin-top: 25px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(189,36,42,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 18px;
  color: var(--primary);
}

.contact-info-item strong {
  display: block;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 3px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.contact-form-card {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 12px;
}

.contact-form-card .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Space Grotesk', sans-serif;
  transition: var(--transition);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(189,36,42,0.1);
}

@media (max-width: 767px) {
  .contact-form-card { padding: 25px; }
}

/* ---------- Values Image Cards (Philosophy) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.value-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.value-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
}

.value-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 30px;
  color: var(--white);
}

.value-num {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 15px;
}

.value-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.value-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin: 0;
  min-height: 70px;
}

@media (max-width: 1199px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card { min-height: 380px; }
}

@media (max-width: 767px) {
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 350px; }
}
