/* ==========================================================================
   Gonen Hope and Relief Foundation — Global Stylesheet
   Brand: #1e5a8a (primary blue) / #e67e22 (warm orange)
   Fonts: Inter (body) / Playfair Display (headings)
   ========================================================================== */

/* ---------- 1. CSS Variables ---------- */
:root {
  --blue: #1e5a8a;
  --blue-dark: #163f63;
  --blue-light: #2d78b0;
  --blue-soft: #eaf2f9;
  --orange: #e67e22;
  --orange-dark: #c9651a;
  --orange-light: #f5a251;
  --orange-soft: #fdf1e3;
  --white: #ffffff;
  --gray-bg: #f8fafc;
  --gray-border: #e2e8f0;
  --gray-text: #64748b;
  --dark: #1e293b;
  --dark-2: #334155;
  --text: #1f2937;
  --text-muted: #6b7280;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(30, 90, 138, 0.10);
  --shadow-lg: 0 12px 40px rgba(30, 90, 138, 0.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
  --header-h: 78px;
}

/* ---------- 2. Reset & Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- 3. Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-bg { background: var(--gray-bg); }
.section-blue { background: var(--blue); color: #fff; }
.section-blue h1, .section-blue h2, .section-blue h3 { color: #fff; }

.section-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 50px;
  font-size: 1.05rem;
}

.section-blue .section-subtitle { color: rgba(255, 255, 255, 0.85); }

.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  justify-content: center;
  border: 2px solid transparent;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(230, 126, 34, 0.45);
}

.btn-secondary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 20px rgba(30, 90, 138, 0.25);
}
.btn-secondary:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- 5. Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition);
}

.site-header.scrolled {
  height: 68px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(30, 90, 138, 0.3);
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 50%;
  border: 2px solid #fff;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--dark);
  font-weight: 700;
}
.logo-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  position: relative;
  transition: all var(--transition);
}

.nav-menu > li > a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav-menu > li > a.active {
  color: var(--blue);
  font-weight: 600;
}
.nav-menu > li > a.active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-icon { font-size: 0.7rem; transition: transform var(--transition); }
.has-dropdown:hover .dropdown-icon { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  margin-top: 8px;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 14px;
  color: var(--dark-2);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
}
.dropdown li a:hover {
  background: var(--blue-soft);
  color: var(--blue);
  padding-left: 18px;
}

.nav-cta-group { display: flex; align-items: center; gap: 14px; }

.nav-donate {
  background: var(--orange);
  color: #fff !important;
  padding: 11px 24px !important;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.35);
  transition: all var(--transition);
}
.nav-donate:hover {
  background: var(--orange-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.45);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  background: var(--blue-soft);
}
.hamburger span {
  width: 22px;
  height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 6. Hero / Slider ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  margin-top: 0;
  overflow: hidden;
  background: #000;
}

.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 63, 99, 0.78) 0%, rgba(22, 63, 99, 0.55) 50%, rgba(230, 126, 34, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-inner { max-width: 760px; }

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-tagline i { color: var(--orange-light); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.12;
  margin-bottom: 22px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.hero h1 .highlight { color: var(--orange-light); font-style: italic; }

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Slider controls */
.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.slider-dot.active {
  background: var(--orange);
  width: 36px;
  border-radius: 6px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.slider-arrow:hover { background: var(--orange); }
.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

/* ---------- 7. Page Header (Inner pages) ---------- */
.page-header {
  position: relative;
  padding: 160px 0 90px;
  background:
    linear-gradient(135deg, rgba(22, 63, 99, 0.88) 0%, rgba(30, 90, 138, 0.78) 100%),
    url('../images/hero1.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 100%);
}

.page-header h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--orange-light); }
.breadcrumb .sep { color: var(--orange-light); }

/* ---------- 8. Impact Stats ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 280px;
  height: 280px;
  background: rgba(230, 126, 34, 0.15);
  border-radius: 50%;
}
.stats-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-item:last-child { border-right: none; }

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: rgba(230, 126, 34, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--orange-light);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number .suffix { color: var(--orange-light); }

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 500;
}

.stat-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
  font-style: italic;
  line-height: 1.4;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 9. About Preview ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
  padding-bottom: 30px;
}
.about-images .img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-images .img-float {
  position: absolute;
  bottom: 0;
  right: -20px;
  width: 45%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.about-images .experience-badge {
  position: absolute;
  top: 20px;
  left: -20px;
  background: var(--orange);
  color: #fff;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.4);
  text-align: center;
  line-height: 1.1;
}
.about-images .experience-badge strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
}
.about-images .experience-badge span {
  font-size: 0.78rem;
  letter-spacing: 0.4px;
}

.about-content .section-tag,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-feature i {
  color: var(--orange);
  font-size: 1.2rem;
  margin-top: 2px;
}
.about-feature span {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

/* ---------- 10. Programs Cards ---------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.program-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.program-img {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.program-card:hover .program-img img { transform: scale(1.08); }

.program-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 63, 99, 0.45) 0%, transparent 50%);
}

.program-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: #fff;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  z-index: 2;
}

.program-body {
  padding: 24px 22px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.program-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.program-body p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 18px;
  flex: 1;
}
.program-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.program-link:hover {
  color: var(--orange);
  gap: 12px;
}

.programs-cta {
  text-align: center;
  margin-top: 50px;
}

/* ---------- 11. Featured Programs (Home) ---------- */
.featured-programs { background: var(--gray-bg); }

/* ---------- 12. Testimonials ---------- */
.testimonials {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.07);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 34px 30px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.stars { color: var(--orange-light); margin-bottom: 14px; font-size: 0.9rem; }

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}
.testimonial-author .name {
  font-weight: 600;
  color: #fff;
  font-size: 0.98rem;
}
.testimonial-author .role {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 13. CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(230, 126, 34, 0.95) 0%, rgba(201, 101, 26, 0.92) 100%),
    url('../images/hero3.jpg') center/cover fixed no-repeat;
  color: #fff;
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 32px;
}
.cta-banner .btn-primary {
  background: #fff;
  color: var(--orange-dark);
}
.cta-banner .btn-primary:hover { background: var(--dark); color: #fff; }

/* ---------- 14. Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 22px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--orange);
}

.footer-about .logo { margin-bottom: 18px; }
.footer-about .logo-text strong { color: #fff; }
.footer-about p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }

.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.footer-socials a:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover { color: var(--orange); padding-left: 4px; }
.footer-links a i { font-size: 0.7rem; color: var(--orange); }

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
}
.footer-contact i {
  color: var(--orange);
  font-size: 1rem;
  margin-top: 4px;
  flex-shrink: 0;
}
.footer-contact a { color: rgba(255, 255, 255, 0.75); }
.footer-contact a:hover { color: var(--orange); }

.footer-newsletter p { font-size: 0.92rem; margin-bottom: 14px; }
.newsletter-form {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form button {
  background: var(--orange);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--orange-dark); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ---------- 15. Mission / Vision / Values ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.mv-card {
  padding: 40px 36px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.mv-card.mission { background: var(--blue-soft); border-left: 4px solid var(--blue); }
.mv-card.vision { background: var(--orange-soft); border-left: 4px solid var(--orange); }
.mv-card .mv-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.mv-card.mission .mv-icon { background: var(--blue); color: #fff; }
.mv-card.vision .mv-icon { background: var(--orange); color: #fff; }
.mv-card h3 { font-size: 1.6rem; margin-bottom: 14px; }
.mv-card p { color: var(--text-muted); line-height: 1.8; }

/* Our Story */
.our-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.story-images img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.story-images img:nth-child(1) { grid-row: span 2; aspect-ratio: 1 / 2.1; }
.story-images img:nth-child(2) { aspect-ratio: 16/11; }
.story-images img:nth-child(3) { aspect-ratio: 16/11; }

.story-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 20px; }
.story-content p { color: var(--text-muted); margin-bottom: 16px; }

/* Core Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 36px 26px;
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.value-card .v-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all var(--transition);
}
.value-card:hover .v-icon { background: var(--orange); color: #fff; }
.value-card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { color: var(--text-muted); font-size: 0.92rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 63, 99, 0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}
.team-card:hover .team-overlay { opacity: 1; }
.team-overlay .socials { display: flex; gap: 8px; }
.team-overlay .socials a {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.team-overlay .socials a:hover { background: var(--orange); color: #fff; }

.team-info { padding: 22px 18px; }
.team-info h4 { font-size: 1.15rem; margin-bottom: 4px; }
.team-info .role { color: var(--orange); font-weight: 600; font-size: 0.88rem; }

/* ---------- 16. Donate Page ---------- */
.donate-options {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.frequency-toggle {
  display: flex;
  background: var(--gray-bg);
  border-radius: 50px;
  padding: 6px;
  margin-bottom: 26px;
}
.frequency-toggle button {
  flex: 1;
  padding: 12px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.frequency-toggle button.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(30, 90, 138, 0.25);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.amount-option {
  padding: 18px 10px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  background: #fff;
  transition: all var(--transition);
  position: relative;
}
.amount-option:hover { border-color: var(--blue); color: var(--blue); }
.amount-option.active {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(230, 126, 34, 0.3);
}
.amount-option .currency { font-size: 0.9rem; vertical-align: top; }
.amount-option small { display: block; font-size: 0.7rem; font-weight: 500; margin-top: 4px; opacity: 0.8; }

.custom-amount {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  margin-bottom: 20px;
}
.custom-amount span { font-weight: 700; color: var(--text-muted); padding-right: 10px; }
.custom-amount input {
  flex: 1;
  border: none;
  padding: 14px 0;
  outline: none;
  font-weight: 600;
  background: transparent;
}

/* Donation form */
.donate-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-border);
}
.donate-form h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.donate-form .form-sub { color: var(--text-muted); margin-bottom: 26px; font-size: 0.95rem; }

/* Impact descriptions */
.impact-list {
  background: var(--blue-soft);
  border-radius: var(--radius-md);
  padding: 30px;
}
.impact-list h3 {
  font-size: 1.3rem;
  margin-bottom: 22px;
  color: var(--blue);
}
.impact-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(30, 90, 138, 0.2);
}
.impact-item:last-child { border-bottom: none; }
.impact-amount {
  flex-shrink: 0;
  width: 90px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--orange);
}
.impact-desc { font-size: 0.95rem; color: var(--dark-2); }

/* ---------- 17. Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--dark);
}
.form-group label .required { color: var(--orange); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--dark);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 90, 138, 0.1);
}
.form-control::placeholder { color: #94a3b8; }
textarea.form-control { resize: vertical; min-height: 130px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-success,
.form-error {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-success {
  background: #dcfce7;
  color: #166534;
  border-left: 4px solid #16a34a;
}
.form-error {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #dc2626;
}

/* ---------- 18. Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
}

.contact-info-card {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 40px 34px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-info-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.contact-info-card > p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.contact-info-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .ci-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-list .ci-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.contact-info-list .ci-value {
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  word-break: break-word;
}
.contact-info-list .ci-value a { color: #fff; }
.contact-info-list .ci-value a:hover { color: var(--orange-light); }

.contact-socials {
  margin-top: 28px;
  display: flex;
  gap: 10px;
}
.contact-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition);
}
.contact-socials a:hover { background: var(--orange); transform: translateY(-3px); }

/* Volunteer Form */
.volunteer-section { background: var(--gray-bg); }
.volunteer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.volunteer-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.volunteer-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 18px; }
.volunteer-content p { color: var(--text-muted); margin-bottom: 18px; }
.volunteer-benefits { margin: 22px 0 30px; }
.volunteer-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--dark-2);
}
.volunteer-benefits i { color: var(--orange); margin-top: 4px; }

/* ---------- 19. News/Blog Page ---------- */
.news-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 9px 22px;
  border: 2px solid var(--gray-border);
  border-radius: 50px;
  background: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark-2);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card.hide { display: none; }

.news-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-img img { transform: scale(1.08); }
.news-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: #fff;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.news-body {
  padding: 24px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.news-date i { color: var(--orange); }
.news-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.35;
}
.news-body h3 a { color: var(--dark); }
.news-body h3 a:hover { color: var(--blue); }
.news-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
  flex: 1;
}
.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--gray-border);
}
.news-meta .author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--dark-2);
}
.news-meta .author i { color: var(--blue); }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}
.pagination a {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--dark-2);
  font-size: 0.92rem;
  transition: all var(--transition);
}
.pagination a:hover, .pagination a.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ---------- 20. Programs Detail List ---------- */
.programs-list-section { background: var(--gray-bg); }
/* Note: column count is set responsively in features.css (1100px→2 cols, 768px→1 col) */

/* ---------- 21. Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--orange); transform: translateY(-4px); }

/* ---------- 22. Responsive ---------- */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-preview, .our-story, .donate-options, .contact-grid, .volunteer-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item:nth-child(2) { border-right: none; }
  .programs-grid, .testimonials-grid, .news-grid, .team-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: 1fr; }
  .about-images .img-float { right: 0; }
  .about-images .experience-badge { left: 0; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }

  /* Mobile nav */
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu > li > a { padding: 14px 16px; border-radius: 8px; }
  .nav-menu > li > a.active::after { display: none; }

  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .has-dropdown.open .dropdown { max-height: 400px; padding-top: 6px; }
  .has-dropdown .dropdown li a { padding: 8px 14px; font-size: 0.88rem; }

  .hamburger { display: flex; }
  .nav-cta-group .nav-donate { display: none; }

  /* Mobile nav donate at bottom of menu */
  .nav-menu .mobile-donate {
    display: block;
    margin-top: 12px;
  }

  .hero { min-height: 540px; height: 90vh; }
  .hero h1 { font-size: 2.1rem; }
  .hero p { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .slider-arrow { display: none; }

  .page-header { padding: 130px 0 60px; }

  .programs-grid, .testimonials-grid, .news-grid, .team-grid, .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .donate-form, .contact-form { padding: 28px 22px; }

  .volunteer-grid { gap: 30px; }
  .about-features { grid-template-columns: 1fr; }

  .cta-banner { background-attachment: scroll; padding: 60px 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-bottom: 24px; }
  .stat-item:last-child { border-bottom: none; }
  .story-images { grid-template-columns: 1fr; }
  .story-images img:nth-child(1) { grid-row: span 1; aspect-ratio: 1/1; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .logo-text strong { font-size: 1rem; }
  .logo-text span { font-size: 0.65rem; }
  .logo-mark { width: 38px; height: 38px; font-size: 1.2rem; }
}

/* ---------- Vision List (about page) ---------- */
.vision-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vision-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  font-size: 1.05rem;
  color: var(--dark-2);
  border-bottom: 1px dashed rgba(230, 126, 34, 0.25);
  line-height: 1.5;
}
.vision-list li:last-child { border-bottom: none; }
.vision-list li i {
  color: var(--orange);
  font-size: 1.1rem;
  margin-top: 4px;
  flex-shrink: 0;
}
.mv-card.vision .mv-icon { background: var(--orange); color: #fff; }
