/* ============================================================
   DHT CLINIC — Health Tourism Design System v4
   Palette: Soft White · Welcoming Blue · Gentle Mint
   Philosophy: Serene · Welcoming · Clean
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Core Palette */
  --blue-800:   #1a4f8a;
  --blue-600:   #2575c4;
  --blue-400:   #3a8ef5;
  --blue-100:   #e8f4fd;

  --mint-700:   #1a9c8a;
  --mint-500:   #26b2a0;
  --mint-300:   #76ccbf;
  --mint-100:   #e6f7f5;

  --neutral-900: #1e2d3d;
  --neutral-700: #344a5e;
  --neutral-500: #5c7a8d;
  --neutral-300: #9bb5c5;
  --neutral-100: #f0f6fa;
  --neutral-50:  #f8fbfd;

  --white: #ffffff;

  /* Semantic */
  --primary:        var(--blue-600);
  --primary-hover:  var(--blue-800);
  --accent:         var(--primary); /* Removed mint green */
  --accent-hover:   var(--primary-hover);
  --accent-bg:      var(--blue-100);
  --text-heading:   var(--neutral-900);
  --text-body:      var(--neutral-700);
  --text-muted:     var(--neutral-500);
  --bg-page:        var(--white);
  --bg-section:     var(--neutral-50);
  --border:         rgba(30, 45, 61, 0.08);

  /* Typography */
  --ff-head:   'Plus Jakarta Sans', sans-serif;
  --ff-body:   'Inter', system-ui, sans-serif;

  /* Motion */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t2: all 0.25s var(--ease-out);
  --t3: all 0.35s var(--ease-out);
  --t5: all 0.55s var(--ease-out);

  /* Shadows — soft, warm */
  --shadow-xs:  0 1px 2px rgba(30, 45, 61, 0.04);
  --shadow-sm:  0 3px 6px rgba(30, 45, 61, 0.06);
  --shadow-md:  0 8px 16px rgba(30, 45, 61, 0.07);
  --shadow-lg:  0 16px 32px rgba(30, 45, 61, 0.08);
  --shadow-xl:  0 24px 48px rgba(30, 45, 61, 0.1);

  /* Borders */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   26px;
  --radius-pill: 999px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  color: var(--text-body);
  background: var(--bg-section);
  overflow-x: hidden;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 0.5em;
}

p { line-height: 1.8; margin-bottom: 1.2em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal       { transform: translateY(28px); }
.reveal-left  { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Utility ──────────────────────────────────────────────── */
.text-primary-custom { color: var(--primary) !important; }
.text-teal           { color: var(--accent)  !important; }
.text-muted-custom   { color: var(--text-muted) !important; }
.bg-section          { background-color: var(--bg-section) !important; }
.bg-alt              { background-color: var(--bg-alt) !important; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.2px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--t2);
}
.btn-primary-custom:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 117, 196, 0.25);
}

.btn-accent-custom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.2px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--t2);
}
.btn-accent-custom:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 178, 160, 0.2);
}

.btn-outline-light-custom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--t2);
  backdrop-filter: blur(6px);
}
.btn-outline-light-custom:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  font-weight: 700;
}

/* ── Top Bar ──────────────────────────────────────────────── */
.top-bar {
  background: var(--bg-section);
  color: var(--text-muted);
  font-family: var(--ff-body);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.top-bar a {
  color: var(--text-muted);
  transition: var(--t2);
  text-decoration: none;
}
.top-bar a:hover { color: var(--primary); }
.top-bar i { color: var(--primary); margin-right: 6px; }

/* ── Navbar ───────────────────────────────────────────────── */
.main-navbar {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 45, 61, 0.08);
  padding: 16px 0;
  transition: padding 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.main-navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}
.navbar-brand img { height: 48px; transition: height 0.3s var(--ease-out); }
.main-navbar.scrolled .navbar-brand img { height: 40px; }

.navbar-toggler {
  border: none;
  font-size: 1.4rem;
}
.navbar-toggler:focus { box-shadow: none; }

.nav-link {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-heading) !important;
  padding: 8px 13px !important;
  transition: var(--t2);
  position: relative;
}
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 13px;
        width: 0;
        height: 2px;
        background: var(--accent);
        border-radius: 2px;
        transition: var(--t3);
        opacity: 0;
    }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.nav-link:hover::after { width: calc(100% - 26px); }

.navbar-top-content {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  margin: 0 -16px 16px;
}

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  background: var(--white);
  margin-top: 0 !important; /* Remove margin for hover to work */
  animation: fadeDown 0.22s var(--ease-out);
  min-width: 240px;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
  font-family: var(--ff-body);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  transition: var(--t2);
}
.dropdown-item:hover, .dropdown-item.active {
  background: var(--blue-100);
  color: var(--primary);
}
.dropdown-item i { color: var(--accent); width: 18px; }

/* ── Section Typography ───────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 18px;
}
.section-title span { color: var(--accent); }

.section-title-center {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  color: var(--text-heading);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 18px;
}
.section-title-center span { color: var(--accent); }

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
}
.section-lead.center { margin: 0 auto 1.2em; text-align: center; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero-slider .item, .hero-slide {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /*background: linear-gradient(105deg, rgba(15, 52, 96, 0.85) 0%, rgba(26, 79, 138, 0.6) 100%);*/
}
.hero-slider .container {
  position: relative;
  z-index: 2; /* Ensure content is above overlay */
}

.hero-title {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title em {
  font-style: normal;
  color: var(--mint-300);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hero-slider .item, .hero-slide { height: 80vh; min-height: 500px; }
}

.hero-slider.owl-theme .owl-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-slider.owl-theme .owl-dots .owl-dot span {
  background: rgba(255,255,255,0.4);
  transition: var(--t2);
}
.hero-slider.owl-theme .owl-dots .owl-dot.active span,
.hero-slider.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--white);
}


/* ── Features Strip ───────────────────────────────────────── */
.feature-item {
  text-align: center;
  padding: 20px;
}
.feature-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  background: var(--blue-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
}
.feature-item h6 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.feature-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Unified card style for features and general info */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--t3);
  position: relative;
  overflow: hidden;
}
.info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.info-card-icon {
  width: 64px; height: 64px;
  background: var(--blue-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--primary);
  margin: 0 auto 22px;
  transition: var(--t3);
}
.info-card:hover .info-card-icon { background: var(--accent); color: #fff; }
.info-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-heading);
}
.info-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 0; }


/* ── Treatment Cards ──────────────────────────────────────── */
.treatment-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--t3);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.treatment-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.treatment-card-img-wrapper {
  overflow: hidden;
}
.treatment-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  aspect-ratio: 16/10;
}
.treatment-card:hover .treatment-card-img { transform: scale(1.05); }

.treatment-card-body { padding: 24px 28px 28px; flex-grow: 1; display: flex; flex-direction: column; }
.treatment-card-title, .treatment-card-title a {
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-heading); margin-bottom: 10px;
  transition: var(--t3);
}
.treatment-card:hover .treatment-card-title a { color: var(--primary); }
.treatment-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0; flex-grow: 1; }
.treatment-card-link {
  margin-top: 20px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  transition: var(--t2);
}
.treatment-card-link i { transition: transform 0.2s ease-in-out; }
.treatment-card:hover .treatment-card-link { color: var(--accent); }
.treatment-card:hover .treatment-card-link i { transform: translateX(4px); }

/* ── Interactive Treatment List ───────────────────────────── */
.treatment-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.treatment-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: var(--t3);
  box-shadow: var(--shadow-xs);
}
.treatment-list-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}
.treatment-list-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}
.treatment-list-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--blue-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--t2);
}
.treatment-list-item.active .treatment-list-icon { background: var(--primary); color: var(--white); }
.treatment-list-item h6 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; color: var(--text-heading); }
.treatment-list-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.treatment-list-item .arrow { margin-left: auto; color: var(--neutral-300); transition: var(--t2); }
.treatment-list-item.active .arrow { color: var(--primary); transform: translateX(3px); }
.treatment-image-viewer { position: sticky; top: 120px; }
.treatment-image-viewer img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); transition: opacity 0.3s ease-in-out;
}

.swiper-button-prev, .swiper-button-next {
  position: static;
  width: 38px; height: 38px;
  margin: 0;
  background: var(--blue-100);
  border-radius: 50%;
  color: var(--primary);
  transition: var(--t2);
}
.swiper-button-prev:hover, .swiper-button-next:hover {
  background: var(--primary);
  color: var(--white);
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 0.9rem; font-weight: 800; }

/* ── Before / After Slider ────────────────────────────────── */
.ba-slider-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  user-select: none;
  background: #dce8f0;
}
.ba-slider {
  position: relative; width: 100%;
  height: 0; padding-top: 125%; overflow: hidden; /* Adjusted for portrait images */
}
.ba-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.ba-slider .resize-img {
  position: absolute; inset: 0;
  width: 50%; height: 100%; overflow: hidden; z-index: 2;
}
.ba-slider .resize-img img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: #fff;
  cursor: ew-resize; z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
}
.ba-handle-circle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 42px; height: 42px;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
}
.ba-label {
  position: absolute; bottom: 12px;
  font-family: var(--ff-head); font-size: 0.68rem;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: #fff;
  background: rgba(15,52,96,0.65);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  z-index: 4; pointer-events: none;
}
.ba-label-before { left: 12px; }
.ba-label-after  { right: 12px; }

/* ── Page Header (for sub-pages) ──────────────────────────── */
.page-header {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.page-header .lead {
  color: var(--text-muted);
}

/* ── Image card badge ─────────────────────────────────────── */
.img-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-lg);
}
.img-badge .num {
  font-family: var(--ff-head);
  font-size: 1.75rem; font-weight: 800;
  color: var(--primary); line-height: 1;
}
.img-badge .lbl { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

.img-rounded {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ── Stat pill (Who we are section) ──────────────────────── */
.stat-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: var(--t3);
}
.stat-pill:hover {
  border-color: var(--accent);
}
.stat-pill .num { 
  font-family: var(--ff-head);
  font-size: 1.9rem; font-weight: 800;
  color: var(--primary); line-height: 1;
}
.stat-pill .lbl { font-size: 0.77rem; color: var(--text-muted); margin-top: 4px; }

/* ── Commitment List (Who We Are section) ─────────────────── */
.commitment-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.commitment-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--blue-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}
.commitment-item h6 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 4px;
}
.commitment-item p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* ── Contact Info Card ────────────────────────────────────── */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-section);
  padding: 20px;
  border-radius: var(--radius-lg);
}
.contact-info-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 4px;
}
.contact-info-card h6 {
  font-weight: 700;
}

/* ── Appointment / CTA Section ────────────────────────────── */
.appointment-section {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-form .form-control, .cta-form .form-select {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  transition: var(--t3);
}
.cta-form .form-control::placeholder {
  color: rgba(255,255,255,0.5);
}
.cta-form .form-control:focus, .cta-form .form-select:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
  color: var(--white);
  outline: none;
}
.cta-form .form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
}

/* ── Form Card (used in CTA sections) ─────────────────────── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 { color: var(--text-heading); margin-bottom: 8px; }
.form-card .form-label {
  font-weight: 600; color: var(--text-body);
}
.form-card .form-control, .form-card .form-select {
  background: var(--neutral-50);
  border: 1px solid var(--border);
  color: var(--text-body);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  transition: var(--t3);
}
.form-card .form-control::placeholder { color: var(--text-muted); }
.form-card .form-control:focus, .form-card .form-select:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 142, 245, 0.2);
  color: var(--text-heading);
  outline: none;
}
.form-card textarea.form-control { min-height: 108px; resize: none; }

/* Legacy form styles (to be removed later) */
.glass-form-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
}


/* ── Blog ─────────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--t3);
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-card.horizontal {
  /* This style is no longer primary, but kept for potential other uses */
  display: flex; align-items: center; gap: 24px;
}
.blog-card.horizontal .blog-card-img-wrapper {
  flex-shrink: 0; width: 220px; height: 100%;
}
.blog-card-img-wrapper { overflow: hidden; position: relative; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); aspect-ratio: 16/10; }
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-body { padding: 26px; }
.blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--primary);
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  z-index: 2;
}
.blog-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.blog-card-title a { color: var(--text-heading); transition: var(--t2); }
.blog-card:hover .blog-card-title a { color: var(--primary); }
.blog-card-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.8rem; color: var(--text-muted); margin-top: 16px;
}
.blog-card-meta i { margin-right: 5px; }

/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget-title {
  font-family: var(--ff-head);
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-100);
}
.popular-post-item {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px; text-decoration: none; transition: var(--t2);
}
.popular-post-item:hover { transform: translateX(3px); }
.popular-post-img { width: 66px; height: 66px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.popular-post-title { font-size: 0.87rem; font-weight: 600; color: var(--text-heading); line-height: 1.4; transition: var(--t2); }
.popular-post-item:hover .popular-post-title { color: var(--primary); }

.category-badge {
  display: block;
  background: var(--neutral-100);
  color: var(--text-body);
  border: 1px solid var(--border);
  padding: 5px 13px; border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 600;
  margin: 0 5px 8px 0; transition: var(--t2); text-decoration: none;
}
.category-badge:hover, .category-badge.active { background: var(--blue-100); color: var(--primary); border-color: var(--primary); }

/* ── Pagination ───────────────────────────────────────────── */
.pagination .page-link {
  border-radius: var(--radius-sm) !important;
  margin: 0 3px;
  border-color: var(--border);
  color: var(--text-muted);
}
.pagination .page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.pagination .page-link:hover {
  background-color: var(--blue-100);
  color: var(--primary);
}

/* ── Blog Content ─────────────────────────────────────────── */
.blog-content {
  font-size: 1.05rem;
  line-height: 1.8;
}
.blog-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5em;
  margin-bottom: 1em;
}
.blog-content ul {
  padding-left: 20px;
  margin-bottom: 1.5em;
}
.blog-content ul li {
  margin-bottom: 0.5em;
}
.blockquote {
  background: var(--bg-section);
  border-left: 4px solid var(--primary);
  padding: 24px;
  margin: 2em 0;
}

/* ── Accordion ────────────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 8px; overflow: hidden;
}
.accordion-button {
  font-family: var(--ff-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-heading) !important;
  background: var(--white) !important;
  padding: 16px 20px;
}
.accordion-button:not(.collapsed) {
  background: var(--blue-100) !important;
  color: var(--primary) !important;
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2326b2a0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-body { font-size: 0.9rem; color: var(--text-muted); line-height: 1.78; padding: 12px 20px 18px; }

/* ── Footer ───────────────────────────────────────────────── */
.footer-main {
  background: var(--neutral-900) url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' fill-rule='evenodd'%3e%3cg fill='%23ffffff' fill-opacity='0.03'%3e%3cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e");
  color: var(--text-muted);
  padding: 80px 0 0;
}
.footer-logo { height: 52px; margin-bottom: 20px; display: block; }
.footer-heading {
  font-family: var(--ff-head);
  font-size: 0.88rem; font-weight: 700;
  color: var(--white);
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: 0.875rem; color: var(--text-muted);
  transition: var(--t3);
  display: inline-block;
}
.footer-links a:hover { color: var(--white); transform: translateX(4px); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px;
}
.footer-contact-item i { color: var(--primary); font-size: 1rem; margin-top: 4px; flex-shrink: 0; }
.footer-contact-item a, .footer-contact-item p { color: rgba(255,255,255,0.62); font-size: 0.86rem; margin: 0; }
.footer-contact-item a:hover { color: var(--white); }

.footer-social-links { display: flex; gap: 8px; margin-top: 8px; }
    .footer-social-links a {
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.08);
        border-radius: var(--radius-sm);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.65);
        font-size: 0.95rem;
        transition: var(--t3);
        text-decoration: none;
        background: var(--primary);
        color: var(--white);
    }
.footer-social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 60px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Floating Buttons ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 84px; right: 24px;
  width: 46px; height: 46px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  z-index: 9998; transition: var(--t3);
  text-decoration: none;
}
.whatsapp-float:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.45); }

#scrollTopBtn {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px);
  transition: var(--t3);
  z-index: 9999;
}
#scrollTopBtn.visible { opacity: 1; transform: translateY(0); }
#scrollTopBtn:hover { background: var(--blue-800); transform: translateY(-2px); }

/* ── Process Steps ────────────────────────────────────────── */
.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  height: 100%;
  position: relative;
  transition: var(--t3);
  box-shadow: var(--shadow-sm);
}
.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.process-step-num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-size: 1rem; font-weight: 700;
  box-shadow: 0 0 0 4px var(--bg-section);
  transition: var(--t3);
}
.process-step:hover .process-step-num { background: var(--accent); }
.process-step h6 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; margin-top: 10px; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-slider-owl .owl-stage-outer {
  padding-top: 10px;
  padding-bottom: 10px;
}
.testimonial-slider-owl .owl-item {
  transition: opacity 0.4s ease-out, transform 0.4s ease-out !important;
  opacity: 0.5;
  transform: scale(0.92);
}
.testimonial-slider-owl .owl-item.active.center {
  opacity: 1;
  transform: scale(1);
}
.testimonial-slider-owl .owl-dots {
  margin-top: 20px;
}
.testimonial-slider-owl .owl-dot span {
  background: var(--neutral-300) !important;
}
.testimonial-slider-owl .owl-dot.active span {
  background: var(--primary) !important;
}
.testimonial-slider-owl .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.testimonial-slider-owl .owl-nav button.owl-prev,
.testimonial-slider-owl .owl-nav button.owl-next {
  pointer-events: all;
  width: 44px;
  height: 44px;
  background: var(--white) !important;
  border-radius: 50% !important;
  box-shadow: var(--shadow-md);
  color: var(--primary) !important;
  transition: var(--t2);
  font-size: 1.2rem !important;
}
.testimonial-slider-owl .owl-nav button.owl-prev:hover,
.testimonial-slider-owl .owl-nav button.owl-next:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
}
.testimonial-card-final {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.testimonial-card-icon {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3.5rem;
  color: var(--blue-100);
  line-height: 1;
  z-index: 1;
}
.testimonial-initials {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1.2rem;
}
.testimonial-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 24px;
  padding-top: 10px;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.testimonial-author-name { font-family: var(--ff-head); font-weight: 700; font-size: 1rem; color: var(--text-heading); margin: 0; }
.testimonial-author-origin { font-size: 0.9rem; color: var(--text-muted); }
}

/* Treatment Page Slider */
.treatment-slider .item img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.treatment-slider.owl-theme .owl-dots .owl-dot span {
  background: rgba(30, 45, 61, 0.25);
}
.treatment-slider.owl-theme .owl-dots .owl-dot.active span,
.treatment-slider.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--primary);
}

.treatment-slider-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.treatment-slider .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 10px;
}
.treatment-slider .owl-nav button.owl-prev,
.treatment-slider .owl-nav button.owl-next {
  pointer-events: all;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8) !important;
  border-radius: 50% !important;
  box-shadow: var(--shadow-md);
  color: var(--primary) !important;
  transition: var(--t2);
}
.treatment-slider .owl-nav button.owl-prev:hover,
.treatment-slider .owl-nav button.owl-next:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
}

/* Treatment Features Box */
.treatment-features-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}
.treatment-features-box h6 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}
.treatment-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-body);
}
.treatment-feature-item i { color: var(--primary); font-size: 1.2rem; }

/* New Treatment Detail Section */
.treatment-benefits-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.treatment-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-body);
}
.treatment-benefits-list li i {
  color: var(--accent);
  margin-top: 4px;
}

/* Treatment Quick Facts */
.treatment-quick-facts {
  margin-top: 32px;
  margin-bottom: 32px;
}
.quick-fact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.quick-fact-item .icon {
  flex-shrink: 0;
  font-size: 1.8rem;
  color: var(--primary);
}
.quick-fact-item .label { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.3; }
.quick-fact-item .value { font-family: var(--ff-head); font-weight: 700; font-size: 1rem; color: var(--text-heading); margin: 0; line-height: 1.3; }


/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .main-navbar { padding: 10px 0; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}
@media (max-width: 576px) {
  .section-title, .section-title-center { font-size: 1.65rem; }
  .form-card { padding: 28px 20px; }
  .page-header { padding: 40px 0; }
  .footer-main { padding-top: 60px; }
  .footer-bottom { margin-top: 30px; }
}


.nav-link:focus-visible {
    outline: 0;
    box-shadow: none;
}

.hr-cls {
    width: 100%;
    height: 1px;
    background: #e5e5e5;
    margin: 5px 0;
}