@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Color Palette */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --brand-navy: #0b2545;
  --brand-blue: #0284c7;
  --brand-blue-hover: #0369a1;
  --brand-cyan: #00d2ff;
  --brand-cyan-glow: rgba(0, 210, 255, 0.4);
  --brand-yellow: #ffcc00;
  --brand-yellow-hover: #eab308;
  --brand-yellow-shadow: rgba(255, 204, 0, 0.45);
  
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-glass: rgba(15, 23, 42, 0.82);
  --border-glass: rgba(255, 255, 255, 0.22);
  --border-light: rgba(15, 23, 42, 0.08);

  --text-dark: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #ffffff;

  --nav-bg-scrolled: rgba(255, 255, 255, 0.95);
  --nav-text: #1e293b;
  --footer-bg: #0b1528;
  --footer-text: #94a3b8;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.35);

  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Dark Theme Support */
:root[data-theme="dark"] {
  --bg-page: #090e17;
  --bg-white: #111a28;
  --bg-card: #141e30;
  --border-light: rgba(255, 255, 255, 0.08);
  --text-dark: #f8fafc;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --nav-bg-scrolled: rgba(9, 14, 23, 0.95);
  --nav-text: #f8fafc;
  --footer-bg: #060910;
  --hero-bg: #090e17;
  --section-bg: #090e17;
}

:root {
  --hero-bg: #f8fafc;
  --section-bg: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Fluid Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(1.85rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.8vw, 2.3rem);
  margin-bottom: 1.2rem;
  position: relative;
}

h3 {
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
}

h4 {
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

h2.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
}

/* Centered Section Titles */
.text-center h2.section-title::after,
h2.section-title.centered::after,
[style*="text-align: center"] > h2.section-title::after,
[style*="text-align: center"] > * > h2.section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

p {
  color: var(--text-body);
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  line-height: 1.65;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

section {
  padding: clamp(48px, 8vw, 80px) 0;
  position: relative;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

nav.scrolled {
  position: fixed;
  background: var(--nav-bg-scrolled);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border-light);
}

nav .nav-container,
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px) !important;
}

/* Brand Logo */
.logo {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.5vw, 1.65rem);
  font-weight: 800;
  color: var(--brand-navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  letter-spacing: -0.02em;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

:root[data-theme="dark"] .logo {
  color: #ffffff;
}

.logo span {
  color: var(--brand-blue);
  margin-left: 4px;
}

.logo-img {
  height: clamp(34px, 4.5vw, 44px);
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  margin-right: 8px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: scale(1.02);
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--nav-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-blue);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--brand-blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--brand-blue);
  font-weight: 700;
}

/* Mobile Drawer CTA: Hidden on desktop */
.mobile-drawer-cta {
  display: none !important;
}

/* Mobile Navigation Backdrop */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-nav-backdrop.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Right Nav Controls */
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 14px);
}

.btn-nav {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
  transition: var(--transition-smooth);
  border: none;
  white-space: nowrap;
}

.btn-nav svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
}

.btn-nav:hover svg {
  transform: translateX(3px) rotate(-10deg);
}

.theme-toggle {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: var(--transition-smooth);
}

.theme-toggle:hover {
  background: var(--bg-card);
  transform: rotate(20deg);
  box-shadow: var(--shadow-sm);
}

:root[data-theme="dark"] .theme-toggle {
  background: #1e2d45;
  border-color: rgba(255,255,255,0.12);
  color: #f8fafc;
}

.mobile-menu-toggle {
  display: none;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--text-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  user-select: none;
}

:root[data-theme="dark"] .mobile-menu-toggle {
  background: #1e2d45;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

/* ==========================================================================
   Hero Section (Properly Fitted Proportional Banner)
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  margin-top: 76px;
  overflow: hidden;
  background-color: var(--hero-bg);
  transition: background-color 0.35s ease;
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 2048 / 768;
  overflow: hidden;
  touch-action: pan-y;
  background-color: var(--hero-bg);
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  animation: fadeInSlide 0.7s ease-in-out;
}

.slide.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: scale(0.995);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slide-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.45);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
  z-index: 20;
  opacity: 0;
  user-select: none;
}

.hero:hover .slider-arrow {
  opacity: 1;
}

.slider-arrow:hover {
  background: rgba(2, 132, 199, 0.9);
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

.slider-arrow.prev {
  left: 24px;
}

.slider-arrow.next {
  right: 24px;
}

/* Always visible on touch devices */
@media (hover: none), (max-width: 768px) {
  .slider-arrow {
    opacity: 0.85;
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }
  .slider-arrow.prev {
    left: 8px;
  }
  .slider-arrow.next {
    right: 8px;
  }
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

@media (max-width: 768px) {
  .slider-dots {
    bottom: 8px;
    gap: 8px;
  }
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dots .dot.active {
  width: 32px;
  border-radius: 20px;
  background: var(--brand-blue);
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.7);
}

/* ==========================================================================
   General Buttons & Components
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-hover));
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
}

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

.btn-outline:hover {
  background: var(--brand-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25);
}

/* Cards */
.card-modern {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
}

.card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.2);
}

/* CTA Buttons */
.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-hover));
  color: #0b2545;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 16px var(--brand-yellow-shadow);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-yellow:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--brand-yellow-shadow);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Button Groups */
.btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Feature Check Items */
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

.check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  max-width: 28px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.12);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

/* ==========================================================================
   Page Headers (Subpages)
   ========================================================================== */
.page-header {
  padding: 140px 0 50px;
  text-align: center;
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.08) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-page);
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: var(--brand-navy);
}

:root[data-theme="dark"] .page-header h1 {
  color: #ffffff;
}

/* Dark mode: ensure all plain sections have the right bg */
:root[data-theme="dark"] section {
  background-color: var(--bg-page);
}

:root[data-theme="dark"] .container {
  color: var(--text-dark);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
  font-size: 0.92rem;
}

input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Form Status Alert (Inline) */
.form-alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
  display: none;
  align-items: flex-start;
  gap: 14px;
  animation: slideDownFade 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.form-alert.success {
  display: flex;
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  color: #065f46;
}

.form-alert.error {
  display: flex;
  background: rgba(239, 68, 68, 0.1);
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  color: #991b1b;
}

.form-alert.loading {
  display: flex;
  background: rgba(2, 132, 199, 0.1);
  border: 1.5px solid rgba(2, 132, 199, 0.3);
  color: #0369a1;
}

.form-alert .alert-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-alert .alert-body {
  flex: 1;
  min-width: 0;
}

.form-alert .alert-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 3px;
}

.form-alert .alert-desc {
  font-size: 0.9rem;
  color: inherit;
  opacity: 0.92;
  margin: 0;
}

:root[data-theme="dark"] .form-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

:root[data-theme="dark"] .form-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

:root[data-theme="dark"] .form-alert.loading {
  background: rgba(2, 132, 199, 0.15);
  border-color: rgba(2, 132, 199, 0.4);
  color: #7dd3fc;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  width: calc(100% - 56px);
  pointer-events: none;
}

.toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 20px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
  pointer-events: auto;
  overflow: hidden;
  animation: toastSlideIn 0.4s cubic-bezier(0.2, 1, 0.3, 1) forwards;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

:root[data-theme="dark"] .toast {
  background: rgba(20, 30, 48, 0.96);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.toast.toast-hiding {
  animation: toastSlideOut 0.35s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(110%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(110%) scale(0.95);
  }
}

.toast.toast-success {
  border-left: 5px solid #10b981;
}

.toast.toast-error {
  border-left: 5px solid #ef4444;
}

.toast.toast-info {
  border-left: 5px solid var(--brand-blue);
}

.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.toast-error .toast-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.toast-info .toast-icon {
  background: rgba(2, 132, 199, 0.15);
  color: var(--brand-blue);
}

.toast-content {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
  line-height: 1.2;
}

.toast-message {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.45;
  margin: 0;
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s, transform 0.2s;
}

.toast-close:hover {
  color: var(--text-dark);
  transform: scale(1.15);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: #10b981;
  transform-origin: left;
  animation: toastProgress 5s linear forwards;
}

.toast-error .toast-progress {
  background: #ef4444;
}

.toast-info .toast-progress {
  background: var(--brand-blue);
}

@keyframes toastProgress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@media (max-width: 600px) {
  .toast-container {
    top: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }
}

/* Animations */
.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 70px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer h3,
footer h4 {
  color: #ffffff;
  margin-bottom: 16px;
}

footer .logo {
  color: #ffffff;
  margin-bottom: 14px;
}

footer p {
  color: var(--footer-text);
  font-size: 0.92rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 8px;
}

footer ul li a {
  color: var(--footer-text);
  text-decoration: none;
  transition: var(--transition-smooth);
}

footer ul li a:hover {
  color: var(--brand-cyan);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

/* ==========================================================================
   Responsive Breakpoints & Layout Adaptations
   ========================================================================== */

/* Laptops and Tablets (Landscape) */
@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

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

  .page-header {
    padding: 110px 0 40px;
  }

  .page-header h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }
}

/* Tablets (Portrait) and Large Mobile */
@media (max-width: 768px) {
  .hero {
    margin-top: 66px;
  }

  /* Animated Mobile Menu Drawer */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: clamp(12px, 3vw, 24px);
    right: clamp(12px, 3vw, 24px);
    width: auto;
    background: var(--bg-white);
    padding: 18px;
    gap: 6px;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    border: 1px solid var(--border-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, visibility 0.28s;
    z-index: 1001;
  }

  :root[data-theme="dark"] .nav-links {
    background: #111a28;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }

  .nav-links.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 1.02rem;
    font-weight: 600;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(2, 132, 199, 0.08);
  }

  :root[data-theme="dark"] .nav-links a:hover,
  :root[data-theme="dark"] .nav-links a.active {
    background: rgba(2, 132, 199, 0.18);
  }

  .nav-links a::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .btn-nav {
    display: none !important;
  }

  .mobile-drawer-cta {
    display: flex !important;
    width: 100%;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
  }

  .mobile-drawer-cta a {
    width: 100%;
    justify-content: center;
  }

  /* Grids & Cards */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 28px;
    direction: ltr !important;
  }

  .grid-2[style*="direction: rtl"],
  .grid-2 > * {
    direction: ltr !important;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-modern {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  /* Responsive button clusters */
  .btn-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .btn-group > * {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .page-header {
    padding: 96px 0 32px;
  }

  .page-header h1 {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }

  footer {
    padding: 50px 0 20px;
  }

  .footer-bottom {
    margin-top: 36px;
    padding-top: 16px;
  }
}

/* Small Smartphones (Portrait) */
@media (max-width: 480px) {
  .hero {
    margin-top: 60px;
  }

  .card-modern {
    padding: 20px 14px;
  }

  .btn,
  .btn-yellow,
  .btn-glass,
  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.92rem;
    box-sizing: border-box;
  }

  /* Responsive button clusters */
  .btn-group,
  .hero-actions,
  .cta-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .btn-group > * {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .stat-number {
    font-size: 2.4rem !important;
  }

  .cert-badges-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cert-badge {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* Very Narrow Devices (< 360px like Galaxy Z Flip folded / iPhone SE 1st gen) */
@media (max-width: 360px) {
  .logo {
    font-size: 1.15rem;
  }

  .logo-img {
    height: 32px;
    margin-right: 6px;
  }

  .theme-toggle,
  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   PREMIUM ANIMATIONS
   ========================================================================== */

/* --- Scroll Progress Bar --- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan), var(--brand-yellow));
  z-index: 9999;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
  transition: width 0.1s linear;
}

/* --- Floating Hero Bubbles --- */
.hero-bubble {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.45) 0%, rgba(2, 132, 199, 0.28) 50%, rgba(11, 37, 69, 0.35) 100%);
  border: 1px solid rgba(2, 132, 199, 0.35);
  box-shadow: inset -1px -1px 4px rgba(2, 132, 199, 0.25), 0 2px 6px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  z-index: 5;
  animation: bubbleRise linear infinite;
}

@keyframes bubbleRise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.2;
  }
  50% {
    opacity: 0.45;
    transform: translateY(-45vh) scale(1.08);
  }
  100% {
    transform: translateY(-95vh) scale(0.85);
    opacity: 0;
  }
}

/* --- Global Ambient Floating Bubbles Across All Pages --- */
.ambient-bubbles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.ambient-bubble {
  position: absolute;
  bottom: -35px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.4) 0%, rgba(2, 132, 199, 0.25) 55%, rgba(11, 37, 69, 0.3) 100%);
  border: 1px solid rgba(2, 132, 199, 0.3);
  box-shadow: inset -1px -1px 4px rgba(2, 132, 199, 0.2), 0 2px 6px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  animation: ambientRise linear infinite;
}

@keyframes ambientRise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.85);
    opacity: 0.15;
  }
  25% {
    opacity: 0.35;
    transform: translate3d(var(--drift, 12px), -30vh, 0) scale(1.05);
  }
  65% {
    opacity: 0.4;
    transform: translate3d(calc(var(--drift, 12px) * -0.8), -70vh, 0) scale(0.95);
  }
  100% {
    transform: translate3d(var(--drift, 12px), -108vh, 0) scale(0.75);
    opacity: 0;
  }
}

/* --- Ripple Effect --- */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleAnim 0.65s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --- Stat Number Glow on Reveal --- */
.stat-number {
  display: block;
  transition: text-shadow 0.5s ease;
}

.card-modern.active .stat-number,
.card-modern:hover .stat-number {
  text-shadow: 0 0 18px rgba(2, 132, 199, 0.45);
}

/* --- Gradient Animated Section Title --- */
h2.section-title {
  background: linear-gradient(
    90deg,
    var(--text-dark) 0%,
    var(--brand-blue) 40%,
    var(--brand-cyan) 60%,
    var(--text-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

:root[data-theme="dark"] h2.section-title {
  background: linear-gradient(
    90deg,
    #f8fafc 0%,
    var(--brand-cyan) 40%,
    var(--brand-blue) 60%,
    #f8fafc 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* --- Nav Logo Pulse on Load --- */
.logo-img {
  animation: logoPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes logoPop {
  from { transform: scale(0.6) rotate(-5deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}

/* --- Card Hover Glow Border --- */
.card-modern {
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card-modern:hover {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(2, 132, 199, 0.25), 0 0 30px rgba(2, 132, 199, 0.12);
}

/* Disable 3D tilt/animation on large section cards */
#intimate-wash .card-modern,
.card-modern.no-tilt {
  transform: none !important;
  perspective: none !important;
  transition: border-color 0.35s ease, box-shadow 0.35s ease !important;
}

#intimate-wash .card-modern:hover,
.card-modern.no-tilt:hover {
  transform: none !important;
}

/* --- Section Slide-in from Left/Right + Enhanced Animations --- */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), filter 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.animate.from-left {
  transform: translateX(-50px) translateY(0);
}

.animate.from-right {
  transform: translateX(50px) translateY(0);
}

.animate.scale-up {
  transform: scale(0.88);
}

.animate.blur-in {
  filter: blur(8px);
  transform: translateY(16px);
}

.animate.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
}

/* Staggered Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* --- Card Glow Hover Effect --- */
.card-modern {
  transition: var(--transition-smooth), box-shadow 0.4s ease;
}

.card-modern::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(2, 132, 199, 0.08), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.card-modern:hover::after {
  opacity: 1;
}

/* --- Section Title Gradient Shimmer --- */
.section-title {
  background-size: 200% auto;
  animation: none;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.animate.active .section-title,
.section-title.shimmer-active {
  background: linear-gradient(
    90deg,
    var(--text-dark) 0%,
    var(--brand-blue) 25%,
    var(--brand-cyan, #00d2ff) 50%,
    var(--brand-blue) 75%,
    var(--text-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear 1;
  animation-delay: 0.3s;
  animation-fill-mode: forwards;
}

/* Revert after animation so text stays readable */
@keyframes shimmerOnce {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* --- Image Zoom on Hover --- */
.grid-2 img,
.parallax-img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.grid-2 img:hover {
  transform: scale(1.03);
}

/* --- Parallax Image smooth transition --- */
.parallax-img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* --- Floating CTA Pulse --- */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(2, 132, 199, 0); }
}

.btn-primary:hover,
.btn-yellow:hover {
  animation: pulse-glow 1.5s ease infinite;
}

/* --- Scroll-to-Top Button --- */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan, #00d2ff));
  color: #ffffff;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.scroll-top-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.6);
}

/* --- Floating Gradient Orb Background --- */
.gradient-orb {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.06), transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: float-orb 15s ease-in-out infinite;
  filter: blur(60px);
}

.gradient-orb:nth-child(2) {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.05), transparent 70%);
  animation-delay: -7s;
  animation-duration: 20s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(10vw, -8vh); }
  50% { transform: translate(-5vw, 12vh); }
  75% { transform: translate(8vw, 5vh); }
}

/* --- Text Reveal Underline on Headings --- */
.section-title::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan, #00d2ff));
  border-radius: 2px;
  margin-top: 8px;
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate.active .section-title::after {
  width: 60px;
}

/* --- Stat Number Bounce --- */
@keyframes countBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.stat-number.counted {
  animation: countBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Nav Link Hover Underline Sweep --- */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan, #00d2ff));
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1), left 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

/* --- Dot bounce on hero slider --- */
.slider-dots .dot {
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

/* ==========================================================================
   NEW PRITE ANTIMICROBIAL INTIMATE FABRIC WASH SCIENTIFIC SECTIONS (BESPOKE UI)
   ========================================================================== */

/* ==========================================================================
   PRITE INTIMATE FABRIC WASH — CLEAN BROCHURE DESIGN (NO ANIMATION, READABLE)
   ========================================================================== */

/* ==========================================================================
   PRITE INTIMATE FABRIC WASH — ELITE CARD UI (CLEAN, SPACIOUS, READABLE)
   ========================================================================== */

.brochure-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  font-family: var(--font-body);
  color: #1e293b;
  line-height: 1.6;
}

:root[data-theme="dark"] .brochure-container {
  background: #0f172a;
  border-color: #1e293b;
  color: #f1f5f9;
}

/* 1. Hero Header Card */
.brochure-header {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1.5px solid #f1f5f9;
  margin-bottom: 36px;
}

:root[data-theme="dark"] .brochure-header {
  border-bottom-color: #1e293b;
}

.brochure-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #166534;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.brochure-brand-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  color: #0f766e;
  line-height: 1;
  margin: 0 0 8px 0;
  letter-spacing: -1px;
}

.brochure-brand-sub {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.25;
}

:root[data-theme="dark"] .brochure-brand-sub {
  color: #ffffff;
}

.brochure-brand-tagline {
  font-size: 1.05rem;
  color: #64748b;
  margin-bottom: 22px;
}

.brochure-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

:root[data-theme="dark"] .trust-pill {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

.brochure-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f766e;
  color: #ffffff !important;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
  transition: all 0.2s ease;
}

.brochure-cta-btn:hover {
  background: #115e59;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.35);
}

/* Right Feature Display */
.brochure-hero-visual {
  background: linear-gradient(145deg, #f0fdf4 0%, #ecfdf5 50%, #e6fffa 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.06);
}

:root[data-theme="dark"] .brochure-hero-visual {
  background: linear-gradient(145deg, #1e293b 0%, #064e3b 100%);
  border-color: #059669;
}

.hero-visual-badge {
  background: #ffffff;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

:root[data-theme="dark"] .hero-visual-badge {
  background: #0f172a;
  color: #34d399;
  border-color: #047857;
}

.hero-bottle-frame {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #ccfbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-bottle-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
  display: block;
}

.hero-visual-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 14px;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f766e;
}

:root[data-theme="dark"] .hero-visual-footer {
  color: #34d399;
}

/* 2. Microclimate Row */
.microclimate-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
  margin-bottom: 40px;
  align-items: stretch;
}

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

.microclimate-left h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
}

:root[data-theme="dark"] .microclimate-left h3 {
  color: #ffffff;
}

.microclimate-left h3 span {
  color: #0f766e;
}

.microclimate-left p {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

:root[data-theme="dark"] .microclimate-left p {
  color: #94a3b8;
}

.microclimate-right-box {
  background: #fffaf5;
  border: 1.5px solid #fed7aa;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.04);
}

:root[data-theme="dark"] .microclimate-right-box {
  background: rgba(194, 65, 12, 0.1);
  border-color: rgba(251, 146, 60, 0.25);
}

.microclimate-right-box h4 {
  color: #c2410c;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

:root[data-theme="dark"] .microclimate-right-box h4 {
  color: #fb923c;
}

.microclimate-right-box p {
  font-size: 0.9rem;
  color: #7c2d12;
  margin-bottom: 18px;
  line-height: 1.55;
}

:root[data-theme="dark"] .microclimate-right-box p {
  color: #fed7aa;
}

.mc-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mc-mini-item {
  background: #ffffff;
  border: 1px solid #ffedd5;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

:root[data-theme="dark"] .mc-mini-item {
  background: #1e293b;
  border-color: #334155;
}

.mc-mini-item .icon {
  font-size: 1.4rem;
  margin-bottom: 4px;
  line-height: 1;
}

.mc-mini-item .label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9a3412;
  margin-bottom: 4px;
}

:root[data-theme="dark"] .mc-mini-item .label {
  color: #fb923c;
}

.mc-mini-item .val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

:root[data-theme="dark"] .mc-mini-item .val {
  color: #ffffff;
}

.mc-mini-item .sub {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.3;
}

/* 3. The 5-Step Infection Chain */
.chain-section {
  margin-bottom: 40px;
}

.chain-section h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

:root[data-theme="dark"] .chain-section h3 {
  color: #ffffff;
}

.chain-section h3 span {
  color: #0f766e;
}

.chain-section-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 20px;
}

.chain-five-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.chain-box {
  background: #fff5f5;
  border: 1.5px solid #fecdd3;
  border-radius: 14px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.03);
}

:root[data-theme="dark"] .chain-box {
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(244, 63, 94, 0.25);
}

.chain-box .step-num {
  color: #e11d48;
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 6px;
}

.chain-box .step-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  line-height: 1;
}

.chain-box .step-title {
  font-weight: 800;
  color: #881337;
  font-size: 0.92rem;
  margin-bottom: 8px;
  line-height: 1.25;
}

:root[data-theme="dark"] .chain-box .step-title {
  color: #fca5a5;
}

.chain-box .step-text {
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.45;
}

:root[data-theme="dark"] .chain-box .step-text {
  color: #cbd5e1;
}

.chain-box.final-danger {
  background: linear-gradient(145deg, #991b1b 0%, #7f1d1d 100%);
  border-color: #5c1111;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(153, 27, 27, 0.25);
}

.chain-box.final-danger .step-num {
  color: #fecdd3;
}

.chain-box.final-danger .step-title {
  color: #ffffff;
}

.chain-box.final-danger .step-text {
  color: rgba(255, 255, 255, 0.92);
}

/* Key Fact Full-Width Banner */
.key-fact-banner {
  background: #fdf2f8;
  border: 1.5px solid #fbcfe8;
  border-radius: 14px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.04);
}

:root[data-theme="dark"] .key-fact-banner {
  background: rgba(219, 39, 119, 0.1);
  border-color: rgba(244, 114, 182, 0.25);
}

.kf-tag {
  background: #991b1b;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.key-fact-banner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #701a75;
}

:root[data-theme="dark"] .key-fact-banner p {
  color: #f5d0fe;
}

.key-fact-banner p strong {
  color: #991b1b;
}

:root[data-theme="dark"] .key-fact-banner p strong {
  color: #fb7185;
}

/* 4. PRITE Solution: 3 Green Cards */
.solution-section {
  margin-bottom: 40px;
}

.solution-section h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

:root[data-theme="dark"] .solution-section h3 {
  color: #ffffff;
}

.solution-section h3 span {
  color: #0f766e;
}

.solution-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.solution-card-green {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.04);
}

:root[data-theme="dark"] .solution-card-green {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
}

.sc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sc-header .sc-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.sc-header .sc-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: #065f46;
  line-height: 1.25;
}

:root[data-theme="dark"] .sc-header .sc-title {
  color: #86efac;
}

.sc-desc {
  font-size: 0.86rem;
  color: #1e293b;
  line-height: 1.55;
  margin-bottom: 16px;
}

:root[data-theme="dark"] .sc-desc {
  color: #cbd5e1;
}

.sc-pill {
  margin-top: auto;
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  border: 1px solid #bbf7d0;
}

:root[data-theme="dark"] .sc-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #a7f3d0;
  border-color: rgba(16, 185, 129, 0.3);
}

/* 5. Comparison Table & Badges Row */
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 24px;
  align-items: stretch;
  margin-top: 18px;
}

.brochure-table-wrap {
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  max-width: 100%;
}

:root[data-theme="dark"] .brochure-table-wrap {
  border-color: #334155;
}

.brochure-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
}

.brochure-table th {
  padding: 12px 16px;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.brochure-table th.th-danger {
  background: #dc2626;
  color: #ffffff;
  width: 28%;
}

.brochure-table th.th-success {
  background: #0f766e;
  color: #ffffff;
  width: 40%;
}

.brochure-table th.th-active {
  background: #0f766e;
  color: #ffffff;
  width: 32%;
}

.brochure-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.45;
}

:root[data-theme="dark"] .brochure-table td {
  border-bottom-color: #1e293b;
}

.brochure-table tr:nth-child(even) td {
  background: #fafafa;
}

:root[data-theme="dark"] .brochure-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.brochure-table tr:last-child td {
  border-bottom: none;
}

.brochure-table td.td-red {
  color: #b91c1c;
  font-weight: 700;
}

:root[data-theme="dark"] .brochure-table td.td-red {
  color: #f87171;
}

.brochure-table td.td-green {
  color: #0f766e;
  font-weight: 700;
}

:root[data-theme="dark"] .brochure-table td.td-green {
  color: #34d399;
}

.brochure-table td.td-ing {
  color: #1e293b;
  font-weight: 800;
  font-size: 0.82rem;
}

:root[data-theme="dark"] .brochure-table td.td-ing {
  color: #94a3b8;
}

.brochure-badges-sidebar {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 14px;
}

:root[data-theme="dark"] .brochure-badges-sidebar {
  background: #1e293b;
  border-color: #334155;
}

.sb-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

:root[data-theme="dark"] .sb-badge-item {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}

.sb-badge-item .sb-icon {
  font-size: 1.25rem;
  line-height: 1;
}

/* Responsive Rules for Elite Brochure Layout */
@media (max-width: 1024px) {
  .brochure-header {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .chain-five-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .solution-cards-grid {
    grid-template-columns: 1fr;
  }
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .brochure-badges-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .brochure-container {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .brochure-brand-title {
    font-size: clamp(2rem, 6vw, 2.6rem);
  }
  .microclimate-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .chain-five-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .mc-mini-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .key-fact-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .chain-five-grid {
    grid-template-columns: 1fr;
  }
  .brochure-badges-sidebar {
    grid-template-columns: 1fr;
  }
  .hero-visual-footer {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
}

/* Comparison Table */
.chain-table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.chain-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  background: var(--bg-card);
}

.chain-table th {
  padding: 14px 18px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

.chain-table th.th-without {
  background: #fef2f2;
  color: #991b1b;
  border-bottom: 2px solid #f87171;
}

.chain-table th.th-with {
  background: #f0fdf4;
  color: #166534;
  border-bottom: 2px solid #4ade80;
}

.chain-table th.th-ingredient {
  background: #f0f9ff;
  color: #075985;
  border-bottom: 2px solid #38bdf8;
}

:root[data-theme="dark"] .chain-table th.th-without {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

:root[data-theme="dark"] .chain-table th.th-with {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

:root[data-theme="dark"] .chain-table th.th-ingredient {
  background: rgba(2, 132, 199, 0.15);
  color: #7dd3fc;
}

.chain-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.45;
  color: var(--text-body);
}

.chain-table tr:last-child td {
  border-bottom: none;
}

.chain-table td.td-without {
  color: #b91c1c;
  font-weight: 500;
}

.chain-table td.td-with {
  color: #15803d;
  font-weight: 600;
}

.chain-table td.td-ingredient {
  color: var(--brand-blue);
  font-weight: 700;
}

/* Cert Badges Grid */
.cert-badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.cert-badge-icon {
  color: #10b981;
}

@media (max-width: 1024px) {
  .threat-pipeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .threat-pipeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .protection-steps-grid {
    grid-template-columns: 1fr;
  }
  .microclimate-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .threat-pipeline {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   DIRECT WHATSAPP FLOATING BUTTON (+91 7499401157)
   ============================================================ */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 99999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-float-btn:active {
  transform: scale(0.95);
}

.whatsapp-float-btn svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

/* Pulsing Outer Glow Ring */
.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: waPulseRing 2.2s infinite cubic-bezier(0.25, 0.8, 0.5, 1);
  pointer-events: none;
}

@keyframes waPulseRing {
  0% { transform: scale(0.92); opacity: 0.9; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Tooltip Badge on Desktop Hover */
.whatsapp-float-btn .wa-tooltip-text {
  position: absolute;
  right: 70px;
  background: #0f172a;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body, sans-serif);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.whatsapp-float-btn .wa-tooltip-text::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

.whatsapp-float-btn:hover .wa-tooltip-text {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 480px) {
  .whatsapp-float-btn {
    bottom: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float-btn svg {
    width: 30px;
    height: 30px;
  }
  .whatsapp-float-btn .wa-tooltip-text {
    display: none;
  }
}