/* ===== WELLNESS SPORTS INC — Premium Stylesheet ===== */
/* Fonts loaded via header link tag for performance */

:root {
  --navy: #0d2137;
  --navy-light: #183352;
  --navy-mid: #1e3f60;
  --teal: #1aaa7e;
  --teal-dark: #138f68;
  --teal-light: #e6f7f2;
  --teal-glow: rgba(26, 170, 126, 0.15);
  --primary: #0056b3;
  --primary-dk: #00418a;
  --accent: #f5a623;
  --text: #0b1622;
  --text-mid: #3d5166;
  --text-light: #6b7a8d;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-card: #ffffff;
  --border: #e2eaf3;
  --border-soft: #edf2f7;
  --red: #e74c3c;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-xs: 0 1px 4px rgba(13, 33, 55, 0.06);
  --shadow: 0 4px 24px rgba(13, 33, 55, 0.08);
  --shadow-md: 0 8px 32px rgba(13, 33, 55, 0.11);
  --shadow-lg: 0 20px 56px rgba(13, 33, 55, 0.14);
  --shadow-teal: 0 8px 28px rgba(26, 170, 126, 0.25);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --navbar-h: 86px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
}

/* ── REUSABLE MINI CARDS (DESIGN SYSTEM) ── */
.svc-mini-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-rows: 124px !important;
  /* same fixed height as team cards */
  gap: 16px !important;
  margin: 16px auto 0 !important;
  max-width: 1200px !important;
}

.svc-mini-card {
  background: #fff !important;
  border: 1.5px solid var(--border-soft) !important;
  border-radius: 16px !important;
  padding: 0 20px 0 18px !important;
  /* Grid: icon spans both rows on left, name+desc stack on right */
  display: grid !important;
  grid-template-columns: 52px 1fr !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    "icon name"
    "icon desc" !important;
  align-items: center !important;
  column-gap: 16px !important;
  row-gap: 3px !important;
  text-align: left !important;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  box-shadow: 0 3px 14px rgba(13, 33, 55, 0.07) !important;
  height: 100% !important;
  overflow: visible !important;
  position: relative !important;
}

.svc-mini-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 48px rgba(13, 33, 55, 0.13) !important;
  border-color: var(--teal) !important;
}

.svc-mini-icon-wrap {
  grid-area: icon !important;
  align-self: center !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  background: var(--teal-light) !important;
  color: var(--teal) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-bottom: 0 !important;
  transition: var(--transition) !important;
}

.svc-mini-card:hover .svc-mini-icon-wrap {
  background: var(--teal) !important;
  color: #fff !important;
  transform: scale(1.08) rotate(5deg) !important;
}

.svc-mini-icon-wrap i,
.svc-mini-icon-wrap .svc-icon {
  font-size: 22px !important;
}

.svc-mini-name {
  grid-area: name !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: var(--navy) !important;
  line-height: 1.3 !important;
  margin-bottom: 0 !important;
  align-self: end !important;
}

.svc-mini-desc {
  grid-area: desc !important;
  font-size: 12px !important;
  color: var(--text-light) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  align-self: start !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* ── UTILITY ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 77px 0;
}

.section-sm {
  padding: 52px 0;
}

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

.text-teal {
  color: var(--teal);
}

.text-navy {
  color: var(--navy);
}

.text-white {
  color: #fff !important;
}

.text-light {
  color: var(--text-light);
}

.font-zapfino {
  font-family: 'Zapfino', 'Pinyon Script', cursive;
  font-weight: 400;
  text-transform: none;
  display: inline-block;
}

.fw-700 {
  font-weight: 700;
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-40 {
  margin-bottom: 40px;
}

.d-flex {
  display: flex;
}

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

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

/* ── SECTION HEADER ── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.02em;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 86, 179, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 86, 179, 0.36);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-teal);
}

.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-1px);
}

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

/* ── TOP INFO BAR ── */
.topbar {
  background: var(--navy);
  padding: 7px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.topbar .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 28px;
  gap: 16px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
}

.topbar-item svg {
  opacity: 0.7;
  flex-shrink: 0;
}

.topbar-divider {
  opacity: 0.3;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 4px;
}

.topbar-socials a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar-socials a.facebook { color: #1877F2; }
.topbar-socials a.instagram { 
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.topbar-socials a.threads { color: #fff; }

.topbar-socials a:hover {
  filter: none;
  transform: none;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 2px solid var(--teal-light);
  box-shadow: 0 4px 24px rgba(13, 33, 55, 0.08);
  transition: box-shadow 0.3s;
}

.navbar .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  gap: 20px;
  padding: 0 28px;
}

/* Brand — locked to far left */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
  margin-left: 0;
}

.brand-logo-img {
  height: 84px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: -4px;
  transition: transform 0.3s var(--transition);
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--primary);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.8px;
  transition: color 0.3s;
}

.navbar-brand:hover .brand-name {
  color: var(--teal);
}

.brand-tagline {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 2.8px;
  white-space: nowrap;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 2px;
}

/* Nav links — center */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  margin: 0 auto;
}

.navbar-nav a {
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  transition: var(--transition);
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.navbar-nav a:hover {
  color: var(--teal);
}

.navbar-nav a:hover::after {
  transform: scaleX(1);
}

.navbar-nav a.active {
  color: var(--teal);
}

.navbar-nav a.active::after {
  transform: scaleX(1);
}

/* CTA buttons — far right */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 9px 16px !important;
  font-size: 13px !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
  border: none;
  background: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

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

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - var(--navbar-h));
  background: #fff;
  z-index: 998;
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu a:hover {
  color: var(--teal);
  background: var(--teal-light);
}

.mobile-menu .mobile-cta {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mobile-menu .mobile-cta .btn {
  flex: 1;
  justify-content: center;
}

/* ── HERO ── */
.hero {
  /* topbar(~29px) + navbar(84px) + hero + net-stats(44px) = 100vh
     hero = calc(100vh - 29px - 88px - 44px) = calc(100vh - 161px) */
  height: calc(100vh - 161px);
  min-height: 460px;
  max-height: 800px;
  background:
    linear-gradient(105deg,
      rgba(10, 28, 50, 0.82) 0%,
      rgba(13, 33, 55, 0.60) 55%,
      rgba(0, 0, 0, 0.25) 100%),
    url('../assets/images/hero_new.png') right 40% / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
}

.container-hero {
  max-width: 1200px;
  padding: 0 28px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.hero-content {
  max-width: 540px;
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(26, 170, 126, 0.35);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-title .text-teal {
  color: #4dd9a5;
  transition: transform 0.3s;
  display: inline-block;
}

.hero-title .font-zapfino {
  font-size: 1.15em;
  line-height: 1;
  vertical-align: baseline;
  margin-left: -2px;
  margin-right: -2px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-actions .btn-lg {
  border-radius: var(--radius-sm);
}

/* ── TESTIMONIALS SLIDER & LAYOUT ── */
.testimonials-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
  text-align: left;
}
.testi-wrapper-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0; /* Prevents flex items from overflowing */
}
.testi-nav {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--border-soft);
  color: var(--navy); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer; transition: all 0.3s;
  flex-shrink: 0; z-index: 5;
}
.testi-nav:hover { background: var(--teal); color: #fff; transform: scale(1.1); border-color: var(--teal); }

.testimonials-scroll {
  display: flex; gap: 24px; overflow-x: auto;
  padding: 10px 0 20px; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  width: 100%;
}
.testimonials-scroll::-webkit-scrollbar { display: none; }
.testimonial-card {
  min-width: 320px; flex: 1;
}

@media (max-width: 1000px) {
  .testimonials-layout { grid-template-columns: 1fr; }
  .cta-card { margin-top: 24px; width: 100%; max-width: none; }
}
@media (max-width: 600px) { .testimonial-card { min-width: 260px; } }
.container-stats-overlap {
  position: relative;
  z-index: 20;
  margin-top: -44px;
  /* overlap hero by 44px */
}

.stats-bar {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(13, 33, 55, 0.13), 0 2px 8px rgba(13, 33, 55, 0.06);
  padding: 0;
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.stat-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-right: 1px solid var(--border-soft);
  transition: var(--transition);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--bg-soft);
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}

.stat-item:hover::after {
  transform: scaleX(1);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-icon.pats {
  background: #e6f7f2;
}

.stat-icon.years {
  background: #e8f0fe;
}

.stat-icon.surg {
  background: #edf7ed;
}

.stat-icon.rate {
  background: #fff8e1;
}

.stat-num {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  font-family: 'Roboto', sans-serif;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 2px;
}

/* ── SERVICES ── */
.services-section {
  background: var(--bg-soft);
}

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

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border-soft);
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--primary));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-icon-wrap .service-icon {
  font-size: 32px;
  color: var(--teal);
  margin-bottom: 0;
}

.service-card:hover .service-icon-wrap {
  background: var(--teal);
  transform: rotate(-5deg) scale(1.08);
}

.service-card:hover .service-icon-wrap .service-icon {
  color: #fff;
}

.service-icon {
  font-size: 32px;
  color: var(--teal);
}

.service-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.service-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
  display: block;
}

/* ── TEAM ── */
.team-section {
  background: var(--bg-soft);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.doctor-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}

.doctor-photo {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(180deg, #1a2e4a 0%, #0d1b2e 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-photo img {
  transform: scale(1.06);
}

.doctor-info {
  padding: 18px 16px 20px;
}

.doctor-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.doctor-title {
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.doctor-spec {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spec-item {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-item::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   TEAM HORIZONTAL CARDS — unique accent per card
   Each nth-child gets its own --ca (accent) + --cal (light)
   + --cpg (photo gradient)
══════════════════════════════════════════════════════ */
.team-grid-h {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 124px;
  /* increased from 118px to ensure and name visibility */
  gap: 16px;
  margin-top: 20px;
}


/* ── Card shell — horizontal, fixed height via grid-auto-rows ── */
.doctor-card-h {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--border-soft);
  box-shadow: 0 3px 16px rgba(13, 33, 55, 0.07);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
  /* fill the fixed grid-auto-rows height */
  position: relative;
  overflow: visible;
  /* no clip on hover lift */
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.doctor-card-h:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(13, 33, 55, 0.13),
    0 0 0 2px rgba(26, 170, 126, 0.2);
  border-color: var(--teal);
}

/* remove all pseudo-element decorations */
.doctor-card-h::before,
.doctor-card-h::after {
  display: none;
}

.doctor-photo-h {
  width: 110px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #0d2137 0%, #1e3f60 100%);
  overflow: hidden;
  border-radius: 14px 0 0 14px;
  position: relative;
}

.doctor-photo-h::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  background: var(--teal);
  z-index: 2;
  opacity: 0.85;
}

.doctor-photo-h img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform-origin: top center;
  /* zoom from top → head stays visible */
  transition: transform 0.45s ease;
  display: block;
}

.doctor-card-h:hover .doctor-photo-h img {
  transform: scale(1.06);
}

/* Placeholder */
.doctor-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
}

/* ── Info panel ── */
.doctor-info-h {
  padding: 15px 15px 15px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.doctor-info-h .doctor-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Role badge */
.doctor-info-h .doctor-title {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  white-space: nowrap;
  color: var(--teal);
  background: var(--teal-light);
  border: 1px solid rgba(26, 170, 126, 0.25);
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 10px;
  align-self: flex-start;
}

/* Spec rows */
.doctor-info-h .doctor-spec {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 0;
}

.doctor-info-h .spec-item {
  font-size: 11.5px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  line-height: 1.3;
}

.doctor-info-h .spec-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  opacity: 0.85;
}

/* Doctor Grid Wrapper */
.team-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 52px;
}

/* Base card */
.doctor-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.doctor-photo {
  aspect-ratio: 4/5;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.doctor-card:hover .doctor-photo img {
  transform: scale(1.08);
}

.doctor-info {
  padding: 24px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.doctor-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.doctor-title {
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.doctor-spec {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.spec-item {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.spec-item::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── VIP SECTION ── */
.vip-section {
  background: var(--bg);
  padding: 80px 0;
}

/* ── Role groups ── */
.vip-role-group {
  margin-top: 48px;
  text-align: left;
}

.vip-role-header {
  margin-bottom: 24px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.vip-role-label {
  display: inline-block;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.8px !important;
  color: var(--navy) !important;
  border-left: 3px solid var(--teal) !important;
  padding-left: 12px !important;
  line-height: 1 !important;
}

/* ── Cards row (centred) ── */
.vip-cards-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  justify-content: center !important;
  max-width: 1200px;
  margin: 0 auto;
}

.vip-card {
  width: 130px !important;
  background: #fff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid var(--border-soft) !important;
  text-align: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 12px rgba(13, 33, 55, 0.05) !important;
  cursor: pointer;
  flex-shrink: 0 !important;
}

.vip-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 12px 32px rgba(13, 33, 55, 0.12) !important;
  border-color: var(--teal) !important;
}

.vip-photo {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1/1 !important;
  background: var(--bg-soft) !important;
  overflow: hidden !important;
}

.vip-icon {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-size: 32px !important;
  color: var(--teal) !important;
}

.vip-photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}

.vip-card:hover .vip-photo img {
  transform: scale(1.1) !important;
}

.vip-info {
  padding: 10px 8px 12px !important;
  background: #fff !important;
}

.vip-name {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  line-height: 1.2 !important;
}

/* ── TESTIMONIALS ── */
.testimonials-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  margin-top: 40px;
}

.testimonials-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.testimonials-scroll::-webkit-scrollbar {
  height: 4px;
}

.testimonials-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.testimonials-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.testimonial-card {
  min-width: 300px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border-soft);
  scroll-snap-align: start;
  text-align: left;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  flex-shrink: 0;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
  transform: translateY(-3px);
}

.testi-stars {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.testi-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--primary));
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.testi-role {
  font-size: 12px;
  color: var(--text-light);
}

/* CTA card in testimonials */
.cta-card {
  background: linear-gradient(145deg, var(--primary), var(--navy-mid));
  border-radius: var(--radius);
  padding: 32px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 86, 179, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
}

.cta-card-text {
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.65;
}

.cta-card .btn {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta-card .btn:hover {
  background: var(--teal-light);
  color: var(--teal);
  transform: translateY(-2px);
}

/* ── PAGE HERO (Sleek Compact Header) ── */
.page-hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  /* Adjusted to a precise 200px */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(26, 170, 126, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(0, 86, 179, 0.15) 0%, transparent 60%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding: 28px 20px;
}

.page-hero .section-title {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px) !important;
  margin-bottom: 10px !important;
}

.page-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  max-width: 650px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a {
  color: var(--teal);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  opacity: 0.6;
}

/* ── MAIN CONTENT SPACING (after hero) ── */
.page-hero+.section {
  padding-top: 16px !important;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  margin-top: 48px;
}

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

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.contact-card:hover {
  transform: translateX(4px);
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--teal);
  margin-bottom: 5px;
}

.contact-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.contact-value a:hover {
  color: var(--teal);
}

.contact-sub {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 3px;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  font-family: 'DM Serif Display', serif;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
  display: block;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-glow);
  background: #fff;
}

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

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%230d2137' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: var(--bg-soft);
}

/* ── ABOUT PAGE ── */

/* Founder section */
.founder-section {
  background: var(--bg);
}

.founder-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: flex-start;
}

.founder-photo-col {
  position: relative;
}

.founder-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, #e8f4fd, #d1eaff);
  aspect-ratio: 3/4;
}

.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.founder-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--teal);
  border-radius: var(--radius);
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(26, 170, 126, 0.4);
  color: #fff;
}

.founder-badge-num {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  line-height: 1;
  display: block;
  font-weight: 400;
}

.founder-badge-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  display: block;
  margin-top: 3px;
}

.founder-info-col {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.founder-designation {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 20px;
}

.founder-bio {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}

.founder-highlights {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 24px 0 32px;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
}

.founder-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.fh-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.fh-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.fh-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.founder-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* About stats bar */
.about-stats-bar {
  background: var(--navy);
  padding: 48px 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.about-stat-item {
  padding: 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stat-item:last-child {
  border-right: none;
}

.about-stat-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.about-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
}

.about-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
  font-weight: 500;
}

/* About story */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-story-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-story-text {
  display: flex;
  flex-direction: column;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.value-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border-soft);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--primary));
  transform: scaleX(0);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.value-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.value-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Legacy compat */
.about-hero {
  background: var(--bg-soft);
  padding: 72px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 20px;
  flex-shrink: 0;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.feature-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 3px;
}

/* ── SERVICES PAGE ── */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-full-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border-soft);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.service-full-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-full-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 28px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-full-card:hover .service-full-icon {
  background: var(--teal);
  color: #fff;
}

.service-full-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-full-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.service-bullet {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text);
}

.service-bullet::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── PROCESS STEPS (services page — 4 steps) ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* ── TEAM PAGE FULL ── */
.team-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 12px;
}

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

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

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-name {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-brand-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 19px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link.facebook { background: #1877F2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-link.threads { background: #000; border: 1px solid rgba(255, 255, 255, 0.2); }

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

.social-link i {
  transition: transform 0.4s ease;
}

.social-link:hover i {
  transform: scale(1.1) rotate(8deg);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

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

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--teal);
}

.footer-newsletter .form-input {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  margin-top: 12px;
  padding: 11px 14px;
}

.footer-newsletter .form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter .form-input:focus {
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter .btn {
  width: 100%;
  margin-top: 10px;
  justify-content: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--teal);
}

.footer-legal {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ── FLASH MESSAGES ── */
.flash {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flash-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.flash-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: float-wa 3s ease-in-out infinite;
  font-size: 28px;
  line-height: 1;
}

.whatsapp-float:hover {
  background: #1da851;
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

@keyframes float-wa {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid-h {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 124px;
  }


  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

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

  .team-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid-h {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 124px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials-layout {
    grid-template-columns: 1fr;
  }

  .services-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About page */
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder-img-wrap {
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 4/3;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stat-item:nth-child(2) {
    border-right: none;
  }

  .about-stat-item:nth-child(3),
  .about-stat-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-h: 64px;
  }

  /* Show topbar on mobile */
  .topbar {
    display: block;
  }

  .topbar-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 8px 20px;
  }

  .topbar-left,
  .topbar-right {
    justify-content: center;
    width: 100%;
    gap: 12px;
  }

  .topbar-divider {
    display: none;
  }

  /* Mobile menu: no adjustment needed because it's now top:100% of navbar */
  .navbar-nav {
    display: none;
  }

  .navbar-actions .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Tighter horizontal gutters */
  .container {
    padding: 0 20px;
  }

  /* Vertical rhythm */
  .section {
    padding: 52px 0;
  }

  .section-sm {
    padding: 36px 0;
  }

  /* Hero: offset total nav space at start */
  .hero {
    height: calc(100vh - var(--navbar-h) - 36px);
    min-height: 480px;
    max-height: none;
  }

  /* Inner-page hero */
  .page-hero {
    padding: 44px 0;
  }

  /* CTA banner */
  .cta-banner {
    padding: 36px 24px;
  }

  .cta-title {
    font-size: 26px;
  }

  /* Contact form card */
  .form-card {
    padding: 28px 22px;
  }

  .container-stats-overlap {
    margin-top: -40px;
  }

  .stats-bar {
    flex-wrap: wrap;
  }

  .stat-item {
    min-width: 48%;
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border-soft);
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-mini-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .services-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid-h {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 118px;
  }

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

  .hero-actions .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .founder-cta .btn {
    justify-content: center;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 14px;
  }

  .section {
    padding: 40px 0;
  }

  .section-sm {
    padding: 28px 0;
  }

  .page-hero {
    min-height: 280px;
    padding: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .svc-mini-grid {
    grid-template-columns: 1fr !important;
    max-width: 320px !important;
  }

  .services-full-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid-h {
    grid-template-columns: 1fr;
    grid-auto-rows: 124px;
  }

  .doctor-photo-h {
    width: 90px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .stat-item {
    min-width: 100%;
    border-right: none !important;
  }

  .hero-title {
    font-size: clamp(30px, 9vw, 42px);
  }

  /* Navbar brand — shrink on small phones */
  .brand-logo-img {
    height: 52px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-tagline {
    font-size: 10px;
    letter-spacing: 0.8px;
    white-space: normal;
  }

  /* CTA banner */
  .cta-banner {
    padding: 28px 18px;
  }

  .cta-title {
    font-size: 22px;
  }

  /* About founder */
  .founder-highlights {
    padding: 16px;
    gap: 12px;
  }

  /* Contact form card */
  .form-card {
    padding: 20px 16px;
  }

  /* About stats — 2-col border corrections */
  .about-stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .about-stat-item:nth-child(even) {
    border-right: none;
  }

  .about-stat-item:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Value cards */
  .value-card {
    padding: 24px 18px;
  }
}

/* ── VERY SMALL PHONES (iPhone SE, Galaxy A-series, ≤400px) ── */
@media (max-width: 400px) {
  .container {
    padding: 0 12px;
  }

  .section {
    padding: 32px 0;
  }

  /* Brand */
  .brand-logo-img {
    height: 44px;
  }

  .brand-name {
    font-size: 17px;
  }

  /* Stats bar numbers */
  .stat-num {
    font-size: 20px;
  }

  .stat-label {
    font-size: 11px;
  }

  /* Hero eyebrow badge */
  .hero-eyebrow {
    font-size: 9px;
    padding: 7px 16px;
  }

  .hero-desc {
    font-size: 14px;
  }

  /* Team horizontal card photo */
  .doctor-photo-h {
    width: 80px;
  }

  /* About stat numbers */
  .about-stat-num {
    font-size: 28px;
  }

  /* WhatsApp float — smaller on tiny screens */
  .whatsapp-float {
    right: 14px;
    bottom: 18px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  /* Mobile menu CTA — stack buttons vertically */
  .mobile-menu .mobile-cta {
    flex-direction: column;
  }
}

/* ── NAVBAR, HERO CONTAINER & PROCESS GRID RESPONSIVE PADDING ── */
/* These elements have their own padding separate from .container */
@media (max-width: 768px) {
  .navbar-inner {
    padding: 0 20px;
  }

  .container-hero {
    padding: 0 20px;
  }

  .footer {
    padding-top: 48px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .testimonial-card {
    min-width: min(300px, 82vw);
  }
}

@media (max-width: 540px) {
  .navbar-inner {
    padding: 0 16px;
  }

  .container-hero {
    padding: 0 14px;
  }

  .footer {
    padding-top: 36px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .testimonial-card {
    min-width: min(280px, 86vw);
  }

  .doctor-info-h {
    padding: 12px 14px 14px;
    justify-content: flex-start;
  }

  .container-stats-overlap {
    margin-top: -24px;
  }
}

@media (max-width: 400px) {
  .navbar-inner {
    padding: 0 12px;
  }

  .container-hero {
    padding: 0 12px;
  }

  .footer {
    padding-top: 28px;
  }

  /* Process grid → single column at very small sizes (overrides 768px rule above) */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    min-width: min(260px, 90vw);
  }
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(26, 170, 126, 0.12);
}

.cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.cta-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
}



/* Spacing recovery utilities */
.pb-0 {
  padding-bottom: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.mt-20 {
  margin-top: 20px !important;
}

/* Card shell */
.svc-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 28px rgba(13, 33, 55, 0.09);
  transition: var(--transition);
  color: inherit;
  position: relative;
}

.svc-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 64px rgba(13, 33, 55, 0.16);
  border-color: rgba(26, 170, 126, 0.35);
}

/* Dark gradient header */
.svc-head {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 144px;
}

/* Teal glow at bottom-right */
.svc-head::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 170, 126, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

/* Subtle top-left circle */
.svc-head::after {
  content: '';
  position: absolute;
  top: -24px;
  left: -24px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

/* Icon */
.svc-icon-wrap {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: rgba(26, 170, 126, 0.18);
  border: 1.5px solid rgba(26, 170, 126, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.svc-icon {
  font-size: 34px;
  display: block;
  line-height: 1;
}

.svc-card:hover .svc-icon-wrap {
  background: var(--teal);
  border-color: var(--teal);
  transform: rotate(-6deg) scale(1.1);
}

/* Ghost number */
.svc-num {
  font-family: 'DM Serif Display', serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  position: absolute;
  bottom: 6px;
  right: 18px;
  pointer-events: none;
  user-select: none;
  transition: var(--transition);
}

.svc-card:hover .svc-num {
  color: rgba(255, 255, 255, 0.12);
}

/* Body */
.svc-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.svc-name {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
}

.svc-desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.72;
  margin: 0;
}

.svc-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0;
}

.svc-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
}

.svc-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.svc-cta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.svc-card:hover .svc-cta {
  gap: 12px;
  color: var(--teal-dark);
}

/* Responsive: 2-col on tablet, 1-col on phone */
@media (max-width: 900px) {
  .services-grid-home {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .services-grid-home {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .svc-head {
    min-height: 120px;
    padding: 24px 22px 22px;
  }

  .svc-body {
    padding: 20px 22px 24px;
  }

  .svc-num {
    font-size: 56px;
  }
}

/* Fade-in animation for new cards */
@media (prefers-reduced-motion: no-preference) {
  .svc-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
  }

  .svc-card:nth-child(1) {
    animation-delay: 0.05s;
  }

  .svc-card:nth-child(2) {
    animation-delay: 0.13s;
  }

  .svc-card:nth-child(3) {
    animation-delay: 0.21s;
  }
}

/* ── SCROLL ANIMATIONS (lightweight) ── */
@media (prefers-reduced-motion: no-preference) {

  .service-card,
  .doctor-card,
  .vip-card,
  .testimonial-card,
  .svc-mini-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
  }

  .service-card:nth-child(1) {
    animation-delay: 0.05s;
  }

  .service-card:nth-child(2) {
    animation-delay: 0.10s;
  }

  .service-card:nth-child(3) {
    animation-delay: 0.15s;
  }

  .doctor-card:nth-child(1) {
    animation-delay: 0.05s;
  }

  .doctor-card:nth-child(2) {
    animation-delay: 0.10s;
  }

  .doctor-card:nth-child(3) {
    animation-delay: 0.15s;
  }

  .doctor-card:nth-child(4) {
    animation-delay: 0.20s;
  }

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