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

/* ==========================================
   1. DESIGN SYSTEM & ROOT VARIABLES
   ========================================== */
:root {
  /* Color Palette */
  --color-primary: #0D47A1;       /* Deep medical/trustworthy blue */
  --color-primary-light: #1A5CBF; /* Lighter shade for gradients/hovers */
  --color-primary-dark: #072B6B;  /* Deeper shade for headers */
  --color-accent: #FF8A00;        /* Orange Accent for high-impact CTAs */
  --color-accent-light: #FFA133;
  --color-accent-dark: #D47300;
  --color-growth: #4CAF7D;        /* Gentle milestone green */
  --color-mint: #E6F3EC;          /* Soft approachable background mint */
  --color-mint-light: #F2F8F5;    /* Super soft background shade */
  --color-charcoal: #333333;      /* Core text color for readability */
  --color-body-bg: #FCFDFD;       /* Warm background white */
  --color-white: #FFFFFF;
  --color-grey-100: #F3F4F6;
  --color-grey-200: #E5E7EB;
  --color-grey-400: #9CA3AF;
  --color-grey-600: #4B5563;
  
  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadow Systems (Apple-like subtle depths) */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(13, 71, 161, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 20px 50px rgba(13, 71, 161, 0.12);
  --shadow-btn-hover: 0 6px 20px rgba(255, 138, 0, 0.3);
  --shadow-btn-primary-hover: 0 6px 20px rgba(13, 71, 161, 0.25);
  
  /* Borders */
  --border-glass: 1px solid rgba(255, 255, 255, 0.4);
  --border-light: 1px solid rgba(13, 71, 161, 0.08);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* ==========================================
   2. GENERAL RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-body-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* ==========================================
   3. PRELOADER & ENTRANCE ANIMATIONS
   ========================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  height: 72px;
  width: auto;
  margin-bottom: 24px;
  animation: preloader-logo-pulse 1.2s ease-in-out infinite alternate;
}

@keyframes preloader-logo-pulse {
  from { transform: scale(0.96); opacity: 0.7; }
  to { transform: scale(1.04); opacity: 1; }
}

.preloader-bar {
  width: 140px;
  height: 4px;
  background-color: var(--color-mint);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}

.preloader-progress {
  width: 0;
  height: 100%;
  background-color: var(--color-primary);
  animation: preloader-progress-bar 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloader-progress-bar {
  to { width: 100%; }
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.03);
}

/* Landing Page Hero Staggered Cascade */
.hero-content .badge {
  animation: hero-cascade 0.8s var(--transition-slow) 0.6s both;
}

.hero-content .hero-title {
  animation: hero-cascade 0.8s var(--transition-slow) 0.75s both;
}

.hero-content .hero-desc {
  animation: hero-cascade 0.8s var(--transition-slow) 0.9s both;
}

.hero-content .hero-btns {
  animation: hero-cascade 0.8s var(--transition-slow) 1.05s both;
}

.hero-visual {
  animation: hero-visual-entrance 1.2s var(--transition-slow) 0.7s both;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-white);
  background-color: var(--color-white);
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-lg) - 4px);
}

@keyframes hero-cascade {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-visual-entrance {
  from { opacity: 0; transform: scale(0.97) translateY(30px); filter: blur(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

/* ==========================================
   4. TYPOGRAPHY & LAYOUT UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.text-center { text-align: center; }

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

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

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

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Typography styles */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary-dark);
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-grey-600);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

/* Common Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background-color: var(--color-mint);
  color: var(--color-primary-dark);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: var(--border-light);
  margin-bottom: 16px;
}

/* ==========================================
   5. BUTTONS & INTERACTIVE ELEMENTS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-primary-hover);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ==========================================
   6. NAVBAR & NAVIGATION
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(252, 253, 253, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: var(--border-light);
  transition: var(--transition-normal);
}

header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-sm);
  background-color: rgba(252, 253, 253, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active-page {
  color: var(--color-primary);
}

.nav-link:hover::after, .nav-link.active-page::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger menu button for mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    transition: var(--transition-slow);
    z-index: 1000;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-link {
    font-size: 1.15rem;
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-grey-100);
  }
  
  .nav-actions {
    display: none;
  }

  .nav-menu .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    margin-top: 30px;
  }
}

@media (min-width: 1025px) {
  .nav-actions-mobile {
    display: none;
  }
}

/* Hamburger Menu animation */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================
   7. HERO & PAGE HERO SECTIONS
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 60px);
  background: radial-gradient(circle at top right, var(--color-mint) 0%, rgba(252,253,253,0) 50%);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background-color: var(--color-mint);
  z-index: -1;
  border-radius: var(--radius-full);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--color-grey-600);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inner Page Hero Header */
.page-hero {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--color-mint) 0%, rgba(252,253,253,0) 100%);
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--color-grey-600);
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .hero {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .page-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .page-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 50px;
  }
  .page-hero h1 {
    font-size: 2.25rem;
  }
}

/* ==========================================
   8. TRUST BANNER
   ========================================== */
.trust-banner {
  background-color: var(--color-white);
  border-top: var(--border-light);
  border-bottom: var(--border-light);
  padding: 30px 0;
  position: relative;
  z-index: 10;
}

.trust-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-mint-light);
  color: var(--color-primary);
  border: var(--border-light);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
}

@media (max-width: 1024px) {
  .trust-items {
    justify-content: center;
    gap: 30px 40px;
  }
}

@media (max-width: 600px) {
  .trust-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .trust-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ==========================================
   9. ABOUT & MISSION SECTION
   ========================================== */
.about {
  background-color: var(--color-white);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: var(--border-light);
  background-color: var(--color-bg-light);
  transition: var(--transition-normal);
}

.about-feature:hover {
  transform: translateX(6px);
  background-color: var(--color-mint-light);
}

.about-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon svg {
  width: 24px;
  height: 24px;
}

.about-feature-content h4 {
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.about-feature-content p {
  font-size: 0.95rem;
  color: var(--color-grey-600);
}

/* ==========================================
   10. MEET THE FOUNDER SECTION
   ========================================== */
.founder {
  background-color: var(--color-mint-light);
  position: relative;
}

.founder::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom left, var(--color-mint) 0%, rgba(230,243,236,0) 60%);
  pointer-events: none;
}

.founder-img-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.founder-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--color-white);
  background-color: var(--color-white);
  transform: rotate(-1.5deg);
  transition: var(--transition-slow);
}

.founder-img-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

.founder-img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.founder-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transform: rotate(2deg);
}

@media (max-width: 768px) {
  .founder-badge {
    right: 10px;
  }
}

.founder-bio {
  z-index: 1;
}

.founder-bio h3 {
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.founder-title {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.founder-text {
  font-size: 1.05rem;
  color: var(--color-grey-600);
  margin-bottom: 20px;
}

.founder-journey {
  background-color: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}

.founder-journey p {
  font-size: 0.975rem;
  font-style: italic;
  color: var(--color-primary-dark);
  font-weight: 500;
}

/* ==========================================
   11. SERVICES & DETAILED SECTIONS
   ========================================== */
.services {
  background-color: var(--color-white);
}

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

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

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background-color: var(--color-bg-light);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card:hover {
  background-color: var(--color-white);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-primary-light);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--color-mint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-grey-600);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--color-accent);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
  fill: var(--color-accent);
}

/* Spotlight Card (2x wide in grid) */
.service-card.spotlight {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--color-mint-light) 0%, var(--color-white) 100%);
  border: 2px solid var(--color-primary-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 40px;
}

@media (max-width: 1024px) {
  .service-card.spotlight {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-card.spotlight {
    grid-column: span 1;
    padding: 24px;
    gap: 20px;
  }
  .spotlight-img {
    order: -1; /* image on top on mobile */
    max-width: 280px;
    margin: 0 auto;
  }
}

.spotlight-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-badge {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-bottom: 12px;
}

.spotlight-img {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--color-white);
  transition: var(--transition-normal);
}

.service-card.spotlight:hover .spotlight-img {
  transform: scale(1.03) rotate(1deg);
  box-shadow: var(--shadow-lg);
}

/* Alternating Feature Columns for Services page */
.service-detail-section {
  background-color: var(--color-white);
  border-bottom: var(--border-light);
}

.service-detail-section:nth-child(even) {
  background-color: var(--color-bg-light);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse .feature-content {
  direction: ltr;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-white);
  transition: var(--transition-slow);
}

.feature-image:hover {
  transform: scale(1.015);
  box-shadow: var(--shadow-card-hover);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-content h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
}

.feature-content p {
  color: var(--color-grey-600);
  margin-bottom: 24px;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.bullet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  font-weight: 500;
}

.bullet-list svg {
  color: var(--color-growth);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feature-row.reverse {
    direction: ltr;
  }
}

/* ==========================================
   12. OUR PROCESS (HOW WE HELP)
   ========================================== */
.process {
  background-color: var(--color-bg-light);
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

/* Horizontal connecting line on desktop */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 55px;
  left: 10%;
  width: 80%;
  height: 2px;
  background-color: var(--color-grey-200);
  z-index: 1;
}

.process-step {
  position: relative;
  text-align: center;
  z-index: 2;
}

.process-number {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  border: 4px solid var(--color-mint);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.process-step:hover .process-number {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-accent);
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.process-step h3 {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-grey-600);
  padding: 0 10px;
}

@media (max-width: 900px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-timeline::before {
    top: 0;
    left: 50%;
    width: 2px;
    height: 90%;
    transform: translateX(-50%);
  }
}

/* ==========================================
   13. WHY CHOOSE ACMEDICS
   ========================================== */
.why-choose {
  background-color: var(--color-white);
}

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

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

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background-color: var(--color-bg-light);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition-normal);
}

.benefit-card:hover {
  background-color: var(--color-mint-light);
  border-color: var(--color-growth);
  transform: translateY(-4px);
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  color: var(--color-growth);
  border: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-content h3 {
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.benefit-content p {
  font-size: 0.9rem;
  color: var(--color-grey-600);
}

/* ==========================================
   14. GLOBAL REACH SECTION
   ========================================== */
.reach {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-mint-light) 100%);
  text-align: center;
}

.reach-grid {
  max-width: 900px;
  margin: 50px auto 0;
}

.country-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.country-tag {
  background-color: var(--color-white);
  border: var(--border-light);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.country-tag:hover {
  transform: scale(1.05);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.reach-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.stat-item h4 {
  font-size: 3rem;
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-item p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-grey-600);
}

@media (max-width: 600px) {
  .reach-stats {
    flex-direction: column;
    gap: 30px;
  }
}

/* ==========================================
   15. COMMUNITY CTA BANNER
   ========================================== */
.community {
  background-color: var(--color-white);
}

.community-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 60px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.community-banner::before {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-full);
}

.community-info {
  max-width: 600px;
  z-index: 2;
}

.community-info h2 {
  color: var(--color-white);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.community-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.community-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
}

.community-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.community-benefits svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
}

.community-action {
  z-index: 2;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .community-banner {
    padding: 50px;
    flex-direction: column;
    text-align: center;
  }
  .community-benefits {
    justify-items: center;
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .community-banner {
    padding: 40px 24px;
  }
  .community-info h2 {
    font-size: 1.75rem;
  }
  .community-benefits {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   16. TESTIMONIALS CAROUSEL
   ========================================== */
.testimonials {
  background-color: var(--color-mint-light);
  overflow: hidden;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  padding: 10px;
}

.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 50px;
  border: var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  text-align: center;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: rgba(13, 71, 161, 0.05);
  font-weight: 800;
  z-index: 0;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: var(--color-charcoal);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: var(--color-mint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}

.author-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 1.1rem;
}

.author-loc {
  font-size: 0.85rem;
  color: var(--color-grey-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--color-grey-200);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--color-primary);
  width: 24px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
  z-index: 5;
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.carousel-btn-prev { left: -70px; }
.carousel-btn-next { right: -70px; }

@media (max-width: 1024px) {
  .carousel-btn { display: none; }
  .testimonial-card { padding: 40px 24px; }
}

@media (max-width: 600px) {
  .testimonial-card {
    padding: 32px 20px;
  }
  .testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }
}

/* ==========================================
   17. FAQ SECTION (ACCORDION)
   ========================================== */
.faq {
  background-color: var(--color-white);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-grey-200);
  margin-bottom: 16px;
}

.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  text-align: left;
}

.faq-header h3 {
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  transition: var(--transition-fast);
}

.faq-header:hover h3 {
  color: var(--color-primary-light);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon span {
  position: absolute;
  display: block;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

/* Horizontal line of + sign */
.faq-icon span:nth-child(1) {
  width: 14px;
  height: 2px;
}

/* Vertical line of + sign */
.faq-icon span:nth-child(2) {
  width: 2px;
  height: 14px;
}

/* Animation on FAQ active state */
.faq-item.active .faq-icon span:nth-child(2) {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-content p {
  padding-bottom: 24px;
  color: var(--color-grey-600);
  font-size: 0.975rem;
  line-height: 1.7;
}

/* ==========================================
   18. RESOURCE SHOP ELEMENTS
   ========================================== */
.shop-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.shop-filter-btn {
  padding: 10px 28px;
  border-radius: var(--radius-full);
  border: var(--border-light);
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  background-color: var(--color-white);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  color: var(--color-primary-dark);
}

.shop-filter-btn.active, .shop-filter-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

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

.shop-card {
  background-color: var(--color-white);
  border: var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.shop-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-primary-light);
}

.shop-card-img {
  height: 240px;
  overflow: hidden;
  border-bottom: var(--border-light);
  position: relative;
  background-color: var(--color-bg-light);
}

.shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.shop-card:hover .shop-card-img img {
  transform: scale(1.04);
}

.shop-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.shop-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.shop-card-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}

.shop-card-rating {
  color: #FFC107;
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: flex;
  gap: 2px;
}

.shop-card-desc {
  font-size: 0.95rem;
  color: var(--color-grey-600);
  margin-bottom: 24px;
  flex-grow: 1;
}

.shop-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-grey-100);
  padding-top: 16px;
  margin-top: auto;
}

.shop-card-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-primary);
}

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

@media (max-width: 768px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
  .shop-filters {
    flex-wrap: wrap;
    gap: 10px;
  }
  .shop-filter-btn {
    padding: 8px 18px;
    font-size: 0.875rem;
  }
}

/* ==========================================
   19. SCHEDULER & ASSESSMENT DASHBOARD
   ========================================== */
.booking-dashboard {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.booking-steps-nav {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-grey-200);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.booking-step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-grey-400);
}

.booking-step-indicator.active {
  color: var(--color-primary);
}

.booking-step-number {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: var(--color-grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-grey-600);
}

.booking-step-indicator.active .booking-step-number {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.booking-form-step {
  display: none;
}

.booking-form-step.active {
  display: block;
}

.booking-nav-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  border-top: 1px solid var(--color-grey-100);
  padding-top: 20px;
}

@media (max-width: 600px) {
  .booking-dashboard {
    padding: 24px 16px;
  }
  .booking-step-indicator span {
    display: none; /* Hide labels on mobile to prevent squishing */
  }
  .booking-steps-nav {
    justify-content: space-around;
    padding-bottom: 12px;
  }
}

/* ==========================================
   20. CONTACT & SCHEDULING SECTION
   ========================================== */
.contact {
  background-color: var(--color-bg-light);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background-color: var(--color-white);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-mint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card-details h4 {
  font-size: 1rem;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.contact-card-details p, .contact-card-details a {
  font-size: 0.95rem;
  color: var(--color-grey-600);
}

.contact-card-details a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Contact Form Grid */
.contact-form-container {
  background-color: var(--color-white);
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .contact-form-container {
    padding: 30px 20px;
  }
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

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

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-sm);
  color: var(--color-charcoal);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--color-primary-light);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

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

/* ==========================================
   21. FOOTER
   ========================================== */
footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding-top: 80px;
  padding-bottom: 40px;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
  }
}

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

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-hours-list li {
  display: flex;
  justify-content: space-between;
}

.footer-hours-list span:first-child {
  font-weight: 500;
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--color-white);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================
   22. FLOATING ACTION BUTTON & SCROLL BAR
   ========================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  z-index: 900;
  transition: var(--transition-normal);
  animation: whatsapp-glow 2.5s infinite;
}

.whatsapp-fab:hover {
  background-color: #128C7E;
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  display: block;
}

@keyframes whatsapp-glow {
  0% {
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2), 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobile Sticky Bottom CTA Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(252, 253, 253, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  z-index: 899;
}

@media (max-width: 768px) {
  .mobile-sticky-bar.visible {
    display: grid;
  }
  
  .whatsapp-fab {
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-fab svg {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================
   23. SCROLL ANIMATIONS & DYNAMIC REVEALS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* Interactive Card Tilt Transitions */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  perspective: 1000px;
}

/* Animation Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ==========================================
   24. COMPREHENSIVE MOBILE RESPONSIVENESS OVERRIDES
   ========================================== */
@media (max-width: 768px) {
  /* Prevent body horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Hero section sizing and spacing */
  .hero {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 50px;
    min-height: auto;
    display: block;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-btns {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-visual {
    margin-top: 36px;
    max-width: 100%;
    border-radius: var(--radius-md);
    border-width: 3px;
  }
  .hero-visual img {
    border-radius: calc(var(--radius-md) - 3px);
  }
  
  /* Section paddings override */
  .section-padding {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  
  /* Header layout logo */
  .logo img {
    height: 36px !important;
  }
  header, header.scrolled {
    height: 60px !important;
  }
  
  /* Section headers */
  .section-title {
    font-size: 1.65rem !important;
    margin-bottom: 12px;
    text-align: center;
  }
  .section-desc {
    font-size: 0.95rem !important;
    margin-bottom: 30px;
    text-align: center;
  }
  
  /* Grid margins */
  .grid-2, .grid-3, .grid-4 {
    gap: 20px !important;
  }
  
  /* Alternating feature sections spacing */
  .feature-row {
    gap: 24px !important;
  }
  .feature-content {
    text-align: center;
  }
  .feature-content h2 {
    font-size: 1.65rem !important;
    text-align: center;
  }
  .bullet-list {
    align-items: center;
    margin-bottom: 20px;
  }
  .bullet-list li {
    justify-content: center;
    text-align: center;
  }
  
  /* Form row vertical gap fix */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 0 !important;
  }
  .form-group {
    margin-bottom: 16px !important;
  }
  
  /* Process connector line hiding */
  .process-timeline::before {
    display: none !important;
  }
  .process-step {
    margin-bottom: 16px;
  }
  .process-number {
    width: 76px !important;
    height: 76px !important;
    font-size: 1.65rem !important;
    margin-bottom: 12px !important;
  }
  
  /* Testimonial slider layout fixes */
  .testimonial-card {
    padding: 24px 16px !important;
    border-radius: var(--radius-md) !important;
  }
  .testimonial-quote {
    font-size: 0.975rem !important;
    line-height: 1.65 !important;
    margin-bottom: 16px !important;
  }
  .author-avatar {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.1rem !important;
  }
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
  .carousel-dot.active {
    width: 18px;
  }
  
  /* Global reach stats stacking divider */
  .country-badges {
    gap: 8px !important;
  }
  .country-tag {
    padding: 6px 16px !important;
    font-size: 0.85rem !important;
  }
  .reach-stats {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .stat-item {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-grey-100);
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .stat-item h4 {
    font-size: 2.25rem !important;
  }
  
  /* Community CTA banner padding check */
  .community-banner {
    padding: 36px 20px !important;
    gap: 24px !important;
    border-radius: var(--radius-md) !important;
  }
  .community-info h2 {
    font-size: 1.5rem !important;
  }
  .community-info p {
    font-size: 0.95rem !important;
  }
  .community-benefits {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  
  /* Footer column collapse spacing */
  .footer-top {
    gap: 30px !important;
  }
  .footer-col h4 {
    margin-bottom: 12px !important;
  }
  .footer-hours-list {
    gap: 6px !important;
  }
}
