/* ==========================================================================
   Upskill Cad – replica stylesheet
   Values mirror the reference site's measured layout (1440 / 1024 / 390 px).
   Root font-size is 10px, so 1rem = 10px.
   ========================================================================== */

:root {
  --primary: #2166a7;
  --secondary: #111111;
  --light: #f9f9f9;
  --accent: #1e4c91;
  --navy: #1a3660;
  --submit: #066aab;
  --brand-gradient: radial-gradient(var(--accent) 0%, var(--navy) 100%);
  --font: "Manrope", sans-serif;
  --gutter: 6%;
  --header-h: 103px; /* updated from JS */
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--secondary);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p { margin: 0; }
img { max-width: 100%; }
a { color: inherit; }

.sprite { display: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.accent { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.6em 1.5em;
  border: 0;
  border-radius: 40px;
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border 0.3s, box-shadow 0.3s, transform 0.4s;
}

.btn-wrap { width: max-content; max-width: 100%; }
.btn-wrap.center { margin-inline: auto; }

.btn-gradient { background: var(--brand-gradient); color: #fff; }
.btn-gradient:hover,
.btn-gradient:focus-visible { color: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.11); }

.btn-light { background: var(--light); color: var(--secondary); }
.btn-light:hover,
.btn-light:focus-visible { background: var(--light); color: var(--primary); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover,
.btn-primary:focus-visible { color: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.11); }

.btn-outline {
  padding: 14px 28px;
  border: 0.8px solid var(--navy);
  background: #fff;
  color: var(--primary);
  font-size: 1.4rem;
}
.btn-outline:hover,
.btn-outline:focus-visible { box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2); }

/* Lift on hover (applied after the per-button rules so it wins) */
.btn-lift:hover,
.btn-lift:focus-visible {
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
}
.text-link .arrow { width: 14px; height: 16px; fill: currentColor; }
.text-link:hover,
.text-link:focus-visible { color: var(--primary); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5% var(--gutter);
  background: #fff;
}

.header-logo { flex: 0 0 20%; }
.logo { display: block; width: max-content; }
.logo img { display: block; width: auto; height: 60px; }

.header-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.header-cta {
  flex: 0 0 22.9%;
  display: flex;
  justify-content: flex-end;
}

/* Primary menu (desktop) */
.menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-item { position: relative; }

.menu-item > a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.menu-item > a::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 20px;
  transition: width 0.3s ease;
}

.menu-item:hover > a,
.menu-item > a:focus-visible,
.menu-item.current > a { color: var(--primary); }

.menu-item:not(.current):hover > a::after { width: 80%; }
.menu-item.current > a::after { width: 80%; transition: width 0.4s ease; }

.caret {
  width: 10px;
  height: 16px;
  margin-left: 8px;
  flex: none;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  width: 300px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20%);
  transition: 0.1s;
}

.has-children:hover > .sub-menu,
.has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu a {
  display: block;
  padding: 14px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}
.sub-menu a:hover,
.sub-menu a:focus-visible { color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.hero-main {
  grid-row: 1 / span 2;
  background-image: url("../assets/img/hero-banner.svg");
}
.hero-main::before { background-image: linear-gradient(180deg, #f9f9f9 0%, #111111 85%); }

.hero-event {
  min-height: 360px;
  background-image: url("../assets/img/hero-upcoming-event.jpg");
}
.hero-event::before { background-image: linear-gradient(180deg, #727272 0%, #000000 100%); }

.hero-research { background-image: url("../assets/img/hero-research.jpg"); }
.hero-research::before { background-image: linear-gradient(180deg, #ffffff 0%, #000000 100%); }

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-main .hero-content { padding: 40px 80px 60px; }
.hero-event .hero-content { padding: 50px 60px 40px; }
.hero-research .hero-content { padding: 40px 60px; }

.hero-title {
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.hero-text {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats {
  display: flex;
  padding: 2.5% var(--gutter);
  background: var(--brand-gradient);
}

.stats-title {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats-title h2 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--light);
}

.stats-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  text-align: center;
  color: var(--light);
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}

.stat h3 {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   Section headings
   ========================================================================== */
.section-title {
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--secondary);
}

/* ==========================================================================
   Programs
   ========================================================================== */
.programs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  padding: var(--gutter);
  background: var(--light);
  overflow: hidden;
}

.program-cards {
  flex: 0 0 62%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
}

.program-media {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.program-meta {
  display: grid;
  grid-template-columns: 68% 1fr;
  align-items: center;
  padding: 10px;
  border-radius: 40px;
  background: rgba(33, 102, 167, 0.1);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--primary);
}
.meta-item img { display: block; flex: none; height: 20px; object-fit: contain; }
.meta-item .ic-calendar { width: 18px; }
.meta-item .ic-pin { width: 16px; }

.program-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  height: 160px;
}

.program-body h3 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--primary);
}

.program-faculty {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--primary);
}
.program-faculty img { display: block; width: 20px; height: 20px; flex: none; }

.section-intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.section-intro .section-title { line-height: 1; }
.section-intro p {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   Who we are
   ========================================================================== */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: var(--gutter);
  background: #fff;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 150px);
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.pillar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 40px;
  background: linear-gradient(180deg, #f9f9f9 0%, rgba(255, 250, 250, 0.81) 100%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.pillar-tight { gap: 8px; }
.pillar img { display: block; width: 34px; height: 34px; flex: none; }
.pillar h4 {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--primary);
}

.about-heading,
.about-body { width: 100%; }
.about .section-title { text-align: center; }

.about-body {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 2%;
  overflow: hidden;
}

.about-body p {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

/* ==========================================================================
   What we do
   ========================================================================== */
.what-we-do {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 4% var(--gutter);
  background: var(--light);
}

.what-we-do .section-title { text-align: center; }

.wwd-media {
  display: block;
  width: 100%;
  max-width: 60%;
  height: 450px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 24px;
}

.wwd-text { display: flex; justify-content: center; }
.wwd-text p {
  width: 742px;
  max-width: 100%;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

/* ==========================================================================
   Benefits
   ========================================================================== */
.benefits {
  display: flex;
  flex-direction: column;
  gap: 52px;
  padding: 5% var(--gutter) var(--gutter);
  background: var(--light);
  overflow: hidden;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
  border-radius: 40px;
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.1);
}

.feature-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 400px;
  background: var(--light);
  transition: background 0.3s;
}

.feature-circle svg {
  margin-top: 4px;
  color: var(--primary);
  transition: color 0.3s;
}
.ic-cap { width: 42px; height: 42px; }
.ic-cert { width: 40px; height: 35px; }
.ic-brain { width: 42px; height: 35px; }
.ic-case { width: 39px; height: 35px; }

.feature-card:hover .feature-circle {
  background: radial-gradient(50% 50% at 50% 50%, var(--accent) 0%, var(--navy) 100%);
}
.feature-card:hover .feature-circle svg { color: #fff; }

.feature-card h3 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

/* ==========================================================================
   Community / subscribe
   ========================================================================== */
.community {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: var(--gutter);
  background: #fff;
}

.community-media { flex: 0 0 35%; }
.community-media img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

.community-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.community-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.community .section-title { line-height: 1.2; }

.tagline {
  padding: 4px 0 4px 16px;
  border-left: 2.5px solid var(--primary);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--primary);
}

.lead {
  margin-top: 3%;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.4;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin: 24px 0;
}

.subscribe-form input {
  flex: 0 0 55%;
  min-width: 0;
  height: 45px;
  padding: 10px 20px;
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  background: var(--light);
  font-family: inherit;
  font-size: 1.6rem;
  color: var(--secondary);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.subscribe-form input::placeholder { color: #8a8a8a; opacity: 1; }
.subscribe-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.subscribe-form input[aria-invalid="true"] { border-color: #d63637; box-shadow: 0 0 0 1px #d63637; }

.btn-submit {
  height: 41px;
  padding: 0 24px;
  border: 0;
  border-radius: 40px;
  background: var(--submit);
  color: #f7f7f7;
  font-family: inherit;
  font-size: 1.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.4s;
}
.btn-submit:hover,
.btn-submit:focus-visible {
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.form-message {
  flex: 0 0 100%;
  font-size: 1.4rem;
  font-weight: 500;
}
.form-message:empty { display: none; }
.form-message.is-error { color: #d63637; }
.form-message.is-success { color: #00a32a; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 2% var(--gutter);
  background: var(--brand-gradient);
  color: var(--light);
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 148px;
  min-height: 100px;
  padding: 15px;
  background: #fff;
  border-radius: 12px;
}
.footer-logo img { display: block; width: 118px; height: 84px; }

.footer-about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-about h2 { font-size: 2.4rem; font-weight: 800; line-height: 1.4; }
.footer-about p { max-width: 220px; font-size: 1.6rem; font-weight: 500; line-height: 1.4; }

.footer-contact {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer-contact h2 { font-size: 2rem; font-weight: 600; line-height: 1.1; }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 4px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
}
.contact-list img { display: block; width: 24px; height: 24px; object-fit: contain; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.socials {
  display: grid;
  grid-template-columns: repeat(4, 60px);
  gap: 20px;
  margin-top: 20px;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
}
.social img { display: block; }

.footer-nav { padding: 16px 0; }
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  display: block;
  padding: 15px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-nav a:hover,
.footer-nav a:focus-visible { color: #fff; text-decoration: underline; }

.footer-bottom p { font-size: 1.6rem; font-weight: 500; line-height: 1.4; }

/* ==========================================================================
   Entrance animations (same keyframes and timings as the reference)
   ========================================================================== */
.js [data-animate] { visibility: hidden; }
.js [data-animate].animated { visibility: visible; }

.animated { animation-duration: 1.25s; }
.animated.animated-slow { animation-duration: 2s; }
.animated.animated-fast { animation-duration: 0.75s; }

.fadeIn { animation-name: fadeIn; }
.zoomIn { animation-name: zoomIn; }
.slideInLeft { animation-name: slideInLeft; }
.slideInRight { animation-name: slideInRight; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); }
  50% { opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translate3d(-100%, 0, 0); visibility: visible; }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes slideInRight {
  from { transform: translate3d(100%, 0, 0); visibility: visible; }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .animated { animation: none !important; }
  .btn, .btn-submit, .sub-menu, .menu-item > a::after { transition: none !important; }
}

/* ==========================================================================
   Tablet (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title,
  .section-title,
  .section-intro .section-title { font-size: 4.5rem; line-height: 1.3; }

  /* Header: logo | button (grows) | hamburger */
  .header-cta { order: 2; flex: 1 1 auto; }
  .header-nav { order: 3; flex: 0 0 26.7%; }
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }

  .menu { flex-direction: column; align-items: stretch; }
  .menu-item > a { justify-content: space-between; }
  .menu-item > a::after { left: 4%; }
  .menu-item:not(.current):hover > a::after,
  .menu-item.current > a::after { width: 30%; }

  .caret { transition: transform 0.2s; }
  .submenu-open > a .caret { transform: rotate(180deg); }

  .sub-menu {
    position: static;
    display: none;
    width: auto;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .has-children:hover > .sub-menu,
  .has-children:focus-within > .sub-menu { transform: none; }
  .submenu-open > .sub-menu { display: block; }
  .sub-menu a { padding: 15px 15px 15px 35px; }

  .hero-event { min-height: 0; }
  .hero-main .hero-content { padding: 40px 5% 60px; }
  .hero-event .hero-content { padding: 50px 4% 40px; }
  .hero-research .hero-content { padding: 40px 4%; }

  .stats { padding: 3% 4%; }

  .programs {
    flex-direction: column;
    align-items: stretch;
    gap: 50px;
    padding: 6% 4%;
  }
  .program-cards { flex: none; order: 2; }
  .section-intro { order: 1; gap: 10px; }
  .section-intro .btn-wrap { margin-top: 20px; }

  .about { padding: 6% 4%; }
  .what-we-do { padding: 6% 4%; }
  .benefits { padding: 6% 4%; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }

  .community { flex-direction: column; align-items: stretch; padding: 6% 4%; }
  .community-media { flex: none; width: 80%; margin: 0 auto; }

  .footer-top { display: flex; flex-wrap: wrap; gap: 40px 0; margin-bottom: 6%; }
  .footer-brand { flex: 0 0 100%; }
  .footer-contact { flex: 0 0 50%; }
}

/* ==========================================================================
   Mobile (≤ 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .hero-title,
  .section-title,
  .section-intro .section-title { font-size: 4.2rem; line-height: 1.3; }
  .about .section-title { line-height: 1.2; }

  .header-logo { flex: 0 0 auto; }
  .header-cta { display: none; }
  .header-nav { flex: 0 0 auto; }

  .hero { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; }
  .hero-main { grid-row: auto; min-height: calc(100vh - 100px); }
  .hero-event { min-height: 422px; }
  .hero-research { min-height: 267px; }
  .hero-main .hero-content { padding: 4% 4% 10%; }
  .hero-event .hero-content,
  .hero-research .hero-content { padding: 40px 4%; }

  .stats { flex-direction: column; gap: 40px; padding: 6% 4%; }
  .stats-title { flex: none; text-align: center; }
  .stats-grid { gap: 16px; }

  .programs { padding: 10% 4% 12%; }
  .program-cards { grid-template-columns: 1fr; }

  .about { padding: 12% 4%; }
  .pillars { grid-template-columns: repeat(2, 150px); }

  .what-we-do { padding: 12% 4%; }
  .wwd-media { max-width: 100%; }

  .benefits { padding: 12% 4%; }
  .benefit-grid { grid-template-columns: 1fr; }

  .community { padding: 12% 4%; }
  .community-media { width: 100%; }
  .subscribe-form input { flex-basis: 100%; }

  .site-footer { padding: 6% 4%; }
  .footer-top { flex-direction: column; flex-wrap: nowrap; gap: 30px; }
  .footer-brand,
  .footer-contact { flex: none; width: 100%; }
}
