/* 
 * Sai Physio & Rehab Solutions - High-Class Medical Theme
 * Strict Palette: Logo Blue (#128CCD) & Logo Orange (#E28C0B)
 * Modern Typography: Plus Jakarta Sans & Outfit
 */

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

:root {
  /* Logo Blue Spectrum */
  --blue-600: #0a6597;
  --blue-500: #128ccd; /* Primary Logo Blue */
  --blue-400: #29a0de;
  --blue-300: #62b9e8;
  --blue-200: #b5def6;
  --blue-100: #e2f2fc;
  --blue-50: #f0f7fd;
  --blue-ice: #f8fbfe;
  --blue-navy: #082138;
  --blue-navy-light: #0f3150;

  /* Logo Orange Spectrum */
  --orange-600: #be7304;
  --orange-500: #e28c0b; /* Primary Logo Amber/Orange */
  --orange-400: #f29c1d;
  --orange-200: #fbd69b;
  --orange-100: #fef3e2;
  --orange-50: #fffaf2;

  /* Neutrals & Surfaces */
  --white: #ffffff;
  --bg-page: #f2f7fc;
  --text-dark: #082138;
  --text-body: #24415c;
  --text-muted: #567592;
  --text-light: #8faac2;
  
  --border-light: #d6e8f5;
  --border-card: #e2eef7;

  /* High-Class Shadows */
  --shadow-subtle: 0 2px 10px rgba(18, 140, 205, 0.05);
  --shadow-card: 0 8px 24px rgba(8, 33, 56, 0.06), 0 2px 6px rgba(18, 140, 205, 0.04);
  --shadow-hover: 0 16px 36px rgba(18, 140, 205, 0.16), 0 4px 10px rgba(8, 33, 56, 0.04);
  --shadow-orange: 0 8px 22px rgba(226, 140, 11, 0.35);
  --shadow-navy: 0 20px 40px rgba(8, 33, 56, 0.28);

  /* Geometry */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1220px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-page);
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.85rem, 2.8vw + 0.4rem, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.2vw + 0.2rem, 2.05rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.3vw + 0.2rem, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }

p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Luxury Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.badge-blue {
  background: var(--blue-100);
  color: var(--blue-600);
  border: 1px solid var(--border-light);
}

.badge-orange {
  background: var(--orange-100);
  color: var(--orange-600);
  border: 1px solid var(--orange-200);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem auto;
}

.section-header .badge {
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 0.65rem;
}

.section-header p {
  font-size: 0.98rem;
}

/* ==========================================================================
   HIGH-CLASS BUTTONS (PROPORTIONAL, MODERN MICRO-INTERACTIONS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

/* Primary High-Class Orange Button */
.btn-orange {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-400) 100%);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-orange:hover {
  background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 100%);
  box-shadow: 0 10px 26px rgba(226, 140, 11, 0.45);
  transform: translateY(-2px);
}

/* Blue Brand Button */
.btn-blue {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(18, 140, 205, 0.25);
}

.btn-blue:hover {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-navy) 100%);
  box-shadow: 0 8px 24px rgba(18, 140, 205, 0.38);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background: var(--white);
  border-color: var(--blue-500);
  color: var(--blue-500);
  box-shadow: var(--shadow-subtle);
}

.btn-outline-blue:hover {
  background: var(--blue-500);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18, 140, 205, 0.25);
}

.btn-outline-orange {
  background: var(--white);
  border-color: var(--orange-500);
  color: var(--orange-600);
  box-shadow: var(--shadow-subtle);
}

.btn-outline-orange:hover {
  background: var(--orange-500);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.btn-white:hover {
  background: var(--blue-50);
  color: var(--blue-500);
  transform: translateY(-2px);
}

/* WhatsApp Themed Button (Pure Brand Palette) */
.btn-whatsapp-theme {
  background: var(--blue-100);
  border-color: var(--border-light);
  color: var(--blue-600);
  font-weight: 700;
}

.btn-whatsapp-theme:hover {
  background: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-500);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.44rem 0.95rem;
  font-size: 0.83rem;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 0.8rem 1.75rem;
  font-size: 0.96rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   TOP NOTIFICATION BAR (CRISP & LUXURIOUS)
   ========================================================================== */
.top-bar {
  background: var(--blue-navy);
  color: #c4def2;
  font-size: 0.78rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(18, 140, 205, 0.2);
}

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

.top-group {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-item svg {
  color: var(--orange-500);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.top-item a {
  color: #c4def2;
}

.top-item a:hover {
  color: var(--orange-400);
}

/* ==========================================================================
   SITE HEADER & NAVIGATION (ZERO COLLISION, HIGH-CLASS AESTHETIC)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(8, 33, 56, 0.04);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(8, 33, 56, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

/* Brand Logo */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-brand img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-texts {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-main-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue-500);
  line-height: 1.1;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.logo-sub-text {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--orange-500);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-top: 2px;
  white-space: nowrap;
}

/* Navigation Links */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  white-space: nowrap;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 0.45rem 0.15rem;
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-500);
}

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

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--blue-navy);
  border-radius: var(--radius-xs);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 86%;
  max-width: 330px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  box-shadow: -8px 0 30px rgba(8, 33, 56, 0.2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 33, 56, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.mobile-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.mobile-links a:hover,
.mobile-links a.active {
  color: var(--blue-500);
}

/* ==========================================================================
   HERO SECTION (LUXURY HEALTHCARE LOOK, VISIBLE IN ONE SHOT)
   ========================================================================== */
.hero {
  background: radial-gradient(circle at 85% 20%, #e2f2fc 0%, #f0f7fd 60%, #ffffff 100%);
  padding: 2.25rem 0 2.5rem 0;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content .badge {
  margin-bottom: 0.85rem;
}

.hero-title {
  margin-bottom: 0.6rem;
  line-height: 1.18;
}

.hero-title .highlight-blue {
  color: var(--blue-500);
  background: linear-gradient(120deg, var(--blue-500), var(--blue-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slogan-box {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--orange-50);
  border: 1px solid var(--orange-200);
  color: var(--orange-600);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.hero-lead {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 1.35rem;
  line-height: 1.6;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trust-item svg {
  color: var(--orange-500);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hero Visual Box */
.hero-visual {
  position: relative;
}

.hero-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--white);
  position: relative;
}

.hero-img-box img {
  width: 100%;
  height: 315px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-box:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--border-light);
}

.hero-floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--orange-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ==========================================================================
   QUICK BOOKING BAR (BALANCED & PROPORTIONAL)
   ========================================================================== */
.quick-bar-section {
  margin-top: -1.8rem;
  position: relative;
  z-index: 10;
}

.quick-card {
  background: var(--white);
  padding: 1.35rem 1.85rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.quick-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 0.85rem;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  height: 42px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--blue-ice);
  color: var(--text-dark);
  font-size: 0.88rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(18, 140, 205, 0.15);
}

/* ==========================================================================
   STATS SECTION (DEEP BLUE NAVY + ORANGE NUMBERS)
   ========================================================================== */
.stats-section {
  padding: 3.5rem 0;
  background: var(--blue-navy);
  color: var(--white);
}

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

.stat-box {
  padding: 1.6rem 1rem;
  background: rgba(18, 140, 205, 0.08);
  border: 1px solid rgba(18, 140, 205, 0.2);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.stat-box:hover {
  background: rgba(18, 140, 205, 0.16);
  border-color: var(--orange-500);
  transform: translateY(-3px);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--orange-500);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.86rem;
  color: #cfdeea;
  font-weight: 500;
}

/* ==========================================================================
   OUR SPECIALTIES SECTION (HIGH-CLASS MEDICAL CARDS WITH IMAGES)
   ========================================================================== */
.services-section {
  padding: 5rem 0;
  background: var(--bg-page);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

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

/* Specialty Photo Box */
.service-photo-wrap {
  position: relative;
  height: 190px;
  width: 100%;
  overflow: hidden;
}

.service-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-photo-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
}

.service-card-body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

.service-list li svg {
  color: var(--orange-500);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   INTERACTIVE PAIN CHECKER
   ========================================================================== */
.pain-section {
  padding: 5rem 0;
  background: var(--blue-navy);
  color: var(--white);
}

.pain-wrapper {
  background: rgba(18, 140, 205, 0.08);
  border: 1px solid rgba(18, 140, 205, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.pain-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pain-header h2 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.pain-header p {
  color: #cfdeea;
  font-size: 0.92rem;
}

.pain-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.85rem;
}

.pain-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(18, 140, 205, 0.3);
  color: #cfdeea;
  padding: 0.9rem 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.pain-btn svg {
  width: 24px;
  height: 24px;
}

.pain-btn:hover,
.pain-btn.active {
  background: var(--orange-500);
  color: var(--white);
  border-color: var(--orange-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.pain-display-box {
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 1.6rem 2rem;
  box-shadow: var(--shadow-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.pain-display-info h4 {
  color: var(--blue-500);
  font-size: 1.18rem;
  margin-bottom: 0.35rem;
}

.pain-display-info p {
  color: var(--text-body);
  font-size: 0.9rem;
}

/* ==========================================================================
   ABOUT & DOCTORS
   ========================================================================== */
.about-section {
  padding: 5rem 0;
  background: var(--white);
}

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

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--blue-100);
}

.about-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-text .badge {
  margin-bottom: 0.85rem;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.values-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.5rem 0 1.75rem 0;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--blue-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
}

.value-item svg {
  color: var(--orange-500);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Doctors Section */
.team-section {
  padding: 5rem 0;
  background: var(--bg-page);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
}

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

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

.doctor-photo-wrap {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: var(--blue-100);
}

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

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

.doctor-badge-floating {
  position: absolute;
  bottom: 12px;
  left: 12px;
}

.doctor-body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.doctor-title {
  color: var(--blue-500);
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
}

.doctor-degrees {
  color: var(--orange-600);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.doctor-desc {
  font-size: 0.86rem;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-pill {
  background: var(--blue-50);
  color: var(--text-dark);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   PATIENT REVIEWS & FAQ
   ========================================================================== */
.testimonials-section {
  padding: 5rem 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--blue-ice);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--orange-500);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  letter-spacing: 2px;
}

.review-text {
  font-style: italic;
  color: var(--text-body);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-500);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 1.5px solid var(--border-light);
}

/* FAQ */
.faq-section {
  padding: 5rem 0;
  background: var(--bg-page);
}

.faq-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.faq-card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
}

.faq-card.active {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-card);
}

.faq-btn {
  width: 100%;
  padding: 1.1rem 1.35rem;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 1.3rem;
  color: var(--orange-500);
  transition: var(--transition);
}

.faq-card.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.35rem;
}

.faq-card.active .faq-content {
  padding: 0 1.35rem 1.35rem 1.35rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 5rem 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--blue-ice);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--blue-100);
  color: var(--orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.info-card p, .info-card a {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.info-card a:hover {
  color: var(--blue-500);
}

.contact-box {
  background: var(--blue-ice);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

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

.map-box {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  height: 350px;
}

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

/* Footer (High-Class Deep Navy + Orange Accents) */
.site-footer {
  background: var(--blue-navy);
  color: #a4bed3;
  padding: 4rem 0 1.75rem 0;
  border-top: 3px solid var(--blue-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 2.25rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--orange-500);
}

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

.footer-links a {
  color: #a4bed3;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--orange-400);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.82rem;
}

/* Floating Actions */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 54px;
  height: 54px;
  background: var(--orange-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background: var(--orange-600);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}

.back-to-top {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 998;
  width: 40px;
  height: 40px;
  background: var(--blue-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.back-to-top.visible {
  opacity: 0.95;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--orange-500);
  opacity: 1;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 33, 56, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--white);
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-navy);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  background: var(--blue-100);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--blue-600);
  font-size: 1.15rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-body {
  padding: 1.6rem;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--blue-navy);
  color: var(--white);
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-navy);
  border: 1px solid var(--orange-500);
  z-index: 4000;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: var(--transition);
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   PERFECT RESPONSIVENESS (MOBILE-FIRST POLISH, NO OVERFLOW, NO SQUEEZING)
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav {
    gap: 0.9rem;
  }
  .main-nav a {
    font-size: 0.84rem;
  }
}

@media (max-width: 992px) {
  .nav-menu-wrapper, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .quick-form {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
  .top-group:nth-child(2) {
    display: none;
  }
  .top-bar-inner {
    justify-content: center;
  }
  .hero {
    padding: 1.75rem 0 2rem 0;
  }
  .hero-btn-group {
    flex-direction: column;
  }
  .hero-btn-group .btn {
    width: 100%;
  }
  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .quick-card {
    padding: 1.15rem;
  }
  .quick-form, .grid-2 {
    grid-template-columns: 1fr;
  }
  .services-grid, .team-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .pain-wrapper {
    padding: 1.35rem;
  }
  .pain-selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pain-display-box {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  .values-grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-img-box img {
    height: 240px;
  }
}
