/* =========================================
   ANNAI THERESA HOSPITAL - BLOG / DOCTOR TALKS
   Spacing, padding and typography aligned
   with index.css (home page)
========================================= */

/* =========================================
   TOKENS
========================================= */
:root {
  /* Home-page tokens */
  --hospital-green: #005c50;
  --hospital-green-dark: #00483f;
  --hospital-green-light: #e4f2ef;

  --hospital-blue: #153b60;
  --hospital-text: #193b5b;
  --hospital-muted: #64788a;
  --hospital-body: #50677a;

  --hospital-white: #ffffff;
  --hospital-border: #d9e6e4;
  --hospital-card-border: #dbe7e5;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;

  /* Legacy names, still used by the navbar / footer rules below */
  --green: var(--hospital-green);
  --green-dark: var(--hospital-green-dark);
  --green-light: #0d7d73;
  --navy: var(--hospital-blue);
  --text: var(--hospital-text);
  --muted: var(--hospital-muted);
  --white: #ffffff;
  --border: var(--hospital-border);
  --mint: var(--hospital-green-light);
  --green-section: var(--hospital-green-light);
  --accent: var(--hospital-green);
  --accent-light: #b8dfd6; /* was referenced but never defined */
  --radius-sm: 8px;
  --font-display: var(--font-heading);
  --shadow-card: 0 6px 20px rgba(0, 75, 70, 0.1);
}

/* =========================================
   GENERAL
========================================= */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--hospital-text);
  background: var(--hospital-white);
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
}

/* Global container is kept for the navbar / footer. */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Inside page sections the container becomes full width, because the
   section itself provides the 5.5% side padding (as on the home page). */
.feature-strip .container,
.content-section .container,
.gallery-section .container {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Section padding (same as .section-padding) */
.content-section,
.gallery-section {
  padding: 85px 5.5%;
}

/* Accent words inside headings (same as .hero-content h1 span) */
.gold-text {
  color: var(--hospital-green);
  font-style: italic;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--hospital-green);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================
   BUTTONS (same as .btn-primary / .btn-secondary)
========================================= */
.btn {
  cursor: pointer;
}
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  min-height: 48px;
  padding: 0 22px;

  border-radius: 9px;

  font-size: 12px;
  font-weight: 600;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.btn-primary {
  background: var(--hospital-green);
  color: #ffffff !important;
}
.btn-primary:hover {
  background: var(--hospital-green-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 92, 80, 0.15);
}
.btn-secondary {
  border: 1px solid #bdcfce;
  background: rgba(255, 255, 255, 0.8);
  color: var(--hospital-text) !important;
}
.btn-secondary:hover {
  background: var(--hospital-green-light);
  border-color: var(--hospital-green);
  transform: translateY(-3px);
}
.btn-primary i,
.btn-secondary i {
  font-size: 13px;
}

/* =========================================
   HERO (same as .home-hero)
========================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: flex;
  align-items: center;

  min-height: 450px;
  padding: 65px 5.5% 70px;

  background: linear-gradient(115deg, #f0f8f7 0%, #e7f4f2 55%, #dcefeb 100%);
}

/* Decorative circles */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(0, 92, 80, 0.08);
  border-radius: 50%;
}
.hero::before {
  top: -130px;
  left: -180px;
  width: 470px;
  height: 470px;
}
.hero::after {
  top: -60px;
  left: -100px;
  width: 320px;
  height: 320px;
}

.hero-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 30px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  animation: heroContentIn 0.9s ease both;
}

.hero-eyebrow {
  margin: 0 0 20px;
  color: var(--hospital-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--hospital-green);
}
.hero-eyebrow span {
  margin: 0 4px;
  color: var(--hospital-muted);
}

.hero-title {
  margin: 0 0 23px;
  color: var(--hospital-blue);
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.3vw, 60px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -2.5px;
}

.hero-description {
  max-width: 440px;
  margin: 0 0 25px;
  color: var(--hospital-body);
  font-size: 14px;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

/* Hero image (same as .hero-visual / .hero-image-frame) */
.hero-image {
  position: relative;
  min-width: 0;
  height: 430px;
  animation: heroImageIn 1s ease both;
}
.hero-image-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 180px 18px 18px 18px;
  background: #d7e9e5;
}
.hero-banner-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}
.hero-image-frame:hover .hero-banner-image {
  transform: scale(1.035);
}
.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 44, 39, 0.15), transparent 55%);
  pointer-events: none;
}

/* =========================================
   FEATURE STRIP (same as .hospital-highlights)
========================================= */
.feature-strip {
  padding: 20px 6%;
  border-bottom: 1px solid var(--hospital-border);
  background: var(--hospital-green);
}
.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 12px;
  text-align: left;
}
.feature-item + .feature-item {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 45px;
  height: 45px;

  border-radius: 50%;
  background: var(--hospital-green-light);
  color: var(--hospital-green);
  font-size: 19px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
/* icon fill effect: circle + icon swap color on hover */
/* .feature-item:hover .feature-icon {
  background: var(--hospital-green);
  color: #ffffff;
} */
.feature-item span {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

/* =========================================
   SECTION HEADERS (same as home-page headings)
========================================= */
.section-header,
.gallery-header {
  max-width: 640px;
  margin: 0 0 35px;
  text-align: left;
}
.section-eyebrow {
  display: block;
  margin: 0 0 12px;
  color: var(--hospital-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.section-title,
.gallery-title {
  margin: 0 0 14px;
  color: var(--hospital-blue);
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -1.4px;
}
.section-subtitle,
.gallery-subtitle {
  margin: 0;
  color: var(--hospital-muted);
  font-size: 13px;
  line-height: 1.8;
}

/* =========================================
   VIDEO CARDS (same as .library-card)
========================================= */
.content-section {
  background: var(--hospital-white);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.content-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;

  border: 1px solid var(--hospital-card-border);
  border-radius: 13px;
  background: #ffffff;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.content-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(19, 59, 91, 0.09);
}
.content-card.video-hidden {
  display: none;
}

.card-thumbnail {
  position: relative;
  display: block;
  height: 200px;
  overflow: hidden;
  background: #e2eeeb;
}
.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.content-card:hover .card-thumbnail img {
  transform: scale(1.06);
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hospital-green);
  font-size: 15px;
}
.card-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 44, 39, 0.75);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 23px;
}
.card-title {
  margin: 0 0 8px;
  color: var(--hospital-blue);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}
.card-date {
  margin: 0 0 12px;
  color: var(--hospital-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.card-description {
  margin: 0 0 18px;
  color: var(--hospital-muted);
  font-size: 12px;
  line-height: 1.8;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: auto;

  color: var(--hospital-blue);
  font-size: 12px;
  font-weight: 700;
}
.card-link i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 29px;
  height: 29px;

  border-radius: 50%;
  background: var(--hospital-green);
  color: #ffffff;
  font-size: 10px;

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}
.content-card:hover .card-link i {
  transform: rotate(-45deg);
  background: var(--hospital-blue);
}

/* Show more (same as .btn-secondary) */
.show-more-container {
  margin-top: 35px;
  text-align: center;
}
.show-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 48px;
  padding: 0 22px;

  border: 1px solid #bdcfce;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--hospital-text);

  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}
.show-more-btn:hover {
  background: var(--hospital-green-light);
  border-color: var(--hospital-green);
  transform: translateY(-3px);
}
.show-more-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* =========================================
   GALLERY
========================================= */
.gallery-section {
  background: var(--hospital-green-light);
}
/* Gallery heading: stacked and left-aligned, same as the video section
   heading (uses the shared .section-header / .gallery-header rule above) */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 30px;
}
.gallery-tab {
  min-height: 40px;
  padding: 0 18px;

  border: 1px solid #bdcfce;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--hospital-text);

  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}
.gallery-tab:hover {
  border-color: var(--hospital-green);
  background: #ffffff;
}
.gallery-tab.active {
  border-color: var(--hospital-green);
  background: var(--hospital-green);
  color: #ffffff;
}
.gallery-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 17px;
}
.gallery-grid.active {
  display: grid;
}
.gallery-item {
  position: relative;
  height: 220px;
  overflow: hidden;
  cursor: pointer;

  border: 1px solid #dce8e6;
  border-radius: 12px;
  background: #e1eeeb;
  box-shadow: 0 5px 18px rgba(19, 59, 91, 0.035);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(19, 59, 91, 0.12);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0, 44, 39, 0.75), transparent 60%);
}
.gallery-label {
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

/* =========================================
   LIGHTBOX
========================================= */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
  background: rgba(0, 44, 39, 0.92);
}
.gallery-lightbox.open {
  display: flex;
}
.lightbox-content {
  max-width: 80vw;
  max-height: 80vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  margin: 0 auto;
  border-radius: 12px;
}
.lightbox-caption {
  margin-top: 16px;
  color: #ffffff;
}
.lightbox-caption h4 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
}
.lightbox-caption p {
  margin: 0;
  color: #c0e0d8;
  font-size: 11px;
  line-height: 1.7;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.28);
}
.lightbox-close {
  top: 24px;
  right: 24px;
}
.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: translateX(25px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================
   RESPONSIVE (breakpoints match index.css)
========================================= */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .hero-image {
    height: 390px;
  }
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .content-section,
  .gallery-section {
    padding: 60px 5%;
  }

  /* Hero */
  .hero {
    padding: 50px 5% 45px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero-content {
    max-width: 600px;
  }
  .hero-title {
    font-size: clamp(43px, 9vw, 62px);
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-image {
    height: 370px;
    margin: 0 5px;
  }
  .hero-image-frame {
    border-radius: 100px 15px 15px 15px;
  }

  /* Feature strip */
  .feature-strip {
    padding: 30px 5%;
  }
  .feature-strip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .feature-item {
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
  }
  .feature-item + .feature-item {
    border-left: none;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Cards */
  .card-thumbnail {
    height: 170px;
  }
  .card-body {
    padding: 17px;
  }
  .card-title {
    font-size: 18px;
  }
  .gallery-item {
    height: 170px;
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .card-thumbnail {
    height: 200px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero-eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .hero-title {
    font-size: 42px;
    letter-spacing: -1.5px;
  }
  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-buttons a {
    width: 100%;
  }
  .hero-image {
    height: 300px;
  }

  .feature-strip-grid {
    gap: 20px 10px;
  }
  .feature-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .feature-item span {
    font-size: 12px;
  }

  .section-title,
  .gallery-title {
    font-size: 32px;
  }
  .gallery-item {
    height: 140px;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 38px;
    height: 38px;
  }
}

/* =========================================
   NAVBAR + FOOTER (unchanged from original blog.css)
========================================= */

/* ============================================
   NAVBAR
   ============================================ */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 75, 70, 0.06);
}

.navbar-top-strip {
  background: var(--green-dark);
  color: #cfe9e4;
  font-size: 0.8rem;
}
.navbar-contact-info {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.navbar-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.navbar-contact-link {
  color: #eaf6f3;
}
.navbar-contact-link.muted {
  color: #b7d8d2;
}
.navbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
}

.navbar-header {
  padding: 14px 0;
}
.navbar-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.navbar-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
}
.navbar-brand-tagline {
  font-size: 0.72rem;
  color: var(--muted);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.navbar-nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease;
}
.navbar-nav-link:hover {
  color: var(--green);
}
.navbar-nav-link.active {
  color: var(--green);
  position: relative;
}
.navbar-nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.navbar-search-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.navbar-search-btn:hover {
  background: var(--green-section);
}
.navbar-btn-primary {
  background: var(--green);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.navbar-btn-primary:hover {
  background: var(--green-dark);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.navbar-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

.navbar-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 200;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}
.navbar-drawer.open {
  right: 0;
}
.navbar-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.navbar-drawer-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--muted);
}
.navbar-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
  gap: 4px;
}
.navbar-drawer-link {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.navbar-drawer-btn {
  margin-top: 16px;
  text-align: center;
}

.navbar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 75, 70, 0.4);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.navbar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .navbar-nav {
    display: none;
  }
  .navbar-toggle {
    display: flex;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--green-dark);
  color: #cfe9e4;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  font-size: 1.05rem;
}
.footer-brand-tagline {
  font-size: 0.75rem;
  color: #9dc4bd;
}
.footer-about {
  font-size: 0.88rem;
  color: #b7d8d2;
  max-width: 280px;
  margin: 0 0 18px;
}
.footer-social-icons {
  display: flex;
  gap: 10px;
}
.footer-social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s ease;
}
.footer-social-icons a:hover {
  background: var(--accent);
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: #b7d8d2;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--accent-light);
}
.footer-col p {
  font-size: 0.85rem;
  color: #b7d8d2;
  margin: 0 0 12px;
  display: flex;
  gap: 8px;
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #9dc4bd;
}
.footer-bottom-links {
  display: flex;
  gap: 18px;
}
.footer-bottom-links a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   SCROLL REVEAL
========================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hospital Gallery — items cascade in one after another,
   whether from scrolling down or switching tabs */
.gallery-grid .gallery-item:nth-child(1) {
  transition-delay: 0s;
}
.gallery-grid .gallery-item:nth-child(2) {
  transition-delay: 0.1s;
}
.gallery-grid .gallery-item:nth-child(3) {
  transition-delay: 0.2s;
}
.gallery-grid .gallery-item:nth-child(4) {
  transition-delay: 0.3s;
}
