/* ============================================================
   D.R. Healthcare — Components CSS
   All component styles for the clinic website
   Depends on: design-system.css
   ============================================================ */


/* ===== GLASS CARD VARIANTS ===== */

/*
  Light-section glass card:
  Used on white / var(--color-bg-light) backgrounds.
  Subtle blue-tint frosted look.
*/
.glass-card {
  background: rgba(8, 84, 194, 0.03);
  border: 1px solid rgba(8, 84, 194, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/*
  Dark-section glass card:
  Used inside .why-section and .hero — sits on deep navy.
  White-tint frosted look.
*/
.glass-card-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.glass-card-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}


/* ===== 1. LOADER ===== */

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: linear-gradient(135deg, #07111F 0%, #0d1f38 50%, #07111F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.loader-logo-img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(8, 84, 194, 0.6));
}

.loader-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.loader-tagline-en {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 250, 255, 0.8);
}

.loader-tagline-hi {
  font-family: var(--font-hindi);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(248, 250, 255, 0.45);
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-red));
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.loader-percent {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: rgba(248, 250, 255, 0.45);
  letter-spacing: 0.08em;
}


/* ===== 2. NAVBAR ===== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: transparent;
  transition: background 0.4s ease,
              box-shadow 0.4s ease,
              backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  background: rgba(7, 17, 31, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08),
              0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--container-pad);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(8, 84, 194, 0.4));
}

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

.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-red));
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: white;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --- Language Toggle --- */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.2s ease;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lang-toggle-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
}

.lang-toggle-en,
.lang-toggle-hi {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.lang-toggle-en.active,
.lang-toggle-hi.active {
  color: white;
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger open state */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(7, 17, 31, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.3s ease;
}

.mobile-menu.open {
  max-height: 500px;
  padding: 12px 0 20px;
}

.mobile-nav-links {
  list-style: none;
  margin-bottom: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.2s, padding-left 0.2s;
  gap: 12px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: white;
  padding-left: 32px;
  background: rgba(255, 255, 255, 0.03);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
}

/* Mobile menu footer — WhatsApp CTA */
.mobile-menu-footer {
  padding: 16px 24px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 8px;
}

.mobile-wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  justify-content: center;
}

.mobile-menu-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.mobile-menu-dot {
  opacity: 0.4;
}


/* ===== 3. HERO SECTION ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #07111F 0%, #0d1f38 60%, #07111F 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(8, 84, 194, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(230, 42, 43, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--nav-height) var(--container-pad) 80px;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 84, 194, 0.15);
  border: 1px solid rgba(8, 84, 194, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  color: rgba(248, 250, 255, 0.8);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s ease 0.5s both;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: #25D366;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 400;
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 700px;
  animation: fadeSlideUp 0.8s ease 0.7s both;
}

.hero-title-accent {
  display: block;
  background: linear-gradient(135deg, #4d9fff, var(--color-accent-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  font-family: var(--font-body);
  color: rgba(248, 250, 255, 0.65);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 40px;
  animation: fadeSlideUp 0.8s ease 0.9s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  animation: fadeSlideUp 0.8s ease 1.1s both;
}

/* WhatsApp CTA — special green gradient */
.hero-btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-btn-whatsapp:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.hero-info-card {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  animation: fadeSlideUp 0.8s ease 1.3s both;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(248, 250, 255, 0.7);
}

.hero-info-icon {
  width: 36px;
  height: 36px;
  background: rgba(8, 84, 194, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(100, 160, 255, 0.9);
  flex-shrink: 0;
}

.hero-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-info-label {
  display: block;
  font-size: 11px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(248, 250, 255, 0.45);
  line-height: 1;
}

.hero-info-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  color: white;
  line-height: 1.3;
}

.hero-info-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: 6px;
  z-index: 2;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: white;
  border-radius: var(--radius-full);
  animation: scrollBounce 2s ease infinite;
}


/* ===== 4. SECTION COMMON STYLES ===== */

.section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-subtitle {
  font-size: 17px;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 12px auto 0;
  line-height: 1.75;
}

.section-tag {
  display: inline-block;
  background: rgba(8, 84, 194, 0.1);
  border: 1px solid rgba(8, 84, 194, 0.2);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.2;
}

/* Light variants for dark-background sections */
.section-header-light .section-tag {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.section-title-light {
  color: white;
}

.section-header-light .section-subtitle {
  color: rgba(248, 250, 255, 0.55);
}


/* ===== 5. DOCTORS SECTION ===== */

.doctors-section {
  background: var(--color-bg-light);
}

.doctor-toggle-wrapper {
  display: flex;
  justify-content: center;
  gap: 0;
  background: rgba(8, 84, 194, 0.06);
  border: 1px solid rgba(8, 84, 194, 0.12);
  border-radius: var(--radius-xl);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 48px;
}

.doctor-toggle-btn {
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-xl);
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.doctor-toggle-btn:hover:not(.active) {
  color: var(--color-primary);
  background: rgba(8, 84, 194, 0.05);
}

.doctor-toggle-btn.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  box-shadow: var(--shadow-md);
}

.doctor-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
  transition: all 0.4s ease;
}

.doctor-card.hidden {
  display: none;
}

.doctor-card.active {
  animation: fadeSlideUp 0.5s ease both;
}

/* Doctor photo / placeholder */
.doctor-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--color-dark-2), var(--color-dark-3));
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-photo-placeholder::after {
  content: attr(data-initials);
  position: absolute;
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.doctor-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.doctor-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.doctor-card-image {
  position: relative;
}

.doctor-badge-card {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(8, 84, 194, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

/* Doctor info */
.doctor-info {
  display: flex;
  flex-direction: column;
}

.doctor-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.doctor-degree {
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.4;
}

.doctor-role {
  color: var(--color-text-secondary);
  font-size: 15px;
  font-family: var(--font-body);
  margin-bottom: 24px;
  line-height: 1.5;
}

.doctor-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.highlight-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}

.doctor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.specialty-tag {
  background: rgba(8, 84, 194, 0.08);
  border: 1px solid rgba(8, 84, 194, 0.15);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-body);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.specialty-tag:hover {
  background: rgba(8, 84, 194, 0.14);
  border-color: rgba(8, 84, 194, 0.28);
}

.doctor-affiliations {
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.doctor-affiliations strong {
  color: var(--color-text-secondary);
  font-weight: 600;
}


/* ===== 6. SERVICES SECTION ===== */

.services-section {
  background: white;
}

.services-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--color-bg-light);
  border: 1px solid rgba(8, 84, 194, 0.1);
  border-radius: var(--radius-xl);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 48px;
}

.services-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 36px;
  border: none;
  border-radius: var(--radius-xl);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 140px;
}

.services-tab > span:not(.services-tab-sub) {
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
  line-height: 1.3;
}

.services-tab-sub {
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  margin-top: 2px;
  transition: color 0.3s ease;
}

.services-tab:hover:not(.active) > span:not(.services-tab-sub) {
  color: var(--color-primary);
}

.services-tab.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  box-shadow: var(--shadow-md);
}

.services-tab.active > span:not(.services-tab-sub) {
  color: white;
}

.services-tab.active .services-tab-sub {
  color: rgba(255, 255, 255, 0.8);
}

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

.services-grid.hidden {
  display: none;
}

.service-card {
  background: white;
  border: 1px solid rgba(8, 84, 194, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(8, 84, 194, 0.2);
}

.service-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: rgba(8, 84, 194, 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon-wrap {
  background: rgba(8, 84, 194, 0.12);
}

.service-icon-wrap svg,
.service-icon-wrap img {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
}

.service-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-primary);
  line-height: 1.35;
}

.service-desc {
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ===== 7. WHY CHOOSE US SECTION (dark) ===== */

.why-section {
  position: relative;
  background: linear-gradient(180deg, #07111F 0%, #0d1f38 50%, #07111F 100%);
  overflow: hidden;
}

.stats-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.why-inner {
  position: relative;
  z-index: 1;
}

/* Stats grid — 4 columns */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.stat-card {
  text-align: center;
  padding: 32px 24px;
  border-color: rgba(255, 255, 255, 0.08);
}

.stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 52px;
  font-weight: 600;
  background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  font-family: var(--font-body);
  color: rgba(248, 250, 255, 0.55);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* Features grid — 4 columns */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.feature-card {
  padding: 32px 24px;
  border-color: rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  background: rgba(8, 84, 194, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(100, 160, 255, 0.9);
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: rgba(8, 84, 194, 0.35);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 14px;
  font-family: var(--font-body);
  color: rgba(248, 250, 255, 0.55);
  line-height: 1.6;
}

/* Digital services banner */
.digital-services-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 32px 40px;
  border-color: rgba(255, 255, 255, 0.08);
  max-width: 700px;
  margin: 0 auto;
}

.digital-service-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.digital-service-icon {
  width: 48px;
  height: 48px;
  background: rgba(8, 84, 194, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(100, 160, 255, 0.9);
  flex-shrink: 0;
}

.digital-service-item h4 {
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  color: white;
  margin-bottom: 4px;
  line-height: 1.3;
}

.digital-service-item p {
  font-size: 13px;
  font-family: var(--font-body);
  color: rgba(248, 250, 255, 0.55);
  line-height: 1.4;
  margin: 0;
}

.digital-service-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}


/* ===== 8. BLOGS SECTION ===== */

.blogs-section {
  background: var(--color-bg-light);
}

.blogs-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  background: white;
  border: 1px solid rgba(8, 84, 194, 0.1);
  border-radius: var(--radius-xl);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 48px;
  flex-wrap: wrap;
}

.blogs-tab {
  padding: 11px 24px;
  border: none;
  border-radius: var(--radius-xl);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.blogs-tab:hover:not(.active) {
  color: var(--color-primary);
  background: rgba(8, 84, 194, 0.04);
}

.blogs-tab.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  box-shadow: var(--shadow-sm);
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blogs-grid.hidden {
  display: none;
}

.blog-card {
  background: white;
  border: 1px solid rgba(8, 84, 194, 0.08);
  border-top: 3px solid transparent;
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-top-color: var(--color-primary);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(8, 84, 194, 0.12);
  border-color: rgba(8, 84, 194, 0.15);
}

.blog-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 8px;
}

.blog-tag {
  background: rgba(8, 84, 194, 0.08);
  border: 1px solid rgba(8, 84, 194, 0.15);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.blog-read-time {
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-title {
  color: var(--color-primary);
}

.blog-excerpt {
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.blog-link:hover {
  gap: 10px;
  color: var(--color-accent-red);
}

.blog-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.blog-link:hover svg {
  transform: translateX(2px);
}

/* Blog meta row */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(8, 84, 194, 0.06);
  margin-top: auto;
}

.blog-author {
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--color-text-muted);
}

.blog-date {
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--color-text-muted);
}


/* ===== 9. CONTACT SECTION ===== */

.contact-section {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap {
  padding: 40px;
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.contact-form-sub {
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

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

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.form-label .required {
  color: var(--color-accent-red);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(8, 84, 194, 0.15);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-primary);
  background: var(--color-bg-light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--color-text-muted);
  font-size: 14px;
}

.form-input:hover {
  border-color: rgba(8, 84, 194, 0.25);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(8, 84, 194, 0.1);
  background: white;
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: var(--color-accent-red);
  box-shadow: 0 0 0 3px rgba(230, 42, 43, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* Contact info panel */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(8, 84, 194, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-body {
  flex: 1;
  min-width: 0;
}

.contact-info-card h4 {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.contact-info-card p {
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.contact-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--color-accent-red);
}

/* Map placeholder */
.map-placeholder {
  padding: 16px;
  overflow: hidden;
}

.map-embed {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  background: var(--color-bg-light);
  overflow: hidden;
  border: 1px solid rgba(8, 84, 194, 0.1);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}


/* ===== 10. FOOTER ===== */

.footer {
  background: #07111F;
}

.footer-top {
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(8, 84, 194, 0.4));
}

.footer-logo span {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.footer-tagline {
  font-size: 14px;
  font-family: var(--font-body);
  color: rgba(248, 250, 255, 0.45);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.social-link:hover.social-fb    { background: rgba(24,  119, 242, 0.2); color: #1877F2; border-color: rgba(24,  119, 242, 0.4); }
.social-link:hover.social-ig    { background: rgba(225,  48, 108, 0.2); color: #E1306C; border-color: rgba(225,  48, 108, 0.4); }
.social-link:hover.social-yt    { background: rgba(255,   0,   0, 0.2); color: #FF0000; border-color: rgba(255,   0,   0, 0.4); }
.social-link:hover.social-wa    { background: rgba( 37, 211, 102, 0.2); color: #25D366; border-color: rgba( 37, 211, 102, 0.4); }

.social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-link {
  display: block;
  padding: 6px 0;
  color: rgba(248, 250, 255, 0.45);
  font-size: 14px;
  font-family: var(--font-body);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  line-height: 1.4;
}

.footer-link:hover {
  color: white;
  padding-left: 6px;
}

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

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-copy {
  font-size: 13px;
  font-family: var(--font-body);
  color: rgba(248, 250, 255, 0.35);
}

.footer-disclaimer {
  font-size: 12px;
  font-family: var(--font-body);
  color: rgba(248, 250, 255, 0.2);
  font-style: italic;
  line-height: 1.6;
  max-width: 600px;
}


/* ===== 11. FLOATING WHATSAPP BUTTON ===== */

.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.whatsapp-float-label {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  white-space: nowrap;
}


/* ===== 12. TESTIMONIALS / REVIEWS (optional) ===== */

.testimonial-card {
  padding: 28px 24px;
  position: relative;
}

.testimonial-quote {
  font-size: 40px;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.3;
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(8, 84, 194, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  line-height: 1.3;
}

.testimonial-role {
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--color-text-muted);
}

.rating-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.star {
  font-size: 14px;
  color: #F5A623;
}


/* ===== 13. COMMON UTILITY COMPONENTS ===== */

/* Badge pill */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.badge-primary {
  background: rgba(8, 84, 194, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(8, 84, 194, 0.2);
}

.badge-success {
  background: rgba(37, 211, 102, 0.1);
  color: #128C7E;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.badge-danger {
  background: rgba(230, 42, 43, 0.1);
  color: var(--color-accent-red);
  border: 1px solid rgba(230, 42, 43, 0.2);
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: rgba(8, 84, 194, 0.08);
  margin: var(--space-4) 0;
}

.divider-dark {
  background: rgba(255, 255, 255, 0.08);
}

/* Icon wrapper utility */
.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wrap-primary { background: rgba(8, 84, 194, 0.1); color: var(--color-primary); }
.icon-wrap-dark    { background: rgba(8, 84, 194, 0.2); color: rgba(100, 160, 255, 0.9); }


/* ===== 14. RESPONSIVE BREAKPOINTS ===== */

/* --- 1024px and below --- */
@media (max-width: 1024px) {

  /* Doctor card: single column */
  .doctor-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .doctor-photo-placeholder {
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }

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

  /* Features: 2 columns */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer: 2-column layout */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* Contact: single column */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 32px;
  }

  /* Services tabs: allow scroll */
  .services-tabs,
  .blogs-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
  }

  .services-tabs::-webkit-scrollbar,
  .blogs-tabs::-webkit-scrollbar {
    display: none;
  }

  .digital-services-banner {
    gap: 28px;
    padding: 24px 28px;
  }

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

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


/* --- 768px and below --- */
@media (max-width: 768px) {

  /* Section titles */
  .section-title {
    font-size: var(--text-3xl);
  }

  /* Navbar: hide links, show hamburger */
  .nav-links {
    display: none;
  }

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

  .nav-actions .btn.nav-cta {
    display: flex;
    padding: 8px 14px;
    font-size: 12px;
  }

  .nav-actions .btn.nav-cta span {
    font-size: 12px;
  }

  .hamburger {
    display: flex;
  }

  /* Hero container: full width centered on mobile */
  .hero-container {
    padding: calc(var(--nav-height) + 24px) 24px 60px;
    max-width: 100%;
    text-align: center;
  }

  .hero-badge {
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: 44px;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 16px;
    text-align: center;
    max-width: 100%;
  }

  /* Hero CTAs: stack vertically and centered */
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  /* Hero info card: horizontal centered row */
  .hero-info-card {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    padding: 16px 20px;
    margin: 32px auto 0;
    max-width: 400px;
  }

  .hero-info-divider {
    display: block;
  }

  /* Scroll indicator: hide on mobile */
  .scroll-indicator {
    display: none;
  }

  /* Doctor toggle: horizontal scrollable pill */
  .doctor-toggle-wrapper {
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .doctor-toggle-btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 12px 16px;
    font-size: 13px;
  }

  .doctor-toggle-btn .lang-en,
  .doctor-toggle-btn .lang-hi {
    font-size: 13px;
  }

  /* Services tabs: allow wrapping */
  .services-tab {
    min-width: 110px;
    padding: 10px 20px;
  }

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

  /* Blogs: still 2 columns at 768px */
  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Section padding */
  .section {
    padding: 64px 0;
  }

  /* Typography */
  .doctor-role { font-size: 14px; }
  .blog-title { font-size: 17px; }

  /* Digital services: stack */
  .digital-services-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
  }

  .digital-service-divider {
    display: none;
  }

  /* Footer: single column at md */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-tagline {
    max-width: 100%;
  }

  /* Doctor card: better mobile layout */
  .doctor-card {
    padding: 24px;
    gap: 24px;
    max-width: 480px;
  }

  /* Doctor badge: remove absolute on mobile */
  .doctor-photo-placeholder {
    aspect-ratio: 4 / 3;
    max-width: 100%;
  }

  .doctor-badge-card {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: -24px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .doctor-name {
    font-size: 26px;
  }

  .doctor-highlights {
    gap: 10px;
  }

  .highlight-item {
    font-size: 13px;
  }

  .doctor-specialties {
    gap: 6px;
  }

  .specialty-tag {
    font-size: 11px;
    padding: 3px 10px;
  }

  /* Stats: 2 columns */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 42px;
  }

  /* Features: 2 columns */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-title {
    font-size: 15px;
  }

  .feature-desc {
    font-size: 13px;
  }

  /* Contact info cards */
  .contact-info-card {
    padding: 16px 20px;
  }

  .map-placeholder {
    padding: 12px;
  }

  .map-placeholder iframe {
    height: 160px;
  }

  /* Form row: single col */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Contact form padding */
  .contact-form-wrap {
    padding: 24px 20px;
  }
}


/* --- 480px and below --- */
@media (max-width: 480px) {

  .section {
    padding: 48px 0;
  }

  .container {
    padding: 0 16px;
  }

  /* Hero title smaller */
  .hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .nav-logo-name { font-size: 15px; }
  .nav-logo-sub { font-size: 10px; }

  /* Section header spacing */
  .section-header {
    margin-bottom: 40px;
  }

  /* Stats: 2-col compact */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 40px;
  }

  /* Service card tighter padding */
  .service-card {
    padding: 20px 16px;
  }

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

  /* Doctor card padding */
  .doctor-card {
    padding: 20px 16px;
  }

  /* Floating WhatsApp: icon only */
  .whatsapp-float-label {
    display: none;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    bottom: 24px;
    right: 24px;
  }

  body > button[aria-label="Back to top"] {
    right: 24px !important;
    bottom: 96px !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col-title {
    font-size: 14px;
  }

  .footer-link {
    font-size: 13px;
    padding: 5px 0;
  }

  .footer-top {
    padding: 40px 0 20px;
  }

  .footer-copy {
    font-size: 12px;
  }

  /* Features grid: 1 col on tiny screens */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Section title */
  .section-title {
    font-size: 28px;
  }

  /* Hero info card: hide on very small */
  .hero-info-card {
    display: none;
  }

  /* Blogs tabs: full width */
  .blogs-tabs {
    width: 100%;
    justify-content: flex-start;
  }

  /* Services: 2 columns on tiny screens too */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* --- 640px and below --- */
@media (max-width: 640px) {
  .blogs-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== IMPROVEMENTS: Visual polish & animations ===== */

/* Service card — bottom accent line on hover */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-red));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

/* Blog card — left border accent on hover */
.blog-card {
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent-red));
  transition: height 0.4s ease;
  border-radius: 0 0 0 var(--radius-lg);
}

.blog-card:hover::before {
  height: 100%;
}

/* Feature card — improved borders and hover on dark bg */
.feature-card.glass-card-dark {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-card.glass-card-dark:hover {
  border-color: rgba(8, 84, 194, 0.4);
  background: rgba(8, 84, 194, 0.12);
}

/* Feature icon — hover animation */
.feature-icon {
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: rgba(8, 84, 194, 0.35);
}

/* Doctor photo placeholder — improved gradient and decorative ring */
.doctor-photo-placeholder {
  background: linear-gradient(160deg, #0d1f38 0%, #152c4e 40%, #0854c2 100%);
}

.doctor-photo-placeholder::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(8, 84, 194, 0.3);
  box-shadow: 0 0 0 40px rgba(8, 84, 194, 0.05),
              0 0 0 80px rgba(8, 84, 194, 0.025);
  z-index: 1;
}

.doctor-photo-placeholder::after {
  font-size: 64px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  z-index: 2;
}

/* Hero — improved gradient title */
.hero-title-accent {
  background: linear-gradient(135deg, #60a5fa 0%, #e62a2b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero badge — animation */
.hero-badge {
  animation: fadeSlideUp 0.8s ease 0.3s both;
}

/* Section tag — dot indicator */
.section-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* WhatsApp float — pulse animation */
.whatsapp-float {
  animation: whatsappPulse 3s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* Form input — improved focus state */
.form-input:focus {
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(8, 84, 194, 0.1),
              0 2px 8px rgba(8, 84, 194, 0.08);
}

/* Submit button */
.btn-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Back-to-top button — above WhatsApp */
body > button[aria-label="Back to top"] {
  bottom: 108px !important;
  right: 32px !important;
}
