/* =============================================================
   HORIZON FUEL CELL INDIA — Main Stylesheet
   Colors: Navy #1B3A6B | Blue #1565C0 | Cyan #29ABE2 | White #FFF
   ============================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:       #1B3A6B;
  --navy-dark:  #0D1E3F;
  --blue:       #1565C0;
  --cyan:       #29ABE2;
  --cyan-light: #E8F6FD;
  --white:      #FFFFFF;
  --off-white:  #F4F7FC;
  --light-gray: #E5E9F2;
  --mid-gray:   #9CA3AF;
  --dark-text:  #1A1A2E;
  --body-text:  #374151;
  --success:    #10B981;
  --error:      #EF4444;
  --warning:    #F59E0B;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.12);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.18);
  --shadow-xl:  0 16px 48px rgba(0,0,0,.22);
  --radius:     8px;
  --radius-lg:  16px;
  --transition: all .3s ease;
  --gradient:   linear-gradient(135deg, #1B3A6B 0%, #1565C0 100%);
  --gradient-cyan: linear-gradient(135deg, #1565C0 0%, #29ABE2 100%);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--body-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); }
.text-cyan { color: var(--cyan); }
.hidden { display: none !important; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* --- Section Spacing --- */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }
.section-dark { background: var(--navy-dark); color: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-light { background: var(--off-white); }
.section-cyan-light { background: var(--cyan-light); }

/* --- Section Headers --- */
.section-tag {
  display: inline-block;
  background: var(--cyan-light);
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-tag.white {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-title.white { color: var(--white); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--mid-gray);
  max-width: 680px;
  line-height: 1.75;
}
.section-subtitle.white { color: rgba(255,255,255,.75); }
.section-header { margin-bottom: 56px; }
.title-underline {
  width: 60px; height: 4px;
  background: var(--gradient-cyan);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.title-underline.center { margin-left: auto; margin-right: auto; }

/* ================================================================
   ANNOUNCEMENT BAR
   ================================================================ */
.announcement-bar {
  background: var(--gradient-cyan);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.announcement-bar a { color: var(--white); text-decoration: underline; font-weight: 600; }
.announcement-bar .close-bar {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--white); font-size: 1.2rem; cursor: pointer;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(27,58,107,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.navbar-logo img {
  height: 48px;
  width: auto;
}
.navbar-logo span {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.nav-link svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  min-width: 240px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .25s ease;
  border-top: 3px solid var(--cyan);
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: .875rem;
  color: var(--navy);
  font-weight: 500;
  transition: var(--transition);
}
.dropdown a:hover {
  background: var(--cyan-light);
  color: var(--cyan);
  padding-left: 28px;
}
.dropdown a .dd-icon { font-size: 1.1rem; }
.dropdown-divider { height: 1px; background: var(--light-gray); margin: 6px 0; }

/* Navbar CTA */
.navbar-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar-phone {
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.navbar-phone:hover { color: var(--white); }

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.open span:nth-child(2) { opacity: 0; }
.navbar-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: .925rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-cyan);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(41,171,226,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(41,171,226,.5);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan);
  color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-sm { padding: 9px 20px; font-size: .82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
  z-index: 0;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .45;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,30,63,.92) 0%, rgba(21,101,192,.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(41,171,226,.2);
  border: 1px solid rgba(41,171,226,.4);
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title .highlight { color: var(--cyan); }
.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 620px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-item .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}
.hero-stat-item .stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-mouse::after {
  content: '';
  width: 4px; height: 8px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  animation: scroll-down 2s infinite;
}
@keyframes scroll-down {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
  background: var(--white);
  padding: 32px 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
}
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-bar-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid var(--light-gray);
}
.stat-bar-item:last-child { border-right: none; }
.stat-bar-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  display: block;
}
.stat-bar-label {
  font-size: .8rem;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
}
.stat-bar-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}

/* ================================================================
   PRODUCT CARDS
   ================================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--light-gray);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--cyan);
}
.product-card-image {
  height: 220px;
  background: var(--gradient);
  overflow: hidden;
  position: relative;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--cyan);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.product-card-range {
  font-size: .88rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 12px;
}
.product-card-desc {
  font-size: .9rem;
  color: var(--body-text);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.product-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.feature-pill {
  background: var(--cyan-light);
  color: var(--blue);
  font-size: .74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}
.product-card-actions {
  display: flex;
  gap: 10px;
}

/* Small product cards (H-Series, T-Series grid) */
.products-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.product-mini-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.product-mini-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.mini-card-model {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.mini-card-power {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 12px;
}
.mini-card-specs {
  font-size: .78rem;
  color: var(--body-text);
  line-height: 1.8;
  text-align: left;
  margin-bottom: 14px;
}
.mini-card-specs span { color: var(--navy); font-weight: 600; }

/* ================================================================
   WHY CHOOSE US / FEATURES
   ================================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feature-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
  background: var(--gradient-cyan);
  color: var(--white);
}
.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-desc { font-size: .875rem; color: var(--body-text); line-height: 1.65; }

/* ================================================================
   APPLICATIONS GRID
   ================================================================ */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.app-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.app-card:hover {
  background: rgba(255,255,255,.14);
  border-color: var(--cyan);
  transform: translateY(-4px);
}
.app-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
}
.app-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.app-desc { font-size: .8rem; color: rgba(255,255,255,.65); line-height: 1.65; }

/* ================================================================
   SPLIT / FEATURE SECTIONS
   ================================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split-content { padding: 20px 0; }
.split-content .section-title { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
  color: var(--body-text);
}
.check-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--cyan-light);
  color: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  margin-top: 1px;
}

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  background: var(--gradient);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(41,171,226,.3) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(41,171,226,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner-content { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ================================================================
   TESTIMONIAL / HERITAGE
   ================================================================ */
.heritage-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 24px;
  border-left: 2px solid var(--light-gray);
}
.timeline-item {
  position: relative;
  padding: 0 0 28px 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px; top: 6px;
  width: 14px; height: 14px;
  background: var(--white);
  border: 3px solid var(--cyan);
  border-radius: 50%;
}
.timeline-year {
  font-size: .78rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.timeline-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.timeline-desc { font-size: .85rem; color: var(--body-text); line-height: 1.6; }

/* ================================================================
   FORMS — Contact & Inquiry
   ================================================================ */
.form-section { max-width: 680px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-label .req { color: var(--error); margin-left: 3px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--dark-text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(41,171,226,.15);
}
.form-control.error { border-color: var(--error); }
.form-control::placeholder { color: var(--mid-gray); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-error-msg { font-size: .78rem; color: var(--error); margin-top: 5px; display: none; }
.form-success {
  background: #ECFDF5;
  border: 1px solid #10B981;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #065F46;
  font-size: .9rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 10px;
}
.form-error-banner {
  background: #FEF2F2;
  border: 1px solid var(--error);
  border-radius: var(--radius);
  padding: 14px 20px;
  color: #991B1B;
  font-size: .875rem;
  display: none;
  margin-bottom: 16px;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.office-cards { display: flex; flex-direction: column; gap: 16px; }
.office-card {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.office-card:hover { border-color: var(--cyan); background: var(--white); }
.office-card.primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.office-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.office-card.primary .office-name { color: var(--cyan); }
.office-detail {
  font-size: .82rem;
  color: var(--body-text);
  line-height: 2;
}
.office-card.primary .office-detail { color: rgba(255,255,255,.8); }
.office-detail a { color: var(--cyan); }
.office-detail .flag { margin-right: 4px; }

/* ================================================================
   DOWNLOADS PAGE
   ================================================================ */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.download-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}
.download-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
}
.download-icon {
  width: 48px; height: 48px;
  background: var(--gradient-cyan);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.download-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.download-desc { font-size: .83rem; color: var(--body-text); }
.download-meta {
  font-size: .76rem;
  color: var(--mid-gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ================================================================
   MODAL
   ================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,30,63,.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(.96);
  transition: all .3s ease;
}
.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}
.modal-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: var(--navy);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}
.modal-subtitle {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}
.modal-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,.25); }
.modal-body { padding: 28px; }
.modal-steps {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 4px;
}
.modal-step {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border-radius: calc(var(--radius) - 2px);
  font-size: .78rem;
  font-weight: 600;
  color: var(--mid-gray);
  transition: var(--transition);
}
.modal-step.active {
  background: var(--navy);
  color: var(--white);
}
.modal-step.done {
  background: var(--success);
  color: var(--white);
}
.step-panel { display: none; }
.step-panel.active { display: block; }

/* OTP Input */
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 24px 0;
}
.otp-input {
  width: 52px; height: 60px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  outline: none;
  transition: var(--transition);
}
.otp-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(41,171,226,.15); }
.otp-input.filled { border-color: var(--navy); background: var(--cyan-light); }
.otp-timer {
  text-align: center;
  font-size: .82rem;
  color: var(--mid-gray);
  margin-top: 12px;
}
.otp-timer span { color: var(--navy); font-weight: 600; }
.otp-resend {
  text-align: center;
  margin-top: 8px;
  font-size: .82rem;
}
.otp-resend button {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: underline;
  font-size: .82rem;
}

/* Download Ready */
.download-ready {
  text-align: center;
  padding: 20px 0;
}
.download-ready-icon {
  width: 72px; height: 72px;
  background: #ECFDF5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--success);
}
.download-ready h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.download-ready p {
  font-size: .9rem;
  color: var(--body-text);
  margin-bottom: 24px;
}

/* ================================================================
   SPEC TABLE
   ================================================================ */
.spec-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  min-width: 600px;
}
.spec-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--light-gray);
  color: var(--body-text);
  vertical-align: middle;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--off-white); }
.spec-table tr:hover td { background: var(--cyan-light); }
.spec-table td:first-child { font-weight: 600; color: var(--navy); }
.spec-table .model-code {
  font-family: monospace;
  font-size: .78rem;
  color: var(--mid-gray);
}

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  background: var(--gradient);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(41,171,226,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  max-width: 600px;
  line-height: 1.75;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--cyan); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ================================================================
   TABS
   ================================================================ */
.tabs {
  display: flex;
  gap: 0;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 11px 20px;
  border-radius: calc(var(--radius) - 2px);
  font-size: .88rem;
  font-weight: 600;
  color: var(--body-text);
  transition: var(--transition);
  text-align: center;
}
.tab-btn.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ================================================================
   NEWS SECTION
   ================================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-img {
  height: 180px;
  background: var(--gradient);
  overflow: hidden;
}
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px; }
.news-category {
  font-size: .72rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.news-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-date { font-size: .78rem; color: var(--mid-gray); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--cyan); color: var(--white); }
.footer-heading {
  font-size: .82rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--cyan); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 12px;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: var(--cyan); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  transition: var(--transition);
}
.footer-legal a:hover { color: var(--cyan); }

/* ================================================================
   LOADING SPINNER
   ================================================================ */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================
   ANIMATIONS — Fade In
   ================================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }

/* ================================================================
   ALERT BANNERS
   ================================================================ */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #6EE7B7; }
.alert-error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info    { background: var(--cyan-light); color: var(--navy); border: 1px solid rgba(41,171,226,.3); }

/* ================================================================
   PRODUCT HERO TAGS
   ================================================================ */
.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}
.highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.highlight-tag .tag-icon { font-size: 1rem; }

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--cyan); transform: translateY(-3px); }

/* ================================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ================================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split-section { grid-template-columns: 1fr; gap: 36px; }
  .split-section.reverse { direction: ltr; }
  .heritage-section { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   RESPONSIVE — Mobile (≤ 768px)
   ================================================================ */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }

  /* Navbar mobile */
  .navbar-nav { display: none; }
  .navbar-toggle { display: flex; }
  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--navy-dark);
    padding: 16px 0 24px;
    box-shadow: var(--shadow-lg);
    gap: 0;
    z-index: 999;
  }
  .navbar-nav.open .nav-link { padding: 12px 24px; border-radius: 0; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,.05);
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 0;
    border-top: none;
    display: none;
  }
  .nav-item.open .dropdown { display: block; }
  .dropdown a { color: rgba(255,255,255,.75); padding: 10px 40px; }
  .dropdown a:hover { background: rgba(255,255,255,.05); padding-left: 48px; }
  .navbar-phone { display: none; }

  /* Hero */
  .hero { min-height: 80vh; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-stats { gap: 24px; }
  .hero-stat-item .stat-num { font-size: 1.4rem; }

  /* Stats bar */
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-bar-item { border-right: none; border-bottom: 1px solid var(--light-gray); }
  .stat-bar-item:nth-child(odd) { border-right: 1px solid var(--light-gray); }
  .stat-bar-item:nth-last-child(-n+2) { border-bottom: none; }

  /* Grids */
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { grid-template-columns: 1fr; }

  /* Tables */
  .spec-table { font-size: .78rem; }

  /* CTA */
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .applications-grid { grid-template-columns: 1fr; }
  .otp-inputs { gap: 6px; }
  .otp-input { width: 42px; height: 52px; font-size: 1.3rem; }
  .hero-title { font-size: 1.8rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .products-mini-grid { grid-template-columns: repeat(2, 1fr); }
}
