/* ==========================================================================
   AASHRAY ORTHOPAEDIC & MULTISPECIALITY HOSPITAL - STYLESHEET
   Vadodara's Premier Orthopaedic & Joint Replacement Centre
   ========================================================================== */

:root {
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Brand Palette - Deep Medical Navy & Vibrant Sky */
  --color-primary: #0a1f44;
  --color-primary-dark: #061229;
  --color-primary-light: #123164;
  --color-accent: #0284c7;
  --color-accent-hover: #0369a1;
  --color-cyan: #06b6d4;
  --color-green: #059669;
  --color-green-dark: #047857;
  --color-emergency: #e11d48;
  --color-emergency-dark: #be123c;
  --color-gold: #f59e0b;

  /* Neutrals */
  --color-text-main: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #94a3b8;
  --color-bg-white: #ffffff;
  --color-bg-subtle: #f8fafc;
  --color-bg-accent: #f0f7ff;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;

  /* Layout & Elevations */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px rgba(10, 31, 68, 0.04);
  --shadow-sm: 0 2px 5px rgba(10, 31, 68, 0.05), 0 1px 2px rgba(10, 31, 68, 0.03);
  --shadow-md: 0 10px 25px -5px rgba(10, 31, 68, 0.07), 0 4px 10px -2px rgba(10, 31, 68, 0.03);
  --shadow-lg: 0 20px 35px -8px rgba(10, 31, 68, 0.1), 0 8px 16px -4px rgba(10, 31, 68, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(10, 31, 68, 0.18);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.35);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Offset for sticky header when jumping to anchors */
[id],
.doctor-card,
.doctor-profile-card,
.dept-detail-card,
.procedure-card,
.faq-item {
  scroll-margin-top: 95px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--color-accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3vw + 0.5rem, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2vw + 0.3rem, 1.85rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.45);
}

.btn-emergency {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-emergency:hover {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.45);
}

.btn-outline {
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: var(--color-bg-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   TOP EMERGENCY BAR
   ========================================================================== */
.top-bar {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  min-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 2.25rem;
  text-align: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

.top-item a {
  color: #ffffff;
  font-weight: 500;
}

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

.top-emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--color-emergency);
  color: #fff;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   HEADER & NAVIGATION (ENHANCED LIVE SITE COMPARISON)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 1000;
  min-height: 76px;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.site-header .header-container {
  max-width: 1440px;
  width: 100%;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  margin-left: auto;
  margin-right: auto;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0 !important;
  margin-right: 1.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 48px;
  width: auto;
  aspect-ratio: 220 / 48;
  max-width: 225px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap !important;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-primary);
  position: relative;
  padding: 0.5rem 0.2rem;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.2;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(10, 37, 64, 0.12), 0 5px 15px rgba(0,0,0,0.06);
  padding: 0.65rem 0;
  min-width: 270px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color-border);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  color: var(--color-text-main);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap !important;
  transition: var(--transition);
}

.nav-dropdown-menu a:hover {
  background-color: var(--color-bg-accent);
  color: var(--color-accent);
  padding-left: 1.5rem;
}

/* Header Right CTA & Live-Site Contact Box */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0 !important;
}

.header-call-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-call-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-bg-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.header-call-box:hover .header-call-icon {
  background: var(--color-accent);
  color: #ffffff;
  transform: scale(1.05);
}

.header-call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-call-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.header-call-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap !important;
  text-decoration: none;
}

.header-call-link:hover {
  color: var(--color-accent);
}

.header-book-btn {
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(22, 138, 255, 0.35);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0.35rem;
  line-height: 1;
}

/* Mobile Navigation Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1999;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #ffffff;
  z-index: 2000;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  transition: right 0.35s ease-in-out, visibility 0.35s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
}

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

.mobile-nav-open .mobile-nav-drawer {
  right: 0;
  visibility: visible;
}

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

.mobile-nav-header img {
  height: 38px;
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background-color: var(--color-bg-accent);
  color: var(--color-accent);
}

.mobile-nav-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(2, 132, 199, 0.25) 0%, transparent 45%),
    linear-gradient(135deg, rgba(6, 18, 41, 0.94) 0%, rgba(10, 31, 68, 0.93) 50%, rgba(6, 18, 41, 0.96) 100%),
    url('../images/hero-banner.webp') center/cover no-repeat;
  color: #ffffff;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 10%, rgba(6, 182, 212, 0.14) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #bae6fd;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-tagline span {
  color: var(--color-gold);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 800;
}

.hero h1 span {
  color: #38bdf8;
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.18rem;
  line-height: 1.75;
  color: #e2e8f0;
  margin-bottom: 2.25rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.badge-item {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-align: left;
  transition: var(--transition);
}

.badge-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(6, 182, 212, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #38bdf8;
  flex-shrink: 0;
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.badge-label {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* ==========================================================================
   QUICK ACTION STRIP / FEATURES
   ========================================================================== */
.feature-strip {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.strip-card {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
}

.strip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}

.strip-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-bg-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.strip-card.emergency-card {
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  border-color: #fecaca;
}

.strip-card.emergency-card .strip-card-icon {
  background: #fee2e2;
  color: var(--color-emergency);
}

.strip-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.strip-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */
.section {
  padding: 5rem 0;
}

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

.section-primary {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
}

.section-primary h2, .section-primary h3 {
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tagline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.section-primary .section-subtitle {
  color: #cbd5e1;
}

/* ==========================================================================
   ABOUT / OVERVIEW SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 3px solid #ffffff;
  text-align: center;
}

.about-experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-green);
  line-height: 1;
}

.about-experience-badge .text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.about-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.25rem;
  margin: 1.5rem 0 2rem;
}

.about-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-primary);
}

.about-check-item svg {
  color: var(--color-green);
  flex-shrink: 0;
}

/* ==========================================================================
   DOCTORS / SURGEONS SECTION
   ========================================================================== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.25rem;
}

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

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.4);
}

.doctor-header {
  position: relative;
  background: linear-gradient(180deg, #f0f9ff 0%, #e2e8f0 100%);
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  border-bottom: 1px solid var(--color-border-light);
}

.doctor-photo {
  width: 220px;
  height: 250px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  filter: drop-shadow(0 4px 12px rgba(10, 31, 68, 0.1));
}

.doctor-verified-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  color: #0284c7;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e0f2fe;
}

.doctor-exp-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.doctor-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
  font-weight: 800;
}

.doctor-specialty {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.doctor-qualification {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border-light);
}

.doctor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.doctor-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #f0f7ff;
  color: #0369a1;
  border: 1px solid #e0f2fe;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.doctor-highlights {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.doctor-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text-main);
  margin-bottom: 0.55rem;
}

.doctor-highlight-item svg {
  color: var(--color-accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.doctor-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-light);
}

.doctor-footer .btn {
  flex: 1;
}

.doctor-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #25d366;
  color: #ffffff;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.doctor-wa-btn:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.doctor-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  color: #0284c7;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
  border: 1px solid #bfdbfe;
  text-decoration: none;
}

.doctor-email-btn:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eff6ff;
  color: #0369a1;
  border: 1.5px solid #bae6fd;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.btn-email-pill:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

/* ==========================================================================
   SPECIALTY SHOWCASE: JOINT REPLACEMENT & ORTHOPAEDICS
   ========================================================================== */
.recovery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}

.recovery-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.recovery-tag.blue {
  background: #f0f9ff;
  color: #0369a1;
  border-color: #bae6fd;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.specialty-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.85rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-cyan) 100%);
  opacity: 0;
  transition: var(--transition);
}

.specialty-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.specialty-card:hover::before {
  opacity: 1;
}

.specialty-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.specialty-card:hover .specialty-icon-box {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  transform: scale(1.05);
}

.specialty-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.specialty-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.specialty-card .feature-link {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   DEPARTMENTS GRID
   ========================================================================== */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.dept-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.dept-image {
  height: 160px;
  width: 100%;
  object-fit: cover;
  background-color: #f1f5f9;
}

.dept-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dept-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.dept-desc {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* ==========================================================================
   TESTIMONIALS & GOOGLE REVIEWS
   ========================================================================== */
.reviews-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.reviews-summary-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}

.reviews-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

.reviews-score {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.reviews-stars {
  color: var(--color-gold);
  font-size: 1.35rem;
  margin: 0.5rem 0;
}

.reviews-count {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

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

.review-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.reviewer-stars {
  color: var(--color-gold);
  font-size: 0.85rem;
}

.review-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  font-style: italic;
}

/* ==========================================================================
   INTERACTIVE FAQ ACCORDION (SEO RICH SNIPPETS)
   ========================================================================== */
.faq-wrapper {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--color-accent);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--color-bg-accent);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   MAP & LOCATION & CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-bg-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail-row h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-detail-row p, .contact-detail-row a {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  min-height: 380px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-about p {
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 0.35rem;
}

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

.footer-bottom a {
  color: var(--color-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (MOBILE CONVERSION)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1500;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  font-size: 1.5rem;
  transition: var(--transition);
}

.floating-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.floating-whatsapp {
  background-color: #25d366;
}

.floating-call {
  background-color: var(--color-emergency);
}

/* ==========================================================================
   APPOINTMENT MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.modal-title {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text-main);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(22, 138, 255, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* ==========================================================================
   PAGE HERO (FOR INNER PAGES)
   ========================================================================== */
.page-hero {
  background:
    radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.22) 0%, transparent 60%),
    linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.75rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 0.85rem;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: #cbd5e1;
  max-width: 760px;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 auto;
  text-align: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.breadcrumbs a {
  color: #93c5fd;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1380px) {
  .site-header .header-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .brand-logo {
    margin-right: 1rem;
  }
  .brand-logo img {
    height: 44px;
    max-width: 205px;
  }
  .nav-menu {
    gap: 0.95rem;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .nav-cta {
    gap: 0.85rem;
  }
  .header-call-icon {
    width: 36px;
    height: 36px;
  }
  .header-call-link {
    font-size: 0.88rem;
  }
  .header-book-btn {
    font-size: 0.84rem;
    padding: 0.5rem 0.95rem;
  }
}

@media (max-width: 1240px) {
  .header-call-box {
    display: none;
  }
  .nav-menu {
    gap: 0.9rem;
  }
  .nav-link {
    font-size: 0.88rem;
  }
}

@media (max-width: 1140px) {
  .nav-menu, .header-call-box {
    display: none;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .brand-logo img {
    height: 42px;
  }
}

@media (max-width: 1024px) {
  .about-grid, .reviews-container, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image-main {
    height: 380px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .top-bar {
    display: none;
  }
  .header-book-btn {
    display: none;
  }
  .site-header .header-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .navbar {
    padding: 0.5rem 0;
  }
  .brand-logo {
    margin-right: 0;
  }
  .brand-logo img {
    height: 38px;
    max-width: 180px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    color: var(--color-primary);
  }
  .menu-toggle svg {
    display: block;
    width: 26px;
    height: 26px;
  }
  .hero {
    padding: 3.5rem 0 3rem;
  }
  .hero-tagline {
    font-size: 0.72rem;
    padding: 0.35rem 0.85rem;
    letter-spacing: 0.03em;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .hero h1 {
    font-size: clamp(1.65rem, 5.5vw + 0.3rem, 2.25rem);
    line-height: 1.25;
    margin-bottom: 1rem;
  }
  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 2.5rem;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-trust-badges {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding-top: 2rem;
  }
  .about-experience-badge {
    position: static;
    margin-top: 1rem;
    border: none;
  }
  .about-check-list {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

