/* ================= ROOT ================= */
:root {
  --bg: #f8fafc;
  --glass: rgba(255,255,255,0.8);
  --border: rgba(0,0,0,0.06);
  --text: #0f172a;
  --muted: #64748b;

  /* MEDICAL GRADIENT (NO RED) */
/* ❤️ PREMIUM CARDIOLOGY RED GRADIENT */
--grad: linear-gradient(
  135deg,
  #9F1239,   /* Medical Crimson */
  #E11D48,   /* Rose Red */
  #FB7185    /* Soft Coral */
);

;

  --shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* DARK MODE */
body.dark {
  --bg: #050b14;
  --glass: rgba(15,23,42,0.75);
  --border: rgba(255,255,255,0.08);
  --text: #ffffff;
  --muted: #94a3b8;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background:
  radial-gradient(circle at top, rgba(225,29,72,0.18), transparent 40%),
  radial-gradient(circle at bottom, rgba(251,113,133,0.18), transparent 45%),
  var(--bg);

}



/* ================= HEADER ================= */
.header {
  position: fixed;
  width: 100%;
  top: 18px;
  z-index: 1000;
}

/* ================= LOGO FORCE SIZE FIX ================= */

/* ================= LOGO SIZE FIX (NO NAVBAR HEIGHT CHANGE) ================= */

.logo {
  display: flex;
  align-items: center;
}

/* base size */
.logo img {
  height: 45px;                 /* actual layout height */
  width: auto;
  object-fit: contain;

  /* 🔥 VISUAL SCALE (navbar ko affect nahi karega) */
  transform: scale(1.35);
  transform-origin: left center;

  transition: transform 0.3s ease;
}

/* hover polish */
.logo:hover img {
  transform: scale(1.45);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .logo img {
    height: 30px;
    transform: scale(1.3);
  }
}

@media (max-width: 600px) {
  .logo img {
    height: 28px;
    transform: scale(1.25);
  }
}


/* navbar height ko logo ke hisaab se allow karo */


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .logo img {
    height: 46px !important;
  }
}

@media (max-width: 600px) {
  .logo img {
    height: 40px !important;
  }
}

/* ================= NAVBAR ================= */
.navbar {
  position: relative;
  max-width: 1220px;
  margin: auto;
  padding: 16px 22px;

  background: var(--glass);
  backdrop-filter: blur(24px) saturate(160%);

  border-radius: 30px;
  box-shadow: var(--shadow);
  border: none; /* ❌ remove normal border */

  display: grid;
grid-template-columns: max-content 1fr max-content;
  align-items: center;

  z-index: 1;
}
/* ================= NAVBAR GRADIENT BORDER ================= */
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;

  padding: 1.6px; /* border thickness */
  border-radius: inherit;

  background: var(--grad);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}
.navbar::before {
filter: drop-shadow(0 0 10px rgba(225,29,72,0.35));
  animation: borderFlow 12s ease-in-out infinite,
             borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% {
filter: drop-shadow(0 0 10px rgba(225,29,72,0.35));
  }
  50% {
filter: drop-shadow(0 0 18px rgba(225,29,72,0.55));
  }
}


.navbar::before {
  background-size: 400% 400%;
  animation: borderFlow 12s ease-in-out infinite;
}


@keyframes borderFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.nav-links a {
}


/* LOGO */

/* ================= LOGO – HARD FIX ================= */




/* ================= DESKTOP NAV ================= */
.nav-links {
  display: flex;
  gap: 25px;
  justify-self: center;
}

/* ===== DESKTOP NAV – GRADIENT UNDERLINE (FIXED) ===== */
.nav-links a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1.5px;

  width: 100%;
  height: 1.5px; /* 🔥 IMPORTANT */

  background-image: var(--grad);
  background-size: 200% 100%;
  background-position: left center;
box-shadow: 0 0 10px rgba(56,189,248,0.55);

  border-radius: 50px;

  transform: scaleX(0);
  transform-origin: center;

  transition:
    transform 0.35s cubic-bezier(.4,0,.2,1),
    background-position 0.6s ease;
}


/* ===== GRADIENT TEXT ON HOVER ===== */
.nav-links a:hover {
  background-image: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


.nav-links a:hover::after {
  transform: scaleX(1);
  background-position: right center;
}


/* ================= ACTIONS ================= */
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* THEME BUTTON */
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.theme i {
  font-size: 20px;
  color: #facc15;
}
body.dark .theme i {
  color: #60a5fa;
}

/* ================= BOOK BUTTON ================= */
.book-wrap {
  position: relative;
}

.cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* ================= MOBILE TOGGLE (DEFAULT DESKTOP HIDDEN) ================= */
/* ================= MOBILE TOGGLE (DESKTOP HIDDEN) ================= */
.mobile-toggle {
  display: none;
  position: relative;
  width: 20px;
  height: 14px;

  align-items: center;
  justify-content: center;
}


.mobile-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text); /* 🔥 auto light/dark */
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1),
}


/* ☰ default */


.mobile-toggle span:nth-child(2) {
  transform: translateY(4px);
}

/* ✕ open */
/* ☰ default hamburger */
.mobile-toggle span:nth-child(1) {
  transform: translateY(-5px);
}
.mobile-toggle span:nth-child(2) {
  transform: translateY(5px);
}

/* ❌ cross when open */
.menu-open .mobile-toggle span:nth-child(1) {
  transform: rotate(45deg);
}
.menu-open .mobile-toggle span:nth-child(2) {
  transform: rotate(-45deg);
}


.menu-open .mobile-toggle span:nth-child(2) {
  transform: rotate(-45deg);
}


/* hamburger */

.mobile-toggle span:nth-child(2) {
  transform: translateY(4px);
}

/* ✕ morph */



/* ================= MOBILE MENU ================= */
.mobile-menu {
  position: absolute;
  top: 60px;
  right: 0;
  width: 240px;
  background: var(--glass);
  backdrop-filter: blur(24px);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);

  display: flex;
  flex-direction: column;
  gap: 12px;

  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  padding: 10px;
  border-radius: 12px;
}

.mobile-menu a:hover {
  background: rgba(0,0,0,0.06);
}

.inner-book {
  margin-top: 8px;
}

/* Menu item animation */
.mobile-menu a,
.mobile-menu .inner-book {
  opacity: 0;
  transform: translateY(8px);
}

.mobile-menu.active a,
.mobile-menu.active .inner-book {
  animation: menuItemIn 0.35s ease forwards;
}

.mobile-menu.active a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.active a:nth-child(2) { animation-delay: 0.10s; }
.mobile-menu.active a:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.active a:nth-child(4) { animation-delay: 0.20s; }
.mobile-menu.active a:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu.active .inner-book { animation-delay: 0.30s; }

@keyframes menuItemIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================= HERO ================= */
.hero {
  min-height: 120vh;
  padding-top: 180px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
}
.hero p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

/* ================= MOBILE ONLY ================= */
@media (max-width: 900px) {

  /* Hide desktop nav */
  .nav-links {
    display: none !important;
  }

  /* Mobile toggle button */
   /* ❌ mobile header me Book Appointment hide */
  #bookBtn {
    display: none;
  }

  /* ✅ hamburger sirf mobile me show */
  .mobile-toggle {
    display: flex;
  }

}

/* ================= NAVBAR LOAD ANIMATION ================= */
.header {
  animation: navbarEnter 0.9s cubic-bezier(.4,0,.2,1) both;
}

@keyframes navbarEnter {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {

  /* 🔥 MOBILE NAVBAR RESET */
  .navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
  }

}
/* ================= NAV LINKS LOAD ANIMATION ================= */
.nav-links a {
  opacity: 0;
  transform: translateY(-8px);
  animation: navItemIn 0.6s cubic-bezier(.4,0,.2,1) forwards;
}

/* stagger delay */
.nav-links a:nth-child(1) { animation-delay: 0.25s; }
.nav-links a:nth-child(2) { animation-delay: 0.35s; }
.nav-links a:nth-child(3) { animation-delay: 0.45s; }
.nav-links a:nth-child(4) { animation-delay: 0.55s; }
.nav-links a:nth-child(5) { animation-delay: 0.65s; }

@keyframes navItemIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ================= ULTRA HERO ================= */
.ultra-hero {
  position: relative;
  max-width: 1400px;
  height: 81vh;
  margin: 100px auto 0; /* ✅ FIXED GAP */
  border-radius: 70px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* SLIDES */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.2s ease, transform 1.6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* BACKGROUND */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img) center / cover no-repeat;
  z-index: 0;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(159,18,57,0.25),
    rgba(225,29,72,0.18)
  );
}


/* CONTENT */
.hero-content {
  position: absolute;
  left: 8%;
  bottom: 22%;
  max-width: 560px;
  color: #fff;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
}

.hero-content p {
  margin-top: 14px;
  font-size: 18px;
  opacity: .95;
}

/* PILL */
.hero-pill {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
  font-size: 13px;
}

/* ACTIONS */
.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
}

.ghost {
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

/* NAV ARROWS */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
}
.hero-nav.prev { left: 20px; }
.hero-nav.next { right: 20px; }

/* DOTS */
.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
}
.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}
.hero-dots span.active {
  background: #fff;
}

/* PROGRESS BAR */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: rgba(255,255,255,0.25);
  z-index: 6;
}
.hero-progress span {
  display: block;
  height: 100%;
  width: 0%;

  /* SAME AS IMAGE GRADIENT */
  background: linear-gradient(
  90deg,
  #9F1239 0%,
  #E11D48 45%,
  #FB7185 100%
);


  border-radius: inherit;
  transition: width 0.4s ease;
  
}
.hero-progress span {
box-shadow: 0 0 14px rgba(225,29,72,0.6);
}


/* MOBILE */
@media (max-width: 768px) {
  .ultra-hero { height: 75vh; border-radius: 50px; }
  .hero-content { left: 6%; right: 6%; bottom: 18%; }
  .hero-nav { display: none; }
}
.hero-slide.active .hero-content h1 {
  animation: heroTextIn 0.8s ease forwards;
}

.hero-slide.active .hero-content p {
  animation: heroTextIn 0.8s ease forwards;
  animation-delay: 0.15s;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}








/* ================= ULTRA SERVICES ================= */
.ultra-services {
  padding: 150px 6% 130px;
  max-width: 1400px;
  margin: auto;
}

/* HEADER */
.services-head {
  text-align: center;
  margin-bottom: 80px;
}

.services-head h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
}

.services-head h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.services-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px,1fr));
  gap: 28px;
}

/* CARD */
.service-card {
  position: relative;
  padding: 42px 32px;
  border-radius: 34px;
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all .55s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}

/* GRADIENT GLOW */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .45s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: .10;
}

.service-card:hover {
  transform: translateY(-14px) scale(1.035);
  box-shadow: 0 50px 110px rgba(0,0,0,0.35);
}

/* ICON */
.icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.08)
  );
}

body.dark .icon-wrap {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.02)
  );
}

.icon-wrap i {
  font-size: 32px;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

/* TEXT */
.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* FEATURED */
.service-card.highlight {
  border: none;
  background: linear-gradient(
    135deg,
    rgba(225,29,72,0.18),
    rgba(251,113,133,0.12)
  );
}

body.dark .service-card.highlight {
  background: linear-gradient(
    135deg,
    rgba(225,29,72,0.25),
    rgba(15,23,42,0.6)
  );
}

/* MOBILE */
@media (max-width: 768px) {
  .ultra-services {
    padding: 110px 6% 90px;
  }
}
/* ================= DARK MODE SERVICES FIX ================= */
body.dark .ultra-services {
  background: transparent;
}

body.dark .services-head h2 {
  color: #ffffff;
}

body.dark .services-head p {
  color: #cbd5f5;
}

body.dark .section-pill {
  background: rgba(225,29,72,0.22);
  color: #fb7185;
}

/* Cards */
body.dark .service-card {
  background: rgba(15,23,42,0.75);
  border: 1px solid rgba(255,255,255,0.08);
}

body.dark .service-card h3 {
  color: #ffffff;
}

body.dark .service-card p {
  color: #b6c0d1;
}

/* Fix icon background */
body.dark .icon-wrap {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );
}
/* ================= PREMIUM HOVER BORDER ================= */
.service-card {
  position: relative;
  isolation: isolate;

  /* 🔥 FIX white border gap */
  background-clip: padding-box;
  border: 1px solid transparent;
}


/* Gradient Border Layer */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.6px; /* border thickness */
  background: var(--grad);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

/* Glow shadow */
.service-card:hover::after {
  opacity: 1;
}

/* Extra glow */
.service-card:hover {
  box-shadow:
    0 40px 90px rgba(0,0,0,0.35),
    0 0 0 rgba(0,0,0,0),
    0 0 28px rgba(225,29,72,0.45);
}

/* Dark mode glow tuning */
body.dark .service-card:hover {
  box-shadow:
    0 50px 110px rgba(0,0,0,0.6),
    0 0 32px rgba(225,29,72,0.55);
}
.service-card:hover .icon-wrap {
  animation: iconPulse 1.6s ease infinite;
}

@keyframes iconPulse {
  0%   { box-shadow: 0 0 0 rgba(225,29,72,0); }
  50%  { box-shadow: 0 0 24px rgba(225,29,72,0.45); }
  100% { box-shadow: 0 0 0 rgba(225,29,72,0); }
}


/* ================= ULTRA DOCTOR INTRO ================= */
.doctor-intro {
  padding: 170px 6% 150px;
  max-width: 1400px;
  margin: auto;
}

.doctor-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
  align-items: center;
}

/* IMAGE */
.doctor-image {
  position: relative;
  border-radius: 52px;
  overflow: visible; /* 🔥 IMPORTANT */
  box-shadow: 0 50px 110px rgba(0,0,0,0.4);
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.doctor-image {
  position: relative;
  border-radius: 52px;
  overflow: visible;
  box-shadow: 0 50px 110px rgba(0,0,0,0.4);
  transition: transform .7s cubic-bezier(.4,0,.2,1);

  height: 750px;   /* 🔥 YE LINE ADD KARO */
}


.doctor-image:hover {
  transform: scale(1.035);
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 52px;
  position: relative;
  z-index: 3;
}


/* GLOW */
.image-glow {
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: .22;
  filter: blur(22px);
  z-index: -1;
}

/* CONTENT */
.doctor-content h2 {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  margin-top: 18px;
}

.doctor-content h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.doctor-content h4 {
  margin-top: 10px;
  font-weight: 600;
  color: var(--muted);
}

.doctor-desc {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 580px;
}

/* STATS */
.doctor-stats {
  display: flex;
  gap: 34px;
  margin-top: 44px;
}

.stat-card {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(26px);
  padding: 20px 25px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  transition: all .45s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 40px 90px rgba(0,0,0,0.35),
    0 0 28px rgba(225,29,72,0.45);
}

.stat-card h3 {
  font-size: 30px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.stat-card p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* ACTIONS */
.doctor-actions {
  margin-top: 48px;
  display: flex;
  gap: 18px;
}

/* BUTTONS */
.premium-btn {
  position: relative;
  overflow: hidden;
}

.premium-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transform: translateX(-100%);
}

.premium-btn:hover::after {
  transform: translateX(100%);
  transition: transform .7s ease;
}

.premium-btn-outline {
  border-radius: 999px;
  padding: 12px 22px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--text);
  cursor: pointer;
  transition: all .4s ease;
}

.premium-btn-outline:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}

/* DARK MODE */
body.dark .doctor-desc {
  color: #cbd5f5;
}

body.dark .stat-card {
  background: rgba(15,23,42,0.75);
}

/* MOBILE */
@media (max-width: 900px) {
  .doctor-wrap {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .doctor-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ================= SMOOTH COUNTER FIX ================= */
.stat-card h3 {
  font-variant-numeric: tabular-nums; /* same width digits */
  letter-spacing: 0.5px;
}

/* fixed width so number change pe UI hile nahi */
.stat-card h3 span {
  display: inline-block;
  min-width: 3ch;   /* 15 / 98 */
  text-align: right;
}

.stat-card:nth-child(2) h3 span {
  min-width: 5ch;   /* 12000 */
}
/* ================= DOCTOR IMAGE HOVER BACKGROUND FX ================= */

/* Base safety */
.doctor-image {
  position: relative;
  isolation: isolate;
}

/* 1️⃣ Animated Gradient Aura */
.aura-bg {
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(225,29,72,0.45),
    transparent 55%
  ),
  radial-gradient(
    circle at 70% 70%,
    rgba(251,113,133,0.35),
    transparent 60%
  );
  opacity: 0;
  filter: blur(60px);
  transform: scale(0.85);
  transition: opacity .6s ease, transform .8s ease;
  z-index: -1;
}

/* Animate aura */
.doctor-image:hover .aura-bg {
  opacity: 1;
  transform: scale(1);
  animation: auraMove 6s linear infinite;
}

@keyframes auraMove {
  0%   { background-position: 0% 50%, 100% 50%; }
  50%  { background-position: 100% 50%, 0% 50%; }
  100% { background-position: 0% 50%, 100% 50%; }
}

/* 2️⃣ Medical Pulse Ring */
.pulse-ring {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 2px solid rgba(225,29,72,0.35);
  opacity: 0;
  transform: scale(0.7);
  z-index: -1;
}

/* Pulse on hover */
.doctor-image:hover .pulse-ring {
  opacity: 1;
  animation: pulseWave 2.4s ease-out infinite;
}

@keyframes pulseWave {
  0% {
    transform: scale(0.75);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.05);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Dark mode tuning */
body.dark .aura-bg {
  filter: blur(70px);
}

body.dark .pulse-ring {
  border-color: rgba(225,29,72,0.55);
}
/* ================= DOCTOR IMAGE HOVER BACKGROUND FX (FINAL FIX) ================= */

/* parent must allow overflow */
.doctor-image {
  position: relative;
  overflow: visible;
}

/* gradient aura */
.aura-bg {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 30% 30%, rgba(225,29,72,0.45), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(251,113,133,0.35), transparent 60%);
  opacity: 0;
  filter: blur(70px);
  transform: scale(0.85);
  transition: opacity .6s ease, transform .8s ease;
  z-index: 1;
  pointer-events: none;
}

/* pulse ring */
.pulse-ring {
  position: absolute;
  inset: -15%;
  border-radius: 40px;
  border: 2px solid rgba(225,29,72,0.4);
  opacity: 0;
  transform: scale(0.7);
  z-index: 2;
  pointer-events: none;
}

/* hover activate */
.doctor-image:hover .aura-bg {
  opacity: 1;
  transform: scale(1);
  animation: auraMove 6s linear infinite;
}

.doctor-image:hover .pulse-ring {
  opacity: 1;
  animation: pulseWave 2.4s ease-out infinite;
}

/* animations */
@keyframes auraMove {
  0%   { background-position: 0% 50%, 100% 50%; }
  50%  { background-position: 100% 50%, 0% 50%; }
  100% { background-position: 0% 50%, 100% 50%; }
}

@keyframes pulseWave {
  0%   { transform: scale(0.75); opacity: .55; }
  70%  { transform: scale(1.1); opacity: 0; }
  100% { opacity: 0; }
}

/* image stays on top */
.doctor-image img {
  position: relative;
  z-index: 3;
  border-radius: 52px;
}
/* ================= SECTION PILL (ULTRA PREMIUM ANIMATED) ================= */
.section-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 9px 20px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.75),
      rgba(255,255,255,0.35)
    );
  backdrop-filter: blur(18px);

  color: #9F1239;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.45);

  width: fit-content;
  overflow: hidden;

  /* subtle floating animation */
  animation: pillFloat 6s ease-in-out infinite;
}

/* gradient shimmer sweep */
.section-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.55),
    transparent
  );
  transform: translateX(-120%);
  animation: pillShimmer 4.5s ease-in-out infinite;
}

/* medical dot */
.section-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(225,29,72,0.6);
  animation: pillPulse 2.2s ease-in-out infinite;
}

/* hover polish */
.section-pill:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 35px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.6);
}

/* ===== ANIMATIONS ===== */
@keyframes pillFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes pillShimmer {
  0% { transform: translateX(-120%); }
  45% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

@keyframes pillPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(225,29,72,0.4);
  }
  50% {
    box-shadow: 0 0 18px rgba(225,29,72,0.75);
  }
}

/* ================= DARK MODE ================= */
body.dark .section-pill {
  background:
    linear-gradient(
      135deg,
      rgba(15,23,42,0.9),
      rgba(15,23,42,0.55)
    );
  color: #fb7185;

  box-shadow:
    0 12px 30px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

body.dark .section-pill::after {
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}


/* ================= DOCTOR INTRO REVERSE (IMAGE RIGHT) ================= */
.doctor-intro.reverse .doctor-wrap {
  grid-template-columns: 1.2fr 1fr;
}

.doctor-intro.reverse .doctor-content {
  order: 1;
}

.doctor-intro.reverse .doctor-image {
  order: 2;
}

/* MOBILE – same as original */
@media (max-width: 900px) {
  .doctor-intro.reverse .doctor-wrap {
    grid-template-columns: 1fr;
  }

  .doctor-intro.reverse .doctor-content,
  .doctor-intro.reverse .doctor-image {
    order: unset;
  }
}




/* ================= WHY CHOOSE US – ULTRA PREMIUM ================= */
.why-choose {
  padding: 170px 6% 150px;
  max-width: 1400px;
  margin: auto;
}

.why-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 90px;
  align-items: stretch;
}

/* CONTENT */
.why-title {
  margin-top: 18px;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 700;
}

.why-title span {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.why-sub {
  margin-top: 18px;
  max-width: 560px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
}

/* LIST */
.why-list {
  margin-top: 50px;
  display: grid;
  gap: 22px;
}

/* CARD */
.why-card {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 30px;

  background: var(--glass);
  backdrop-filter: blur(28px);
  box-shadow: var(--shadow);

  border: 1px solid transparent;
  background-clip: padding-box;
  isolation: isolate;

  transition: all .55s cubic-bezier(.4,0,.2,1);
}

/* GRADIENT BORDER */
.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.6px;
  background: var(--grad);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}

.why-card:hover::after {
  opacity: 1;
}

/* HOVER LIFT */
.why-card:hover {
  transform: translateY(-14px) scale(1.04);
  box-shadow:
    0 45px 100px rgba(0,0,0,0.35),
    0 0 30px rgba(225,29,72,0.45);
}

/* ICON */
.why-icon {
  min-width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.08)
  );

  transition: transform .6s ease, box-shadow .6s ease;
}

.why-icon i {
  font-size: 28px;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

/* ICON ANIMATION */
.why-card:hover .why-icon {
  transform: rotate(12deg) scale(1.15);
  box-shadow: 0 0 28px rgba(225,29,72,0.55);
}

.why-card:hover .why-icon i {
  animation: heartBeat 1.4s ease infinite;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  30% { transform: scale(1.18); }
  60% { transform: scale(1); }
}

/* TEXT */
.why-card h4 {
  font-size: 18px;
  font-weight: 600;

  background: linear-gradient(135deg, #fb7185, #e11d48);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;  background-clip: text;
}


.why-card p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* IMAGE */
.why-image {
  isolation: isolate;
  display: flex;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 55px 120px rgba(0,0,0,0.35);
 transition: none;}
 
.why-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px; /* border thickness */

  background: var(--grad);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 1;
  transition: opacity .45s ease;

  pointer-events: none;
}


.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-image:hover img {
  transform: none;
}


/* IMAGE AURA */
.why-aura {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle at 30% 30%, rgba(225,29,72,0.45), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(251,113,133,0.35), transparent 60%);
  filter: blur(70px);
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}

.why-image:hover .why-aura {
  opacity: 1;
}

/* DARK MODE */
body.dark .why-card {
  background: rgba(15,23,42,0.75);
}

body.dark .why-card p {
  color: #cbd5f5;
}

/* MOBILE */
@media (max-width: 900px) {
  .why-wrap {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}
/* ================= WHY CHOOSE US – ULTRA FINAL ================= */
.why-choose {
  padding: 160px 6% 140px;
  max-width: 1400px;
  margin: auto;
}

.why-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
  align-items: stretch;
}

/* TITLE */
.why-title {
  margin-top: 20px;
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 700;
}

.why-title span {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

/* SUB */
.why-sub {
  margin-top: 20px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}

/* LIST */
.why-list {
  margin-top: 50px;
  display: grid;
  gap: 22px;
}

/* CARD */
.why-card {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 28px;
  background: var(--glass);
  backdrop-filter: blur(28px);
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}

/* BACKGROUND HOVER (IMAGE SAFE) */
.card-bg {
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  z-index: -1;
  transition: opacity .45s ease;
}

.why-card:hover .card-bg {
  opacity: .12;
}

.why-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow:
    0 40px 90px rgba(0,0,0,0.35),
    0 0 30px rgba(225,29,72,0.45);
}

/* ICON */
.why-icon {
  min-width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.25);
  transition: transform .4s ease;
}

.why-card:hover .why-icon {
  transform: rotate(8deg) scale(1.12);
}

.why-icon i {
  font-size: 26px;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}



.why-card p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* IMAGE */
.why-image {
  position: relative;
  border-radius: 46px;
  overflow: hidden;
  height: 100%;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

/* IMAGE HOVER (NO SHAKE) */
.why-image:hover img {
  transform: scale(1.05);
}

/* IMAGE BACKGROUND AURA (NOT IMAGE) */
.img-aura {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle at 30% 30%, rgba(225,29,72,0.45), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(251,113,133,0.35), transparent 60%);
  filter: blur(80px);
  opacity: 0;
  transition: opacity .6s ease;
  z-index: 0;
}
.why-image img {
  position: relative;
  z-index: 2;
}


.why-image:hover .img-aura {
  opacity: 1;
}

/* DARK MODE */
body.dark .why-card {
  background: rgba(15,23,42,0.75);
}

body.dark .why-card p {
  color: #cbd5f5;
}

/* MOBILE */
@media (max-width: 900px) {
  .why-wrap {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .why-image {
    height: 380px;
  }
}
body.dark .why-card h4 {
  background: linear-gradient(
    135deg,
    #fb7185,
    #e11d48
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}







/* ================= TREATMENT PROCESS – FINAL PREMIUM ================= */

.treatment-process {
  padding: 170px 6% 150px;
  max-width: 1400px;
  margin: auto;
}

.process-head {
  text-align: center;
  margin-bottom: 90px;
}

.process-head h2 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  color: var(--text);
}

.process-head p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
}

/* WRAP */
.process-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
}

/* LEFT STEPS */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.process-step {
  display: flex;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #0b1224, #0f172a);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all .45s cubic-bezier(.4,0,.2,1);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(225,29,72,0.35);
}

.process-step.active {
  box-shadow:
    0 0 0 1px rgba(225,29,72,0.6),
    0 35px 90px rgba(225,29,72,0.45);
}

/* NUMBER */
.step-index {
  font-size: 22px;
  font-weight: 700;
  color: #fb7185;
  min-width: 40px;
}

/* TEXT */
.step-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.step-text p {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
}

/* RIGHT PANEL */
.process-content {
  position: relative;
  border-radius: 44px;
  background: var(--glass);
  backdrop-filter: blur(32px);
  box-shadow: var(--shadow);
  padding: 60px;
}

.process-panel {
  position: absolute;
  inset: 60px;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: all .6s ease;
}

.process-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.process-panel h3 {
  font-size: 28px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.process-panel p,
.process-panel li {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.process-panel ul {
  margin-top: 24px;
  list-style: none;
  display: grid;
  gap: 10px;
}

/* DARK MODE */
body.dark .process-content {
  background: rgba(15,23,42,0.75);
}

body.dark .process-panel p,
body.dark .process-panel li {
  color: #cbd5f5;
}

/* MOBILE */
@media (max-width: 900px) {
  .process-wrap {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .process-content {
    min-height: 380px;
    padding: 40px;
  }

  .process-panel {
    inset: 40px;
  }
}
/* ================= PROCESS PANEL – SIMPLE GRADIENT HOVER ================= */

.process-content {
  position: relative;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* HOVER GRADIENT */
.process-content:hover {
  background: linear-gradient(
    135deg,
    rgba(159,18,57,0.18),
    rgba(225,29,72,0.14),
    rgba(251,113,133,0.10)
  );

  box-shadow:
    0 40px 100px rgba(225,29,72,0.25);
}
.process-content:hover h3 {
  color: #fb7185;
}
/* ================= PREMIUM TESTIMONIALS ================= */

.premium-testimonials {
  padding: 170px 6% 150px;
  max-width: 1400px;
  margin: auto;
}

/* HEADER */
.testimonials-head {
  text-align: center;
  margin-bottom: 90px;
}

.testimonials-head h2 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  color: var(--text);
}

.testimonials-head h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.testimonials-head p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
}

/* GRID */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* CARD */
.testimonial-card {
  padding: 38px 36px;
  border-radius: 36px;
  background: var(--glass);
  backdrop-filter: blur(26px);
  box-shadow: var(--shadow);
  transition: all .45s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}

/* HOVER */
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 45px 110px rgba(0,0,0,0.35),
    0 0 32px rgba(225,29,72,0.35);
}

/* FEATURED */
.testimonial-card.highlight {
  background: linear-gradient(
    135deg,
    rgba(225,29,72,0.18),
    rgba(251,113,133,0.12)
  );
}

/* TEXT */
.testimonial-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  font-style: italic;
}

/* USER */
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(225,29,72,0.5);
}

.testimonial-user h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-user span {
  font-size: 13px;
  color: var(--muted);
}

/* ================= DARK MODE ================= */

body.dark .premium-testimonials {
  background:
    radial-gradient(circle at top, rgba(225,29,72,0.22), transparent 40%),
    radial-gradient(circle at bottom, rgba(251,113,133,0.18), transparent 45%);
}

body.dark .testimonial-card {
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.9),
    rgba(2,6,23,0.85)
  );
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 25px 70px rgba(0,0,0,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

body.dark .testimonial-text {
  color: #f1f5f9;
}

body.dark .testimonial-user h4 {
  color: #ffffff;
}

body.dark .testimonial-user span {
  color: #cbd5f5;
}

body.dark .testimonial-card.highlight {
  background: linear-gradient(
    135deg,
    rgba(225,29,72,0.3),
    rgba(15,23,42,0.85)
  );
}

/* MOBILE */
@media (max-width: 768px) {
  .premium-testimonials {
    padding: 120px 6% 100px;
  }
}







/* =========================================================
   🔥 GLOBAL RESPONSIVE FIX PACK
   (Hero + Doctor + Why + Process)
   ========================================================= */

/* ================= DOCTOR INTRO FIX ================= */
@media (max-width: 900px) {
  .doctor-stats {
    flex-wrap: wrap;
    gap: 18px;
  }

  .stat-card {
    width: 100%;
  }

  .doctor-image {
    max-width: 520px;
    margin-inline: auto;
  }
}

/* Disable heavy hover FX on touch devices */
@media (hover: none) {
  .aura-bg,
  .pulse-ring {
    display: none;
  }
}

/* ================= WHY CHOOSE IMAGE FIX ================= */
@media (max-width: 900px) {
  .why-image {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .why-image {
    aspect-ratio: 1 / 1;
  }
}

/* ================= TREATMENT PROCESS FIX ================= */
@media (max-width: 900px) {
  .process-wrap {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .process-step {
    min-width: 260px;
    flex-shrink: 0;
  }

  .process-content {
    position: relative;
    padding: 32px;
    min-height: auto;
  }

  .process-panel {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .process-panel.active {
    display: block;
  }
}

/* ================= NAVBAR SAFE FIX ================= */
@media (max-width: 768px) {
  .header {
    top: 10px;
  }
}






/* ================= CLINIC / TECHNOLOGY ================= */

.clinic-tech {
  padding: 170px 6% 150px;
  max-width: 1400px;
  margin: auto;
}

/* HEADER */
.clinic-tech-head {
  text-align: center;
  margin-bottom: 90px;
}

.clinic-tech-head h2 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  color: var(--text);
}

.clinic-tech-head h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.clinic-tech-head p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
  max-width: 680px;
  margin-inline: auto;
}

/* GRID */
.clinic-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* CARD */
.tech-card {
  position: relative;
  padding: 42px 36px;
  border-radius: 36px;
  background: var(--glass);
  backdrop-filter: blur(28px);
  box-shadow: var(--shadow);
  transition: all .45s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}

/* HOVER */
.tech-card:hover {
  transform: translateY(-12px);
  box-shadow:
    0 45px 110px rgba(0,0,0,0.35),
    0 0 32px rgba(225,29,72,0.35);
}

/* ICON */
.tech-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.08)
  );
}

.tech-icon i {
  font-size: 32px;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

/* TEXT */
.tech-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.tech-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* FEATURED */
.tech-card.highlight {
  background: linear-gradient(
    135deg,
    rgba(225,29,72,0.18),
    rgba(251,113,133,0.12)
  );
}

/* ================= DARK MODE ================= */

body.dark .clinic-tech {
  background:
    radial-gradient(circle at top, rgba(225,29,72,0.22), transparent 40%),
    radial-gradient(circle at bottom, rgba(251,113,133,0.18), transparent 45%);
}

body.dark .tech-card {
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.9),
    rgba(2,6,23,0.85)
  );
  border: 1px solid rgba(255,255,255,0.06);
}

body.dark .tech-card p {
  color: #cbd5f5;
}

body.dark .tech-card h3 {
  color: #ffffff;
}

body.dark .tech-icon {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.1),
    rgba(255,255,255,0.02)
  );
}

/* ================= RESPONSIVE ================= */

/* Large Tablets */
@media (max-width: 1100px) {
  .clinic-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .clinic-tech {
    padding: 120px 6% 100px;
  }

  .clinic-tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-card {
    padding: 34px 28px;
  }
}



/* ================= ULTRA PREMIUM APPOINTMENT CTA ================= */

.ultra-cta {
  padding: 190px 6% 170px;
  max-width: 1400px;
  margin: auto;
}

.cta-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 90px;
  padding: 90px 80px;
  border-radius: 70px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.75),
      rgba(255,255,255,0.35)
    );

  backdrop-filter: blur(32px);
  box-shadow:
    0 70px 160px rgba(0,0,0,0.35);

  overflow: hidden;
  isolation: isolate;
}

/* ================= LEFT ================= */

.cta-left h2 {
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.cta-left h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.cta-left p {
  margin-top: 24px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
}

/* ================= BUTTONS ================= */

.cta-buttons {
  margin-top: 46px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

/* BASE */
.cta-btn {
  position: relative;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all .45s cubic-bezier(.4,0,.2,1);
}

/* PRIMARY */
.cta-btn.primary {
  background: var(--grad);
  color: #fff;
  border: none;
  box-shadow:
    0 20px 50px rgba(225,29,72,0.45);
}

.cta-btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transform: translateX(-120%);
}

.cta-btn.primary:hover::after {
  transform: translateX(120%);
  transition: transform .7s ease;
}

.cta-btn.primary:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 35px 90px rgba(225,29,72,0.75);
}

/* OUTLINE */
.cta-btn.outline {
  background: rgba(255,255,255,0.28);
  border: 1.6px solid rgba(255,255,255,0.6);
  color: var(--text);
}

.cta-btn.outline:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow:
    0 25px 70px rgba(225,29,72,0.45);
}

/* ================= RIGHT IMAGE ================= */

.cta-right {
  display: grid;
  place-items: center;
}

.cta-image-wrap {
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  box-shadow:
    0 50px 120px rgba(0,0,0,0.45);
}

.cta-image-wrap img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  transition: transform 1s ease;
}

.cta-image-wrap:hover img {
  transform: scale(1.08);
}

/* IMAGE GLOW */
.img-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 30%, rgba(225,29,72,0.45), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(251,113,133,0.35), transparent 60%);
  filter: blur(80px);
  opacity: .8;
  z-index: -1;
}

/* ================= BACKGROUND AURA ================= */

.cta-aura {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 25% 25%, rgba(225,29,72,0.4), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(251,113,133,0.35), transparent 60%);
  filter: blur(100px);
  opacity: .7;
  z-index: -2;
}

/* ================= DARK MODE ================= */

body.dark .cta-wrapper {
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.95),
    rgba(2,6,23,0.9)
  );
  border: 1px solid rgba(255,255,255,0.08);
}

body.dark .cta-left p {
  color: #cbd5f5;
}

body.dark .cta-btn.outline {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  color: #ffffff;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {
  .cta-wrapper {
    grid-template-columns: 1fr;
    gap: 70px;
    padding: 70px 55px;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .ultra-cta {
    padding: 120px 6% 120px;
  }

  .cta-wrapper {
    padding: 55px 32px;
    border-radius: 45px;
  }

  .cta-image-wrap img {
    height: 300px;
  }
}






/* ================= ULTRA PREMIUM FOOTER ================= */

.ultra-footer {
  margin: 10px auto 0;
  max-width: 1400px;
  padding: 0 0.9% 70px;
}

/* MAIN CARD */
.footer-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 60px;

  padding: 90px 80px;
  border-radius: 70px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.75),
    rgba(255,255,255,0.35)
  );

  backdrop-filter: blur(30px);
  box-shadow: 0 70px 160px rgba(0,0,0,0.35);
}

/* BRAND */
.footer-brand h3 {
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
}

.footer-brand h3 span {
  color: #e11d48;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 360px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

/* SOCIALS */
.footer-socials {
  margin-top: 28px;
  display: flex;
  gap: 14px;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.35);
  color: #e11d48;
  font-size: 20px;
  transition: all .4s ease;
}

.footer-socials a:hover {
  background: var(--grad);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(225,29,72,0.55);
}

/* LINKS */
.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 22px;
  color: var(--text);
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: all .3s ease;
}

.footer-links a:hover {
  color: #e11d48;
  transform: translateX(6px);
}

/* CONTACT */
.footer-contact .contact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--muted);
}

.footer-contact i {
  font-size: 20px;
  color: #e11d48;
}

/* CTA */
.footer-cta {
  margin-top: 26px;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all .4s ease;
  box-shadow: 0 18px 45px rgba(225,29,72,0.45);
}

.footer-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(225,29,72,0.75);
}

/* BOTTOM */
.footer-bottom {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

/* COPYRIGHT PILL */
.copyright-pill {
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.7),
    rgba(255,255,255,0.35)
  );

  backdrop-filter: blur(18px);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.4);
}

/* ================= DARK MODE ================= */

body.dark .footer-wrap {
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.95),
    rgba(2,6,23,0.9)
  );
  border: 1px solid rgba(255,255,255,0.08);
}

body.dark .footer-brand h3,
body.dark .footer-links h4,
body.dark .footer-contact h4 {
  color: #ffffff;
}

body.dark .footer-brand p,
body.dark .footer-links a,
body.dark .footer-contact .contact-item,
body.dark .copyright-pill {
  color: #cbd5f5;
}

body.dark .footer-socials a {
  background: rgba(255,255,255,0.08);
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 40px;
    border-radius: 50px;
    text-align: left; /* 🔥 LEFT aligned */
  }

  .footer-bottom {
    justify-content: flex-start;
  }
}

@media (max-width: 500px) {
  .footer-wrap {
    padding: 50px 28px;
  }
}
/* ===== FOOTER LINKS – DARK MODE HOVER GRADIENT ===== */
body.dark .footer-links a {
  position: relative;
  transition: all .35s ease;
}

body.dark .footer-links a:hover {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(225,29,72,0.45);
  transform: translateX(6px);
}
/* ===== FOOTER SOCIAL – CLEAN & ACTIVE ===== */
.footer-socials a {
  text-decoration: none !important;
  border: none !important;
}

/* Hover active */
.footer-socials a:hover {
  background: var(--grad);
  color: #ffffff;
  transform: translateY(-4px) scale(1.08);
  box-shadow:
    0 0 22px rgba(225,29,72,0.6),
    0 10px 30px rgba(225,29,72,0.45);
}
/* ===== CONTACT ITEMS ACTIVE ===== */
.footer-contact .contact-item {
  cursor: pointer;
  transition: all .35s ease;
}


.footer-contact .contact-item:hover span {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.footer-contact .contact-item:hover i {
  transform: scale(1.15);
  text-shadow: 0 0 12px rgba(225,29,72,0.6);
}
/* ===== COPYRIGHT PILL GRADIENT ===== */
.copyright-pill {
  background: linear-gradient(
    135deg,
    rgba(225,29,72,0.25),
    rgba(251,113,133,0.18)
  );
  color: #ffffff;
  font-weight: 500;
  box-shadow:
    0 18px 45px rgba(225,29,72,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.25);
}

/* Dark mode polish */
body.dark .copyright-pill {
  background: linear-gradient(
    135deg,
    rgba(225,29,72,0.35),
    rgba(15,23,42,0.85)
  );
  color: #f8fafc;
}
.contact-item a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #E11D48; /* red gradient vibe */
}


/* ================= FOOTER DOCTORS ================= */
.footer-doctors {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-doctors h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.doctor-item {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: all 0.35s ease;
}

.doctor-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.doctor-name {
  font-weight: 600;
  font-size: 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.doctor-item small {
  font-size: 12.5px;
  color: var(--muted);
}
/* ================= FOOTER DOCTORS – PILL UI ================= */


/* Pill */
.doctor-pill {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.75),
    rgba(255,255,255,0.35)
  );

  backdrop-filter: blur(14px);
  border: 1px solid var(--border);

  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;

  transition: all 0.35s ease;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

/* DEFAULT (LIGHT MODE) */
.doctor-pill i {
  font-size: 18px;
  color: #000000;
}

/* DARK MODE FIX */
body.dark .doctor-pill i {
  color: #ffffff;
}


/* Hover */
.doctor-pill:hover {
  background: var(--grad);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(225,29,72,0.55);
}

.doctor-pill:hover i {
  color: #ffffff;
}

/* ================= DARK MODE ================= */

body.dark .doctor-pill {
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.85),
    rgba(2,6,23,0.9)
  );
  border: 1px solid rgba(255,255,255,0.08);
  color: #f8fafc;
}

body.dark .doctor-pill:hover {
  background: var(--grad);
  color: #ffffff;
}
/* ===== DOCTOR PILL SOFT FLOAT LOOP ===== */
@keyframes pillFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.doctor-pill {
  animation: pillFloat 4.5s ease-in-out infinite;
}

/* stagger effect (2nd pill thoda late chale) */
.footer-doctors .doctor-pill:nth-child(2) {
  animation-delay: 0.4s;
}
.footer-doctors .doctor-pill:nth-child(3) {
  animation-delay: 0.8s;
}
/* ================= PREMIUM CTA LOOP ANIMATION ================= */

/* Shimmer sweep */
@keyframes pillShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Micro nudge (click hint) */
@keyframes pillNudge {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

/* Soft focus ring pulse */
@keyframes pillPulse {
  0% {
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  }
  50% {
    box-shadow:
      0 18px 60px rgba(225,29,72,0.35);
  }
  100% {
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  }
}
.doctor-pill {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.65) 30%,
      rgba(227, 227, 227, 0.9) 38%,
      rgba(255, 255, 255, 0.65) 46%
    );
  background-size: 200% 100%;

  animation:
    pillShimmer 3.8s ease-in-out infinite,
    pillPulse 4.2s ease-in-out infinite;
}
.doctor-pill i {
  transition: transform 0.35s ease;
  animation: pillNudge 2.6s ease-in-out infinite;
}



/* ================= MEET THE DOCTORS – LEFT LAYOUT ================= */

.meet-doctors-intro {
  padding: 200px 6% 160px;
  max-width: 1400px;
  margin: auto;
}

.meet-inner.left {
  max-width: 900px;
  margin: 0;            /* ❌ center remove */
  text-align: left;     /* ✅ left aligned */
}

/* TITLE */
.meet-title {
  margin-top: 26px;
  font-size: clamp(42px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
}

.meet-title span {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

/* DESCRIPTION */
.meet-desc {
  margin-top: 32px;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
}

/* SUB LINE */
.meet-sub {
  margin-top: 22px;
  max-width: 680px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
  opacity: 0.9;
}

/* ACTION */
.meet-action {
  margin-top: 48px;
}

/* DARK MODE */
body.dark .meet-desc,
body.dark .meet-sub {
  color: #cbd5f5;
}

/* MOBILE */
@media (max-width: 768px) {
  .meet-doctors-intro {
    padding: 160px 6% 130px;
  }

  .meet-inner.left {
    max-width: 100%;
  }
}



/* ================= ULTRA GALLERY ================= */

.ultra-gallery {
  padding: 170px 6% 150px;
  max-width: 1400px;
  margin: auto;
}

.gallery-head {
  text-align: center;
  margin-bottom: 80px;
}

/* GRID – SAME ALIGNMENT */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

/* CARD */
.gallery-card {
  position: relative;
  height: 340px;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all .45s cubic-bezier(.4,0,.2,1);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* HOVER */
.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.35),
    0 0 28px rgba(225,29,72,0.45);
}

/* ================= LIGHTBOX ================= */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  z-index: 9999;
}

.gallery-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 28px;
  box-shadow:
    0 50px 140px rgba(0,0,0,0.65),
    0 0 40px rgba(225,29,72,0.45);
}

/* CLOSE */
.lightbox-close {
  position: absolute;
  top: 32px;
  right: 36px;
  font-size: 42px;
  font-weight: 300;
  color: #fff;
  cursor: pointer;
  transition: transform .3s ease, color .3s ease;
}

.lightbox-close:hover {
  color: #fb7185;
  transform: rotate(90deg);
}

/* MOBILE */
@media (max-width: 600px) {
  .gallery-card {
    height: 340px;
  }
}



/* ================= ULTRA TREATMENTS ================= */

.ultra-treatments {
  padding: 170px 6% 150px;
  max-width: 1400px;
  margin: auto;
}

.treatments-head {
  text-align: center;
  margin-bottom: 80px;
}

/* GRID */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

/* CARD */
.treatment-card {
  height: 220px;
  padding: 34px 28px;
  border-radius: 34px;
  background: var(--glass);
  backdrop-filter: blur(26px);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: center;
  transition: all .45s cubic-bezier(.4,0,.2,1);
}

.treatment-card i {
  font-size: 40px;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.treatment-card h4 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.treatment-card span {
  margin-top: 6px;
  display: block;
  font-size: 14px;
  color: var(--muted);
}

/* HOVER */
.treatment-card:hover {
  transform: translateY(-12px);
  box-shadow:
    0 45px 110px rgba(0,0,0,0.35),
    0 0 28px rgba(225,29,72,0.45);
}

/* FEATURED */
.treatment-card.highlight {
  background: linear-gradient(
    135deg,
    rgba(225,29,72,0.18),
    rgba(251,113,133,0.12)
  );
}

/* ================= MODAL ================= */

.treatment-modal {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,0.92);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  z-index: 9999;
}

.treatment-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  max-width: 520px;
  padding: 50px 46px;
  border-radius: 40px;
  background: var(--glass);
  backdrop-filter: blur(30px);
  text-align: center;
  box-shadow:
    0 60px 150px rgba(0,0,0,0.55),
    0 0 40px rgba(225,29,72,0.45);
}

.modal-box h3 {
  font-size: 26px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.modal-box p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

/* CLOSE */
.modal-close {
  position: absolute;
  top: 26px;
  right: 34px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  transition: transform .3s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
}

/* MOBILE */
@media (max-width: 600px) {
  .treatment-card {
    height: auto;
  }

  .modal-box {
    margin: 0 20px;
    padding: 40px 28px;
  }
}
/* ================= TREATMENTS – DARK MODE FIX ================= */

body.dark .treatments-head h2 {
  color: #ffffff;
}

body.dark .treatments-head h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

body.dark .treatments-head p {
  color: #cbd5f5;
}

/* Section pill already handled globally,
   but ensure visibility */
body.dark .treatments-head .section-pill {
  background: rgba(225,29,72,0.25);
  color: #fb7185;
}
body.dark .treatments-head h2 {
  text-shadow: 0 0 22px rgba(225,29,72,0.25);
}


/* ================= ULTRA CONTACT ================= */

.ultra-contact {
  padding: 170px 6% 140px;
  max-width: 1400px;
  margin: auto;
}

.contact-head {
  text-align: center;
  margin-bottom: 80px;
}

.contact-head h2 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  color: var(--text);
}

.contact-head h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.contact-head p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
}

/* WRAP */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

/* INFO */
.contact-info {
  display: grid;
  gap: 26px;
}

.info-card {
  display: flex;
  gap: 18px;
  padding: 28px 30px;
  border-radius: 30px;
  background: var(--glass);
  backdrop-filter: blur(26px);
  box-shadow: var(--shadow);
  transition: all .45s cubic-bezier(.4,0,.2,1);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 40px 90px rgba(0,0,0,0.35),
    0 0 28px rgba(225,29,72,0.45);
}

.info-card i {
  font-size: 30px;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.info-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.info-card p,
.info-card a {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}

/* FORM */
.contact-form {
  padding: 50px 46px;
  border-radius: 40px;
  background: var(--glass);
  backdrop-filter: blur(30px);
  box-shadow: 0 60px 150px rgba(0,0,0,0.35);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225,29,72,0.18);
  outline: none;
}

/* MAP */
.contact-map {
  margin-top: 70px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  width: 100%;
  height: 360px;
  border: none;
}

/* DARK MODE */
body.dark .contact-form,
body.dark .info-card,
body.dark .contact-map {
  background: rgba(15,23,42,0.85);
}

body.dark .contact-form input,
body.dark .contact-form textarea {
  background: rgba(2,6,23,0.85);
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-form {
    padding: 40px 30px;
  }
}

/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
  z-index: 9999;
  box-shadow: 0 18px 45px rgba(37,211,102,0.55);
  animation: whatsappPulse 2.6s infinite;
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 rgba(37,211,102,0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 rgba(37,211,102,0); }
}

/* ================= FIXED APPOINTMENT CTA ================= */

.appointment-fixed {
  position: fixed;
  left: 24px;
  bottom: 26px;
  padding: 12px 22px;
  z-index: 9999;
}
.whatsapp-float,
.whatsapp-float:hover,
.whatsapp-float:focus {
  text-decoration: none !important;
}






/* =====================================================
   CV SECTION – CURVY SAFE CONTAINER (FINAL)
===================================================== */

.ultra-cv {
  padding: 140px 16px 160px;
}

/* 🔥 MAIN CURVY SHELL */
.cv-shell {
  max-width: 1400px;
  margin: auto;
  padding: 60px;
  border-radius: 56px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.85),
    rgba(255,255,255,0.55)
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.4);

  overflow: hidden; /* ⭐ FOOTER FIX */
}

/* ===== GRID ===== */
.cv-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 64px;
  align-items: flex-start;
}

/* ===== CONTENT ===== */
.cv-content {
  padding: 0;
}

/* ===== PHOTO ===== */
.cv-photo {
  position: sticky;
  top: 140px;
  border-radius: 36px;
}

.cv-photo img {
  width: 100%;
  border-radius: 36px;
  object-fit: cover;
}

/* ===== NAME ===== */
.cv-name {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
}

.cv-name span {
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

/* ===== CONTACT ===== */
.cv-contact {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

.cv-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  word-break: break-word;
}

.cv-contact i {
  color: #e11d48;
  font-size: 18px;
}

/* ===== BLOCKS ===== */
.cv-block {
  margin-top: 42px;
}

.cv-block h3 {
  font-size: 22px;
  margin-bottom: 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  color: transparent;
}

.cv-block p,
.cv-block li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ===== TIMELINE ===== */
.timeline {
  display: grid;
  gap: 18px;
}

.timeline span {
  font-size: 13px;
  font-weight: 600;
  color: #fb7185;
}

/* =====================================================
   MOBILE / TABLET – PERFECT STACK
===================================================== */

@media (max-width: 900px) {

  .ultra-cv {
    padding: 110px 12px 200px;
  }

  .cv-shell {
    padding: 28px;
    border-radius: 32px;
  }

  .cv-layout {
    display: flex;
    flex-direction: column;
  }

  .cv-photo {
    position: relative;
    top: auto;
    margin-bottom: 28px;
  }

  .cv-name {
    font-size: 30px;
  }

  .cv-contact {
    flex-direction: column;
    gap: 10px;
  }

  .cv-block {
    margin-top: 32px;
  }

  .cv-block h3 {
    font-size: 20px;
  }

  .cv-block p,
  .cv-block li {
    font-size: 14.5px;
  }
}
/* ================= MOBILE IMAGE TOP FIX ================= */
@media (max-width: 900px) {

  /* photo sabse upar */
  .cv-photo {
    order: -1;
  }

  /* content image ke neeche */
  .cv-content {
    order: 1;
  }

}
/* ================= CONTACT FORM – SELECT FIX ================= */

.contact-form select {
  width: 100%;
  margin-bottom: 18px;
  padding: 14px 56px 14px 18px; /* right space for arrow */

  border-radius: 999px; /* 🔥 SAME AS INPUTS */
  border: 1px solid rgba(0,0,0,0.06);

  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);

  font-size: 15px;
  color: var(--text);
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 1px 2px rgba(0,0,0,0.04);

  transition: all 0.3s ease;
}

/* focus = SAME as input */
.contact-form select:focus {
  outline: none;
  border-color: #e11d48;
  box-shadow:
    0 0 0 3px rgba(225,29,72,0.18),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

/* hover polish */
.contact-form select:hover {
  background: rgba(255,255,255,0.8);
}

/* placeholder look */
.contact-form select option[disabled] {
  color: var(--muted);
}

/* ================= CUSTOM ARROW (SOFT & CLEAN) ================= */

.contact-form {
  position: relative;
}

.contact-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, #e11d48 50%),
    linear-gradient(135deg, #e11d48 50%, transparent 50%);
  background-position:
    calc(100% - 26px) 55%,
    calc(100% - 20px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

/* ================= DARK MODE ================= */

body.dark .contact-form select {
  background: rgba(2,6,23,0.85);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 1px 2px rgba(0,0,0,0.6);
}

body.dark .contact-form select:focus {
  box-shadow:
    0 0 0 3px rgba(225,29,72,0.35);
}







/* ================= ULTRA BLOG SECTION STYLES ================= */

/* 1. SECTION WRAPPER (Padding Fix included) */
.ultra-blog {
  padding: 180px 6% 150px; /* 🔥 Top Padding Fix */
  max-width: 1400px;
  margin: auto;
}

/* 2. HEADLINE INSIDE SECTION */
.blog-head-inner {
  text-align: center;
  margin-bottom: 70px;
}

.blog-head-inner h2 {
  margin-top: 20px;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  color: var(--text);
}

.blog-head-inner h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blog-head-inner p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin-inline: auto;
}

/* 3. GRID LAYOUT */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  row-gap: 50px;
}

/* 4. CARD DESIGN */
.blog-card {
  position: relative;
  border-radius: 40px;
  background: var(--glass);
  backdrop-filter: blur(28px);
  border: 1px solid transparent;
  background-clip: padding-box;
  isolation: isolate;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}

/* Gradient Border Hover */
.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.6px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.blog-card:hover::after { opacity: 1; }

.blog-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 50px 110px rgba(0,0,0,0.35), 0 0 35px rgba(225, 29, 72, 0.25);
}

/* 5. IMAGE & CONTENT */
.blog-img {
  position: relative;
  height: 260px;
  width: 100%;
  overflow: hidden;
  border-radius: 40px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.blog-card:hover .blog-img img { transform: scale(1.08); }

.blog-cat {
  position: absolute;
  top: 24px; left: 24px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 700;
  color: #9F1239;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  z-index: 2;
}

.blog-content { padding: 34px 32px; }

.blog-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--muted); margin-bottom: 16px;
}
.blog-meta i { color: #e11d48; }

.blog-content h3 {
  font-size: 22px; font-weight: 700; color: var(--text);
  line-height: 1.4; margin-bottom: 12px; transition: color 0.3s ease;
}
.blog-card:hover h3 {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blog-content p {
  font-size: 16px; color: var(--muted); line-height: 1.7;
  margin-bottom: 24px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}

.read-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: #e11d48;
  text-decoration: none; transition: all 0.3s ease;
}
.read-more:hover { gap: 12px; }

/* ================= MODAL CSS (POPUP) ================= */
.blog-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.blog-modal-overlay.active { opacity: 1; pointer-events: auto; }

.blog-modal-content {
  position: relative; width: 100%; max-width: 800px; max-height: 90vh;
  background: #fff; border-radius: 30px;
  overflow-y: auto;
  box-shadow: 0 50px 100px rgba(0,0,0,0.5);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-modal-overlay.active .blog-modal-content { transform: translateY(0); }

.modal-close-btn {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,0.5); border: none; color: #fff;
  font-size: 28px; cursor: pointer; z-index: 10;
  display: grid; place-items: center; transition: all 0.3s ease;
}
.modal-close-btn:hover { background: #e11d48; transform: rotate(90deg); }

.modal-header { position: relative; height: 350px; width: 100%; }
.modal-header img { width: 100%; height: 100%; object-fit: cover; }

.modal-cat {
  position: absolute; bottom: 20px; left: 30px;
  padding: 8px 18px; background: #fff; color: #e11d48;
  font-weight: 700; border-radius: 999px; font-size: 14px;
}

.modal-body { padding: 40px 50px; }
.modal-meta { display: flex; gap: 12px; color: #64748b; font-size: 14px; margin-bottom: 16px; }
.modal-body h2 { font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 24px; }
.modal-text p { font-size: 17px; line-height: 1.9; color: #475569; margin-bottom: 20px; }
.modal-text h3 { font-size: 22px; font-weight: 600; color: #0f172a; margin-top: 30px; margin-bottom: 12px; }

.modal-action { margin-top: 50px; padding-top: 30px; border-top: 1px solid #e2e8f0; text-align: center; }

/* Dark Mode Modal Support */
body.dark .blog-modal-content { background: #0f172a; }
body.dark .modal-body h2, body.dark .modal-text h3 { color: #fff; }
body.dark .modal-text p { color: #cbd5f5; }

@media (max-width: 768px) {
  .ultra-blog { padding-top: 140px; } /* Mobile adjust */
  .modal-header { height: 250px; }
  .modal-body { padding: 30px 24px; }
}