/* Minimal styles */
:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --navy: #0f172a;
  --slate: #475569;
  --muted: #94a3b8;
  --cream: #fff7ed;
  --card-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  font-size: 16px;
}

/* Global box-sizing fix */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  color: #1f2937;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Exclude logo from global max-width rule */
.site-logo {
  max-width: none;
}

h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color:#0f172a;
}

/* =============================================
   HEADER & NAVIGATION - Responsive Design
   ============================================= */
.site-header { 
  background: rgba(255,255,255,0.95); 
  backdrop-filter: blur(12px); 
  height: auto; 
  min-height: 72px; 
  padding: 10px 20px; 
  border-bottom: none; 
  position: sticky; 
  top: 0; 
  z-index: 100; 
  box-shadow: 0 8px 30px rgba(15,23,42,0.05); 
}
.site-header .container { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  max-width: 1400px; 
  margin: 0 auto; 
  min-height: 52px; 
  gap: 20px; 
  flex-wrap: nowrap; 
}
.brand { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 700; color: #0f172a; flex-shrink: 0; }
.brand-inner { display: flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; color: inherit; }
.site-logo { height: 56px; width: auto; display: block; object-fit: contain; flex-shrink: 0; max-width: none; }

.org-name { display: inline-flex; gap: 6px; align-items: center; color: #0f172a; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.03em; text-transform: uppercase; }
.org-name .word::first-letter { color: var(--orange); }

/* Mobile nav toggle - hidden on desktop, visible on mobile */
.mobile-nav-toggle { 
  display: none; 
  border: none; 
  background: var(--orange); 
  color: white;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 6px;
  flex-shrink: 0;
}

/* ===========================================
   DESKTOP NAVIGATION (961px and above)
   =========================================== */
@media (min-width: 961px) {
  .site-nav { 
    display: flex; 
    gap: 4px; 
    align-items: center; 
    flex-shrink: 1;
    background: #fff; 
    padding: 6px 14px; 
    border-radius: 999px; 
    box-shadow: 0 12px 40px rgba(15,23,42,0.08); 
    flex-wrap: wrap; 
  }
  .site-nav a, .nav-link { 
    margin: 0 10px; 
    color: #0f172a; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.95rem; 
    transition: color .18s ease, transform .12s ease; 
    padding: 8px 4px; 
    white-space: nowrap; 
  }
  .site-nav a:hover, .nav-link:hover { 
    color: var(--orange-dark); 
    transform: translateY(-2px); 
  }
  .nav-item.dropdown { position: relative; }
  .nav-link { cursor: pointer; display: inline-block; }
  .dropdown-menu { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: #fff; 
    border: 1px solid #ddd; 
    border-radius: 4px; 
    min-width: 180px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity .2s ease, visibility .2s ease; 
    z-index: 9999; 
    margin-top: 4px; 
  }
  .nav-item.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
  .dropdown-menu a { 
    display: block; 
    padding: 10px 14px; 
    color: #000; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.95rem; 
    margin: 0; 
    transition: background .12s ease, color .12s ease; 
  }
  .dropdown-menu a:hover { background: #f0f0f0; color: #0b5; }
}

/* Tablet adjustments for desktop nav */
@media (min-width: 961px) and (max-width: 1100px) {
  .site-header .container { gap: 12px; }
  .site-nav a, .nav-link { margin: 0 8px; font-size: 0.9rem; }
  .org-name { display: none; }
}

/* ===========================================
   MOBILE/TABLET NAVIGATION (960px and below)
   =========================================== */
@media (max-width: 960px) {
  .site-header { min-height: 64px; padding: 8px 16px; }
  .site-header .container { min-height: 48px; flex-wrap: nowrap; }
  .site-logo { height: 44px; }
  .org-name { display: none; }
  
  /* Show hamburger button */
  .mobile-nav-toggle { display: flex; align-items: center; justify-content: center; }
  
  /* CRITICAL: Hide nav completely on mobile by default */
  .site-nav,
  #siteNav,
  nav.site-nav {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: #1a1a2e;
    z-index: 999999;
    overflow-y: auto;
    /* Reset ALL desktop styles */
    border-radius: 0;
    box-shadow: none;
    border: none;
    flex-wrap: nowrap;
    gap: 0;
  }
  
  /* Show nav when open */
  .site-header.nav-open .site-nav,
  .site-header.nav-open #siteNav,
  .site-header.nav-open nav.site-nav {
    display: block !important;
  }
  
  /* Close button header */
  .site-header.nav-open #siteNav::before {
    content: '✕  Close';
    display: block;
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: #12122a;
    border-bottom: 1px solid #333;
    cursor: pointer;
    text-align: right;
  }
  
  /* Nav items container */
  .site-header.nav-open .nav-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid #2a2a4a;
  }
  
  /* All links */
  .site-header.nav-open #siteNav a,
  .site-header.nav-open #siteNav .nav-link {
    display: block;
    padding: 18px 24px;
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    background: transparent;
    border: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
  
  .site-header.nav-open #siteNav a:hover,
  .site-header.nav-open #siteNav .nav-link:hover {
    background: #252550;
    color: var(--orange);
  }
  
  /* Dropdown parent with arrow */
  .site-header.nav-open .nav-item.dropdown > .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .site-header.nav-open .nav-item.dropdown > .nav-link::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: #888;
  }
  
  .site-header.nav-open .nav-item.dropdown.open > .nav-link::after {
    content: '−';
  }
  
  /* Dropdown menu */
  .site-header.nav-open .dropdown-menu {
    display: none;
    background: #12122a;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    position: static;
    opacity: 1;
    visibility: visible;
    border-radius: 0;
    min-width: 100%;
    width: 100%;
  }
  
  .site-header.nav-open .nav-item.dropdown.open .dropdown-menu {
    display: block;
  }
  
  .site-header.nav-open .dropdown-menu a {
    padding: 16px 24px 16px 44px;
    font-size: 15px;
    color: #ccc;
    border-bottom: 1px solid #1a1a3a;
  }
  
  .site-header.nav-open .dropdown-menu a:hover {
    background: #1a1a3a;
    color: var(--orange);
  }
  
  /* Direct nav links (non-dropdown) */
  .site-header.nav-open #siteNav > a {
    border-bottom: 1px solid #2a2a4a;
  }
}

/* Small phone adjustments */
@media (max-width: 720px) {
  .site-header { min-height: 58px; }
  .site-header .container { min-height: 42px; }
  .site-logo { height: 38px; }
  .mobile-nav-toggle { width: 40px; height: 40px; font-size: 18px; }
}

@media (max-width: 420px) {
  .brand-inner { white-space: normal; flex-direction: column; align-items: flex-start; gap: 6px; }
  .org-name { display: inline-flex; font-size: 0.85rem; }
}

.container { max-width:900px; margin:0 auto; padding:20px; width:100%; }
.site-footer { background:#0f172a; color:#fff; margin-top:60px; overflow-x:hidden; }
.footer-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap:20px; padding:32px 20px; }
.footer-brand h3 { margin-top:0; color:#fff; }
.footer-brand p { color:#cbd5f5; max-width:320px; }
.footer-links ul { list-style:none; margin:0; padding:0; }
.footer-links li { margin-bottom:8px; }
.footer-links a { color:#cbd5f5; text-decoration:none; font-weight:600; }
.footer-links a:hover { color:#fff; }
.footer-contact p { margin:6px 0; color:#cbd5f5; }
.footer-contact a { color:#fff; text-decoration:none; }
.footer-contact a:hover { text-decoration:underline; }
.footer-invite p { color:#cbd5f5; margin-bottom:12px; }
.footer-newsletter { display:flex; flex-wrap:wrap; gap:10px; }
.footer-newsletter input { flex:1; min-width:180px; border-radius:999px; border:1px solid rgba(255,255,255,0.3); background:rgba(15,23,42,0.4); padding:10px 16px; color:#fff; }
.footer-newsletter input::placeholder { color:rgba(255,255,255,0.65); }
.footer-newsletter button { border:none; border-radius:999px; background:linear-gradient(135deg,var(--orange),#ffb347); color:#fff; padding:10px 18px; font-weight:600; cursor:pointer; transition:transform .12s ease, box-shadow .12s ease; box-shadow:0 10px 24px rgba(249,115,22,0.3); white-space:nowrap; }
.footer-newsletter button:hover { transform:translateY(-1px); box-shadow:0 14px 30px rgba(249,115,22,0.35); }

@media (max-width:480px) {
    .footer-grid { grid-template-columns:1fr; padding:24px 16px; gap:24px; }
    .footer-newsletter { flex-direction:column; }
    .footer-newsletter input { min-width:100%; }
}
.social-links { display:flex; gap:10px; margin-top:14px; }
.social-icon { width:36px; height:36px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:rgba(255,255,255,0.12); color:#fff; font-weight:700; text-decoration:none; transition:background 0.2s ease, transform 0.2s ease; }
.social-icon i { font-size:16px; line-height:1; display:block; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; transform:translateZ(0); }
.social-icon { backface-visibility: hidden; }
.social-icon:hover { background:rgba(255,255,255,0.35); transform:translateY(-2px); }
/* Brand backgrounds for icons */
.social-icon[aria-label="Facebook"] { background:#1877f2; }
.social-icon[aria-label="X"] { background:#000; }
.social-icon[aria-label="Instagram"] { background:linear-gradient(45deg,#feda75,#d62976); }
.social-icon[aria-label="TikTok"] { background:linear-gradient(45deg,#69c9d0,#010101); }
.footer-bottom { border-top:1px solid rgba(148,163,184,0.3); text-align:center; padding:14px 0; color:#94a3b8; font-size:0.95rem; }
.news-list { list-style:none; padding:0; }
.news-list li { border-bottom:1px solid #eee; padding:10px 0; }
h2 { color: #ff8c00; }

/* News page */
.news-hero {
  text-align: center;
  margin: 30px auto 40px;
  max-width: 720px;
}

.eyebrow {
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin: 0 0 10px;
}

.news-hero h1 {
  margin: 0 0 12px;
  font-size: 2.2rem;
  color: #0f172a;
}

.news-hero p {
  color: #475569;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.empty-feed {
  text-align: center;
  background: #fff6eb;
  border-radius: 18px;
  padding: 40px 30px;
  box-shadow: 0 20px 60px rgba(255, 140, 0, 0.08);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}
.news-group { margin-bottom:60px; }

.news-feature {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.feature-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-body h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #0f172a;
}

.feature-body h3 a {
  text-decoration: none;
  color: inherit;
}

.feature-body p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.news-date {
  color: #2563eb;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.story-link {
  margin-top: 8px;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.story-link:hover {
  text-decoration: underline;
}

.hero-eyebrow {
  display:inline-flex;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(249,115,22,0.15);
  color:#cc580c;
  font-weight:600;
  letter-spacing:0.1em;
  font-size:0.8rem;
  text-transform:uppercase;
}

/* Shared section helpers */
.section-header { text-align:center; margin:40px auto 28px; max-width:640px; }
.section-header h2 { margin:6px 0 12px; color:var(--orange-dark); font-size:2rem; }
.section-header p { color:#475569; margin:0 auto; line-height:1.6; }

/* What we do cards */
.what-we-do { margin:50px auto; }
.program-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; }
.program-card { background:#fff; border-radius:18px; overflow:hidden; box-shadow:0 14px 42px rgba(15,23,42,0.08); display:flex; flex-direction:column; height:100%; }
.program-media img { width:100%; height:170px; object-fit:cover; display:block; }
.program-body { padding:18px 20px 22px; display:flex; flex-direction:column; gap:8px; flex:1; }
.program-body h3 { margin:0; color:#0f172a; font-size:1.2rem; }
.program-body p { margin:0; color:#475569; line-height:1.5; flex:1; }

/* Homepage news wrapper */
.home-news { margin:40px auto; }

/* Newsletter */
.newsletter-section { margin:60px auto 40px; padding:0 16px; }
.newsletter-card { background:#0f172a; border-radius:24px; padding:32px; color:#fff; display:flex; flex-wrap:wrap; gap:30px; align-items:center; box-shadow:0 30px 80px rgba(15,23,42,0.4); }
.newsletter-copy { flex:1 1 260px; min-width:0; }
.newsletter-copy h2 { margin:8px 0 12px; font-size:2rem; }
.newsletter-copy p { color:#e2e8ff; margin:0 0 10px; }
.newsletter-form { flex:1 1 280px; display:flex; flex-direction:column; gap:12px; min-width:0; }
.newsletter-form input { border:none; border-radius:12px; padding:14px 16px; font-size:1rem; width:100%; }
.newsletter-form button { border:none; border-radius:12px; padding:14px 16px; background:linear-gradient(135deg,var(--orange),#ffb347); color:#fff; font-weight:600; cursor:pointer; transition:transform .12s ease, box-shadow .12s ease; box-shadow:0 10px 24px rgba(249,115,22,0.3); }
.newsletter-form button:hover { transform:translateY(-1px); box-shadow:0 14px 30px rgba(249,115,22,0.35); }

@media (max-width: 600px) {
	.newsletter-card { padding:24px 20px; gap:20px; flex-direction:column; }
	.newsletter-copy h2 { font-size:1.5rem; }
	.newsletter-copy, .newsletter-form { flex:1 1 100%; width:100%; }
}
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.newsletter-card .alert,
.footer-invite .alert { border-radius:10px; padding:12px 14px; margin-top:12px; font-weight:600; }
.newsletter-card .alert-success,
.footer-invite .alert-success { background:#dcfce7; color:#166534; }
.newsletter-card .alert-error,
.footer-invite .alert-error { background:#fee2e2; color:#991b1b; }
/* Mission section */
.mission-section { width:100vw; margin-left:calc(-50vw + 50%); background:#f9f9f9; padding:40px 0; overflow-x:hidden; }
.mission-content { max-width:900px; margin:0 auto; padding:0 20px; text-align:center; }
.mission-content h2 { color:#ff8c00; font-size:1.8rem; margin-bottom:16px; }
.mission-content p { font-size:1.05rem; line-height:1.6; color:#333; max-width:800px; margin:0 auto; }

@media (max-width: 480px) {
	.mission-content h2 { font-size:1.5rem; }
	.mission-content p { font-size:1rem; }
}

/* Hero sections for subpages */
.page-hero { position:relative; width:100vw; height:60vh; margin-left:calc(-50vw + 50%); background-size:cover; background-position:center; overflow:hidden; margin-top:-10px; max-width:100vw; }
.page-hero::before { content:""; position:absolute; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.35); z-index:1; }
.page-hero .hero-title { position:absolute; left:40px; right:40px; top:50%; transform:translateY(-50%); color:#fff; font-size:2.8rem; font-weight:700; z-index:2; text-shadow:0 2px 10px rgba(0,0,0,0.5); }
.page-hero .donate-btn { position:absolute; left:40px; top:calc(50% + 80px); background:linear-gradient(135deg,var(--orange),#ffb347); color:#fff; padding:12px 20px; border-radius:999px; text-decoration:none; font-weight:700; font-size:1rem; z-index:2; transition: all .12s ease; box-shadow:0 10px 26px rgba(249,115,22,0.35); }
.page-hero .donate-btn:hover { background:var(--orange-dark); transform: translateY(-2px); }

@media (max-width: 768px) {
	.page-hero { height:45vh; }
	.page-hero .hero-title { font-size:2rem; left:20px; right:20px; }
	.page-hero .donate-btn { left:20px; top:calc(50% + 60px); }
}

@media (max-width: 480px) {
	.page-hero { height:35vh; }
	.page-hero .hero-title { font-size:1.5rem; left:16px; right:16px; }
	.page-hero .donate-btn { left:16px; top:calc(50% + 45px); padding:10px 16px; font-size:0.9rem; }
}
.sponsorship-hero .hero-overlay,
.sponsor-hero .hero-overlay,
.letter-hero .hero-overlay,
.volunteer-hero .hero-overlay,
.page-hero .hero-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(15,23,42,0.15),rgba(15,23,42,0.85));
  color:#fff;
  padding:40px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:12px;
  text-align:left;
  z-index:2;
}
.sponsorship-hero .hero-overlay h1,
.sponsor-hero .hero-overlay h1,
.letter-hero .hero-overlay h1,
.volunteer-hero .hero-overlay h1,
.page-hero .hero-overlay h1,
.sponsorship-hero .hero-overlay p,
.sponsor-hero .hero-overlay p,
.letter-hero .hero-overlay p,
.volunteer-hero .hero-overlay p,
.page-hero .hero-overlay p { 
  color:#fff; 
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.page-hero .hero-overlay h1 {
  font-size:2.8rem;
  font-weight:700;
  margin:0;
}
.page-hero .hero-overlay p {
  font-size:1.2rem;
  margin:0;
  max-width:600px;
}
.page-hero .hero-overlay .eyebrow {
  font-size:0.9rem;
  text-transform:uppercase;
  letter-spacing:1px;
  opacity:0.9;
}

/* Page content sections */
.page-content { max-width:900px; margin:20px auto; padding:0 0px; }
.page-content h2,
.page-content h3 { color:var(--orange-dark); }
.page-content p { font-size:1.15rem; line-height:1.7; color:#333; margin-bottom:16px; }
.rich-text { font-size:1.1rem; line-height:1.7; color:#333; }
.rich-text strong { color:var(--orange-dark); }
.page-content h2 { font-size:1.6rem; }
.page-content h3 { font-size:1.35rem; }
.page-content h4 { font-size:1.2rem; }
.page-content li { font-size:1.1rem; }

/* Gallery at bottom */
.page-gallery { width:100vw; margin-left:calc(-50vw + 50%); background:#f9f9f9; padding:40px 0; overflow-x:hidden; }
.gallery-items { max-width:900px; margin:0 auto; padding:0 20px; display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:20px; }
.gallery-items img { width:100%; height:300px; object-fit:cover; border-radius:6px; }

@media (max-width: 480px) {
	.gallery-items { grid-template-columns:1fr; padding:0 16px; }
	.gallery-items img { height:220px; }
}
.errors { color:#c00; }
.success { color: #080; }
form label { display:block; margin-bottom:10px; }
button {
  background:linear-gradient(135deg,var(--orange),#ffb347);
  border:none;
  padding:10px 16px;
  border-radius:999px;
  color:#fff;
  cursor:pointer;
  font-weight:600;
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
}
button:hover {
  background:var(--orange-dark);
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(249,115,22,0.3);
}

/* Carousel styles */
.hero-carousel { background:#222; color:#fff; position:relative; z-index:1; margin-top:16px; width:100%; }
.carousel { position:relative; width:100%; height:100vh; overflow:hidden; z-index:1; margin-left:calc(-50vw + 50%); margin-right:calc(-50vw + 50%); width:100vw; max-width:100vw; }
.carousel .slide { position:absolute; top:0; left:0; width:100%; height:100%; opacity:0; transition:opacity .6s ease-in-out; }
.carousel .slide.active { position:relative; opacity:1; }
.carousel img { display:block; width:100%; height:100vh; object-fit:cover; }
.carousel .overlay { position:absolute; left:40px; top:60%; transform:translateY(-50%); color:#fff; font-size:2.4rem; font-weight:700; text-align:left; padding:12px 18px; background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2)); border-radius:12px; text-transform:none; line-height:1.2; max-width:55%; text-shadow: 0 2px 10px rgba(0,0,0,0.6); z-index:10; }
.carousel .overlay * { color:#fff !important; }
.carousel .overlay .hero-eyebrow { background:rgba(255,255,255,0.2); color:#fff !important; }
.carousel .overlay p { font-size:1.1rem; font-weight:500; margin:8px 0 0; }

.overlay .donate-btn { display:inline-block; margin-top:22px; background:linear-gradient(135deg,var(--orange),#ffb347); color:#fff !important; padding:12px 22px; border-radius:999px; text-decoration:none; font-weight:700; font-size:1.05rem; box-shadow:0 10px 26px rgba(249,115,22,0.35); transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.overlay .donate-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(249,115,22,0.4); background:var(--orange-dark); }
.overlay .support-text { margin-top:24px; color: rgba(255,255,255,0.95) !important; font-weight:600; font-size:1rem; }

@media (max-width: 768px) {
	.carousel .overlay { left:16px; right:16px; max-width:calc(100% - 32px); font-size:1.4rem; padding:12px; }
	.carousel { height:70vh; }
	.carousel img { height:70vh; }
}

@media (max-width: 480px) {
	.carousel .overlay { font-size:1.2rem; top:50%; }
	.carousel { height:60vh; }
	.carousel img { height:60vh; }
	.overlay .donate-btn { padding:10px 18px; font-size:0.95rem; }
	.overlay .support-text { font-size:0.9rem; margin-top:16px; }
}



/* Contact hero (smaller than main carousel hero) */
.contact-hero { height:40vh; }
.contact-hero .hero-title { font-size:2.2rem; left:40px; top:48%; }
.contact-hero::before { background:rgba(0,0,0,0.35); }

/* Map container (full-bleed) */
.map-container { width:100vw; margin-left:calc(-50vw + 50%); padding:24px 16px 40px; background:#fff; display:flex; justify-content:center; overflow-x:hidden; }
.map-container iframe { width:90%; max-width:1100px; height:480px; border:0; border-radius:6px; box-shadow: 0 8px 28px rgba(0,0,0,0.08); }

@media (max-width:768px) {
    .contact-hero { height:30vh; }
    .contact-hero .hero-title { font-size:1.6rem; left:16px; right:16px; }
    .map-container iframe { width:100%; height:320px; }
}

@media (max-width:480px) {
    .map-container { padding:16px 12px 30px; }
    .map-container iframe { height:260px; border-radius:4px; }
}
.carousel-control { position:absolute; top:50%; transform:translateY(-50%); background: rgba(255,255,255,0.75); border:none; color:#000; font-size:28px; width:40px; height:60px; cursor:pointer; border-radius:4px; }
.carousel-control.prev { left:10px; }
.carousel-control.next { right:10px; }

/* About page: cards, values and team grid */
.cards-row { display:flex; gap:20px; max-width:900px; margin:24px auto; padding:0 20px; flex-wrap:wrap; }
.card { background:#fff; border-radius:10px; padding:22px; box-shadow: 0 8px 28px rgba(16,24,40,0.06); flex:1 1 300px; min-width:0; position:relative; overflow:hidden; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(16,24,40,0.12); }
.card h2 { color:var(--orange-dark); margin-top:0; font-size:1.25rem; display:flex; align-items:center; gap:10px; }
.card h2::before { content:""; width:42px; height:42px; min-width:42px; display:inline-block; border-radius:8px; background:linear-gradient(135deg,#fff,#fff); }

/* distinct accents for mission and vision */
.card#mission { border-left:6px solid #28a745; }
.card#vision { border-left:6px solid #ff8c00; }
.card#mission h2::before { background:linear-gradient(135deg,#28a745,#5cd07a); }
.card#vision h2::before { background:linear-gradient(135deg,#ff8c00,#ffc466); }
.card p { color:#444; line-height:1.6; margin:12px 0 0; }

.values-list { list-style:none; padding:0 16px; max-width:900px; margin:0 auto 24px; display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; }
.values-list li { background:#fff; padding:12px 14px; border-radius:8px; display:flex; align-items:center; gap:12px; box-shadow: 0 6px 12px rgba(0,0,0,0.04); font-weight:700; }
.value-icon { width:44px; height:44px; min-width:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:linear-gradient(135deg,#ff8c00,#ffb366); color:#fff; font-size:18px; }

.team-grid { max-width:1100px; margin:20px auto 60px; padding:0 20px; display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:18px; }
.team-card { background:#fff; border-radius:8px; padding:12px; text-align:center; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.team-card img { width:100%; height:180px; object-fit:cover; border-radius:6px; }
.team-avatar-fallback { width:100%; height:180px; border-radius:6px; background:linear-gradient(135deg,#cbd5ff,#e2e8ff); display:flex; align-items:center; justify-content:center; font-size:1.8rem; font-weight:700; color:#1e293b; }
.team-name { margin:10px 0 0; font-weight:700; color:#0f172a; font-size:0.95rem; }
.team-role { margin:4px 0; color:#64748b; font-size:0.85rem; }
.team-bio { margin:6px 0 0; color:#475569; font-size:0.85rem; line-height:1.5; }

@media (max-width:720px) {
    .cards-row { flex-direction:column; padding:0 16px; }
    .card { flex:1 1 100%; }
}

@media (max-width:480px) {
    .values-list { grid-template-columns:1fr; padding:0 12px; }
    .team-grid { grid-template-columns:repeat(2, 1fr); padding:0 12px; gap:12px; }
    .team-card img, .team-avatar-fallback { height:140px; }
}

/* Contact form styles */
.contact-section { padding-top:10px; }
.contact-form { max-width:100%; margin:8px auto 30px; }
.contact-form .form-row { display:flex; gap:12px; margin-bottom:12px; }
.contact-form .form-group { flex:1; display:flex; flex-direction:column; }
.contact-form .form-group.full { flex:1 1 100%; }
.contact-form label { font-weight:700; margin-bottom:6px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { border:2px solid var(--orange); padding:10px 12px; border-radius:8px; font-size:1rem; transition: box-shadow .12s ease, border-color .12s ease; }
.contact-form input[type="text"]:focus, .contact-form input[type="email"]:focus, .contact-form textarea:focus { outline:none; border-color:var(--orange-dark); box-shadow: 0 6px 16px rgba(249,115,22,0.2); }
.contact-form textarea { min-height:120px; resize:vertical; }
.required { color:#c00; margin-left:4px; }
.actions { display:flex; gap:12px; align-items:center; }
.btn-primary { background:linear-gradient(135deg,var(--orange),#ffb347); color:#fff; border:none; padding:10px 18px; border-radius:999px; cursor:pointer; font-weight:700; box-shadow:0 10px 24px rgba(249,115,22,0.3); }
.btn-primary:hover { background:var(--orange-dark); }
.btn-secondary { background:#f1f1f1; color:#333; border:1px solid #ddd; padding:10px 16px; border-radius:6px; cursor:pointer; }
.alert { max-width:900px; margin:12px auto; padding:12px 16px; border-radius:6px; }
.alert.success { background:#e6ffed; border:1px solid #c6f0d1; color:#1f7a3a; }
.alert.error { background:#fff5f5; border:1px solid #f5c6c6; color:#8a1f1f; }

@media (max-width:720px) {
    .contact-form .form-row { flex-direction:column; }
}

/* Contact grid layout */
.contact-grid { display:grid; grid-template-columns: 1fr 280px; gap:24px; align-items:start; max-width:1100px; margin:12px auto 40px; padding:0 16px; }
.contact-info { background:#fff; border-radius:8px; padding:18px; box-shadow: 0 6px 18px rgba(0,0,0,0.04); }
.contact-info h3 { margin-top:0; color:#ff8c00; }
.contact-info address { font-style:normal; color:#444; line-height:1.5; margin-bottom:12px; word-break:break-word; }
.contact-info a { color:var(--orange-dark); text-decoration:none; word-break:break-word; }
.contact-info .socials p { margin:8px 0; }

.contact-grid .intro { grid-column: 1 / -1; margin-bottom:8px; font-size:1.05rem; color:#444; }

@media (max-width:960px) {
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width:480px) {
    .contact-grid { padding:0 12px; gap:16px; }
    .contact-info { padding:14px; }
}

/* Donation and Volunteer pages */
.donation-projects { max-width:900px; margin:24px auto; padding:0 16px; display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; }
.project-card { background:#fff; border-radius:8px; overflow:hidden; box-shadow: 0 6px 18px rgba(0,0,0,0.06); transition: transform .18s ease, box-shadow .18s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.project-card img { width:100%; height:200px; object-fit:cover; }
.project-card h4 { margin:12px 14px 6px; font-size:1.1rem; color:#222; }
.project-card p { margin:0 14px 14px; font-size:0.95rem; color:#666; line-height:1.5; }
.project-card .donate-btn { margin:0 14px 14px; display:inline-block; }

.cta-section { background:#f9f9f9; border-radius:8px; padding:32px 24px; text-align:center; margin:40px 16px; max-width:600px; }
.cta-section h4 { margin:0 0 12px; font-size:1.4rem; color:#222; }
.cta-section p { margin:0 0 20px; color:#666; font-size:1rem; }

/* Ways to Give cards */
.ways-to-give { max-width:900px; margin:20px auto; padding:0 16px; display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:20px; }
.give-card { background:#fff; border-radius:10px; overflow:hidden; box-shadow: 0 6px 18px rgba(0,0,0,0.06); transition: transform .18s ease, box-shadow .18s ease; padding:16px; }
.give-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.give-card h4 { margin:0 0 12px; font-size:1.1rem; color:#222; }
.give-card img { width:100%; height:200px; object-fit:cover; border-radius:6px; margin-bottom:12px; }
.give-card p { margin:0; font-size:0.95rem; color:#666; line-height:1.6; }

@media (max-width:600px) {
    .donation-projects { padding:0 12px; gap:14px; }
    .project-card img { height:180px; }
    .ways-to-give { padding:0 12px; }
    .give-card img { height:160px; }
    .cta-section { margin:30px 12px; padding:24px 16px; }
    .cta-section h4 { font-size:1.2rem; }
}

/* News images */
.news-thumb { width:200px; height:130px; object-fit:cover; border-radius:8px; display:block; margin-bottom:8px; }
.story-image { max-width:100%; height:auto; border-radius:8px; margin-bottom:16px; }
.story-video { margin-top:16px; }
.story-video iframe,
.story-video video { width:100%; height:320px; border:none; border-radius:14px; }

/* New sections and sponsorship experience */
.stats-section { margin:80px 16px; background:var(--cream); border-radius:var(--radius-lg); padding:40px; }
.section-header + .stats-grid { margin-top:30px; }
.stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:24px; }

@media (max-width:600px) {
    .stats-section { margin:40px 12px; padding:24px 16px; border-radius:16px; }
    .stats-grid { gap:16px; }
}
.stat-card { background:#fff; border-radius:20px; padding:24px; box-shadow:var(--card-shadow); position:relative; overflow:hidden; }
.stat-card::after { content:''; position:absolute; top:-40px; right:-30px; width:120px; height:120px; background:rgba(249,115,22,0.12); border-radius:50%; }
.stat-card p { margin:0; position:relative; z-index:1; }
.stat-label { text-transform:uppercase; letter-spacing:0.12em; font-size:0.75rem; color:var(--muted); margin-bottom:10px !important; }
.stat-value { font-size:2.6rem; font-weight:700; color:var(--orange-dark); margin-bottom:8px !important; }
.stat-description { color:#475569; font-size:0.95rem; }

.sponsor-search { max-width:1100px; margin:60px auto; padding:0 16px; }
.filter-card { background:#fff; border-radius:24px; padding:32px; box-shadow:var(--card-shadow); }
.filter-header h2 { margin:0 0 10px; }
.filter-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:16px; margin-top:16px; }
.filter-grid label { display:flex; flex-direction:column; font-weight:600; color:#475569; font-size:0.9rem; }
.filter-grid select { margin-top:6px; border:1px solid #d4d4d8; border-radius:12px; padding:10px; font-size:1rem; width:100%; }
.filter-actions { display:flex; justify-content:flex-end; margin-top:16px; flex-wrap:wrap; gap:10px; }

@media (max-width:600px) {
    .sponsor-search { margin:30px auto; padding:0 12px; }
    .filter-card { padding:20px 16px; border-radius:16px; }
    .filter-grid { grid-template-columns:1fr; }
    .filter-actions { justify-content:stretch; }
    .filter-actions .btn { flex:1; text-align:center; }
}
.results-meta { display:flex; justify-content:space-between; align-items:center; margin:24px 0 12px; color:#475569; font-weight:600; }
.results-meta .muted { color:var(--muted); font-weight:400; }
.child-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; }
.child-card { background:#fff; border-radius:20px; box-shadow:var(--card-shadow); overflow:hidden; display:flex; flex-direction:column; }
.child-photo img { width:100%; height:220px; object-fit:cover; display:block; }
.child-body { padding:20px; display:flex; flex-direction:column; gap:8px; }
.child-name { font-size:1.3rem; font-weight:700; margin:0; }
.child-dob, .child-need, .child-summary { margin:0; color:#475569; font-size:0.95rem; }

.child-detail { max-width:1100px; margin:40px auto; display:grid; grid-template-columns:1.2fr 0.8fr; gap:24px; padding:0 16px; }
.child-detail-hero { position:relative; width:100vw; height:45vh; margin-left:calc(-50vw + 50%); background-size:cover; background-position:center; overflow:hidden; }
.child-detail-hero .hero-overlay { position:absolute; inset:0; background:rgba(15,23,42,0.55); color:#fff; padding:60px 40px; display:flex; flex-direction:column; justify-content:flex-end; }
.child-story { background:#fff; border-radius:24px; padding:30px; box-shadow:var(--card-shadow); }
.child-summary-card { background:var(--cream); border-radius:24px; padding:24px; box-shadow:var(--card-shadow); display:flex; flex-direction:column; gap:12px; }
.child-summary-card .child-photo img { height:240px; border-radius:18px; width:100%; object-fit:cover; }
.child-video video { width:100%; border-radius:18px; margin-top:12px; box-shadow:var(--card-shadow); background:#000; }

@media (max-width:768px) {
    .child-detail-hero { height:35vh; }
    .child-detail-hero .hero-overlay { padding:30px 20px; }
    .child-story { padding:20px; border-radius:18px; }
    .child-summary-card { padding:18px; border-radius:18px; }
}

.sponsorship-page { max-width:1100px; margin:40px auto; display:flex; flex-direction:column; gap:40px; padding:0 16px; }
.sponsorship-pillars { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; }
.pillar-card { background:#fff; border-radius:18px; padding:24px; box-shadow:var(--card-shadow); }
.sponsorship-steps { background:#fff; border-radius:24px; padding:30px; box-shadow:var(--card-shadow); }
.sponsorship-steps ol { margin:0; padding-left:20px; color:#475569; }
.sponsorship-cta { text-align:center; background:var(--orange); color:#fff; border-radius:24px; padding:32px 24px; box-shadow:0 25px 60px rgba(249,115,22,0.35); }
.sponsorship-cta h3 { color:#fff; }
.sponsorship-cta p { color:#fff; }

@media (max-width:600px) {
    .sponsorship-page { gap:24px; margin:24px auto; }
    .sponsorship-pillars { grid-template-columns:1fr; }
    .sponsorship-steps { padding:20px; border-radius:18px; }
    .sponsorship-cta { padding:24px 16px; border-radius:18px; }
}

.letter-page { padding:0 16px; }
.letter-page .letter-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; }
.letter-card { background:#fff; border-radius:20px; padding:24px; box-shadow:var(--card-shadow); }
.letter-card ul { padding-left:18px; color:#475569; }

.mission-vision-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; margin:32px 0; padding:0 16px; }
.objectives-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:18px; padding:0 16px; }
.objective-card { background:#fff; border-radius:18px; padding:20px; box-shadow:var(--card-shadow); position:relative; overflow:hidden; }
.objective-accent { width:4px; height:100%; background:var(--orange); position:absolute; left:0; top:0; }

@media (max-width:600px) {
    .letter-page .letter-grid { grid-template-columns:1fr; }
    .letter-card { padding:18px; border-radius:16px; }
    .mission-vision-row { grid-template-columns:1fr; gap:16px; }
    .objectives-grid { grid-template-columns:1fr; gap:14px; }
}

.messages-preview { margin:60px 0; padding:0 16px; }
.message-card-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
.message-card-grid.full { grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); }
.message-card { background:#fff; border-radius:18px; padding:20px; box-shadow:var(--card-shadow); display:flex; flex-direction:column; gap:12px; }
.message-card header { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; flex-wrap:wrap; }
.message-author { margin:0; font-weight:600; color:#0f172a; word-break:break-word; }
.message-email { margin:2px 0 0; color:var(--muted); font-size:0.9rem; word-break:break-all; }
.message-date { color:var(--muted); font-size:0.85rem; white-space:nowrap; }
.message-body { margin:0; color:#475569; white-space:pre-wrap; word-break:break-word; }

@media (max-width:600px) {
    .messages-preview { margin:40px 0; padding:0 12px; }
    .message-card-grid { grid-template-columns:1fr; }
    .message-card { padding:16px; border-radius:14px; }
}

.btn { display:inline-flex; align-items:center; justify-content:center; padding:12px 20px; border-radius:999px; border:none; background:var(--orange); color:#fff; font-weight:600; cursor:pointer; text-decoration:none; transition:transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform:translateY(-1px); box-shadow:0 10px 30px rgba(249,115,22,0.35); }
.btn.ghost { background:transparent; color:var(--orange-dark); border:1px solid rgba(249,115,22,0.35); }

@media (max-width:960px) {
  .child-detail { grid-template-columns:1fr; }
}

@media (max-width:720px) {
  .filter-card { padding:20px; }
}

@media (max-width:480px) {
  .section-header { padding:0 16px; margin:30px auto 20px; }
  .section-header h2 { font-size:1.5rem; }
  .page-content { padding:0 16px; }
  .page-content h2 { font-size:1.35rem; }
  .page-content p { font-size:1rem; }
}


