:root {
  --primary: #138086;
  --primary-dark: #0a5c61;
  --primary-mid: #1a9ba3;
  --primary-light: rgba(19, 128, 134, 0.1);
  --primary-glow: rgba(19, 128, 134, 0.35);
  --secondary: #70c181;
  --secondary-dark: #4fa86a;
  --secondary-light: rgba(112, 193, 129, 0.18);
  --accent: #f59e42;
  --accent-dark: #e07d1a;
  --accent-light: rgba(245, 158, 66, 0.15);
  --dark: #0f2329;
  --text: #2d3e45;
  --text-muted: #64748b;
  --bg: #f4f9f9;
  --bg-soft: #e8f3f2;
  --white: #ffffff;
  --glass: rgba(19, 128, 134, 0.12);
  --gradient-primary: linear-gradient(
    135deg,
    #138086 0%,
    #0d6368 50%,
    #1a9ba3 100%
  );
  --gradient-premium: linear-gradient(
    135deg,
    #138086 0%,
    #70c181 60%,
    #f59e42 100%
  );
  --gradient-soft: linear-gradient(180deg, #f4f9f9 0%, #e8f3f2 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(10, 92, 97, 0.88) 0%,
    rgba(19, 128, 134, 0.78) 45%,
    rgba(15, 35, 41, 0.82) 100%
  );
  --shadow-sm: 0 4px 16px rgba(19, 128, 134, 0.08);
  --shadow-md: 0 12px 36px rgba(19, 128, 134, 0.14);
  --shadow-lg: 0 24px 64px rgba(19, 128, 134, 0.18);
  --shadow-glow: 0 8px 32px rgba(19, 128, 134, 0.3);
  --shadow-btn: 0 6px 20px rgba(19, 128, 134, 0.25);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Brand */
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform var(--transition);
}

.navbar-brand:hover .brand-logo {
  transform: scale(1.05);
}

.brand-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.2;
}

.brand-accent {
  color: var(--secondary);
}

@media (max-width: 991px) {
  .brand-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .brand-text {
    display: none;
  }
}

/* Buttons */
.btn {
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: 0.625rem 1.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  line-height: 1.4;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: var(--shadow-sm);
}

.btn-glow {
  box-shadow:
    var(--shadow-btn),
    0 0 0 0 rgba(19, 128, 134, 0.4);
}

.btn-glow:hover {
  box-shadow:
    var(--shadow-glow),
    0 0 24px rgba(112, 193, 129, 0.35);
}

.btn-card {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.btn-outline-hero {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-outline-hero:hover,
.btn-outline-hero:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  color: var(--white);
}

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

.btn-glow-light:hover,
.btn-light:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ee676, #25d366);
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.4);
}

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

.btn-outline-info:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(112, 193, 129, 0.35);
}

.btn:focus-visible {
  outline: 3px solid rgba(112, 193, 129, 0.5);
  outline-offset: 2px;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}
.animate-on-load {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar */
.glass-nav {
  background: rgba(19, 128, 134, 0.85);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  transition: all var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: all var(--transition);
  transform: translateX(-50%);
}
.nav-link:hover {
  color: var(--white) !important;
}
.nav-link:hover::after {
  width: 100%;
}
.glass-nav.scrolled {
  background: rgba(13, 99, 104, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

/* Hero */
.hero-section {
  min-height: 92vh;
  background: url("https://storage.googleapis.com/uxpilot-auth.appspot.com/90257e67d5-ec29b58e7a386d64bf47.png")
    center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 120px;
}
.overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 40px;
  color: white;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.92;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-cta {
  margin-bottom: 0;
}
.hero-title {
  font-size: clamp(4rem, 5vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--secondary) 0%,
    #a8e6b4 50%,
    var(--accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================= PREMIUM STATISTICS ================= */
.stats-section {
  position: relative;
  z-index: 20;
  margin-top: -100px;
  padding: 0 0 80px;
}

.stats-bg-accent {
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  top: 60px;
  pointer-events: none;
}

.premium-stat-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(19, 128, 134, 0.08);
  overflow: hidden;
  transition: all var(--transition-slow);
  height: 100%;
}

.premium-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-premium);
  opacity: 0;
  transition: opacity var(--transition);
}

.premium-stat-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    var(--shadow-lg),
    0 0 40px rgba(19, 128, 134, 0.12);
  border-color: rgba(19, 128, 134, 0.18);
}

.premium-stat-card:hover::before {
  opacity: 1;
}

.stat-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  transition: all var(--transition-slow);
}

.stat-icon-patients {
  background: linear-gradient(
    135deg,
    rgba(19, 128, 134, 0.12),
    rgba(26, 155, 163, 0.08)
  );
  color: var(--primary);
}

.stat-icon-success {
  background: linear-gradient(
    135deg,
    var(--secondary-light),
    rgba(79, 168, 106, 0.1)
  );
  color: var(--secondary-dark);
}

.stat-icon-countries {
  background: linear-gradient(
    135deg,
    rgba(19, 128, 134, 0.1),
    var(--secondary-light)
  );
  color: var(--primary-mid);
}

.stat-icon-rating {
  background: linear-gradient(
    135deg,
    var(--accent-light),
    rgba(245, 158, 66, 0.08)
  );
  color: var(--accent-dark);
}

.premium-stat-card:hover .stat-icon-wrap {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-number .counter {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-rating .counter {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.stat-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.premium-stat-card:hover .stat-card-shine {
  transform: translateX(100%);
}

.stats-section .animate-on-scroll {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-section .animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stats-section .animate-on-scroll[data-delay="1"].show {
  transition-delay: 0.1s;
}
.stats-section .animate-on-scroll[data-delay="2"].show {
  transition-delay: 0.2s;
}
.stats-section .animate-on-scroll[data-delay="3"].show {
  transition-delay: 0.3s;
}

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

  .premium-stat-card {
    padding: 1.5rem 1rem 1.25rem;
  }

  .stat-icon-wrap {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 400px) {
  .hero-section {
    min-height: 85vh;
    padding-bottom: 80px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
}

.bg-soft {
  background: var(--gradient-soft);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark);
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-premium);
  border-radius: 4px;
  margin: 1rem auto 0;
}
.text-center .section-title::after,
.section-title.text-white::after {
  margin-left: auto;
  margin-right: auto;
}
.section-title.text-white::after {
  background: linear-gradient(90deg, var(--white), var(--secondary));
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ================= TREATMENT CARDS ================= */
.treatment-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(19, 128, 134, 0.06);
}

.treatment-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(112, 193, 129, 0.25),
    transparent
  );
  opacity: 0;
  transition: var(--transition);
}

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

.treatment-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.treatment-card h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

.treatment-card h3 {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* ================= HOSPITAL CARDS ================= */
.hospital-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(19, 128, 134, 0.06);
}

.hospital-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.hospital-img {
  height: 220px;
  overflow: hidden;
}

.hospital-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hospital-card:hover img {
  transform: scale(1.1);
}

.hospital-body {
  padding: 25px;
}

.hospital-body h5 {
  font-weight: 700;
}

.location {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.hospital-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.hospital-meta i {
  color: var(--primary);
}

.badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.rating {
  color: var(--accent);
  font-weight: 700;
}

.specialties {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 15px;
}
/* ================= HOW IT WORKS (MATCHED DESIGN) ================= */

#how-it-works {
  position: relative;
}

/* floating blobs */
.how-blob {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: floatBlob 8s infinite alternate;
}

.blob-left {
  background: var(--primary);
  top: -80px;
  left: -80px;
}

.blob-right {
  background: var(--secondary);
  bottom: -80px;
  right: -80px;
  animation-delay: 2s;
}

@keyframes floatBlob {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-30px) scale(1.2);
  }
}

/* cards */
.how-card {
  background: #fff;
  border-radius: 22px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid #eef2f7;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
  height: 100%;
  position: relative;
}

.how-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.15);
}

/* step number */
.how-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* icon */
.how-icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 14px;
}

/* time badge */
.how-time {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}

/* text */
.how-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.how-card p {
  font-size: 14px;
  color: #6b7280;
}

/* list */
.how-card ul {
  list-style: none;
  padding: 0;
  margin-top: 14px;
}

.how-card ul li {
  font-size: 14px;
  color: #374151;
  margin-bottom: 6px;
}

/* CTA */
.how-cta {
  margin-top: 80px;
  padding: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

/* === */
/* ================= ROADMAP TIMELINE ================= */

.timeline {
  position: relative;
  max-width: 1100px;
  margin: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 120px;
  position: relative;
}

.timeline-item.left {
  justify-content: flex-end;
}

.timeline-item.right {
  justify-content: flex-start;
}

.timeline-card {
  width: 45%;
  background: var(--white);
  border: 1px solid rgba(19, 128, 134, 0.12);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(19, 128, 134, 0.2);
}

.timeline-card h4 {
  font-weight: 700;
  margin-bottom: 10px;
}

.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.9;
}

.step-time {
  color: #6b7280;
  margin-bottom: 16px;
}

.timeline-card ul {
  list-style: none;
  padding: 0;
}

.timeline-card ul li {
  margin-bottom: 8px;
  color: #374151;
}

.timeline-card ul i {
  color: var(--primary);
  margin-right: 8px;
}

.timeline-node {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.timeline-node i {
  color: #fff;
  font-size: 22px;
}

/* animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

/* mobile */
@media (max-width: 992px) {
  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-card {
    width: 80%;
    margin-left: 60px;
  }

  .timeline-node {
    left: 24px;
    transform: none;
  }
}

/* ================= JOURNEY SECTION ================= */

.journey-tabs-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.journey-tabs {
  display: inline-flex;
  gap: 40px;
  background: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(19, 128, 134, 0.08);
}

.phase-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.phase-tab .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  transition: all 0.3s ease;
}

.phase-tab.active {
  color: var(--primary);
}

.phase-tab.active .dot {
  background: var(--primary);
  transform: scale(1.4);
}

/* Progress bar */
.journey-progress {
  position: relative;
  width: 260px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 10px;
  margin: 14px auto 0;
  overflow: hidden;
}

.journey-progress .progress-bar {
  position: absolute;
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: all 0.6s ease;
}

/* Content */
.phase-content {
  display: none;
  opacity: 0;
  transform: translateY(30px);
}

.phase-content.active {
  display: block;
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Steps */
.journey-grid {
  display: flex;
  flex-direction: column;
  /* grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); */
  gap: 40px;
}

.journey-step {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(19, 128, 134, 0.06);
}

.journey-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.journey-step i {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
}

.journey-step h4 {
  font-weight: 700;
  margin-bottom: 10px;
}
/* Right image panel */
.journey-image-box {
  /* margin-top: 60px; */
  background: linear-gradient(
    to right,
    var(--primary-light),
    var(--secondary-light)
  );
  border-radius: 28px;
  padding: 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
}

.phase-content.active .journey-image-box {
  animation: imageFadeUp 0.7s ease forwards;
}

@keyframes imageFadeUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.journey-image-box img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 20px;
}

.journey-image-box h4 {
  font-weight: 700;
  margin-bottom: 10px;
}
/* ================= JOURNEY TABS ================= */

.phase-tab {
  cursor: pointer;
  transition: all 0.3s ease;
}

.phase-tab span {
  transition: color 0.3s ease;
}

.phase-tab div {
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

/* Active tab */
.phase-tab.active span {
  color: var(--primary);
}

.phase-tab.active div {
  background: var(--primary);
  transform: scale(1.2);
}

/* Inactive tab */
.phase-tab:not(.active) span {
  color: #9ca3af;
}

.phase-tab:not(.active) div {
  background: #d1d5db;
}

/* ================= PHASE CONTENT ================= */

/* .phase-container .phase-content {
  display: flex;
  gap: 45px;
} */
/* .phase-main-wrapper {
  display: flex;
  gap: 45px;
} */
.phase-content.active.phase-main-wrapper {
  display: flex;
  gap: 45px;
}
.phase-content {
  display: none;
  opacity: 0;
  transform: translateY(30px);
}

.phase-content.active {
  display: block;
  animation: phaseFadeUp 0.6s ease forwards;
}

@keyframes phaseFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= JOURNEY STEPS ================= */

.journey-step {
  opacity: 0;
  transform: translateY(20px);
}

.phase-content.active .journey-step {
  animation: stepFade 0.6s ease forwards;
}

.phase-content.active .journey-step:nth-child(1) {
  animation-delay: 0.1s;
}
.phase-content.active .journey-step:nth-child(2) {
  animation-delay: 0.25s;
}
.phase-content.active .journey-step:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes stepFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= IMAGE PANEL ================= */

.phase-content img {
  transition: transform 0.6s ease;
}

.phase-content.active img {
  transform: scale(1);
}

/* default slight zoom */
.phase-content img {
  transform: scale(0.96);
}

/* =================== Why Family ================= */

.bg-gradient {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 60%,
    rgba(112, 193, 129, 0.4) 100%
  ) !important;
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.trust-card {
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 40px 25px;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
}

.trust-card i {
  font-size: 40px;
  margin-bottom: 15px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 5px;
}

/* === */
/* Icon bubble */
.icon-wrap {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--primary);
  transition: all var(--transition);
}

.treatment-card:hover .icon-wrap {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

/* Icon Cards */
.icon-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    var(--secondary-light),
    transparent 40%
  );
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
}

.icon-card {
  position: relative;
  overflow: hidden;
}

.icon-card:hover::before {
  opacity: 1;
}
.icon-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(19, 128, 134, 0.06);
}
.icon-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.icon-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.icon-card:hover i {
  color: var(--secondary);
}

/* Steps */
.step-card {
  position: relative;
  padding: 30px 20px;
  border-radius: 16px;
  transition: all 0.4s ease;
}

.step-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(19, 128, 134, 0.15);
}

.step-glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(112, 193, 129, 0.35),
    transparent
  );
  opacity: 0;
  transition: 0.4s;
}

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

.step-card span {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 15px;
}
/* FAQ Section */
.faq-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(
    135deg,
    var(--bg-soft),
    var(--white),
    var(--bg-soft)
  );
  overflow: hidden;
}

.faq-blob {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}

.blob-1 {
  top: -60px;
  left: -60px;
  background: var(--secondary);
}

.blob-2 {
  bottom: -60px;
  right: -60px;
  background: var(--primary);
}

.faq-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.faq-header h2 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary-light);
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.faq-search {
  max-width: 520px;
  margin: 0 auto 50px;
  position: relative;
}

.faq-search i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
}

.faq-search input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(19, 128, 134, 0.2);
  font-family: inherit;
  transition: all var(--transition);
  background: var(--white);
}

.faq-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.faq-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

.faq-categories {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(19, 128, 134, 0.08);
}

.faq-cat {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
  font-family: inherit;
}

.faq-cat:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.faq-cat.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.faq-list .faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(19, 128, 134, 0.1);
  transition: all var(--transition);
}

.faq-list .faq-item:hover {
  border-color: rgba(19, 128, 134, 0.2);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 20px 20px;
}

.faq-item.open i {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-categories {
    position: static;
  }
}

/* Footer */
.gms-footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #0a4a4e 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 80px 0 30px;
  position: relative;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}

.footer-brand span {
  color: var(--secondary);
}

.footer-desc {
  margin: 16px 0 20px;
  opacity: 0.85;
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-brand-wrap .footer-desc {
  color: #fff !important;
}
.footer-socials a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: white;
  transition: all var(--transition);
}

.footer-socials a:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all var(--transition);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 6px;
}

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #fff !important;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--secondary);
}

.footer-contact i {
  margin-right: 8px;
  color: var(--secondary);
  width: 16px;
}

/* badges */
.footer-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-badges span {
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
}

.footer-badges i {
  margin-right: 6px;
}

/* bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  margin-left: 20px;
  text-decoration: none;
  transition: color var(--transition);
}

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

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    text-align: center;
    justify-content: center;
  }
}

/* ===== Particles ============= */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}
