/* ==========================================================================
   Ortho Care India – Advanced Orthopaedic Care
   Modern, Clean, Responsive Healthcare Stylesheet
   ========================================================================== */

:root {
  --primary: #0284c7;         /* Medical Blue / Cyan */
  --primary-dark: #0369a1;    /* Dark Cyan / Blue */
  --primary-light: #e0f2fe;   /* Soft Ice Blue */
  --navy: #0f172a;            /* Deep Navy for headings & header */
  --navy-light: #1e293b;      /* Slate Navy */
  --text-main: #334155;       /* Body Text */
  --text-muted: #64748b;      /* Muted secondary text */
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;          /* Soft light gray/slate */
  --border-color: #e2e8f0;
  --accent-gold: #f59e0b;     /* Rating stars & badges */
  --success: #10b981;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --container-max: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-alt);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background-color: var(--navy);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.top-bar a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-bar a:hover { color: #ffffff; }

/* Site Header */
.site-header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}
.brand-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.brand-logo {
  height: 58px;
  width: auto;
  aspect-ratio: 341 / 421;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 58px; /* Pixel-perfect match with the logo height */
}
.brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  display: block;
  white-space: nowrap;
  letter-spacing: -0.2px;
}
.brand-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.74rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1;
  display: block;
  white-space: nowrap;
}
.brand-motto {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1;
  display: block;
  white-space: nowrap;
}

/* Navigation Menu */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-light);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary);
  background-color: var(--primary-light);
}

/* Dropdowns */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1050;
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-link {
  display: block;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-light);
  transition: background-color 0.15s ease;
}
.dropdown-link:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}
.btn-pill:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(2, 132, 199, 0.35);
}
.btn-pill-secondary {
  background-color: #ffffff;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  box-shadow: none;
}
.btn-pill-secondary:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark) !important;
}
.btn-pill-dark {
  background-color: var(--navy);
  color: #ffffff !important;
}
.btn-pill-dark:hover {
  background-color: var(--navy-light);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.6rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0284c7 100%);
  color: #ffffff;
  padding: 70px 0 85px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #e0f2fe;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-title {
  color: #ffffff;
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.stat-box h3 {
  font-family: 'Open Sans', sans-serif;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.stat-box p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0;
}
.hero-card-preview {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.doctor-highlight-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.doctor-badge-avatar {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--primary);
  flex-shrink: 0;
}
.doctor-badge-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-highlight-header h3 {
  font-size: 1.3rem;
  margin-bottom: 2px;
}
.doctor-tag {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.82rem;
}
.credentials-list {
  list-style: none;
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.credentials-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--navy-light);
}
.credentials-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* Sections */
.section { padding: 75px 0; }
.section-alt { background-color: #ffffff; }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px;
}
.section-subtitle {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 6px;
}
.section-title {
  font-size: 2.25rem;
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Page Header Banner */
.page-header-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 55px 0;
  text-align: center;
}
.page-header-banner h1 {
  color: #ffffff;
  font-size: 2.6rem;
  margin-bottom: 10px;
}
.page-header-banner p {
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.service-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #e2e8f0;
}
.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-img-wrapper img {
  transform: scale(1.05);
}
.service-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.service-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
  flex-grow: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
  margin-top: auto;
}

/* Advantages Grid */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.advantage-card {
  background-color: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}
.advantage-card:hover {
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.advantage-icon {
  width: 52px;
  height: 52px;
  background-color: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--primary-dark);
}
.advantage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.advantage-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}
.rating-stars {
  color: var(--accent-gold);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.testimonial-quote {
  font-style: italic;
  color: var(--navy-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}
.patient-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.patient-avatar {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--primary-light);
}
.patient-info h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0;
}
.patient-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow-sm);
  background-color: #cbd5e1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 55px 35px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 {
  color: #ffffff;
  font-size: 2.3rem;
  margin-bottom: 12px;
}
.cta-banner p {
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 26px;
  font-size: 1.05rem;
}

/* Exercise Cards */
.exercise-routine-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.exercise-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.exercise-badge {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.exercise-benefit {
  background-color: #f1f5f9;
  border-left: 4px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* Contact & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card, .appointment-form {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-details h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.contact-details p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-light);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Footer */
.site-footer {
  background-color: var(--navy);
  color: #94a3b8;
  padding: 65px 0 30px;
  margin-top: 60px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 45px;
}
.footer-col h4 {
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background-color: var(--primary);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  color: #94a3b8;
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-badge { margin: 0 auto 20px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }
  .top-bar-right { display: none; }
  .mobile-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    display: none;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }
  .main-nav.active { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav-item.dropdown-open .dropdown-menu { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .header-actions .btn-pill { padding: 8px 16px; font-size: 0.82rem; }
}

@media (max-width: 576px) {
  .brand-logo {
    height: 48px;
  }
  .brand-text {
    height: 48px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-subtitle {
    font-size: 0.68rem;
  }
  .brand-motto {
    font-size: 0.64rem;
  }
  .header-actions .btn-pill {
    padding: 6px 12px;
    font-size: 0.76rem;
  }
}

/* =========================================================
   Location, Map & Reviews Integration
   ========================================================= */
.map-card-wrapper {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-top: 40px;
}
.map-header {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-bottom: 1px solid var(--border-color);
}
.map-header-text h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.map-header-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}
.map-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-map-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-directions {
  background-color: var(--primary);
  color: #ffffff;
}
.btn-directions:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
}
.btn-whatsapp:hover {
  background-color: #1ebc57;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-review-google {
  background-color: #ffffff;
  color: var(--navy);
  border: 1px solid var(--border-color);
}
.btn-review-google:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}
.map-responsive {
  position: relative;
  width: 100%;
  height: 420px;
  background-color: #e2e8f0;
}
.map-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.location-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 24px 30px;
  background-color: #ffffff;
}
.meta-box h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 6px;
}
.meta-box p {
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Reviews Banner & QR Block */
.reviews-hero-bar {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 35px;
  margin-bottom: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}
.reviews-stat-badge {
  display: flex;
  align-items: center;
  gap: 16px;
}
.reviews-big-score {
  font-size: 3rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
}
.reviews-score-info h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.reviews-score-info p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 0;
}
.reviews-action-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* QR Code Review Card */
.qr-review-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 28px;
  text-align: center;
  max-width: 380px;
  margin: 40px auto 0;
}
.qr-review-card h4 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.qr-review-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.qr-image-frame {
  background-color: #ffffff;
  padding: 12px;
  display: inline-block;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}
.qr-image-frame img {
  width: 180px;
  height: 180px;
  display: block;
}
.badge-google-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f0fdf4;
  color: #15803d;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid #bbf7d0;
  margin-top: 10px;
}

/* Real Google Review Styles */
.patient-avatar-initials {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
  letter-spacing: 0.5px;
}
.google-source-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  color: #15803d;
  font-weight: 600;
  margin-top: 2px;
}
.review-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.review-date-badge {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ==========================================================================
   Responsive Video & Conference Gallery Components
   ========================================================================== */

/* 16:9 Aspect Ratio Responsive Video Frame (YouTube, Vimeo, or HTML5 MP4) */
.video-responsive {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #0f172a;
  box-shadow: var(--shadow-sm);
}
.video-responsive iframe,
.video-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Video Grid Layout */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 25px;
}

/* Video Presentation Card */
.video-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.video-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.video-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  width: fit-content;
}
.video-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.video-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Conference & Event Gallery Cards with Captions */
.conference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.conference-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.conference-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.conference-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #cbd5e1;
}
.conference-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.conference-card:hover .conference-img-wrap img {
  transform: scale(1.05);
}
.conference-info {
  padding: 18px 20px;
}
.conference-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.conference-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.conference-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Section Subheaders */
.section-subtitle-badge {
  display: inline-block;
  color: var(--primary);
  background-color: var(--primary-light);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Appointment Booking Feedback & Confirmation Card Styles
   ========================================================================== */
.booking-success-card {
  text-align: center;
  padding: 10px 0;
  animation: fadeInBooking 0.35s ease-in-out;
}
@keyframes fadeInBooking {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.booking-success-card .success-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  background-color: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}
.booking-success-card .success-title {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.booking-success-card .success-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 20px;
}
.booking-summary-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 22px;
}
.booking-ref-badge {
  background: #e0f2fe;
  color: #0369a1;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 12px;
}
.summary-table {
  width: 100%;
  font-size: 0.9rem;
  border-collapse: collapse;
}
.summary-table tr td {
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}
.summary-table tr:last-child td {
  border-bottom: none;
}
.summary-table tr td:first-child {
  color: var(--text-muted);
  width: 40%;
}
.summary-table tr td:last-child {
  color: var(--text-main);
  text-align: right;
}
.status-badge-pending {
  background-color: #fef3c7;
  color: #92400e;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-block;
}
.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.btn-whatsapp-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25d366;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp-confirm:hover {
  background-color: #1eb954;
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-book-another {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-book-another:hover {
  background: #f1f5f9;
  color: var(--navy);
}
.clinic-reminder-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  text-align: left;
}

/* Form Alerts & Spinner */
.form-alert-msg {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-alert-msg.alert-danger {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.spinner-border {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}





/* Non-clickable address styling to prevent mobile/email auto-linkification */
.non-clickable-address, .non-clickable-address * {
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
}
