/* ══════════════════════════════════════════════
   CSS Custom Properties
══════════════════════════════════════════════ */
:root {
    --primary: #C22D2D;
    --primary-dark: #9e1f1f;
    --primary-light: #fde8e8;
    --white: #ffffff;
    --foreground: #1a1a2a;
    --muted: #383849;
    --gray-50: #f9f9f9;
    --gray-100: #f0f0f2;
    --border: rgba(0, 0, 0, 0.08);
    --footer-bg: #0f0f1e;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 4px 18px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.13);
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --container: 1280px;
}

/* ══════════════════════════════════════════════
   Reset & Base
══════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--foreground);
  background: var(--white);
  line-height: 1.6;
}

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

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, select, textarea { font-family: inherit; font-size: 0.875rem; }
ul { list-style: none; }

/* ══════════════════════════════════════════════
   Utilities
══════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.section { padding: 4rem 0; }

.bg-light { background: var(--gray-50); }

.w-full { width: 100%; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }

.btn-outline-white {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.25); }

.btn-outline-white-border {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white-border:hover { background: rgba(255, 255, 255, 0.1); }

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover { background: #f0f0f0; }

.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: inherit;
}

/* ── Section Typography ── */
.section-eyebrow {
  color: var(--primary);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.25;
}

.section-desc {
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* ══════════════════════════════════════════════
   Top Bar
══════════════════════════════════════════════ */
.topbar {
  background: var(--primary);
  color: var(--white);
  font-size: 0.96rem;
  padding: 0.6rem 0;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.96rem;
}

.topbar__link {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}
.topbar__link:hover { color: rgba(255, 255, 255, 0.75); }

.topbar__link--hide-sm { display: none; }

/* ══════════════════════════════════════════════
   Navbar
══════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  cursor: pointer;
}

.logo-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--foreground);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Desktop nav links */
.navbar__links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #555;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active { color: var(--primary); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-link.active::after { transform: scaleX(1); }

/* Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  padding: 0.25rem;
  font-size: 1.25rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 1rem;
}
.mobile-menu.open { display: block; }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0.75rem;
}

.mobile-link {
  display: block;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid #f5f5f5;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--primary); }

/* ══════════════════════════════════════════════
   Hero Slider
══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 460px;
  overflow: hidden;
  background: #1f2937;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 55%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-body .container { width: 100%; }

.hero-text {
  max-width: 480px;
  padding: 0 0.5rem;
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
  font-size: 0.9rem;
}
.hero-prev:hover,
.hero-next:hover { background: rgba(0, 0, 0, 0.55); }

.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }

.hero-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.4rem;
}

.hero-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  transition: width 0.3s, background 0.3s;
  padding: 0;
}
.hero-dot.active {
  width: 1.75rem;
  background: var(--white);
}

/* ══════════════════════════════════════════════
   Stats Bar
══════════════════════════════════════════════ */
.stats-bar { background: var(--primary); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 1.5rem 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

/* Remove right border from every 2nd item in 2-col layout */
.stat-item:nth-child(2n) { border-right: none; }

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-top: 0.3rem;
}

/* ══════════════════════════════════════════════
   About
══════════════════════════════════════════════ */
.about-grid {
  display: grid;
  gap: 3rem;
}

.about-para {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
  margin-top: 0.5rem;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #444;
  line-height: 1.4;
}

.feature-dot {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.1rem;
  position: relative;
}

.feature-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--white);
  border-radius: 50%;
}

/* About image — hidden on mobile, shown on tablet+ */
.about-image-col { display: block; }

.about-img-wrap { position: relative; }

.about-img-wrap > img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--gray-100);
}

.about-badge-years {
  position: absolute;
  bottom: -1.5rem;
  left: -1.25rem;
  background: var(--primary);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge-patients {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none;
}

.badge-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge-years .badge-num { color: var(--white); font-size: 2.25rem; }
.about-badge-years .badge-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 0.25rem;
  display: block;
}

.about-badge-patients .badge-num { color: var(--foreground); }
.about-badge-patients .badge-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 0.25rem;
  display: block;
}

/* ══════════════════════════════════════════════
   Services Grid
══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  cursor: pointer;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(194, 45, 45, 0.2);
}

.service-icon {
  display: block;
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.service-card:hover .service-title { color: var(--primary); }

.service-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.65;
}

.learn-more {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.service-card:hover .learn-more {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════════════════════
   Doctors
══════════════════════════════════════════════ */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.doctor-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  margin-bottom: 1rem;
}

.doctor-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.doctor-card:hover .doctor-img-wrap img { transform: scale(1.05); }

.doctor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.doctor-card:hover .doctor-overlay { opacity: 1; }

.doctor-book-btn {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.doctor-card:hover .doctor-book-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.doctor-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.doctor-specialty {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.2rem;
}

.doctor-exp {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ══════════════════════════════════════════════
   Blog
══════════════════════════════════════════════ */
.blog-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.view-all-link:hover { text-decoration: underline; text-underline-offset: 2px; }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
  cursor: pointer;
}
.blog-card:hover { box-shadow: var(--shadow-md); }

.blog-img-wrap {
  height: 12rem;
  overflow: hidden;
  background: var(--gray-100);
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img-wrap img { transform: scale(1.05); }

.blog-body { padding: 1.5rem; }

.blog-date {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.blog-card:hover .blog-title { color: var(--primary); }

.blog-excerpt {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.65;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
}
.blog-read-more:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ══════════════════════════════════════════════
   CTA Banner
══════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, #9e1f1f 0%, #C22D2D 60%, #d94040 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-inner { max-width: 760px; }

.cta-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ══════════════════════════════════════════════
   Contact
══════════════════════════════════════════════ */
.contact-grid { display: grid; gap: 3rem; }

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.2rem;
}

.contact-item p,
.contact-item a {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--primary); }

/* Contact Form */
.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #e0e0e5;
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
  background: var(--white);
  color: var(--foreground);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }

.form-group select { color: #888; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }

.form-group textarea { resize: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Success */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #16a34a;
  font-size: 1.35rem;
}

.form-success h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════
   Footer
══════════════════════════════════════════════ */
.footer { background: var(--footer-bg); color: #9ca3af; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.1rem;
}

.footer-logo-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.footer-logo-est {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

.footer-about {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
}

.social-btn {
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.75rem;
  transition: background 0.2s, color 0.2s;
}
.social-btn:hover { background: var(--primary); color: var(--white); }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #6b7280;
  transition: color 0.2s;
}
.footer-links a i { font-size: 0.6rem; }
.footer-links a:hover { color: var(--primary); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.6;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.footer-contact-item a { color: #6b7280; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.72rem;
  color: #4b5563;
}

/* ══════════════════════════════════════════════
   WhatsApp FAB
══════════════════════════════════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 3.5rem;
  height: 3.5rem;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.65rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: background 0.2s, transform 0.2s;
}
.whatsapp-fab:hover { background: #1ebe5d; transform: scale(1.1); }

/* ══════════════════════════════════════════════
   Modal
══════════════════════════════════════════════ */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}
.modal-backdrop.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  margin: auto;
}

.modal-header {
  background: var(--primary);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.modal-subtitle {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.15rem;
}

.modal-close {
  color: var(--white);
  font-size: 1.15rem;
  opacity: 0.8;
  transition: opacity 0.2s;
  cursor: pointer;
}
.modal-close:hover { opacity: 1; }

.modal-form { padding: 1.5rem; }
.modal-form .form-group { margin-bottom: 1rem; }

.modal-success {
  display: none;
  padding: 2.5rem 2rem;
  text-align: center;
}

.modal-success h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.modal-success p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.appt-id {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem !important;
}

.appt-id strong {
  color: var(--foreground);
  font-weight: 700;
}

/* ══════════════════════════════════════════════
   Responsive — Small phones (≥ 480px)
══════════════════════════════════════════════ */
@media (min-width: 480px) {
  .topbar__link--hide-sm { display: flex; }
}

/* ══════════════════════════════════════════════
   Responsive — Tablet (≥ 640px)
══════════════════════════════════════════════ */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: repeat(2, 1fr); }

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

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ══════════════════════════════════════════════
   Responsive — Tablet (≥ 768px)
══════════════════════════════════════════════ */
@media (min-width: 768px) {
  .section { padding: 5rem 0; }

  .section-title { font-size: 2.25rem; }

  /* Navbar */
  .navbar__inner { height: 80px; }

  /* Hero */
  .hero         { height: 580px; }
  .hero-title   { font-size: 3rem; }

  /* Stats: switch to 4 columns */
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  /* Restore border on 2nd item in 4-col row */
  .stat-item:nth-child(2n)   { border-right: 1px solid rgba(255, 255, 255, 0.2); }
  .stat-item:last-child      { border-right: none; }
  .stat-value { font-size: 2.5rem; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  .about-image-col { display: block; }

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

  /* Doctors */
  .doctors-grid { grid-template-columns: repeat(3, 1fr); }
  .doctor-img-wrap img { height: 260px; }

  /* Blog */
  .blog-grid  { grid-template-columns: repeat(3, 1fr); }
  .blog-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  /* CTA */
  .cta-title  { font-size: 2.25rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .contact-form-wrap { padding: 2.5rem; }
}

/* ══════════════════════════════════════════════
   Responsive — Desktop (≥ 1024px)
══════════════════════════════════════════════ */
@media (min-width: 1024px) {
  /* Navbar: show desktop links, hide toggle */
  .navbar__links  { display: flex; }
  .mobile-toggle  { display: none; }

  /* Services: 4 columns */
  .services-grid { grid-template-columns: repeat(4, 1fr); }

  /* Doctors: 5 columns */
  .doctors-grid  { grid-template-columns: repeat(5, 1fr); }

  /* Footer: 4 columns */
  .footer-grid   { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; }

  /* About floating badges */
  .about-badge-patients { display: block; }
}

/* ══════════════════════════════════════════════
   Responsive — Wide (≥ 1280px)
══════════════════════════════════════════════ */
@media (min-width: 1280px) {
  .container { padding: 0 2rem; }
}

/* ══════════════════════════════════════════════
   Scrollbar — hide by default, show on scroll
══════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.3); }



/* ================================================
   Desktop visual scale correction
   The original static export looked noticeably smaller
   than the Figma Make preview. These overrides restore
   a larger desktop typography and component scale.
================================================ */
html {
    font-size: 18px;
}

body {
    font-size: 16px;
}