/* ══════════════════════════════════════════
   CLINICX — MODERN WEBSITE STYLES
   D:\Absulin\clinicx-website\style.css
   ══════════════════════════════════════════ */

/* ─── GOOGLE FONTS — Plus Jakarta Sans ─── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --teal:        #00C9A7;
  --teal-dark:   #00A68B;
  --blue:        #1A4FBA;
  --blue-mid:    #2563EB;
  --blue-light:  #EFF6FF;
  --navy:        #0D1B3E;
  --white:       #FFFFFF;
  --off-white:   #F8FAFF;
  --gray-100:    #F1F5FD;
  --gray-300:    #CBD5E1;
  --gray-500:    #64748B;
  --gray-700:    #334155;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 12px rgba(26,79,186,.08);
  --shadow-md: 0 8px 32px rgba(26,79,186,.14);
  --shadow-lg: 0 20px 60px rgba(26,79,186,.18);

  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-out:    cubic-bezier(.22,1,.36,1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ─── SHARED BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: all .3s var(--ease-out);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--blue-mid));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,201,167,.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,201,167,.45);
}
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}
.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  font-size: .7rem;
}

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  transition: all .4s var(--ease-out);
}
.navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0 5%;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 1.4rem;
  color: var(--teal);
  filter: drop-shadow(0 0 6px rgba(0,201,167,.4));
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  transition: color .3s;
}
.navbar.scrolled .logo-text { color: var(--navy); }
.logo-tagline {
  font-size: .65rem;
  color: rgba(255,255,255,.6);
  font-weight: 300;
  letter-spacing: .05em;
  display: none;
}
@media (min-width: 900px) { .logo-tagline { display: block; } }
.navbar.scrolled .logo-tagline { color: var(--gray-500); }

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .3s var(--ease-spring);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--white); }
.navbar.scrolled .nav-links a { color: var(--gray-700); }
.navbar.scrolled .nav-links a:hover { color: var(--navy); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav-contact {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  display: none;
}
@media (min-width: 1100px) { .nav-contact { display: block; } }
.navbar.scrolled .nav-contact { color: var(--gray-500); }
/* ─── MOBILE DRAWER ─── */
.mobile-menu {
  display: none; /* shown only on small screens */
  flex-direction: column;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(13,27,62,.97);
  backdrop-filter: blur(20px);
  padding: 24px 5% 36px;
  border-top: 1px solid rgba(255,255,255,.08);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s, transform .35s;
  z-index: 999;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
.mobile-menu ul li { border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-menu ul li a {
  display: block; padding: 14px 0;
  font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.8);
  transition: color .2s;
}
.mobile-menu ul li a:hover { color: var(--teal); }
.mobile-cta { display: flex; flex-direction: column; gap: 12px; }
.mobile-phone { font-size: .85rem; color: rgba(255,255,255,.5); text-align: center; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links  { display: none; }
  .nav-cta .btn { display: none; }
  .mobile-menu { display: flex; }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}
.navbar.scrolled .hamburger span { background: var(--navy); }
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links, .nav-cta .btn { display: none; }
}
.doctor-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}
.icon-img {
  width:35px;
}
.icon-imgds {
  width:40px;
 
}
/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #1A3B8A 55%, #1A4FBA 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

/* Grid lines decoration */
.grid-lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.grid-lines span {
  width: 1px;
  background: rgba(255,255,255,.05);
  height: 100%;
}

/* Floating crosses */
.cross {
  position: absolute;
  color: rgba(0,201,167,.25);
  font-size: 2rem;
  animation: floatCross 6s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}
.c1 { top: 18%; left: 4%;  font-size: 2.5rem; animation-delay: 0s; }
.c2 { top: 55%; left: 8%;  font-size: 1.2rem; animation-delay: 1.5s; }
.c3 { top: 30%; right: 2%; font-size: 1.8rem; animation-delay: 0.8s; }
.c4 { bottom: 20%; left: 44%; font-size: 1rem; animation-delay: 2.5s; }
@keyframes floatCross {
  0%,100% { transform: translateY(0) rotate(0deg); opacity: .25; }
  50%      { transform: translateY(-18px) rotate(15deg); opacity: .5; }
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 5% 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
}

/* LEFT CONTENT */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,201,167,.12);
  border: 1px solid rgba(0,201,167,.3);
  color: var(--teal);
  font-size: .8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: .03em;
  animation: fadeUp .6s var(--ease-out) both;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,201,167,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(0,201,167,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title .line {
  display: block;
  animation: fadeUp .6s var(--ease-out) both;
}
.hero-title .line:nth-child(1) { animation-delay: .1s; }
.hero-title .line:nth-child(2) { animation-delay: .2s; }
.hero-title .line:nth-child(3) { animation-delay: .3s; }
.hero-title .accent {
  background: linear-gradient(90deg, var(--teal), #A3F7EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.typewriter-wrap {
  min-height: 1.2em;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  font-size: .75em;
}
.typewriter::after {
  content: '|';
  animation: blink .7s step-end infinite;
  color: var(--teal);
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  max-width: 460px;
  margin-bottom: 36px;
  animation: fadeUp .6s var(--ease-out) .4s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp .6s var(--ease-out) .5s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeUp .6s var(--ease-out) .6s both;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.stat span {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.15);
}

/* RIGHT VISUAL */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp .8s var(--ease-out) .3s both;
}
.visual-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,201,167,.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { transform: scale(1); opacity: .6; }
  50%      { transform: scale(1.15); opacity: 1; }
}

.main-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

/* Tablet mockup (replace with <img> of doctor) */
.doctor-placeholder { padding: 8px; }
.tablet-mockup {
  background: #0D1B3E;
  border-radius: 16px;
  padding: 12px;
  border: 2px solid rgba(255,255,255,.12);
}
.tablet-screen {
  background: #111E40;
  border-radius: 10px;
  overflow: hidden;
}
.screen-header {
  background: linear-gradient(90deg, var(--teal), var(--blue-mid));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}
.screen-dot { width: 8px; height: 8px; background: rgba(255,255,255,.8); border-radius: 50%; }
.screen-title { font-family: var(--font-display); font-size: .75rem; color: white; font-weight: 600; flex: 1; }
.screen-time { font-size: .7rem; color: rgba(255,255,255,.7); }
.screen-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 8px 14px;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}
.screen-rows { padding: 8px 0; }
.screen-row {
  display: grid;
  grid-template-columns: 46px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  transition: background .2s;
}
.active-row { background: rgba(0,201,167,.1); border-left: 2px solid var(--teal); }
.row-id { color: rgba(255,255,255,.3); font-size: .65rem; }
.row-name { font-weight: 500; color: rgba(255,255,255,.85); }
.row-time { color: rgba(255,255,255,.4); font-size: .65rem; }
.row-status { font-size: .7rem; }
.confirmed { color: var(--teal); }
.waiting { color: #FCD34D; }
.pending { color: rgba(255,255,255,.3); }

/* Floating mini cards */
.float-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  backdrop-filter: blur(10px);
  min-width: 190px;
}
.float-card .fc-icon { font-size: 1.4rem; }
.float-card strong { display: block; font-size: .8rem; font-weight: 600; color: var(--navy); }
.float-card small { font-size: .7rem; color: var(--gray-500); }
.fc-top  { top: 350px; right: -20px;}
.fc-bottom { bottom: 340px; left: -20px;}
.fc-top1  { top: -16px; right: -20px; }
.fc-bottom1 { bottom: 8px; left: -16px; }
.fc-top2  { top: -16px; right: -20px; animation: floatCard 4s ease-in-out 2s infinite; }
.fc-bottom2 { bottom: 8px; left: -16px;animation: floatCard 4s ease-in-out 2s infinite;  }
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
/* SHOW/HIDE ANIMATION */
.fc-top1,
.fc-bottom1 {
  animation:
    floatCard 4s ease-in-out infinite,
    cardSwap1 6s infinite;
}

.fc-top,
.fc-bottom {
  animation:
    floatCard 4s ease-in-out infinite,
    cardSwap2 6s infinite;
}

/* FIRST SET */
@keyframes cardSwap1 {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  45% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* SECOND SET */
@keyframes cardSwap2 {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  60% {
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
/* Wave */
.wave-divider {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 80px; }

/* ══════════════════════════════════════════
   FEATURES SECTION
   ══════════════════════════════════════════ */
.features {
  background: var(--off-white);
  padding: 100px 5% 120px;
}
.features-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--teal-dark);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--teal-dark), var(--blue-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 64px;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* FEATURE CARD */
.feat-card {
  background: var(--white);
  border: 1.5px solid rgba(26,79,186,.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease-out);
  opacity: 0;
  transform: translateY(30px);
  /* JS will set opacity:1, translateY:0 */
}
.feat-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feat-card:hover {
  border-color: rgba(0,201,167,.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,201,167,.04), rgba(37,99,235,.04));
  opacity: 0;
  transition: opacity .4s;
}
.feat-card:hover::before { opacity: 1; }



.feat-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: linear-gradient(135deg, var(--teal), var(--blue-mid));
  color: white;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.feat-icon-wrap {
  position: relative;
  width: 52px; height: 52px;
  margin-bottom: 20px;
}
.feat-icon-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,201,167,.15), rgba(37,99,235,.1));
  border-radius: 14px;
  transition: transform .4s var(--ease-spring);
}
.feat-card:hover .feat-icon-bg { transform: rotate(8deg) scale(1.1); }
.featured-card .feat-icon-bg { background: rgba(255,255,255,.1); }
.feat-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feat-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.feat-card p {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--gray-500);
  margin-bottom: 20px;
}

/* Progress bar animation */
.feat-bar {
  height: 4px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.feat-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue-mid));
  width: 0;
  transition: width 1s var(--ease-out) .3s;
}
.feat-card.visible .feat-bar-fill { width: var(--w); }
.featured-card .feat-bar-fill {
  background: linear-gradient(90deg, var(--teal), #A3F7EE);
}

.feat-metric {
  font-size: .75rem;
  color: var(--teal-dark);
  font-weight: 600;
  letter-spacing: .03em;
}

/* CTA strip */
.features-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 40px 48px;
  background: linear-gradient(135deg, var(--navy), #1A3B8A);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.features-cta::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0,201,167,.2), transparent 70%);
  border-radius: 50%;
}
.features-cta p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-right: auto;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ══════════════════════════════════════════
   CLINICX — SECTIONS: WHY / TESTI / CTA / FOOTER
   Paste this BELOW your existing style.css
   ══════════════════════════════════════════ */

/* ─── SHARED ANIMATION HELPERS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes breathe {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.06); }
}
@keyframes ticker {
  0%   { transform: translateY(0); opacity: 1; }
  30%  { transform: translateY(-100%); opacity: 0; }
  31%  { transform: translateY(100%); opacity: 0; }
  60%  { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Reveal class — triggered by IntersectionObserver */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.9); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ══════════════════════════════════════════
   WHY CHOOSE CLINICX
   ══════════════════════════════════════════ */
.why {
  background: var(--white);
  padding: 120px 5%;
  overflow: hidden;
  position: relative;
}

/* Subtle background geometry */
.why::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 640px; height: 640px;
  background: radial-gradient(circle at 60% 40%, rgba(0,201,167,.07) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.why::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,79,186,.06) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.why-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) {
  .why-inner { grid-template-columns: 1fr; gap: 64px; }
  .why-right { order: -1; }
}

/* LEFT */
.why-left .section-sub {
  max-width: 440px;
  margin-bottom: 40px;
}

.why-list { display: flex; flex-direction: column; gap: 0; }

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(26,79,186,.06);
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  cursor: default;
}
.why-item:last-child { border-bottom: none; }
.why-item.visible { opacity: 1; transform: translateX(0); }

.why-item:hover .why-check {
  background: linear-gradient(135deg, var(--teal), var(--blue-mid));
  color: white;
  transform: scale(1.1) rotate(8deg);
}
.why-item:hover strong { color: var(--teal-dark); }

.why-check {
  width: 34px; height: 34px;
  min-width: 34px;
  background: rgba(0,201,167,.1);
  color: var(--teal-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  transition: all .35s var(--ease-spring);
  border: 1.5px solid rgba(0,201,167,.2);
}

.why-item strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  transition: color .3s;
}
.why-item span {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* RIGHT VISUAL */
.why-right { position: relative; }

.why-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}

.why-glow {
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0,201,167,.18), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: breathe 5s ease-in-out infinite;
}

/* Decorative ring */
.why-visual::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border: 1.5px dashed rgba(0,201,167,.2);
  border-radius: 50%;
  animation: spin-slow 30s linear infinite;
}

/* Main clinic card */
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid rgba(26,79,186,.08);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(26,79,186,.18);
}

.wc-main {
  padding: 28px 28px 24px;
  width: 100%;
  max-width: 320px;
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, #ffffff 60%, #f0fdf8 100%);
}

.wc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.wc-icon { font-size: 1.3rem; }
.wc-title {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  flex: 1;
}
.wc-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  color: var(--teal-dark);
  font-weight: 600;
  background: rgba(0,201,167,.1);
  padding: 3px 10px;
  border-radius: 50px;
}
.live-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

.wc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.wc-metric {
  text-align: center;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
}
.wc-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.wc-metric span {
  font-size: .65rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.wc-bar-label {
  font-size: .7rem;
  color: var(--gray-500);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wc-progress {
  height: 8px;
  background: var(--gray-100);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 4px;
}
.wc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--blue-mid));
  border-radius: 8px;
  width: 0;
  transition: width 1.4s var(--ease-out) .4s;
  position: relative;
  overflow: hidden;
}
.wc-progress-fill.animated { width: var(--w); }
.wc-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s linear 1.4s infinite;
}
.wc-pct {
  display: block;
  text-align: right;
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal-dark);
}

/* Small floating cards */
.wc-small {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  min-width: 180px;
  z-index: 3;
}
.wcs-icon { font-size: 1.4rem; }
.wc-small strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
}
.wc-small small {
  font-size: .68rem;
  color: var(--gray-500);
}
.wcs-trend {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
}
.wcs-trend.up {
  background: rgba(0,201,167,.12);
  color: var(--teal-dark);
}
.wcs-trend.down {
  background: rgba(239,68,68,.1);
  color: #ef4444;
}

.wc-sm1 {
  top: 30px; right: -24px;
  animation: floatCard 4.5s ease-in-out infinite;
}
.wc-sm2 {
  bottom: 40px; left: -24px;
  animation: floatCard 4.5s ease-in-out 2.2s infinite;
}

/* Extra mini badges on why visual */
.why-badge-ring {
  position: absolute;
  bottom: 60px; right: 10px;
  z-index: 4;
  background: linear-gradient(135deg, var(--navy), #1A3B8A);
  color: white;
  border-radius: 50%;
  width: 80px; height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: .6rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 8px 28px rgba(13,27,62,.35);
  line-height: 1.3;
  animation: breathe 4s ease-in-out 1s infinite;
}
.why-badge-ring span {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal);
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

/* Ticker animation for revenue */
.ticker-value {
  display: inline-block;
  animation: ticker 6s ease-in-out 2s infinite;
}

/* ══════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════ */
.testi {
  background: var(--off-white);
  padding: 120px 5%;
  position: relative;
  overflow: hidden;
}

/* Giant quote watermark */
.testi::before {
  content: '"';
  position: absolute;
  top: -60px; left: 5%;
  font-size: 30rem;
  font-family: Georgia, serif;
  color: rgba(26,79,186,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testi-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 72px;
}
@media (max-width: 1024px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .testi-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: var(--white);
  border: 1.5px solid rgba(26,79,186,.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out),
              border-color .3s, box-shadow .3s;
}
.testi-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.testi-card:hover {
  border-color: rgba(0,201,167,.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.testi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.testi-card:hover::before { transform: scaleX(1); }

.featured-testi {
  background: linear-gradient(145deg, var(--navy) 0%, #1A3B8A 100%);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.featured-testi .testi-stars { color: #FCD34D; }
.featured-testi .testi-quote { color: rgba(255,255,255,.8); }
.featured-testi .testi-author strong { color: white; }
.featured-testi .testi-author span { color: rgba(255,255,255,.5); }
.featured-testi::before { display: none; }
.featured-testi:hover {
  border-color: transparent;
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 32px 80px rgba(13,27,62,.45);
}

/* Big decorative quote */
.testi-quote-mark {
  position: absolute;
  top: 16px; right: 24px;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  color: rgba(0,201,167,.15);
  pointer-events: none;
  user-select: none;
}

.testi-stars {
  color: #FCA522;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testi-quote {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* .testi-avatar {
  width: 80px; height: 80px;
  min-width: 80px;
  border-radius: 100%;
  background: linear-gradient(135deg, var(--teal), var(--blue-mid));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .03em;
  box-shadow: 0 4px 12px rgba(0,201,167,.35);
  flex-shrink: 0;
} */
 .testi-avatar {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  overflow: hidden; /* Important */
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-avatar img,
.icon-imgs {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fills circle and crops if needed */
  display: block;
}
.teal-av { background: linear-gradient(135deg, #00C9A7, #00A68B); }
.blue-av  { background: linear-gradient(135deg, #1A4FBA, #2563EB); }

.testi-author strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.testi-author span {
  font-size: .75rem;
  color: var(--gray-500);
}

/* TRUST BAR */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 48px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid rgba(26,79,186,.07);
  flex-wrap: wrap;
  row-gap: 24px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out) .3s, transform .7s var(--ease-out) .3s;
}
.trust-bar.visible { opacity: 1; transform: translateY(0); }

.trust-item {
  flex: 1;
  min-width: 130px;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal-dark), var(--blue-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.trust-item span {
  font-size: .75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}
.trust-divider {
  width: 1px;
  height: 48px;
  background: var(--gray-300);
  flex-shrink: 0;
  margin: 0 8px;
}
@media (max-width: 640px) { .trust-divider { display: none; } }

/* ══════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════ */
.cta-banner {
  padding: 100px 5%;
  background: linear-gradient(135deg, var(--navy) 0%, #112261 50%, #1A3B8A 100%);
  position: relative;
  overflow: hidden;
}

/* Moving mesh background */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(0,201,167,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(37,99,235,.25) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grid pattern */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.cta-banner-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,201,167,.15), transparent 70%);
  pointer-events: none;
  animation: breathe 5s ease-in-out infinite;
}

/* Floating crosses in CTA */
.cta-crosses {
  display: flex;
  justify-content: space-between;
  position: absolute;
  inset: 0;
  padding: 0 40px;
  align-items: center;
  pointer-events: none;
}
.cta-crosses span {
  color: rgba(0,201,167,.15);
  font-size: 2.5rem;
  animation: floatCross 6s ease-in-out infinite;
}
.cta-crosses span:nth-child(2) { font-size: 1.5rem; animation-delay: 2s; }
.cta-crosses span:nth-child(3) { animation-delay: 4s; }

.cta-banner-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.cta-banner-inner h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--teal), #A3F7EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-banner-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Pulse ring on CTA primary btn */
.cta-actions .btn-primary {
  position: relative;
}
.cta-actions .btn-primary::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid rgba(0,201,167,.5);
  animation: ctaPulse 2.5s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0; transform: scale(1.12); }
}

/* Trust badges below CTA */
.cta-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.55);
  font-size: .8rem;
}
.cta-trust-item span:first-child {
  font-size: 1rem;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  position: relative;
  overflow: hidden;
}

/* Radial glow in footer bg */
.footer::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,201,167,.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 5% 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 48px;
}
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact-col { grid-column: 1 / -1; }
}

/* BRAND COLUMN */
.footer-brand { max-width: 320px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo .logo-icon {
  font-size: 1.3rem;
  color: var(--teal);
  filter: drop-shadow(0 0 8px rgba(0,201,167,.5));
}
.footer-logo .logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.footer-desc {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
  margin-bottom: 24px;
}

/* Animated newsletter field */
.footer-newsletter {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.footer-newsletter input {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 50px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: .82rem;
  color: white;
  outline: none;
  transition: border-color .3s;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.3); }
.footer-newsletter input:focus { border-color: var(--teal); }
.footer-newsletter button {
  background: linear-gradient(135deg, var(--teal), var(--blue-mid));
  border: none;
  border-radius: 50px;
  padding: 10px 18px;
  color: white;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
  white-space: nowrap;
}
.footer-newsletter button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,201,167,.4);
}

.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all .3s var(--ease-spring);
}
.social-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 18px rgba(0,201,167,.45);
}

/* LINK COLUMNS */
.footer-col h4 {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  color: white;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  transition: color .2s, padding-left .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before {
  content: '→';
  font-size: .7rem;
  color: var(--teal);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s, transform .2s;
}
.footer-col ul li a:hover {
  color: rgba(255,255,255,.9);
  padding-left: 8px;
}
.footer-col ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* CONTACT COLUMN */
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .83rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
}
.fc-ico {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
  filter: grayscale(.3);
}
.footer-contact-list li:hover span:last-child { color: rgba(255,255,255,.85); }
.footer-contact-list li { transition: all .2s; cursor: default; }

/* Divider */
.footer-divider {
  max-width: 1280px;
  margin: 0 auto;
  height: 1px;
  background: rgba(255,255,255,.07);
}

/* FOOTER BOTTOM */
.footer-bottom {
  padding: 24px 5%;
}
.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--teal); }

/* ══════════════════════════════════════════
   RESPONSIVE TWEAKS
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  .why { padding: 80px 5%; }
  .testi { padding: 80px 5%; }
  .cta-banner { padding: 80px 5%; }
  .features-cta {
    padding: 28px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .features-cta p { margin-right: 0; }
}

@media (max-width: 640px) {
  .why-visual { min-height: 360px; }
  .wc-sm1, .wc-sm2 { display: none; }
  .trust-bar { padding: 28px 24px; }
  .cta-banner-inner h2 { font-size: 2rem; }
}
.clinic-types {
  position: relative;
  background: linear-gradient(180deg, #0D1B3E 0%, #091229 100%);
  padding: 0;
  overflow: hidden;
  min-height: 100vh;
}
 
/* Grid pattern like the screenshot */
.ct-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
 
/* SVG canvas for animated lines */
.ct-line-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
 
.ct-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 160px 5% 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
 
/* ── INTRO / ROOT ── */
.ct-intro {
  text-align: center;
  padding-bottom: 0;
  width: 100%;
  max-width: 600px;
}
.ct-intro .section-label  { color: rgba(0,201,167,.8); }
.ct-intro .section-title  { color: #ffffff; }
.ct-intro .section-sub    { color: rgba(255,255,255,.5); margin-bottom: 60px; }
 
/* Root node */
.ct-root-node {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,201,167,.08);
  border: 1.5px solid rgba(0,201,167,.3);
  border-radius: 50px;
  padding: 12px 28px;
  position: relative;
  margin-top: 8px;
}
.ct-root-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50px;
  border: 1.5px solid rgba(0,201,167,.3);
  animation: rootPulse 2.5s ease-in-out infinite;
}
@keyframes rootPulse {
  0%,100% { opacity: .8; transform: scale(1); }
  50%      { opacity: 0;  transform: scale(1.08); }
}
.ct-root-cross { font-size: 1.2rem; color: #00C9A7; }
.ct-root-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: .04em;
}
 
/* ── ITEMS (alternating left / right) ── */
.ct-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding-top: 80px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.ct-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.ct-left  { justify-content: flex-start; }
.ct-right { justify-content: flex-end;   }
 
/* Invisible anchor point the SVG lines connect to */
.ct-node-anchor {
  position: absolute;
  width: 1px; height: 1px;
  top: 0;
}
.ct-left  .ct-node-anchor { left: 50%; }
.ct-right .ct-node-anchor { left: 50%; }
 
/* ── CARD ── */
.ct-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 40px 36px;
  width: 100%;
  max-width: 460px;
  position: relative;
  backdrop-filter: blur(10px);
  transition: border-color .4s, box-shadow .4s;
}
.ct-card:hover {
  border-color: rgba(0,201,167,.3);
  box-shadow: 0 20px 60px rgba(0,201,167,.08);
}
 
.ct-card-featured {
  background: rgba(37,99,235,.07);
  border-color: rgba(37,99,235,.25);
}
.ct-card-featured:hover {
  border-color: rgba(37,99,235,.5);
  box-shadow: 0 20px 60px rgba(37,99,235,.12);
}
 
.ct-card-badge {
  position: absolute;
  top: -14px; right: 28px;
  background: linear-gradient(135deg, #00C9A7, #2563EB);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
 
.ct-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid;
  margin-bottom: 18px;
  letter-spacing: .04em;
}
 
.ct-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.1;
}
 
.ct-card-desc {
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  margin-bottom: 24px;
}
 
.ct-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.ct-card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.75);
}
.ct-li-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
 
.ct-card-specialities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ct-spec {
  font-size: .72rem;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(0,201,167,.08);
  color: rgba(0,201,167,.7);
  border: 1px solid rgba(0,201,167,.15);
  font-weight: 500;
}
.ct-spec-blue   { background:rgba(37,99,235,.1);   color:rgba(96,165,250,.8);   border-color:rgba(37,99,235,.2); }
.ct-spec-purple { background:rgba(168,85,247,.08);  color:rgba(192,132,252,.8);  border-color:rgba(168,85,247,.15); }
 
.ct-card-cta { align-self: flex-start; }
 
/* ── OUTRO ── */
.ct-outro {
  margin-top: 80px;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s, transform .7s;
}
.ct-outro.visible { opacity: 1; transform: translateY(0); }
.ct-outro-text {
  font-size: 1rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
 
/* ── SVG LINE STYLES ── */
.ct-svg-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ct-svg-line-teal   { stroke: #00C9A7; }
.ct-svg-line-blue   { stroke: #2563EB; }
.ct-svg-line-purple { stroke: #A855F7; }
.ct-svg-dot {
  r: 3;
  filter: drop-shadow(0 0 4px currentColor);
}
 
/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .ct-left, .ct-right { justify-content: center; }
  .ct-card { max-width: 100%; }
  .ct-inner { padding: 80px 5% 80px; }
}