/* ==========================================================================
   JAI MLAP PUNJAB - BESPOKE STYLESHEET (ENHANCED RESPONSIVE & EDITORIAL EDITION)
   Joint Association of Independent Medical Laboratory & Allied Professionals Regd.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Core Color Palette */
  --color-bg-base: #f8fafc;
  --color-bg-card: #ffffff;
  --color-bg-alt: #f1f5f9;
  --color-surface-subtle: #f9fafb;

  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #64748b;
  --color-text-subtle: #94a3b8;

  /* Accent: Botanical / Diagnostic Laboratory Emerald & Teal */
  --color-accent: #0f766e;
  --color-accent-hover: #115e59;
  --color-accent-light: #ccfbf1;
  --color-accent-lighter: #f0fdfa;
  --color-accent-vibrant: #0d9488;
  --color-accent-green: #059669;

  /* Deep Contrast Dark Palette */
  --color-dark-bg: #09121f;
  --color-dark-surface: #111d2f;
  --color-dark-card: #16243a;
  --color-dark-border: #1e324f;
  --color-dark-text: #f8fafc;
  --color-dark-muted: #94a3b8;

  /* Borders & Shadows */
  --border-light: 1px solid #e2e8f0;
  --border-subtle: 1px solid #edf2f7;
  --border-dark: 1px solid rgba(255, 255, 255, 0.08);
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 0 25px rgba(15, 118, 110, 0.15);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Cinzel', Georgia, serif;

  /* Layout */
  --max-width: 1240px;
  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

/* Section Common */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-white {
  background-color: #ffffff;
}

.section-dark {
  background-color: var(--color-dark-bg);
  color: var(--color-dark-text);
  background-image: radial-gradient(circle at 10% 20%, rgba(15, 118, 110, 0.12), transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(13, 148, 136, 0.08), transparent 45%);
}

/* Eyebrow / Category Pills */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.eyebrow-light {
  color: #2dd4bf;
}
.eyebrow-light::before {
  background-color: #2dd4bf;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .eyebrow {
  justify-content: center;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 680px;
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--color-dark-muted);
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   NAVIGATION BAR & BRANDING
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  border-bottom-color: rgba(226, 232, 240, 0.95);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 46px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-main);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-text-main);
  transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
  background: #e2e8f0;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ==========================================================================
   MOBILE MENU DRAWER (SWIPE FROM LEFT HAND SIDE)
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%; /* Opens from left! */
  right: auto;
  width: 84%;
  max-width: 360px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 2000;
  padding: 2rem 1.75rem;
  box-shadow: 10px 0 35px rgba(15, 23, 42, 0.2);
  transition: left 300ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.open {
  left: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.drawer-close {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--color-text-main);
  transition: background 0.2s;
}

.drawer-close:hover {
  background: #e2e8f0;
}

.drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-main);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.drawer-link:hover,
.drawer-link.active {
  background-color: #f0fdfa;
  color: var(--color-accent);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 2px 4px rgba(15, 118, 110, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.3);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-text-main);
  border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
  color: var(--color-text-main);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  color: #ffffff;
}

/* ==========================================================================
   HERO SECTION (SMARTPHONE OPTIMIZED)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background: radial-gradient(circle at 85% 20%, rgba(13, 148, 136, 0.08), transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(15, 118, 110, 0.05), transparent 45%),
              var(--color-bg-base);
  overflow: hidden;
  border-bottom: 1px solid #edf2f7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
  margin-bottom: 1.35rem;
}

.hero-copy {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Hero Trust / Badges Row */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e2e8f0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent-lighter);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.trust-text span {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   3D HERO SHOWCASE FOR MOBILE & SMARTPHONE
   ========================================================================== */
@keyframes float3D {
  0%, 100% {
    transform: translateY(-50%) rotate(0deg);
    filter: drop-shadow(0 15px 25px rgba(15, 118, 110, 0.45));
  }
  50% {
    transform: translateY(calc(-50% - 10px)) rotate(2deg);
    filter: drop-shadow(0 22px 35px rgba(15, 118, 110, 0.65));
  }
}

.hero-mobile-visual-showcase {
  display: none; /* Hidden on desktop; shown on mobile/tablet */
  margin-bottom: 1.85rem;
  width: 100%;
}

.mobile-visual-card-inner {
  position: relative;
  height: 230px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 118, 110, 0.3);
  background: #09121f;
}

.mobile-hero-bg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.75;
}

.mobile-hero-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9, 18, 31, 0.4) 0%, rgba(15, 118, 110, 0.35) 60%, rgba(9, 18, 31, 0.9) 100%);
  pointer-events: none;
}

.mobile-3d-floating-seal {
  position: absolute;
  top: 48%;
  right: 1.15rem;
  z-index: 4;
  animation: float3D 4.5s ease-in-out infinite;
}

.floating-3d-emblem {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  border: 2px solid rgba(45, 212, 191, 0.7);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.5);
  display: block;
}

.mobile-card-top-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(9, 18, 31, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #5eead4;
  display: flex;
  align-items: center;
  z-index: 3;
}

.mobile-card-bottom-info {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: #ffffff;
  z-index: 3;
}

.mobile-info-item {
  text-align: center;
}

.mobile-info-item strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #2dd4bf;
  line-height: 1.1;
}

.mobile-info-item span {
  font-size: 0.68rem;
  color: #cbd5e1;
  font-weight: 500;
}

.mobile-info-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Visual Canvas & Badges */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Modern Photo Frame for Hero */
.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 118, 110, 0.2);
  background: #0f172a;
  max-width: 520px;
  width: 100%;
}

.hero-main-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-frame:hover .hero-main-photo {
  transform: scale(1.03);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.6) 100%);
  pointer-events: none;
}

.hero-photo-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 5;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  margin-right: 0.4rem;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Floating Badges on Desktop */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
  box-shadow: 0 16px 28px -6px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
  transition: transform var(--transition-fast);
}

.floating-badge:hover {
  transform: translateY(-3px);
}

.floating-badge.badge-top-left {
  top: 6%;
  left: -6%;
}

.floating-badge.badge-bottom-right {
  bottom: 6%;
  right: -4%;
}

.badge-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon-box.teal { background: var(--color-accent-lighter); color: var(--color-accent); }
.badge-icon-box.blue { background: #eff6ff; color: #1d4ed8; }

.badge-info .badge-stat {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.1;
}

.badge-info .badge-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Responsive Inline Stats Strip for Mobile */
.hero-mobile-stats {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1.5rem;
}

/* ==========================================================================
   WHO WE ARE - BESPOKE MODERN SHOWCASE
   ========================================================================== */
.section-who-we-are {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

.about-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.75rem;
  align-items: center;
}

.about-visual-column {
  position: relative;
}

.about-photo-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 22px 45px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.85);
  background: #0f172a;
}

.about-team-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-photo-wrapper:hover .about-team-photo {
  transform: scale(1.025);
}

.about-photo-badge {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 22px -5px rgba(15, 23, 42, 0.15);
  z-index: 3;
}

.badge-icon-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent-lighter);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.about-photo-badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-main);
  line-height: 1.2;
}

.about-photo-badge span {
  font-size: 0.72rem;
  color: var(--color-text-light);
}

.about-quote-box {
  margin-top: 1.35rem;
  background: linear-gradient(135deg, #f0fdfa, #f8fafc);
  border: 1px solid #ccfbf1;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.1rem 1.35rem;
  box-shadow: var(--shadow-subtle);
}

.about-quote-box p {
  font-size: 0.95rem;
  font-style: italic;
  color: #134e4a;
  line-height: 1.55;
  margin-bottom: 0.45rem;
}

.quote-author {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content-column h3 {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--color-text-main);
  margin-bottom: 1.2rem;
}

.about-lead {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.85rem;
}

.about-feature-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-feat-card {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-feat-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px -5px rgba(15, 23, 42, 0.08);
  transform: translateX(6px);
}

.feat-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feat-icon-bubble.teal { background: #ccfbf1; }
.feat-icon-bubble.blue { background: #dbeafe; }
.feat-icon-bubble.emerald { background: #d1fae5; }

.feat-text h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.3rem;
}

.feat-text p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.about-metrics-bar {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 0.95rem 1.5rem;
  justify-content: space-around;
  border: 1px solid #e2e8f0;
}

.metric-item {
  text-align: center;
}

.metric-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
}

.metric-item span {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: #cbd5e1;
}

/* Floating WhatsApp Mobile Action Button */
.floating-whatsapp-btn {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp-btn:hover,
.floating-whatsapp-btn:active {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.floating-whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* ==========================================================================
   LEADERSHIP & CORE COMMITTEE SECTION
   ========================================================================= */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.leader-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-subtle);
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #94a3b8;
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.leader-card:hover::before {
  opacity: 1;
}

.leader-avatar-wrapper {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #0f766e, #2dd4bf);
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 18px -4px rgba(15, 118, 110, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.leader-avatar-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0f172a;
  object-fit: cover;
}

.leader-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
}

.leader-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.leader-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background-color: var(--color-accent-lighter);
  border: 1px solid var(--color-accent-light);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.leader-bio {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   PURPOSE / WHAT WE DO CARDS
   ========================================================================== */
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.purpose-card {
  background-color: var(--color-bg-card);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.purpose-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.purpose-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-lighter);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.purpose-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.85rem;
}

.purpose-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   COMMUNITY & STATS SECTION (Dark Contrasting)
   ========================================================================== */
.community-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-card-dark {
  background-color: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  transition: transform var(--transition-fast);
}

.stat-card-dark:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.4);
}

.stat-number {
  font-size: clamp(2.4rem, 3.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #2dd4bf;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.stat-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.stat-desc {
  font-size: 0.88rem;
  color: var(--color-dark-muted);
}

/* ==========================================================================
   EVENTS SECTION & EVENT CARDS
   ========================================================================== */
.events-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-pill {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.filter-pill.active {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.event-card {
  background-color: var(--color-bg-card);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.event-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: #0f172a;
  overflow: hidden;
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-media img {
  transform: scale(1.03);
}

.event-date-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.event-status-tag {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event-status-tag.past {
  background: rgba(15, 23, 42, 0.8);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.event-status-tag.upcoming {
  background: #047857;
  color: #ffffff;
}

.event-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.event-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.event-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.event-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   MEDIA / REELS SECTION (SNAP CAROUSEL WITH VIEW COUNTERS)
   ========================================================================= */
.reels-carousel-container {
  position: relative;
  overflow: hidden;
}

.reels-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0.25rem 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.reels-track::-webkit-scrollbar {
  display: none;
}

.reel-card {
  flex: 0 0 250px;
  aspect-ratio: 9 / 15;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background-color: #0b1320;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  scroll-snap-align: start;
}

.reel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.reel-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.reel-card:hover .reel-thumbnail {
  transform: scale(1.04);
}

.reel-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.reel-views-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.reel-play-btn {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
  z-index: 2;
}

.reel-card:hover .reel-play-btn {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.1);
}

.reel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.25rem 1.15rem 1.15rem;
  background: linear-gradient(to top, rgba(11, 19, 32, 0.95) 0%, rgba(11, 19, 32, 0.6) 60%, transparent 100%);
  color: #ffffff;
  z-index: 2;
}

.reel-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.reel-sub {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Carousel Nav Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-arrow:hover {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

/* ==========================================================================
   SOCIAL MEDIA SECTION
   ========================================================================= */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.social-card {
  background: #ffffff;
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
}

.social-card.clickable:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #94a3b8;
}

.social-card.placeholder-card {
  opacity: 0.75;
  background-color: #f8fafc;
  cursor: default;
}

.social-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-icon-wrapper.facebook { background: #eff6ff; color: #1877f2; }
.social-icon-wrapper.whatsapp { background: #f0fdf4; color: #16a34a; }
.social-icon-wrapper.email { background: #f0fdfa; color: #0d9488; }
.social-icon-wrapper.inactive { background: #f1f5f9; color: #94a3b8; }

.social-card-content {
  flex-grow: 1;
}

.social-platform-name {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.social-card-handle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
}

.social-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.social-arrow-icon {
  color: var(--color-text-light);
  transition: transform var(--transition-fast);
}

.social-card.clickable:hover .social-arrow-icon {
  transform: translateX(4px);
  color: var(--color-accent);
}

/* ==========================================================================
   CONTACT CTA SECTION
   ========================================================================= */
.contact-banner {
  background: linear-gradient(135deg, #09121f 0%, #112239 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.contact-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.18), transparent 70%);
  pointer-events: none;
}

.contact-banner-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.contact-banner-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-banner-text {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.contact-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background-color: var(--color-dark-bg);
  color: #94a3b8;
  border-top: 1px solid var(--color-dark-border);
  padding: 5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #94a3b8;
  max-width: 360px;
  margin-bottom: 1.75rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-social-icons {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-social-btn.active:hover {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.footer-social-btn.inactive {
  opacity: 0.35;
  cursor: not-allowed;
}

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-dark-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ==========================================================================
   SMOOTH SCROLL-REVEAL ANIMATIONS (MOBILE & DESKTOP)
   ========================================================================== */
.reveal,
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.is-revealed {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* Interactive Hover Polish */
.purpose-card,
.leader-card,
.event-card,
.reel-card,
.stat-card-dark {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-card,
  .reveal-left,
  .reveal-right,
  .reveal-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
/* ==========================================================================
   ENHANCED SMARTPHONE RESPONSIVENESS & BREAKPOINTS
   ========================================================================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-content {
    order: 1;
    text-align: left;
  }

  /* Show 3D visual showcase at top on mobile/tablet */
  .hero-mobile-visual-showcase {
    display: block;
  }

  /* Hide bottom duplicate visual on mobile/tablet */
  .hero-visual-wrapper {
    display: none;
  }

  .about-grid-modern {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual-column {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .purpose-grid,
  .leadership-grid,
  .events-grid,
  .community-stats-grid,
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.25rem 0;
  }

  .section-sm {
    padding: 2.25rem 0;
  }

  .nav-wrapper {
    height: 64px;
  }

  .brand-logo img {
    height: 38px;
  }

  .nav-menu,
  .nav-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero Section Top Smartphone UI Optimization */
  .hero-section {
    padding: 1.5rem 0 2.75rem;
  }

  .hero-headline {
    font-size: 2.15rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0f172a 40%, #0f766e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-copy {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  .hero-trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
  }

  .trust-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    gap: 0.65rem;
  }

  .about-team-photo {
    height: 280px;
  }

  .about-feat-card {
    padding: 1rem 1.15rem;
    gap: 0.9rem;
  }

  .about-metrics-bar {
    padding: 0.85rem 0.75rem;
  }

  .metric-item strong {
    font-size: 1.15rem;
  }

  .metric-item span {
    font-size: 0.68rem;
  }

  .floating-whatsapp-btn {
    display: flex;
  }

  .purpose-grid,
  .leadership-grid,
  .community-stats-grid,
  .social-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .reel-card {
    flex: 0 0 220px;
  }

  .contact-banner {
    padding: 2.25rem 1.25rem;
  }

  .contact-cta-buttons {
    flex-direction: column;
  }

  .contact-cta-buttons .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-headline {
    font-size: 1.85rem;
    line-height: 1.22;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .hero-main-photo {
    height: 240px;
  }

  .about-team-photo {
    height: 240px;
  }

  .about-photo-badge {
    padding: 0.5rem 0.75rem;
  }

  .about-photo-badge strong {
    font-size: 0.78rem;
  }

  .about-photo-badge span {
    font-size: 0.68rem;
  }

  .stat-card-dark {
    padding: 1.75rem 1.25rem;
  }

  .stat-number {
    font-size: 2.1rem;
  }

  .hero-ctas {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-trust-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .mobile-visual-card-inner {
    height: 215px;
  }

  .floating-3d-emblem {
    width: 82px;
    height: 82px;
  }

  .mobile-card-bottom-info {
    padding: 0.45rem 0.65rem;
  }

  .mobile-info-item strong {
    font-size: 1rem;
  }

  .reel-card {
    flex: 0 0 200px;
  }
}

/* ==========================================================================
   EXECUTIVE DOSSIER & LEADERSHIP ARCHITECTURE (OFFICIAL GOVERNING BODY)
   ========================================================================== */
.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.dossier-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
}

.dossier-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

.dossier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 4px;
  background: linear-gradient(90deg, #0f766e, #2dd4bf, #0284c7);
  border-radius: 0 0 4px 4px;
}

.dossier-top-badge-row {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.dossier-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.85rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #166534;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dossier-avatar-container {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 1.25rem;
}

.dossier-portrait-frame {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #0f766e 0%, #2dd4bf 50%, #0369a1 100%);
  box-shadow: 0 10px 24px -4px rgba(15, 118, 110, 0.28);
  position: relative;
}

.dossier-portrait-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #0f172a;
  border: 3px solid #ffffff;
}

.dossier-rank-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 32px;
  height: 32px;
  background: #0f766e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.dossier-header-info {
  text-align: center;
  margin-bottom: 1.25rem;
}

.dossier-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.dossier-role {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.dossier-district-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

/* Metadata Credentials Chips */
.dossier-credentials-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
}

.dossier-cred-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: #334155;
  line-height: 1.4;
}

.dossier-cred-label {
  font-weight: 700;
  color: #64748b;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-width: 80px;
  flex-shrink: 0;
}

.dossier-cred-value {
  color: #0f172a;
  font-weight: 600;
  word-break: break-word;
}

/* Excerpt & Expandable Drawer */
.dossier-excerpt {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.dossier-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}

.dossier-drawer.is-open {
  max-height: 1200px;
  opacity: 1;
  margin-bottom: 1.25rem;
}

.dossier-full-bio {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.68;
  padding-top: 0.75rem;
  border-top: 1px dashed #cbd5e1;
  margin-bottom: 1rem;
}

.dossier-full-bio p {
  margin-bottom: 0.75rem;
}

.dossier-achievements-box {
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.dossier-achievements-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f766e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dossier-achievements-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dossier-achievements-list li {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #1e293b;
  position: relative;
  padding-left: 1.35rem;
}

.dossier-achievements-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #0d9488;
  font-weight: 800;
  font-size: 0.85rem;
}

.dossier-toggle-btn {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dossier-toggle-btn:hover {
  background: #0f766e;
  color: #ffffff;
  border-color: #0f766e;
}

.dossier-toggle-btn svg {
  transition: transform 0.3s ease;
}

.dossier-drawer.is-open ~ .dossier-toggle-btn svg,
.dossier-toggle-btn.is-active svg {
  transform: rotate(180deg);
}

/* ==========================================================================
   HISTORIC VICTORIES & STATE MILESTONES SECTION
   ========================================================================== */
.milestones-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.milestones-banner-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f766e 100%);
  border-radius: 18px;
  padding: 2.25rem 2.5rem;
  color: #ffffff;
  margin-bottom: 3.5rem;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.milestones-banner-content h3 {
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.milestones-banner-content p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.banner-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.35rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f1f5f9;
}

.milestones-banner-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.banner-stat-tile {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
}

.banner-stat-tile strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: #2dd4bf;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.banner-stat-tile span {
  font-size: 0.78rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* 5 Milestones Cards Grid */
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.milestone-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 2.25rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
}

.milestone-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
}

.milestone-card.featured-wide {
  grid-column: 1 / -1;
  border-left: 5px solid #0f766e;
  background: #ffffff;
}

.milestone-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.milestone-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 8px;
  padding: 0.25rem 0.65rem;
}

.milestone-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
}

.milestone-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.milestone-desc {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.milestone-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  color: #1e293b;
  font-weight: 600;
  margin-top: auto;
}

/* Bio-Medical Waste Rate Comparison Table */
.bmw-comparison-wrapper {
  margin-top: 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.bmw-table-header {
  background: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bmw-table-header h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bmw-table-header span {
  font-size: 0.76rem;
  color: #94a3b8;
}

.bmw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.bmw-table th {
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.bmw-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.bmw-table tr.punjab-row {
  background: #f0fdf4;
  font-weight: 700;
}

.bmw-table tr.punjab-row td {
  color: #166534;
  border-bottom: 2px solid #bbf7d0;
}

.bmw-badge-lowest {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  margin-left: 0.5rem;
  text-transform: uppercase;
}

.bmw-callout-footer {
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid #e2e8f0;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR DOSSIER & MILESTONES
   ========================================================================== */
@media (max-width: 1024px) {
  .dossier-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    gap: 2rem;
  }

  .milestones-banner-box {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem;
  }

  .milestones-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dossier-card {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .milestones-banner-box {
    padding: 1.5rem 1.15rem;
  }

  .milestones-banner-content h3 {
    font-size: 1.35rem;
  }

  .milestones-banner-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .banner-stat-tile {
    padding: 1rem 0.75rem;
  }

  .banner-stat-tile strong {
    font-size: 1.45rem;
  }

  .milestone-card {
    padding: 1.5rem 1.25rem;
  }

  .milestone-title {
    font-size: 1.12rem;
  }

  .bmw-table th,
  .bmw-table td {
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
  }
}


/* ==========================================================================
   NAV DROPDOWN MENU
   ========================================================================== */
.nav-has-dropdown {
  position: relative;
}

.nav-has-dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.14);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  rotate: 45deg;
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  color: #334155;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-dropdown li a:hover {
  color: #0f766e;
  background: #f0fdfa;
}

/* ==========================================================================
   REELS CAROUSEL � SIDE ARROW OVERLAY
   ========================================================================== */
.reels-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.reels-arrow-left,
.reels-arrow-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15,23,42,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #0f172a;
  flex-shrink: 0;
}

.reels-arrow-left {
  left: -18px;
}

.reels-arrow-right {
  right: -18px;
}

.reels-arrow-left:hover,
.reels-arrow-right:hover {
  background: #0f766e;
  color: #ffffff;
  border-color: #0f766e;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(15,118,110,0.35);
}

@media (max-width: 768px) {
  .reels-arrow-left { left: -12px; width: 38px; height: 38px; }
  .reels-arrow-right { right: -12px; width: 38px; height: 38px; }
}

/* ==========================================================================
   POSTS SECTION (HOMEPAGE PREVIEW)
   ========================================================================== */
.posts-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .posts-grid { grid-template-columns: 1fr; }
}

.post-card {
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
  cursor: pointer;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(15,23,42,0.1);
  border-color: #cbd5e1;
}

.post-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

.post-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post-card-date {
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-card-caption {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.82rem;
  color: #64748b;
}

.post-read-more {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s ease;
}

.post-read-more:hover { gap: 0.6rem; }

/* Posts Full Page */
.posts-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .posts-page-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .posts-page-grid { grid-template-columns: 1fr; }
}

/* Post modal overlay */
.post-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.75);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.post-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.post-modal {
  background: #ffffff;
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 64px -16px rgba(15,23,42,0.35);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.post-modal-backdrop.is-open .post-modal {
  transform: scale(1);
}

.post-modal img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  display: block;
}

.post-modal-body {
  padding: 1.5rem;
}

.post-modal-caption {
  font-size: 1rem;
  color: #1e293b;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.post-modal-meta {
  font-size: 0.8rem;
  color: #94a3b8;
}

.post-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  transition: background 0.15s ease;
}

.post-modal-close:hover { background: #f1f5f9; }




/* OVERFLOW FIXES */
html, body {
  overflow-x: hidden !important;
  max-width: 100%;
}
.milestones-section {
  overflow: hidden;
  max-width: 100vw;
}
.milestones-grid {
  box-sizing: border-box;
  max-width: 100%;
  padding: 0;
}
.milestone-card {
  box-sizing: border-box;
  max-width: 100%;
}
.milestones-banner-box {
  box-sizing: border-box;
  max-width: 100%;
}

/* FIX BMW TABLE OVERFLOW */
.bmw-comparison-wrapper {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
  max-width: 100vw !important;
}
.milestone-card {
  max-width: 100% !important;
  min-width: 0 !important;
  
}
.milestones-grid {
  min-width: 0 !important;
}



/* ==========================================================================
   MILESTONES PREMIUM REDESIGN (SMARTPHONE-FIRST & MINI-CARDS)
   ========================================================================== */
.milestones-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 2.5rem !important;
  margin-bottom: 4rem !important;
}

@media (min-width: 1024px) {
  .milestones-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.milestone-card {
  background: #ffffff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 2.25rem !important;
  box-shadow: 0 12px 35px -10px rgba(15, 23, 42, 0.08) !important;
  border-top: 5px solid #0f766e !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.milestone-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12) !important;
}

.milestone-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important; 
  right: 0 !important;
  width: 150px !important;
  height: 150px !important;
  background: radial-gradient(circle at top right, rgba(15, 118, 110, 0.06), transparent 70%) !important;
  pointer-events: none !important;
  left: auto !important; /* Reset any left values */
  border: none !important; /* Remove old dot border */
  border-radius: 0 !important;
}

.milestone-badge-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  margin-bottom: 0 !important;
}

.milestone-num {
  background: #0f172a !important;
  color: #2dd4bf !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 6px !important;
  letter-spacing: 0.05em !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1) !important;
}

.milestone-year {
  color: #64748b !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
}

.milestone-title {
  font-size: 1.35rem !important;
  color: #0f172a !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  font-weight: 800 !important;
}

.milestone-desc {
  font-size: 0.95rem !important;
  color: #475569 !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

/* MINI-CARD HIGHLIGHTS */
.milestone-highlight-badge {
  background: linear-gradient(to right, #f0fdf4, #ffffff) !important;
  border: 1px solid #bbf7d0 !important;
  border-left: 4px solid #16a34a !important;
  border-radius: 12px !important;
  padding: 1.25rem !important;
  margin-top: auto !important;
  font-size: 0.95rem !important;
  color: #166534 !important;
  line-height: 1.6 !important;
  display: flex !important;
  gap: 1rem !important;
  align-items: flex-start !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.05) !important;
}

.milestone-highlight-badge::before {
  content: '\2714' !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

@media (max-width: 640px) {
  .milestone-card {
    padding: 1.75rem !important;
  }
  .milestone-title {
    font-size: 1.2rem !important;
  }
  .milestone-highlight-badge {
    padding: 1rem !important;
    font-size: 0.9rem !important;
    gap: 0.75rem !important;
  }
}

