/* ========================================
   BASE RESET
   ======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  color: #334155;
  background-color: #ffffff;
  line-height: 1.6;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   GRID CONTAINERS
   ======================================== */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4px;
}
.container.narrow {
  padding: 0 4px;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 40px;
  width: auto;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.nav-links a,
.nav-links .dropbtn {
  font-size: 1.1rem;
  font-weight: 500;
  color: #003366;
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a.active {
  color: #0050aa;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #003366;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #EAF4FC;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ========================================
   HERO SECTION
   ======================================== */
.home-blended-hero {
  position: relative;
  background: url('../images/hero-image.png') center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #003366;
  isolation: isolate;
}

.home-blended-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #EAF4FC 25%, rgba(234, 244, 252, 0.7) 50%, rgba(255, 255, 255, 0) 85%);
  z-index: 1;
}

.home-hero-overlay {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  max-width: 1200px;
}

.home-hero-overlay .hero-text {
  max-width: 650px;
}

.hero-subheading {
  color: #ce5b2c;
  font-size: 1.5rem; /* slightly bigger than original */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1rem;
}

.home-hero-overlay h1 {
  font-size: 4.5rem; /* original was 2.75rem; RCM was 8rem */
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #003366;
}

.home-hero-overlay p {
  font-size: 1.75rem; /* original was 1.125rem; RCM was 3rem */
  color: #334155;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.home-hero-overlay .btn-primary {
  background-color: #003366;
  padding: 0.85rem 2rem;
  font-size: 1.25rem; /* original was 1rem; RCM was 2rem */
  font-weight: 600;
  color: #ffffff;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.home-hero-overlay .btn-primary:hover {
  background-color: #0050aa;
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
  text-align: center;
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #003366;
}

/* ========================================
   5 Cs SECTION
   ======================================== */
.five-pillars {
  position: relative;
  padding: 5rem 1.5rem;
  background:
    /* white tint overlay */
    linear-gradient(to bottom, rgba(255,255,255,0.85), rgba(255,255,255,0.85)),
    /* full-width, top-anchored BG image */
    url('../images/services-bg.jpg') center top/cover no-repeat;
  text-align: center;
}
.five-pillars .section-title {
  font-size: 3rem;    /* was 2rem – adjust up until it feels right */
  font-weight: 700;   /* was 600 – makes it the boldest DM Sans supports */
}
.five-pillars .section-subtext,
.five-pillars .pillars-grid {
  position: relative;
  z-index: 1;
}
.five-pillars .section-subtext {
  font-size: 1.1rem;
  color: #334155;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-weight: 500;
}
.five-pillars .pillars-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.five-pillars .pillar-card {
  background: rgba(255,255,255,0.95);
  border-radius: 18px;
  padding: 1.75rem;
  flex: 1 1 200px;
  max-width: 240px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.five-pillars .pillar-card:hover {
  transform: translateY(-5px);
}
.five-pillars .pillar-card h3 {
  color: var(--accent, #003366);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.five-pillars .pillar-card p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  /* same kind of gradient as hero */
  background: linear-gradient(to bottom, #EAF4FC, #ffffff);
  padding: 5rem 1.5rem;
  text-align: center;
}

/* lift the content above the BG */
.services .container {
  position: relative;
  z-index: 1;
}

/* Title */
.services .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 1rem;
}

/* Intro copy */
.services .section-subtext {
  font-size: 1.1rem;
  color: #334155;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  font-weight: 500;
}

/* 4-column grid of cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  justify-items: center;
}

/* Individual card styling (unchanged) */
.service-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  max-width: 280px;
  width: 100%;
  text-align: center;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card img {
  height: 40px;
  margin-bottom: 1rem;
  /* remove filter if you want original icon colors */
  filter: invert(27%) sepia(100%) saturate(468%) hue-rotate(-2deg) brightness(100%) contrast(97%);
}
.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #003366;
}

/* RESPONSIVE */
/* 2 columns on tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* 1 column on mobile */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(to bottom, #ffffff, #f5faff);
  padding: 5rem 1rem;
}
.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.cta-text {
  flex: 1;
  min-width: 300px;
}
.cta-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 1rem;
}
.cta-text p {
  font-size: 1.125rem;
  color: #475569;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.cta-image {
  flex: 1;
  min-width: 300px;
}
.cta-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: #003366;
  color: #ffffff;
  padding: 3rem 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.footer-logo img {
  max-width: 180px;
  height: auto;
}
.footer h4 {
  margin-bottom: 0.5rem;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer ul li {
  margin: 0.4rem 0;
}
.footer ul li a {
  color: #ffffff;
  font-size: 0.95rem;
}

/* ========================================
   ABOUT US HERO
   ======================================== */
.about-hero-section {
  position: relative; /* needed for the pseudo-element */
  padding: 5rem 0;
  background: linear-gradient(to bottom, #EAF4FC, #ffffff); /* keep soft gradient */
  overflow: hidden; /* prevent watermark overflow scrollbars */
}

.about-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/c5-logobg.png') left center / 600px auto no-repeat;
  opacity: 0.25;             /* low opacity for watermark effect */
  filter: brightness(1.1);   /* slight boost so it’s visible under gradient */
  z-index: 0;                /* sit behind content */
}
.about-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}
.about-text {
  flex: 1;
  min-width: 300px;
}
.about-text h1 {
  font-size: 3.5rem;
  color: #003366;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.about-text h2 {
  font-size: 1.75rem;
  color: #334155;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.about-text p {
  font-size: 1.25rem;
  color: #334155;
  margin-bottom: 1rem;
}
.about-text blockquote {
  font-style: italic;
  background-color: #003366;
  color: #ffffff;
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  font-size: 1.75rem; 
}
.signature {
  margin-top: 1rem;
  line-height: 1.4;
  text-align: left;
}
.signature strong {
  font-family: 'Dancing Script', cursive;
  font-size: 2.25rem;
  font-weight: 500;
}
.signature em {
  font-style: italic;
  font-size: 1.1rem;
  color: #334155;
  display: block;
  margin-top: 0.25rem;
}
.about-photo {
  position: relative;
  display: inline-block;
}

.about-photo::before,
.about-photo::after {
  content: "";
  position: absolute;
  width: 100px;   /* make arms a bit longer */
  height: 100px;
  border: 16px solid #FFD700; /* bold yellow (gold) border */
  pointer-events: none;
}

.about-photo::before {
  top: -20px;
  right: -20px;
  border-left: none;
  border-bottom: none;
  border-radius: 0 16px 0 0; /* slightly larger curve */
}

.about-photo::after {
  bottom: -20px;
  left: -20px;
  border-top: none;
  border-right: none;
  border-radius: 0 0 0 16px;
}

/* ========================================
   MISSION SECTION
   ======================================== */
/* ========================================
   MISSION SECTION
   ======================================== */
.mission-section {
  background: linear-gradient(to top, #EAF4FC, #ffffff); /* reversed */
  padding: 2rem 0;
  text-align: center;
}

.mission-section .container {
  /* restore the standard container gutter here */
  padding: 0 16px !important;
  max-width: 1200px !important;
}

.mission-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* ← center all the cards */
  gap: 1.5rem;               /* spacing between cards */
  margin-top: 2rem;
  overflow: visible;         /* remove any horizontal scroll */
}

.mission-card {
  background: #1e3a8a;
  color: #ffffff;
  border-radius: 16px;
  padding: 1rem;
  flex: 0 1 200px;           /* each card is up to 200px wide */
  max-width: 220px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.mission-card img {
  height: 32px;
  margin-bottom: 1rem;
  filter: invert(1);
}

.mission-card:hover {
  transform: translateY(-5px);
}

.mission-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}


/* override mission container gutters */
.mission-section .container {
  padding: 0 8px !important;
  max-width: none !important;
}

/* ========================================
   LEADERSHIP SECTION
   ======================================== */
.leadership-section {
  padding: 5rem 0;
  background: #EAF4FC;
  text-align: center;
}
.team-intro {
  font-size: 1.5rem;
  color: #ce5b2c;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns */
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}
.leader-card {
  max-width: 160px;
  text-align: center;
}
.leader-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}
.leader-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #003366;
}

.rcm-blended-hero {
  position: relative;
  background: url('../images/rcm.jpg') center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #003366;
  isolation: isolate;
}

.rcm-blended-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #EAF4FC 20%, rgba(234, 244, 252, 0.7) 50%, rgba(255, 255, 255, 0) 85%);
  z-index: 1;
}

.rcm-hero-overlay {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  max-width: 1200px;
}

.rcm-hero-overlay .hero-text {
  max-width: 600px;
}

.hero-subheading {
  color: #ce5b2c;
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1rem;
}

.rcm-hero-overlay h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #003366;
  line-height: 1.2;
}

.rcm-hero-overlay p {
  font-size: 1.5rem;
  color: #334155;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.rcm-hero-overlay .btn-primary {
  background-color: #003366;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.rcm-hero-overlay .btn-primary:hover {
  background-color: #0050aa;
}

/* Contact Hero Section */
.home-blended-hero.contact-hero-bg {
  position: relative;
  background: url('../images/contact.jpg') center/cover no-repeat;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #003366;
  isolation: isolate;
}

.home-blended-hero.contact-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #EAF4FC 20%, rgba(234, 244, 252, 0.7) 50%, rgba(255, 255, 255, 0) 85%);
  z-index: 1;
}

.home-hero-overlay {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  max-width: 650px;
}

.hero-text .hero-subheading {
  color: #ce5b2c;
  font-size: 1.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-text h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #003366;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.75rem;
  color: #334155;
  line-height: 1.7;
  max-width: 90%;
}

/* Contact Section Wrapper */
.contact-section {
  background: #ffffff;
  padding: 5rem 1.5rem;
}

.contact-heading {
  text-align: center;
  font-size: 4rem;     /* Increase size */
  font-weight: 700;
  color: #003366;
  margin-bottom: 3rem;
}

/* Grid Layout for Contact Info & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Contact Info Styling */
.contact-info {
  padding-right: 1rem;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #003366;
  text-align: center;
}

.contact-info p,
.contact-detail-block p,
.contact-detail-block a {
  font-size: 1.25rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 90%;
}

.contact-detail-block {
  margin-bottom: 2rem;
}

.contact-detail-block h4 {
  font-size: 1.25rem;
  color: #003366;
  margin-bottom: 0.5rem;
}

.contact-detail-block a {
  font-weight: 500;
}

/* Contact Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.25rem;
  font-size: 1.25rem;
  border: 1px solid #ccd5e1;
  border-radius: 8px;
  background-color: #f9fbfc;
  font-family: inherit;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0050aa;
  outline: none;
}

.contact-form button {
  font-size: 1.25rem;
  padding: 1rem 2.25rem;
  background-color: #003366;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.contact-form button:hover {
  background-color: #0050aa;
}

/* Responsive Behavior */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info h2 {
    font-size: 2.5rem;
  }
}



/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-grid,
  .about-grid,
  .cta-grid {
    flex-direction: column;
    text-align: center;
  }
  .pillars-grid,
  .mission-cards,
  .leadership-grid {
    flex-direction: column;
    align-items: center;
  }
  .pillar-card,
  .service-card,
  .leader-card {
    max-width: 90%;
  }
  .footer-grid {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Nurses Hero Section */
.nurses-hero {
  position: relative;
  background: url('../images/nurses-hero.jpg') center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #003366;
  isolation: isolate;
}

.nurses-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #EAF4FC 25%, rgba(234, 244, 252, 0.7) 55%, rgba(255, 255, 255, 0) 85%);
  z-index: 1;
}

.nurses-hero-overlay {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto; /* ✅ centers the content */
  width: 100%;
}

.nurses-hero-overlay .hero-text {
  max-width: 650px;
}

.nurses-hero-overlay .hero-subheading {
  color: #ce5b2c;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.nurses-hero-overlay h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #003366;
}

.nurses-hero-overlay p {
  font-size: 1.5rem;
  color: #334155;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.nurses-hero-overlay .btn-primary {
  background-color: #003366;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  border-radius: 8px;
  transition: background 0.3s ease;
  display: inline-block;
}

.nurses-hero-overlay .btn-primary:hover {
  background-color: #0050aa;
}

/* Why Nurses Choose Us Section */
.why-nurses {
  padding: 5rem 1.5rem;
  background: linear-gradient(to bottom, #EAF4FC, #ffffff);
  text-align: center;
}

.why-nurses .section-title {
  font-size: 3rem;
  color: #003366;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.why-nurses-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.nurse-reason {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 2rem;
  max-width: 300px;
  flex: 1 1 250px;
  text-align: left;
}

.nurse-reason h3 {
  color: #003366;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.nurse-reason p {
  font-size: 1.125rem;
  color: #334155;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .nurses-hero {
    min-height: 60vh;
    background-position: center;
    padding: 3rem 1rem;
  }

  .nurses-hero-overlay .hero-text {
    max-width: 100%;
  }

  .nurses-hero-overlay h1 {
    font-size: 2.5rem;
  }

  .why-nurses-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .rcm-blended-hero {
    min-height: 60vh;
    padding: 3rem 1rem;
    background-position: center;
  }

  .rcm-hero-overlay .hero-text {
    max-width: 100%;
  }

  .why-nurses-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .rcm-hero-overlay h1 {
    font-size: 2.5rem;
  }

  .contact-heading {
    font-size: 2.5rem;
  }
}

/* ========================================
   SCROLL ANIMATION
   ======================================== */
.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===============  MOBILE-FRIENDLY PATCH (append)  =============== */

/* A) Comfortable gutters on phones */
@media (max-width: 768px) {
  .container,
  .container.narrow { padding: 0 16px; }
}

/* B) Fluid type for large headings and hero copy */
.home-hero-overlay h1,
.hero-text h1 {
  /* Downsize huge headings (.home-hero-overlay h1 was 4.5rem) */
  font-size: clamp(1.75rem, 6.8vw, 3.25rem);
}
.home-hero-overlay p,
.hero-text p {
  /* Downsize hero paragraph (was ~1.75rem) */
  font-size: clamp(1rem, 3.8vw, 1.25rem);
}
.hero-subheading {
  font-size: clamp(0.9rem, 3.5vw, 1.1rem);
}
.section-title {
  /* Generic section titles that scale nicely on phones */
  font-size: clamp(1.5rem, 5.5vw, 2.25rem);
}

/* C) Home hero height on phones */
@media (max-width: 768px) {
  .home-blended-hero {
    min-height: 65vh;
    background-position: center;
  }
}

/* D) Leadership grid: collapse from 5 columns on small screens */
@media (max-width: 1200px) { .leadership-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 992px)  { .leadership-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .leadership-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .leadership-grid { grid-template-columns: 1fr; } }

/* E) Make images scale within their containers */
img { max-width: 100%; height: auto; }

/* F) Mobile nav toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font: inherit;
  padding: .25rem .5rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-container { align-items: center; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
  }
  .nav-links {
    /* hide by default on small screens; show when .open is present */
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding-top: .5rem;
  }
  .nav-links.open { display: flex; }

  /* Make dropdowns usable on touch devices */
  .dropdown-content { position: static; box-shadow: none; border-radius: 0; }
  .dropdown:hover .dropdown-content { display: none; } /* disable hover-open on touch */
  .dropdown:focus-within .dropdown-content,
  .dropdown.open .dropdown-content { display: block; }
}

/* Optional: reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .scroll-fade { transition: none; }
}
