/* ============================================================
   MAPLE BIOTECH PVT. LTD. — Main Stylesheet
   maplebiotech.co.in  ·  © 2026 Maple Biotech Pvt. Ltd.
   ============================================================ */

/* === 1. CSS VARIABLES ====================================== */
:root {
  /* Primary — Deep Navy */
  --primary:       #0d2b52;
  --primary-mid:   #1a4080;
  --primary-light: #2457a8;
  --primary-pale:  #dce8f8;

  /* Accent — Maple Red */
  --accent:        #c0291e;
  --accent-mid:    #d43c30;
  --accent-light:  #e85a50;
  --accent-pale:   #fdecea;

  /* Category colours */
  --pharma:        #0d2b52;
  --food:          #2d6a4f;
  --other:         #7a4010;

  /* Neutrals */
  --white:         #ffffff;
  --off-white:     #f8fafc;
  --light:         #f1f5f9;
  --border:        #e2e8f0;
  --text:          #0f172a;
  --text-mid:      #334155;
  --text-light:    #64748b;
  --text-muted:    #94a3b8;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow:     0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.14);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.20);

  /* Misc */
  --transition:      .3s ease;
  --transition-fast: .15s ease;
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --container: 1280px;
  --nav-h:     76px;
}

/* === 2. RESET & BASE ======================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
ul   { list-style: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

/* === 3. TYPOGRAPHY ========================================= */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}
.pre-title {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.pre-title::before,
.pre-title::after {
  content: '—';
  margin: 0 .5rem;
  opacity: .5;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
}
.section-header        { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-sub { margin: 0 auto; }

/* === 4. LAYOUT UTILITIES =================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 90px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* === 5. BUTTONS ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.875rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,41,30,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.65);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { gap: .875rem; }
.btn-ghost i { transition: var(--transition); }
.btn-ghost:hover i { transform: translateX(4px); }

/* === 6. NAVIGATION ========================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.transparent { background: transparent; }
#navbar.solid {
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,.18);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .125rem;
}
.nav-links a, .nav-dropdown-trigger {
  color: rgba(255,255,255,.88);
  font-size: .8rem;
  font-weight: 500;
  padding: .5rem .5625rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  background: none;
  cursor: pointer;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-dropdown-trigger:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-links a.active { color: var(--white); }

/* Dropdown */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: .375rem; }
.nav-dropdown-trigger i { font-size: .75rem; transition: var(--transition-fast); }
.nav-dropdown:hover .nav-dropdown-trigger i { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition);
  pointer-events: none;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}
.dropdown-menu a:hover { background: var(--off-white); color: var(--accent); }
.dropdown-menu a i { width: 20px; text-align: center; opacity: .6; }
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: .375rem .5rem;
}
.nav-cta { margin-left: .75rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--primary);
  padding: 1.5rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: .25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,.9);
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition-fast);
}
.mobile-menu a:hover { background: rgba(255,255,255,.08); }
.mobile-menu .mobile-sub {
  padding-left: 2rem;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}
.mobile-menu .mobile-cta {
  margin-top: .5rem;
  text-align: center;
  background: var(--accent);
  color: white;
  padding: .875rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.mobile-menu .mobile-cta:hover { background: var(--accent-mid); }

/* === 7. HERO SECTION ======================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,43,82,.88) 0%,
    rgba(13,43,82,.75) 50%,
    rgba(192,41,30,.55) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
  max-width: 860px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: .4rem 1.125rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  color: rgba(255,255,255,.9);
}
.hero-badge i { color: #f0c040; font-size: .75rem; }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title span { color: #f0c040; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.82);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
.hero-scroll i { font-size: 1.125rem; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* === 8. STATS BAR ========================================== */
#stats {
  background: var(--primary);
  padding: 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 2.75rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #f0c040;
  line-height: 1;
  margin-bottom: .375rem;
}
.stat-label {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  letter-spacing: .03em;
}
.stat-icon {
  font-size: 1.375rem;
  color: rgba(255,255,255,.25);
  margin-bottom: .625rem;
}

/* === 9. PRODUCTS OVERVIEW ================================== */
#products-overview {
  background: var(--white);
}
.category-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.category-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.category-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
  overflow: hidden;
}
.category-card-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.category-card:hover .category-card-bg { transform: scale(1.06); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  transition: var(--transition);
}
.category-card--pharma .category-card-overlay {
  background: linear-gradient(180deg, rgba(13,43,82,.25) 0%, rgba(13,43,82,.92) 65%);
}
.category-card--food .category-card-overlay {
  background: linear-gradient(180deg, rgba(45,106,79,.20) 0%, rgba(45,106,79,.92) 65%);
}
.category-card--other .category-card-overlay {
  background: linear-gradient(180deg, rgba(122,64,16,.20) 0%, rgba(122,64,16,.92) 65%);
}
.category-card-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  color: var(--white);
}
.category-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}
.category-card--pharma .category-card-icon { background: rgba(36,87,168,.45); }
.category-card--food   .category-card-icon { background: rgba(64,145,108,.45); }
.category-card--other  .category-card-icon { background: rgba(192,112,16,.45); }
.category-card-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: .25rem;
}
.category-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.category-card-count {
  font-size: .875rem;
  opacity: .75;
  margin-bottom: 1.25rem;
}
.category-card-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
  padding: .5rem 1.125rem;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.category-card:hover .category-card-cta {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.8);
  gap: .75rem;
}
.category-card:hover .category-card-cta i { transform: translateX(3px); }
.category-card-cta i { transition: var(--transition); font-size: .875rem; }

/* === 10. ABOUT SECTION ===================================== */
#about {
  background: var(--off-white);
}
.about-text { padding-right: 2rem; }
.about-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.pillar-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.pillar-text strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .15rem;
}
.pillar-text span { font-size: .825rem; color: var(--text-light); }

/* Slideshow */
.about-slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 2;
}
.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: var(--transition);
}
.slide-dot.active {
  background: var(--white);
  transform: scale(1.3);
}
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: .875rem;
}
.slide-nav:hover { background: rgba(255,255,255,.35); }
.slide-prev { left: .875rem; }
.slide-next { right: .875rem; }

/* === 11. CERTIFICATIONS ==================================== */
#certifications {
  background: var(--white);
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .875rem;
  padding: 1.75rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.cert-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.cert-item img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: var(--transition);
}
.cert-item:hover img { filter: grayscale(0); }
.cert-name {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-mid);
  text-align: center;
  line-height: 1.3;
}

/* === 12. GLOBAL PRESENCE =================================== */
#global {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: var(--white);
}
.global-bg {
  position: absolute;
  inset: 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.global-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,43,82,.90) 0%, rgba(13,43,82,.80) 100%);
  z-index: 1;
}
.global-content {
  position: relative;
  z-index: 2;
}
.global-header { margin-bottom: 3rem; }
.global-header .pre-title { color: #f0c040; }
.global-header .section-title { color: var(--white); }
.global-header .section-sub  { color: rgba(255,255,255,.75); }
.global-regions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.region-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: var(--transition);
}
.region-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-4px);
}
.region-flag {
  font-size: 2rem;
  margin-bottom: .75rem;
}
.region-name {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: .25rem;
}
.region-count {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f0c040;
}
.region-label { font-size: .75rem; color: rgba(255,255,255,.55); }
.global-image-wrap {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.1);
}
.global-image-wrap img { width: 100%; }

/* === 13. NEWSLETTER ======================================== */
#newsletter {
  background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary) 100%);
  padding: 80px 0;
  text-align: center;
}
.newsletter-inner { max-width: 580px; margin: 0 auto; }
.newsletter-inner .pre-title { color: #f0c040; }
.newsletter-inner .section-title { color: var(--white); margin-bottom: .875rem; }
.newsletter-inner p { color: rgba(255,255,255,.75); margin-bottom: 2rem; font-size: 1rem; }
.newsletter-form {
  display: flex;
  gap: .75rem;
  max-width: 480px;
  margin: 0 auto 1rem;
}
.newsletter-form input {
  flex: 1;
  padding: .8125rem 1.125rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: .9375rem;
  transition: var(--transition-fast);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus {
  border-color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.15);
}
.newsletter-form button {
  padding: .8125rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: .9375rem;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--accent-mid);
  transform: translateY(-1px);
}
.newsletter-note {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
}
.newsletter-success {
  display: none;
  align-items: center;
  gap: .625rem;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  color: #a8f0c0;
  font-weight: 500;
  justify-content: center;
  margin-top: 1rem;
}

/* === 14. CONTACT / QUOTE FORM ============================== */
#contact {
  background: var(--off-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
}
.contact-info-card h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: .5rem;
}
.contact-info-card p {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.625rem;
}
.contact-item:last-of-type { margin-bottom: 0; }
.contact-item-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #f0c040;
}
.contact-item-text strong {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.55);
  margin-bottom: .2rem;
}
.contact-item-text span,
.contact-item-text a {
  font-size: .9375rem;
  color: rgba(255,255,255,.9);
}
.contact-item-text a:hover { color: #f0c040; }
.contact-social {
  display: flex;
  gap: .625rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.contact-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition-fast);
}
.contact-social a:hover { background: var(--accent); color: var(--white); }
.map-wrap {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Quote Form */
.quote-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.quote-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: .375rem;
}
.quote-form-card > p {
  color: var(--text-light);
  font-size: .9rem;
  margin-bottom: 1.875rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  margin-bottom: 1.125rem;
}
.form-group label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(36,87,168,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  margin-bottom: 1.5rem;
  font-size: .8375rem;
  color: var(--text-light);
}
.form-consent input[type="checkbox"] {
  margin-top: .2rem;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}
.form-submit {
  width: 100%;
  padding: .9375rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}
.form-submit:hover {
  background: var(--accent-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,41,30,.3);
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--green);
}
.form-success i { font-size: 2.5rem; margin-bottom: .75rem; display: block; }

/* === 15. FOOTER ============================================ */
footer {
  background: var(--primary);
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img {
  height: 72px;
  width: auto;
  max-width: 260px;
  border-radius: 0;
  object-fit: contain;
  background: none;
  padding: 0;
  margin-bottom: 1.125rem;
}
.footer-brand p {
  font-size: .875rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: .5rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  transition: var(--transition-fast);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-col h4 {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: .625rem; }
.footer-col ul li a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  margin-bottom: .875rem;
  font-size: .875rem;
}
.footer-contact-item i {
  color: rgba(255,255,255,.35);
  margin-top: .15rem;
  width: 14px;
  text-align: center;
  font-size: .875rem;
}
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  padding: 1.375rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .8125rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal span {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}
.footer-cert-bar {
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-cert-bar p {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* === 16. CHATBOT WIDGET ==================================== */
.chatbot-widget {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 2000;
}
.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-mid), var(--primary));
  color: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.chatbot-toggle:hover { transform: scale(1.08); box-shadow: var(--shadow-xl); }
.chatbot-toggle .icon-close { display: none; }
.chatbot-widget.open .chatbot-toggle .icon-chat { display: none; }
.chatbot-widget.open .chatbot-toggle .icon-close { display: block; }
.chatbot-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  height: 500px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}
.chatbot-widget.open .chatbot-panel { display: flex; }
.chatbot-header {
  background: linear-gradient(135deg, var(--primary-mid), var(--primary));
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
}
.chatbot-header img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  padding: 2px;
}
.chatbot-header-text strong { display: block; font-size: .9375rem; }
.chatbot-header-text span {
  font-size: .75rem;
  opacity: .7;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.chatbot-header-text span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
}
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.chat-msg {
  max-width: 82%;
  padding: .625rem .875rem;
  border-radius: var(--radius);
  font-size: .875rem;
  line-height: 1.5;
}
.chat-msg.bot {
  background: var(--light);
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-msg.user {
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chatbot-chips {
  padding: 0 1.125rem .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.chat-chip {
  padding: .375rem .75rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--primary-light);
  color: var(--primary);
  font-size: .775rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}
.chat-chip:hover { background: var(--primary); color: white; }
.chatbot-input-row {
  padding: .875rem 1.125rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: .625rem;
}
.chatbot-input-row input {
  flex: 1;
  padding: .625rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  font-size: .875rem;
  transition: var(--transition-fast);
}
.chatbot-input-row input:focus { border-color: var(--primary-light); }
.chatbot-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  transition: var(--transition-fast);
}
.chatbot-send:hover { background: var(--primary-light); }
.chatbot-notification {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === 17. ANIMATIONS ======================================== */

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.86); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes floatYSm {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
@keyframes pulseSoft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.06); opacity: .85; }
}
@keyframes shimmerSweep {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes gradientDrift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes borderPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb, 13,43,82), .35); }
  50%       { box-shadow: 0 0 0 10px rgba(var(--primary-rgb, 13,43,82), 0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rippleOut {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes navEntrance {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pageEntry {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes badgeSlide {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes lineGrow {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── Page load ───────────────────────────────────────────── */
body { animation: pageEntry .45s ease both; }

/* ── Navbar entrance ─────────────────────────────────────── */
#navbar { animation: navEntrance .6s cubic-bezier(.22,1,.36,1) both; }

/* ── Hero badge float ────────────────────────────────────── */
.hero-badge {
  animation: badgeSlide .8s cubic-bezier(.22,1,.36,1) .3s both;
}

/* ── Hero title & subtitle ───────────────────────────────── */
.hero-title  { animation: fadeInUp .9s cubic-bezier(.22,1,.36,1) .5s both; }
.hero-sub    { animation: fadeInUp .9s cubic-bezier(.22,1,.36,1) .7s both; }
.hero-actions { animation: fadeInUp .9s cubic-bezier(.22,1,.36,1) .9s both; }
.hero-scroll  { animation: fadeInUp .9s ease 1.1s both; }

/* ── Page-hero (sub-pages) ───────────────────────────────── */
.page-hero .pre-title { animation: fadeInDown .7s cubic-bezier(.22,1,.36,1) .25s both; }
.page-hero h1         { animation: fadeInUp  .8s cubic-bezier(.22,1,.36,1) .4s  both; }
.page-hero p          { animation: fadeInUp  .8s ease .6s both; }
.page-hero .btn       { animation: scaleIn   .6s ease .8s both; }

/* ── Product hero (product-detail.html) ──────────────────── */
.product-hero .product-breadcrumb { animation: fadeInDown .6s ease .2s both; }
.product-hero h1                  { animation: fadeInUp  .8s cubic-bezier(.22,1,.36,1) .35s both; }
.product-hero-generic             { animation: fadeInUp  .7s ease .5s both; }
.product-hero-tagline             { animation: fadeInUp  .7s ease .65s both; }
.product-hero-actions             { animation: fadeInUp  .7s ease .8s both; }
.product-hero-funcs               { animation: fadeInRight .8s ease .9s both; }
.product-hero-img                 { animation: scaleIn .9s cubic-bezier(.22,1,.36,1) .4s both; }

/* ── Section headers ─────────────────────────────────────── */
.section-header .pre-title { position: relative; }
.section-header .pre-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  height: 2px;
  width: 0;
  background: var(--accent, #c0291e);
  border-radius: 2px;
  transition: width .6s ease;
}
.section-header.visible .pre-title::after { width: 40px; }

/* ── Scroll reveal – base ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Directional variants */
.reveal-left  { opacity: 0; transform: translateX(-48px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal-right { opacity: 0; transform: translateX(48px);  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal-scale { opacity: 0; transform: scale(.88);        transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal-fade  { opacity: 0;                               transition: opacity .8s ease; }

.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible,
.reveal-fade.visible  { opacity: 1; transform: none; }

/* Stagger delays */
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

/* ── Stat items ──────────────────────────────────────────── */
.stat-icon { animation: floatY 4s ease-in-out infinite; }
.stat-item:nth-child(2) .stat-icon { animation-delay: .5s; }
.stat-item:nth-child(3) .stat-icon { animation-delay: 1s; }
.stat-item:nth-child(4) .stat-icon { animation-delay: 1.5s; }

/* ── Cert items floating ─────────────────────────────────── */
.cert-item img, .cert-icon img {
  transition: transform .4s cubic-bezier(.22,1,.36,1), filter .3s;
}
.cert-item:hover img,
.cert-card:hover .cert-icon img {
  transform: translateY(-6px) scale(1.08);
  filter: grayscale(0) drop-shadow(0 6px 12px rgba(0,0,0,.15));
}

/* ── Cards – enhanced hover ──────────────────────────────── */
.product-card, .region-detail-card, .cert-card,
.blog-card, .feature-card, .dist-reason-card {
  transition: transform .35s cubic-bezier(.22,1,.36,1),
              box-shadow .35s ease,
              border-color .35s ease;
}
.product-card:hover       { transform: translateY(-8px) scale(1.01); }
.region-detail-card:hover { transform: translateY(-6px); }
.cert-card:hover          { transform: translateY(-6px); }
.blog-card:hover          { transform: translateY(-6px); }

/* ── Buttons – ripple CTA ────────────────────────────────── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  inset: 50% 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .55s ease, opacity .55s ease;
  opacity: 0;
  pointer-events: none;
}
.btn:active::after {
  width: 200%; height: 200%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: none;
}

/* ── Pre-title glow pulse ────────────────────────────────── */
@keyframes preTitleGlow {
  0%, 100% { opacity: 1; letter-spacing: .12em; }
  50%       { opacity: .72; letter-spacing: .16em; }
}
.pre-title { animation: preTitleGlow 3.5s ease-in-out infinite; }

/* ── Hero gradient drift ─────────────────────────────────── */
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(13,43,82,.88) 0%,
    rgba(13,43,82,.70) 40%,
    rgba(192,41,30,.60) 100%
  );
  background-size: 200% 200%;
  animation: gradientDrift 10s ease infinite;
}

/* ── Section dividers – animated underline ───────────────── */
.section-title {
  position: relative;
  display: inline-block;
}

/* ── Nav links hover underline ───────────────────────────── */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--accent, #c0291e);
  border-radius: 2px;
  transition: width .3s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ── Footer social icons ─────────────────────────────────── */
.footer-social a {
  transition: transform .3s cubic-bezier(.22,1,.36,1), color .3s;
}
.footer-social a:hover { transform: translateY(-4px) scale(1.15); }

/* ── About timeline dots ─────────────────────────────────── */
.timeline-dot { animation: pulseSoft 2.5s ease-in-out infinite; }
.timeline-item:nth-child(2) .timeline-dot { animation-delay: .5s; }
.timeline-item:nth-child(3) .timeline-dot { animation-delay: 1s; }
.timeline-item:nth-child(4) .timeline-dot { animation-delay: 1.5s; }

/* ── Chatbot toggle pulse ────────────────────────────────── */
.chatbot-toggle { animation: borderPulse 2.5s ease-in-out infinite; }
.chatbot-notification { animation: pulseSoft .9s ease-in-out infinite; }

/* ── Scroll-to-top bounce ────────────────────────────────── */
#scroll-top:hover { animation: floatYSm .6s ease-in-out infinite; }

/* Scroll-to-top */
#scroll-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
  font-size: .875rem;
}
#scroll-top.visible { opacity: 1; visibility: visible; }
#scroll-top:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* === 18. RESPONSIVE ======================================== */
@media (max-width: 1100px) {
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .global-regions { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  section { padding: 70px 0; }
  .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .about-text { padding-right: 0; }
  .category-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 1150px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  section { padding: 55px 0; }
  .hero-title { font-size: 2rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .global-regions { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .chatbot-panel { width: calc(100vw - 2rem); right: -1.25rem; }
  .newsletter-form { flex-direction: column; }
}
