/* Elevate Education TT - Professional Stylesheet */
/* Adapted from professional design system with brand colors */

/* ========================================
   FOUNDATION - Colors & Variables
   ======================================== */
:root {
  /* Brand Colors from Logo */
  --brand-navy: #1a2e44;
  --brand-teal: #4DB8B8;
  --brand-teal-light: #6DD4D4;
  --brand-teal-dark: #3A9F9F;
  --pop: #ff5529;

  /* Backgrounds - Clean & Minimal */
  --white: #ffffff;
  --bg-page: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-section: rgba(0, 0, 0, 0.02);

  /* Text - Professional Hierarchy */
  --text-primary: #1a2e44;
  --text-body: #0e0f0c;
  --text-secondary: #434f4a;
  --text-muted: #252827;

  /* Borders - Subtle Separation */
  --border-light: rgba(0, 0, 0, 0.1);
  --border-medium: rgba(0, 0, 0, 0.2);
  --border-strong: rgba(0, 0, 0, 0.3);

  /* Accent Colors - Teal System */
  --accent-primary: #23B0BB;
  --accent-strong: #3A9F9F;
  --accent-light: #6DD4D4;
  --accent-wash: rgba(77, 184, 184, 0.1);
}


/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY SYSTEM
   ======================================== */
.heading-1 {
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.heading-2 {
  font-weight: 600;
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.heading-3 {
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.body-large {
  font-weight: 400;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-body);
}

.body-medium {
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.5;
  color: var(--text-body);
}

.body-small {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* ========================================
   NAVIGATION HEADER
   ======================================== */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.25rem;
}

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

.footer-logo {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
}

.nav-link.active {
  background: var(--accent-wash);
  color: var(--accent-strong);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  background: var(--pop);
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1.3;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0px 4px 12px rgba(255, 85, 41, 0.3);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 14px 28px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1.3;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--border-medium);
}

.btn-secondary:active {
  transform: scale(0.98);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  background: radial-gradient(at 53% 78%, hsla(180, 50%, 70%, 0.25) 0px, transparent 50%),
    radial-gradient(at 71% 91%, hsla(180, 55%, 65%, 0.25) 0px, transparent 50%),
    radial-gradient(at 31% 91%, hsla(180, 60%, 75%, 0.15) 0px, transparent 50%);

  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 7rem 1.5rem 3rem;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('./images/hero-home.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  /* filter: grayscale(100%); */
  /* filter: grayscale(100%) contrast(1.5) brightness(0.95); */
}

/* Overlay */
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, .3)); */
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  margin-bottom: 1em;
  position: relative;
  z-index: 2;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--accent-strong);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5em;
}


.hero-programs,
.hero-about,
.hero-contact,
.hero-get-involved,
.hero-impact,
.hero-safeguarding,
.hero-gallery {
  min-height: 40vh;
  background-size: cover;
  background-position: center;
}

.hero-about {
  background-image: url(./images/hero-about.jpg);
}

.hero-programs {
  background-image: url(./images/hero-programs.jpg);
}

.hero-impact {
  background-image: url(./images/hero-impact.jpg);
}

.hero-safeguarding {
  background-image: url(./images/hero-safeguarding.jpg);
}

.hero-get-involved {
  background-image: url(./images/hero-get-involved.jpg);
}

.hero-gallery {
  background-image: url(./images/hero-gallery.jpg);
}

.hero-contact {
  background-image: url(./images/hero-contact.jpg);
}



.hero-content {
  background: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  border-radius: 12px;
}

/* ========================================
   CONTAINER SYSTEM
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

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

/* ========================================
   CARDS
   ======================================== */
.card {
  background: var(--bg-card);

  padding: 2rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  /* border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); */
}

/* .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--border-medium);
} */

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-wash);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-strong);
}

.card-title {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.card-description {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ========================================
   GRID LAYOUTS
   ======================================== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ========================================
   VALUES SECTION
   ======================================== */
.values-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .values-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .values-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.value-item {
  text-align: center;
  padding: 1.5rem;
}

.value-title {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.value-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 46, 68, 0.9), transparent);
  color: white;
  padding: 1.5rem 1rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* ========================================
   FOUNDER MESSAGE
   ======================================== */
.founder-message {
  background: var(--bg-section);
  border-left: 4px solid var(--accent-primary);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  font-style: italic;
}

.founder-message p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.founder-message p:last-child {
  margin-bottom: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--accent-light);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-contact p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

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

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
  .nav-header {
    padding: 0.5rem 1rem;
  }

  .nav-links {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .nav-link {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
  }

  .mobile-menu-toggle {
    display: block;
  }


  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-height: 52px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.accent-text {
  color: var(--accent-strong);
}


/* ========================================
   ABOUT PAGE – LAYOUT HELPERS
   ======================================== */



/* Soft background sections */
.section-soft {
  background: var(--bg-section);
}

/* About text container */
.about-text {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p:not(:last-child) {
  margin-bottom: 1.5rem;
}

/* Centered icons in values */
.centered-icon {
  margin: 0 auto 1rem;
}

/* Secondary text helper */
.text-secondary {
  color: var(--text-secondary);
}

/* Founder message width */
.founder-centered {
  max-width: 900px;
  margin: 0 auto;
}

/* CTA spacing */
.cta-title {
  margin-bottom: 1rem;
}

.cta-text {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   CONTACT PAGE
   ======================================== */



.contact-grid {
  gap: 3rem;
  align-items: start;
}

.contact-heading {
  margin-bottom: 1.5rem;
}

.contact-intro {
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.contact-card {
  margin-bottom: 1.5rem;
}

.contact-link {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 500;
}

.contact-meta {
  margin-top: 0.5rem;
}

/* Form */
.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-title {
  margin-bottom: 1.5rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-label {
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-primary);
  outline: none;
}

.form-textarea {
  resize: vertical;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-note {
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* Social */
.contact-social {
  background: var(--accent-wash);
  border-color: var(--accent-light);
}

.social-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Partnership CTA */
.partnership-card {
  background: linear-gradient(to right, var(--brand-navy), #2a3f5d);
  color: white;
  text-align: center;
  border-radius: 10px;
}

.partnership-title {
  color: white;
  margin-bottom: 1rem;
}

.partnership-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.partnership-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-light {
  background: white;
  color: var(--brand-navy);
}

.btn-light:hover {
  box-shadow: none;
}

.btn-outline-light {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}


/* ========================================
   GET INVOLVED PAGE
   ======================================== */



.support-grid {
  gap: 2rem;
}

.support-text {
  margin-bottom: 1.5rem;
}

.btn-block {
  width: 100%;
}

.partner-benefits {
  gap: 1.5rem;
}

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.benefit-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

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

.benefit-text {
  color: var(--text-secondary);
}

.contact-box {
  max-width: 600px;
  margin: 0 auto;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-link {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 500;
}

.contact-quote {
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 1rem;
}

.cta-text {
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   Why Partner – 2x2 Image Cards
========================= */

.partner-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.partner-image-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-image-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.partner-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.partner-card-content {
  padding: 28px;
}

.partner-card-content .heading-3 {
  margin-bottom: 0.75rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .partner-benefits-grid {
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .partner-benefits-grid {
    grid-template-columns: 1fr;
  }

  .partner-card-image {
    height: 180px;
  }
}


/* =========================
   Ways You Can Support – 4 Columns
========================= */

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}


/* ========================================
   IMPACT PAGE
   ======================================== */



.impact-grid {
  gap: 2rem;
}

.center-icon {
  margin: 0 auto 1rem;
}

.outcome-text {
  margin-bottom: 1rem;
}

.outcome-highlight {
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.875rem;
}

.impact-statement {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.impact-muted {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.impact-quote {
  background: var(--accent-wash);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent-primary);
}

.impact-quote-main {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-strong);
  margin-bottom: 0.5rem;
}

.impact-quote-sub {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ========================================
   HOME / INDEX PAGE
   ======================================== */

.hero-home {
  min-height: 100vh;
}

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

.community-intro {
  margin-bottom: 1rem;
}

.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.icon-list svg {
  color: var(--pop);
}




.align-center {
  align-items: center;
}

/* Alternating program layout */
.program-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.program-layout.reverse> :first-child {
  order: 2;
}

.program-layout.reverse> :last-child {
  order: 1;
}

.program-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.image-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.program-intro {
  margin-bottom: 1.5rem;
}



.content-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.mb {
  margin-bottom: 1.5rem;
}

.highlight-box {
  background: var(--accent-wash);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent-primary);
  text-align: left;
  margin-top: 2rem;
}

.stack-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.muted {
  color: var(--text-muted);
}

.italic {
  font-style: italic;
}




/* Add this to your existing CSS file */
@media (max-width: 768px) {
  .program-layout {
    display: flex;
    flex-direction: column;
  }

  /* Force image to be first on mobile */
  .program-layout .card {
    order: -1;
    padding: 0;
  }

  /* Remove the reverse class behavior on mobile */
  .program-layout.reverse {
    flex-direction: column;
  }

  .program-layout.reverse .card {
    order: -1;
  }

  /* Adjust spacing */
  .program-layout>div:not(.card) {
    padding-top: 0;
  }

  .program-layout .card-icon {
    display: none;
  }
}

/* =========================
   Footer
========================= */

.footer {
  background-color: var(--text-primary);
  color: #ffffff;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

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

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


/* =========================
   Community Impact Cards
========================= */

.home-community {
  align-items: stretch;
}

.impact-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.impact-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.impact-card-content {
  padding: 28px;
}

.impact-card-content .heading-3 {
  margin-bottom: 0.75rem;
}

.impact-card-content .community-intro {
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .impact-card-image {
    height: 180px;
  }
}

/* =========================
   Our Story Layout
========================= */

.our-story-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.our-story-image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .our-story-layout {
    grid-template-columns: 1fr;
  }

  .our-story-image {
    order: -1;
  }
}



/* =========================
   Impact Achievements (2x2 Cards)
========================= */

.impact-achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.impact-image-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.impact-image-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.impact-card-image {
  height: 200px;
  overflow: hidden;
}

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

.impact-card-content {
  padding: 28px;
}

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

  .impact-card-image {
    height: 180px;
  }
}


/* =========================
   Safeguarding Commitment – Image Cards (3 Col, Centered)
========================= */

.safeguarding-commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  justify-content: center;
}

.safeguarding-image-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.safeguarding-image-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.safeguarding-card-image {
  height: 200px;
  overflow: hidden;
}

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

.safeguarding-card-content {
  padding: 28px;
}

/* Tablet */
@media (max-width: 1024px) {
  .safeguarding-commitment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .safeguarding-commitment-grid {
    grid-template-columns: 1fr;
  }

  .safeguarding-card-image {
    height: 180px;
  }
}


/* ========================================
   PARTNERS SECTION - Scalable Grid
   ======================================== */
.partners-section {
  background: var(--white);
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 180px;
  height: 100px;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  text-decoration: none;
  opacity: 0.8;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-light);
  opacity: 1;
}

.partner-logo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
  }

  .partner-card {
    max-width: 150px;
    height: 80px;
  }

  .partner-logo img {
    max-height: 50px;
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .partner-card {
    max-width: none;
    height: 70px;
  }
}




/* MAIN SLIDER AREA */
#main-slider {
  max-width: 1000px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CENTER SLIDE CONTENT */
#main-slider .splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px;
}

/* IMAGE FITTING */
#main-slider img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

/* CAPTION OVERLAY */
.slide-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 4px;
  text-align: center;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.splide__pagination {
  bottom: -20px !important;
}

.splide__pagination__page.is-active {
  background: var(--brand-teal-light) !important;
}

.donor-credits {
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  text-align: center;
}

.donor-credits p {
  margin-bottom: 20px;
}

.donor-credits h2 {
  margin-top: 40px;
}

.donor-name {
  display: inline-block;
  padding: 10px 20px;
  background: var(--accent-wash);
  color: var(--accent-strong);
  font-size: 14px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.donor-name a {

  color: var(--accent-strong);
  text-decoration: none;
}

.donor-name a:hover {
  text-decoration: underline;
}