/* ==========================================================================
   FATHIMA HOSPITALS — CLINICAL, WARM, FRIENDLY & PREMIUM DESIGN SYSTEM
   ========================================================================== */

:root {
  --teal-900: #0A363D;
  --teal-800: #0F4C56;
  --teal-700: #156570;
  --mint-100: #E6F4F1;
  --mint-200: #CBE8E2;
  --sand-50:  #FAF7F2;
  --sand-100: #F3EDE2;
  --gold-500: #C89D54;
  --gold-600: #B0843B;
  --white:    #FFFFFF;
  --slate-900:#162528;
  --slate-700:#3E5256;
  --slate-500:#64787C;
  --border:   #DCE6E5;
  --error:    #B91C1C;
  --success:  #0F766E;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 14px rgba(10, 54, 61, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 54, 61, 0.09);
  --transition: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  color: var(--slate-900);
  background-color: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--teal-900);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--teal-900);
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 0.5rem;
}

a {
  color: var(--teal-800);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-sand {
  background-color: var(--sand-50);
}

.section-mint {
  background-color: var(--mint-100);
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold-600);
  background: var(--sand-100);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--teal-800);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(15, 76, 86, 0.2);
}

.btn-primary:hover {
  background-color: var(--teal-900);
}

.btn-mint {
  background-color: var(--mint-100);
  color: var(--teal-900);
  border-color: var(--mint-200);
}

.btn-mint:hover {
  background-color: var(--mint-200);
}

.btn-outline {
  background-color: transparent;
  color: var(--teal-800);
  border-color: var(--teal-800);
}

.btn-outline:hover {
  background-color: var(--sand-50);
}

.btn-lg {
  padding: 0.85rem 1.5rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   1. STICKY HEADER & HOSPITAL LOGO.PNG MOTION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--teal-900);
}

.logo-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent; /* Removes the white/sand background box */
  border: none;            /* Removes the border box */
  box-shadow: none;        /* Removes the box shadow */
}

.brand-logo-img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain;
  border-radius: 8px;
  position: relative;
  z-index: 2;
}

.logo-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 2px solid var(--gold-500);
  animation: ringPulse 2.8s infinite ease-out;
}

@keyframes ringPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.16);
    opacity: 0;
  }
  100% {
    transform: scale(1.16);
    opacity: 0;
  }
}

.logo-svg-fallback {
  width: 44px;
  height: 44px;
  color: var(--teal-800);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--slate-500);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  cursor: pointer;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--teal-900);
}

.primary-nav {
  display: none;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.primary-nav.is-open {
  display: block;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.nav-link {
  display: block;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--slate-900);
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  background: var(--sand-50);
  color: var(--teal-800);
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
  }
  .nav-list {
    flex-direction: row;
    margin-bottom: 0;
    gap: 0.25rem;
  }
}

/* ==========================================================================
   2. HERO SECTION & ANIMATED MOTION GRAPHICS
   ========================================================================== */

   .hero-slideshow {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.hero-track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* For sliding effect */
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out; /* For cross-fade effect */
  position: absolute;
  inset: 0;
}

.hero-slide.is-active {
  opacity: 1;
  position: relative;
}
.hero-section {
  position: relative;
  background: linear-gradient(180deg, var(--sand-50) 0%, var(--white) 100%);
  padding: 3.25rem 0 4.75rem;
  overflow: hidden;
}

.hero-bg-motion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.motion-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.45;
  animation: orbFloat 10s infinite alternate ease-in-out;
}

.orb-teal {
  width: 340px;
  height: 340px;
  background: var(--mint-200);
  top: -80px;
  right: 8%;
}

.orb-gold {
  width: 260px;
  height: 260px;
  background: #F4E3C3;
  bottom: 10px;
  left: -60px;
  animation-delay: -4s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(24px, -28px) scale(1.08);
  }
}

.motion-ecg-wave {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  height: 90px;
  color: rgba(15, 76, 86, 0.08);
}

.ecg-path-anim {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: ecgSweep 5.5s infinite linear;
}

@keyframes ecgSweep {
  0% {
    stroke-dashoffset: 1400;
  }
  65%, 100% {
    stroke-dashoffset: 0;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.18fr 0.82fr;
    gap: 3rem;
  }
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--mint-100);
  color: var(--teal-900);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.pulse-indicator {
  width: 9px;
  height: 9px;
  background-color: var(--teal-700);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(21, 101, 112, 0.2);
  animation: dotPulse 1.8s infinite ease-in-out;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.hero-subheadline {
  font-size: 1.1rem;
  color: var(--slate-700);
  margin-bottom: 1.85rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-500);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--teal-900);
}

.gold-star {
  color: var(--gold-500);
}

.stat-label {
  font-size: 0.83rem;
  color: var(--slate-500);
}

.hero-card-visual {
  background: var(--teal-900);
  color: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.floating-heart-badge {
  position: absolute;
  top: -18px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  animation: gentleBob 3.2s infinite ease-in-out;
}

.floating-heart-badge svg {
  width: 24px;
  height: 24px;
}

@keyframes gentleBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-card-visual h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.hero-card-visual p {
  color: var(--mint-100);
  font-size: 0.94rem;
  margin-bottom: 1.35rem;
}

.visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.badge-gold-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}

.hero-checklist {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.hero-checklist li {
  position: relative;
  padding-left: 1.65rem;
  font-size: 0.93rem;
}

.hero-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-weight: 700;
}

.hero-quick-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-quick-contact small {
  display: block;
  color: var(--mint-200);
  font-size: 0.78rem;
}

.hero-quick-contact strong {
  font-size: 1.1rem;
}

.link-arrow {
  color: var(--gold-500);
  font-weight: 600;
  text-decoration: none;
}

/* ==========================================================================
   3. SPECIALITIES & TREATMENTS (ATTRACTIVE COLOR THEME & MOTION GRAPHICS)
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spec-card {
  position: relative;
  /* Rich, attractive clinical gradient color theme */
  background: linear-gradient(145deg, var(--white) 0%, var(--sand-50) 100%);
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--teal-800);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  z-index: 1;
  /* Smooth hardware-accelerated motion transition */
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.35s ease;
}

/* Glowing Shimmer Border Aura on Hover (Motion Graphic Effect) */
.spec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-800), var(--gold-500), var(--teal-700));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: shimmerBorder 3s infinite linear paused;
}

.spec-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes shimmerBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Card Hover Lift & Glow Motion */
.spec-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 45px rgba(10, 54, 61, 0.15);
  border-color: var(--teal-700);
  background: var(--white);
}

/* Icon Container & Motion Animation */
.spec-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--mint-100);
  color: var(--teal-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--mint-200);
  box-shadow: 0 4px 12px rgba(15, 76, 86, 0.08);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              background-color 0.3s ease, 
              color 0.3s ease,
              box-shadow 0.3s ease;
}

.spec-card:hover .spec-icon {
  transform: scale(1.15) rotate(8deg);
  background-color: var(--teal-900);
  color: var(--gold-500);
  box-shadow: 0 8px 20px rgba(10, 54, 61, 0.2);
}

.spec-icon svg {
  width: 28px;
  height: 28px;
}

.spec-card h3 {
  color: var(--teal-900);
  transition: color 0.25s ease;
}

.spec-card:hover h3 {
  color: var(--teal-700);
}

.spec-card p {
  color: var(--slate-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   4. CHIEF DOCTOR PROFILE
   ========================================================================== */
.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 860px) {
  .doctor-card {
    grid-template-columns: 300px 1fr;
    padding: 3rem;
  }
}

.doctor-photo-col {
  position: relative;
  text-align: center;
}

.doctor-photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--mint-100);
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-photo-placeholder {
  width: 100%;
  height: 100%;
  border: 2px dashed var(--teal-700);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--teal-800);
}

.doctor-photo-placeholder svg {
  width: 84px;
  height: 84px;
  margin-bottom: 0.75rem;
}

.exp-badge {
  display: inline-flex;
  flex-direction: column;
  background: var(--teal-900);
  color: var(--white);
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  border-bottom: 3px solid var(--gold-500);
  margin-top: -1.25rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.exp-badge strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold-500);
}

.exp-badge span {
  font-size: 0.78rem;
}

.doctor-quals {
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 0.65rem;
}

.doctor-reg-box {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  background: var(--sand-50);
  border: 1px solid var(--border);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}

.verified-pill {
  color: var(--success);
  font-weight: 700;
  font-size: 0.8rem;
}

.doctor-bio {
  color: var(--slate-700);
  margin-bottom: 1.5rem;
}

.focus-areas h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.focus-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.focus-tags li {
  background: var(--sand-100);
  color: var(--teal-900);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* ==========================================================================
   5. HOSPITAL FACILITIES
   ========================================================================== */
.facilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .facilities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.facility-card {
  background: var(--sand-50);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal-800);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.facility-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-bottom: 0.65rem;
}

.facility-card p {
  font-size: 0.92rem;
  color: var(--slate-700);
}

/* ==========================================================================
   6. APPOINTMENT BOOKING FORM
   ========================================================================== */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 920px) {
  .booking-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
  }
}

.booking-reassurance {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.reassure-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.reassure-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.booking-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.booking-form h3 {
  margin-bottom: 1.35rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-900);
  margin-bottom: 0.4rem;
}

.req {
  color: var(--error);
}

.opt {
  color: var(--slate-500);
  font-weight: 400;
  font-size: 0.82rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--slate-900);
  background: var(--sand-50);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--teal-800);
}

.form-group input.input-error,
.form-group select.input-error {
  border-color: var(--error);
  background: #FEF2F2;
}

.error-msg {
  display: block;
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  min-height: 1.1rem;
}

.form-footnote {
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 0.9rem;
}

.thank-you-box {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.ty-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--success);
  font-size: 1.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.ty-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   7. GOOGLE REVIEWS SLIDER
   ========================================================================== */
.rating-summary {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--white);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  margin-top: 0.5rem;
}

.rating-big {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-900);
}

.rating-stars {
  color: var(--gold-500);
  letter-spacing: 2px;
}

.rating-count {
  font-size: 0.88rem;
  color: var(--slate-500);
}

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

.reviews-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
  touch-action: pan-y;
}

.reviews-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-slide {
  min-width: 100%;
  padding: 0.25rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.review-stars {
  color: var(--gold-500);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.review-quote {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  color: var(--teal-900);
  margin-bottom: 1.25rem;
}

.review-meta {
  font-size: 0.88rem;
  color: var(--slate-500);
  font-weight: 600;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--teal-900);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color var(--transition);
}

.slider-btn:hover {
  background: var(--mint-100);
}

.slider-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: var(--mint-200);
  cursor: pointer;
  padding: 0;
}

.slider-dot.active {
  background: var(--teal-800);
  transform: scale(1.25);
}

/* ==========================================================================
   8. VISIT US (ADDRESS, HOURS & MAP)
   ========================================================================== */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: var(--sand-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 860px) {
  .visit-grid {
    grid-template-columns: 1.05fr 1.2fr;
  }
}

.visit-details {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.35rem;
}

.visit-item address {
  font-style: normal;
  color: var(--slate-700);
}

.phone-highlight {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal-800);
  text-decoration: none;
}

.hours-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-size: 0.93rem;
  color: var(--slate-700);
}

.visit-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.visit-map {
  min-height: 360px;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

/* ==========================================================================
   9. FOOTER & LEGAL COMPLIANCE
   ========================================================================== */
.site-footer {
  background: var(--teal-900);
  color: var(--sand-100);
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  display: block;
  margin-bottom: 0.75rem;
}

.site-footer h3 {
  color: var(--gold-500);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: var(--mint-100);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.privacy-details {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.privacy-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
}

.privacy-content {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--mint-100);
  display: grid;
  gap: 0.65rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.5rem;
  font-size: 0.86rem;
  text-align: center;
}

/* ==========================================================================
   10. MOBILE-ONLY FIXED BOTTOM BAR
   ========================================================================== */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(10, 54, 61, 0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.4rem 0.5rem;
  gap: 0.4rem;
}

@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mbar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 2px;
}

.mbar-btn svg {
  width: 20px;
  height: 20px;
}

.mbar-call {
  background: var(--sand-100);
  color: var(--white-100);
}

.mbar-wa {
  background: var(--mint-100);
  color: var(--teal-900);
}

.mbar-book {
  background: var(--teal-800);
  color: var(--white);
}

/* ==========================================================================
   SCROLL REVEAL & REDUCED MOTION
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ==========================================================================
   INTERACTIVE MOTION GRAPHICS & HOVER ANIMATIONS FOR 6 SERVICE CARDS
   ========================================================================== */

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

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spec-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  z-index: 1;
  /* Smooth hardware-accelerated transition for motion graphics */
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Glowing Ambient Aura Behind Card on Hover (Motion Graphic Effect) */
.spec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-800), var(--gold-500), var(--teal-700));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: shimmerBorder 3s infinite linear paused;
}

.spec-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes shimmerBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Card Hover Motion */
.spec-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 40px rgba(10, 54, 61, 0.14);
  border-color: var(--teal-700);
}

/* Icon Motion Animation inside the card */
.spec-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--mint-100);
  color: var(--teal-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--mint-200);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              background-color 0.3s ease, 
              color 0.3s ease;
}

.spec-card:hover .spec-icon {
  transform: scale(1.12) rotate(6deg);
  background-color: var(--teal-800);
  color: var(--white);
}

.spec-icon svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.spec-card h3 {
  transition: color 0.25s ease;
}

.spec-card:hover h3 {
  color: var(--teal-700);
}

.spec-card p {
  color: var(--slate-700);
  font-size: 0.95rem;
  line-height: 1.6;
}
/* ==========================================================================
   CHIEF DOCTOR PHOTO HOVER MOTION GRAPHICS & ANIMATION
   ========================================================================== */

.doctor-photo-col {
  position: relative;
}

.doctor-photo-placeholder,
.doctor-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  /* Smooth hardware-accelerated transition matching service cards */
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Glowing Ambient Aura Behind Doctor Photo on Hover */
.doctor-photo-col::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(90deg, var(--teal-800), var(--gold-500), var(--teal-700));
  background-size: 200% 100%;
  border-radius: calc(var(--radius-md) + 4px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  animation: shimmerBorder 3s infinite linear paused;
}

.doctor-photo-col:hover::before {
  opacity: 1;
  animation-play-state: running;
}

/* Hover Lift and Scale Effect for Doctor Photo */
.doctor-photo-col:hover .doctor-photo-placeholder,
.doctor-photo-col:hover .doctor-img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(10, 54, 61, 0.16);
  border-color: var(--teal-700);
}

/* ==========================================================================
   HOSPITAL FACILITIES BOXES HOVER MOTION GRAPHICS & ANIMATION
   ========================================================================== */

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

@media (min-width: 640px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .facilities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.facility-card {
  position: relative;
  background: var(--sand-50);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal-800);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  overflow: hidden;
  z-index: 1;
  /* Smooth hardware-accelerated transition matching service cards & doctor photo */
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.35s ease;
}

/* Glowing Ambient Aura Behind Facility Card on Hover */
.facility-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-800), var(--gold-500), var(--teal-700));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: shimmerBorder 3s infinite linear paused;
}

.facility-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

/* Hover Lift and Scale Effect for Facility Cards */
.facility-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(10, 54, 61, 0.14);
  border-color: var(--teal-700);
  background-color: var(--white);
}

/* Number / Accent Motion Effect on Hover */
.facility-card .facility-num {
  transition: transform 0.3s ease, color 0.3s ease;
}

.facility-card:hover .facility-num {
  transform: scale(1.1) translateX(2px);
  color: var(--teal-800);
}

.facility-card h3 {
  transition: color 0.25s ease;
}

.facility-card:hover h3 {
  color: var(--teal-700);
}

.facility-card p {
  font-size: 0.92rem;
  color: var(--slate-700);
  line-height: 1.6;
}
/* ==========================================================================
   ENHANCED HEADER & BRAND TYPOGRAPHY STYLING
   ========================================================================== */

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--teal-900);
}

.logo-wrap {
  width: 50px;
  height: 50px;
  color: var(--teal-800);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(15, 76, 86, 0.15));
  transition: transform 0.3s ease;
}

.brand:hover .logo-wrap {
  transform: scale(1.05);
}

.logo-svg {
  width: 100%;
  height: 100%;
}

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

/* Premium Typography for Fathima Hospitals Heading */
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--teal-900);
  transition: color 0.2s ease;
}

.brand:hover .brand-name {
  color: var(--teal-700);
}

/* Clear Multi-Speciality Tagline Subtitle with Letter Spacing */
.brand-sub {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-600);
  margin-top: 2px;
}

/* ==========================================================================
   HEARTBEAT PULSE ANIMATION FOR BUSINESS LOGO
   ========================================================================== */

.logo-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  color: var(--teal-800);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(15, 76, 86, 0.15));
  /* Continuous heartbeat rhythm animation */
  animation: logoHeartbeat 1.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes logoHeartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.15); /* First beat bump */
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.18); /* Second stronger beat bump */
  }
  70% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

.brand:hover .logo-wrap {
  animation-duration: 0.9s; /* Speeds up slightly when hovered */
}
/* ==========================================================================
   LOADING LOGO HEARTBEAT PRELOADER
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  background-color: var(--white); /* Changed from teal to crisp white */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.loader-logo-wrap {
  width: 90px;
  height: 90px;
  background: var(--white);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(200, 157, 84, 0.3);
  /* Heartbeat pulse animation */
  animation: logoHeartbeatLoader 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.loader-logo-img {
  width: 70px !important;
  height: 70px !important;
  object-fit: contain;
}

.loader-text {
  font-family: var(--font-heading, Georgia, serif);
  color: var(--teal-900, #E6F4F1);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}

@keyframes logoHeartbeatLoader {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.18);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.22);
  }
  70% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
/* ==========================================================================
   SHAKING PHONE ICON ANIMATION
   ========================================================================== */
@keyframes phoneShake {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-14deg); }
  30% { transform: rotate(14deg); }
  45% { transform: rotate(-10deg); }
  60% { transform: rotate(10deg); }
  75% { transform: rotate(-4deg); }
  90% { transform: rotate(4deg); }
}

.shaking-phone {
  display: inline-block;
  animation: phoneShake 1.2s infinite ease-in-out;
  transform-origin: center;
}
/* ==========================================================================
   FIXED CALL BUTTON WIDTH & HEIGHT
   ========================================================================== */

.mbar-call,
.btn-outline {
  min-width: 110px;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  box-sizing: border-box;
}

/* Ensure the mobile bottom bar call button maintains correct proportions */
.mobile-bottom-bar .mbar-call {
  min-height: 56px;
  width: 100%;
}
/* ==========================================================================
   SERVICE CARD IMAGE STYLING & HOVER ZOOM MOTION
   ========================================================================== */
.spec-card {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}

.spec-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.spec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.spec-card:hover .spec-img {
  transform: scale(1.08);
}

.spec-icon-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--teal-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 54, 61, 0.15);
  border: 1px solid var(--border);
}

.spec-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.spec-content p {
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Wide card layout for Gynecology */
.spec-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .spec-card-wide {
    grid-template-columns: 1.1fr 1.4fr;
  }
}

.spec-img-wrap-wide {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  overflow: hidden;
}

.spec-img-wrap-wide .spec-img {
  position: absolute;
  inset: 0;
}
/* ==========================================================================
   FIXED SYMMETRICAL LAYOUT FOR WIDE GYNECOLOGY SERVICE CARD
   ========================================================================== */

.spec-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  padding: 0 !important;
}

@media (min-width: 860px) {
  .spec-card-wide {
    grid-template-columns: 340px 1fr; /* Locks a clean, equal proportional width for the image */
    align-items: stretch;
  }
}

.spec-card-wide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.spec-img-wrap-wide {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--mint-100);
}

@media (min-width: 860px) {
  .spec-img-wrap-wide {
    height: 100%;
    min-height: 280px;
  }
}

.spec-img-wrap-wide .spec-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the doctor image crops cleanly without distortion */
  object-position: center top;
  transition: transform 0.5s ease;
}

.spec-card-wide:hover .spec-img {
  transform: scale(1.04);
}

.spec-wide-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* ==========================================================================
   UNIFIED CLINICAL MOTION GRAPHICS & HOVER ANIMATIONS
   ========================================================================== */

/* 1. Facilities Cards Motion & Hover Effects */
.facilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .facilities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.facility-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal-800);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.facility-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(10, 54, 61, 0.12);
  border-color: var(--teal-700);
}

.facility-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.facility-card:hover .facility-num {
  transform: scale(1.1) translateX(2px);
}

/* 2. Chief Doctor Profile Card Hover & Structure */
.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 860px) {
  .doctor-card {
    grid-template-columns: 320px 1fr;
  }
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(10, 54, 61, 0.1);
  border-color: var(--teal-700);
}

.doctor-photo-frame {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--mint-100);
  border: 2px solid var(--gold-500);
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* 3. Visit / Contact Grid Card Styling */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 960px) {
  .visit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius-md);
}
/* ==========================================================================
   ENHANCED HEADER BRAND TYPOGRAPHY & MULTI-SPECIALITY SUBTITLE
   ========================================================================== */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 48px;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

/* Primary Hospital Name Typography */
.brand-name {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading, #0c2333);
  line-height: 1.15;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.brand:hover .brand-name {
  color: var(--accent-muted, #4a7a7c);
}

/* Multi-Speciality Subtitle Typography (Clearer, Premium Look) */
.brand-location {
  font-family: var(--font-sans, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-muted, #4a7a7c);
  margin-top: 2px;
}
/* Precise Netlify badge hiding */
a[href*="netlify.com"][style*="z-index"],
iframe#netlify-badge-iframe {
  display: none !important;
  visibility: hidden !important;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mint-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.social-icon-link:hover {
  background: var(--gold-500);
  color: var(--white);
  border-color: var(--gold-500);
  transform: translateY(-3px);
}