/* ============================================================
   Apollo India Valves — Industrial Precision Design System
   v3.0 — Full Responsiveness Fix
   Colors: Deep Navy #1a237e | Royal Purple #6a1b9a | Gold #f9a825
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Nunito+Sans:wght@300;400;600;700&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --navy:           #1a237e;
  --navy-dark:      #0d1457;
  --navy-mid:       #283593;
  --purple:         #6a1b9a;
  --gold:           #f9a825;
  --gold-light:     #ffd54f;
  --gold-dark:      #f57f17;
  --white:          #ffffff;
  --off-white:      #f5f6ff;
  --light-gray:     #e8eaf6;
  --text-dark:      #0d0d2b;
  --text-mid:       #3d3d6b;
  --gradient-main:  linear-gradient(135deg, #1a237e 0%, #4a148c 50%, #6a1b9a 100%);
  --gradient-gold:  linear-gradient(135deg, #f9a825 0%, #ff8f00 100%);
  --gradient-card:  linear-gradient(160deg, rgba(26,35,126,0.92) 0%, rgba(106,27,154,0.88) 100%);
  --shadow-sm:      0 2px 12px rgba(26,35,126,0.12);
  --shadow-md:      0 8px 32px rgba(26,35,126,0.22);
  --shadow-lg:      0 16px 56px rgba(106,27,154,0.28);
  --radius:         12px;
  --radius-sm:      6px;
  --radius-lg:      20px;
  --header-h:       72px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Nunito Sans', sans-serif;
  background: #0d1030;
  color: var(--white);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a   { text-decoration: none; color: inherit; }

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(26,35,126,0.18);
  border-bottom: 3px solid var(--gold);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  height: var(--header-h);
  max-width: 1400px;
  margin: 0 auto;
  gap: 8px;
}

.logo { flex-shrink: 0; line-height: 0; }
.logo img { height: 54px; width: auto; }

/* ══════════════════════════════════════════════
   DESKTOP NAV
══════════════════════════════════════════════ */
nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

nav > a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.4px;
  color: var(--navy);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-transform: uppercase;
  white-space: nowrap;
}

nav > a:hover,
nav > a.active { color: var(--purple); background: var(--light-gray); }

/* Dropdown wrapper */
.dropdown { position: relative; display: inline-block; }

.dropdown > a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
}

.dropdown > a:hover,
.dropdown > a.active { color: var(--purple); background: var(--light-gray); }

/* Dropdown panel — JS controlled, display:none by default */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;       /* invisible mouse bridge — no gap between button and panel */
  background: transparent;
  min-width: 220px;
  z-index: 3000;
}

.dropdown-content-inner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(26,35,126,0.22);
  border: 1px solid var(--light-gray);
  overflow: hidden;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy);
  border-left: 3px solid transparent;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.dropdown-content a::before {
  content: '›';
  font-size: 1.1rem;
  color: var(--gold-dark);
  font-weight: bold;
  flex-shrink: 0;
}

.dropdown-content a:hover {
  background: var(--off-white);
  border-left-color: var(--purple);
  color: var(--purple);
  padding-left: 20px;
}

/* CTA Button in nav */
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: var(--gradient-main);
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 30px !important;
  transition: all 0.22s ease !important;
  box-shadow: 0 4px 14px rgba(106,27,154,0.3);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(106,27,154,0.5) !important;
  background: var(--gradient-gold) !important;
  color: var(--navy) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  flex-shrink: 0;
  z-index: 2100;   /* always above mobile nav overlay */
  position: relative;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  display: block;
  transition: all 0.28s ease;
  pointer-events: none;
}

/* Animated hamburger → X when open */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  z-index: 1;
}

/* Slider track */
.hero-slider {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 1s cubic-bezier(0.77,0,0.175,1);
}

/* Each slide */
.hero-image {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;     /* critical — prevents flex shrink on mobile */
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.42);
  display: block;
}

/* Gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(13,20,87,0.78) 0%,rgba(106,27,154,0.52) 60%,transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* Text content */
.hero-content {
  position: absolute;
  top: 50%;
  left: 6%;
  right: 6%;
  transform: translateY(-55%);   /* shift up slightly to leave room for stats bar */
  max-width: 680px;
  z-index: 3;
}

.hero-tag {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--navy-dark);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.hero-content h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.7rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.hero-content h1 span { color: var(--gold-light); }

.hero-content p {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,0.84);
  margin-bottom: 22px;
  line-height: 1.65;
  max-width: 560px;
}

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--gradient-gold);
  color: var(--navy-dark);
  padding: 11px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(249,168,37,0.45);
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(249,168,37,0.58); }

.btn-secondary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  padding: 11px 24px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.58);
  cursor: pointer;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

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

/* Stats bar — sits at bottom of hero */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10,16,72,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 2px solid rgba(249,168,37,0.35);
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  z-index: 4;
}

.hero-stat {
  padding: 12px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.09);
  flex: 1;
  min-width: 80px;
}

.hero-stat:last-child { border-right: none; }

.hero-stat .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.hero-stat .lbl {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.4px;
  margin-top: 2px;
  display: block;
}

/* ══════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════ */
.section { padding: 72px 5%; }
.section-inner { max-width: 1300px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-label::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-title span { color: var(--gold-light); }

.section-subtitle {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.68);
  max-width: 600px;
  line-height: 1.7;
}

.section-light .section-title { color: var(--navy-dark); }
.section-light .section-subtitle { color: var(--text-mid); }
.section-light .section-label { color: var(--purple); }
.section-light .section-label::before { background: var(--purple); }

/* ══════════════════════════════════════════════
   HOMEPAGE — INTRO GRID (inline style override)
   The intro section uses inline grid — fix via
   max-width wrapper so it stacks on mobile
══════════════════════════════════════════════ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.highlight-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(249,168,37,0.12);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
}

.highlight-box .hi-icon  { font-size: 1.6rem; margin-bottom: 6px; }
.highlight-box .hi-title { font-family: 'Barlow Condensed',sans-serif; font-weight:700; color:var(--gold); font-size:0.95rem; line-height:1.2; }
.highlight-box .hi-sub   { font-size: 0.78rem; color:rgba(255,255,255,0.52); margin-top:3px; }

/* ══════════════════════════════════════════════
   CATEGORY CARDS
══════════════════════════════════════════════ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.28s ease;
}

.cat-card:hover { transform: scale(1.025); }

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.cat-card:hover img { transform: scale(1.07); }

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,rgba(13,20,87,0.92) 0%,rgba(106,27,154,0.35) 55%,transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
}

.cat-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.2;
}

.cat-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-card a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.18s;
}

.cat-card:hover a { gap: 9px; }

/* ══════════════════════════════════════════════
   WHY CHOOSE CARDS
══════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.why-card {
  background: var(--gradient-card);
  border: 1px solid rgba(249,168,37,0.14);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.why-card:hover::before { transform: scaleX(1); }

.why-icon {
  width: 48px;
  height: 48px;
  background: rgba(249,168,37,0.14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.why-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.62;
}

/* ══════════════════════════════════════════════
   VISION / MISSION
══════════════════════════════════════════════ */
.vm-section { background: #0a0d29; }

.vm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.vm-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(249,168,37,0.15);
  border-radius: var(--radius);
  padding: 30px 22px;
  position: relative;
}

.vm-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-gold);
}

.vm-icon { font-size: 1.8rem; margin-bottom: 14px; }

.vm-card h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.vm-card p, .vm-card li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.vm-card ul { padding-left: 16px; }
.vm-card li { margin-bottom: 5px; }
.vm-card li strong { color: var(--gold-light); }

/* ══════════════════════════════════════════════
   REVIEWS
══════════════════════════════════════════════ */
.reviews-section { background: #0d1030; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.review-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 26px 20px;
  position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.review-card:hover { transform: translateY(-4px); border-color: rgba(249,168,37,0.28); }

.review-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 8px; left: 14px;
  pointer-events: none;
}

.review-card p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.76);
  line-height: 1.7;
  font-style: italic;
  padding-top: 14px;
  margin-bottom: 14px;
}

.review-author {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gold);
}

.review-company {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.48);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════ */
.page-hero {
  background: var(--gradient-main);
  padding: 50px 5% 40px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.15;
}

.page-hero p {
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: rgba(255,255,255,0.76);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--navy-dark);
  padding: 10px 5%;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.58);
  overflow-x: auto;
  white-space: nowrap;
}

.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ══════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════ */
.products-section {
  padding: 54px 4%;
  background: #0d1030;
}

.products-inner { max-width: 1300px; margin: 0 auto; }

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.product-card {
  background: var(--gradient-card);
  border: 1px solid rgba(249,168,37,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249,168,37,0.38);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease;
  display: block;
}

.product-card:hover .product-image { transform: scale(1.04); }

.product-card-body {
  padding: 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.product-card li {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.72);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 5px;
  line-height: 1.5;
  flex-wrap: wrap;
}

.product-card li:last-child { border-bottom: none; }

.product-card strong {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Enquiry button */
.enquiry-btn {
  margin-top: 16px;
  width: 100%;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  background: var(--gradient-gold);
  color: var(--navy-dark);
  border: none;
  padding: 11px 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(249,168,37,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.enquiry-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(249,168,37,0.52); }

/* ══════════════════════════════════════════════
   ENQUIRY MODAL
══════════════════════════════════════════════ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.open { display: flex; }

.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  animation: slideUp 0.32s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes slideUp {
  from { opacity:0; transform:translateY(32px) scale(0.96); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}

.modal-header {
  background: var(--gradient-main);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1;
}

.modal-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.modal-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.modal-close:hover { background: rgba(255,255,255,0.35); }

.modal-product {
  background: rgba(249,168,37,0.08);
  padding: 9px 20px;
  font-size: 0.86rem;
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

.modal-product span { color: var(--purple); }

.modal-body { padding: 20px; }

.form-group { margin-bottom: 11px; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--text-dark);
  background: #fafafa;
  transition: border-color 0.18s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--purple); background: #fff; }

.form-group textarea { resize: vertical; min-height: 84px; }

.whatsapp-btn {
  width: 100%;
  background: #25D366;
  color: var(--white);
  border: none;
  padding: 12px 18px;
  border-radius: 30px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(37,211,102,0.32);
}

.whatsapp-btn:hover { background: #1ebe59; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,211,102,0.48); }

/* ══════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: var(--gradient-gold);
  color: var(--navy-dark);
  padding: 12px 16px;
  border-radius: var(--radius);
  text-align: center;
}

.about-badge .num { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.about-badge .lbl { font-size: 0.78rem; font-weight: 600; }

.cert-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.cert-tag {
  background: rgba(249,168,37,0.12);
  border: 1px solid rgba(249,168,37,0.28);
  color: var(--gold-light);
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ══════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  margin-top: 36px;
}

.contact-info-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(249,168,37,0.15);
  border-radius: var(--radius);
  padding: 28px 22px;
}

.contact-item {
  display: flex;
  gap: 13px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(249,168,37,0.14);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 3px;
  text-transform: uppercase;
}

.contact-item-text p,
.contact-item-text a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.58;
}

.contact-item-text a:hover { color: var(--gold); }

.contact-form-card {
  background: var(--gradient-card);
  border: 1px solid rgba(249,168,37,0.15);
  border-radius: var(--radius);
  padding: 28px 22px;
}

.contact-form-card h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.91rem;
  margin-bottom: 11px;
  outline: none;
  transition: border-color 0.18s;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder { color: rgba(255,255,255,0.38); }

.contact-form-card input:focus,
.contact-form-card textarea:focus { border-color: var(--gold); }

.contact-form-card textarea { min-height: 115px; resize: vertical; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  background: var(--navy-dark);
  border-top: 3px solid var(--gold);
  padding: 50px 5% 20px;
}

.footer-inner { max-width: 1300px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img { height: 50px; margin-bottom: 13px; }

.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-width: 270px;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(249,168,37,0.18);
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  transition: color 0.18s, padding-left 0.18s;
  line-height: 1.5;
}

.footer-col a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.42); }
.footer-bottom a { color: var(--gold); }

/* ══════════════════════════════════════════════
   INDUSTRIES TICKER
══════════════════════════════════════════════ */
.industries-strip {
  background: rgba(249,168,37,0.05);
  border-top: 1px solid rgba(249,168,37,0.1);
  border-bottom: 1px solid rgba(249,168,37,0.1);
  padding: 16px 0;
  overflow: hidden;
  width: 100%;
}

.industries-track {
  display: flex;
  gap: 36px;
  animation: scroll-track 28s linear infinite;
  width: max-content;
  will-change: transform;
}

.industries-track span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.58);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.industries-track span::before { content: '⬥ '; color: var(--gold); margin-right: 3px; }

@keyframes scroll-track {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.gap-top { margin-top: 44px; }

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cat-grid   { grid-template-columns: repeat(2, 1fr); }
  .why-grid   { grid-template-columns: repeat(2, 1fr); }
  .vm-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-layout { gap: 36px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE NAV BREAKPOINT (≤ 900px)
══════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* Show hamburger */
  .hamburger { display: flex; }

  /* Collapse nav into full-screen overlay */
  nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 5% 40px;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1500;          /* below header (2000) but above page */
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  }

  nav.open { display: flex; }

  /* Nav links full width */
  nav > a {
    width: 100%;
    padding: 14px 6px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--light-gray);
    border-radius: 0;
    color: var(--navy);
    background: none !important;
  }

  nav > a:last-child { border-bottom: none; }

  /* Dropdown trigger full width */
  .dropdown { width: 100%; }

  .dropdown > a {
    width: 100%;
    padding: 14px 6px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--light-gray);
    border-radius: 0;
    color: var(--navy);
    background: none !important;
  }

  /* Dropdown panel — static on mobile */
  .dropdown-content {
    position: static !important;
    padding-top: 0 !important;
    background: transparent !important;
    min-width: 100% !important;
    z-index: auto !important;
    box-shadow: none !important;
  }

  .dropdown-content-inner {
    background: #eef0fb !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    border: none !important;
    margin: 4px 0 8px 0;
  }

  .dropdown-content a {
    padding: 11px 18px;
    font-size: 1rem;
    color: var(--navy);
    border-left: none;
  }

  .dropdown-content a:hover {
    background: var(--light-gray);
    padding-left: 24px;
    border-left: none;
    color: var(--purple);
  }

  /* Contact CTA full width */
  .nav-cta {
    margin-top: 16px;
    width: 100% !important;
    display: flex !important;
    justify-content: center;
    padding: 12px 20px !important;
  }

  /* Hero responsive */
  .hero { height: 480px; }
  .hero-content { left: 5%; right: 5%; transform: translateY(-52%); }

  /* Layout adjustments */
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 640px)
══════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --header-h: 64px; }

  .logo img { height: 46px; }

  .header-inner { padding: 0 4%; }

  /* Hero */
  .hero { height: 420px; }
  .hero-content { left: 4%; right: 4%; transform: translateY(-50%); }
  .hero-content p { display: none; }  /* hide subtitle on very small hero */

  /* Stats bar — make it flow below hero to avoid overlap */
  .hero-stats {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: rgba(10,16,72,0.96);
    border-top: 2px solid rgba(249,168,37,0.35);
  }

  .hero-stat {
    padding: 10px 12px;
    border-right: 1px solid rgba(255,255,255,0.09);
    border-bottom: 1px solid rgba(255,255,255,0.09);
    max-width: 100%;
  }

  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4)  { border-bottom: none; }

  .hero-stat .num { font-size: 1.4rem; }
  .hero-stat .lbl { font-size: 0.65rem; }

  /* Sections */
  .section { padding: 44px 4%; }
  .products-section { padding: 44px 4%; }

  /* Grids → single column */
  .cat-grid    { grid-template-columns: 1fr; gap: 16px; }
  .why-grid    { grid-template-columns: 1fr; gap: 14px; }
  .vm-grid     { grid-template-columns: 1fr; gap: 14px; }
  .reviews-grid{ grid-template-columns: 1fr; gap: 14px; }
  .highlight-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Product cards full width */
  .product-cards { grid-template-columns: 1fr; gap: 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
  footer { padding: 36px 4% 18px; }

  /* Page hero */
  .page-hero { padding: 36px 4% 28px; }

  /* Breadcrumb */
  .breadcrumb { white-space: normal; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — EXTRA SMALL (≤ 380px)
══════════════════════════════════════════════ */
@media (max-width: 380px) {
  .hero { height: 360px; }
  .hero-actions { flex-direction: column; }
  .btn-primary,
  .btn-secondary { width: 100%; justify-content: center; }
  .hero-content h1 { font-size: 1.55rem; }
  .highlight-grid { grid-template-columns: 1fr; }
}
