/* =============================================
   AEGIS WOMEN & CHILDREN WELFARE FOUNDATION
   Main Stylesheet
   ============================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #BE185D;
  --primary-light: #EC4899;
  --primary-dark: #9D174D;
  --primary-pale: #FDF2F8;
  --secondary: #EA580C;
  --secondary-light: #FB923C;
  --secondary-pale: #FFF7ED;
  --accent: #0F766E;
  --dark: #1F0D1A;
  --text: #374151;
  --text-light: #6B7280;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --light-bg: #FAFAFA;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--light-bg); }
.section-purple { background: var(--primary-pale); }
.text-center { text-align: center; }
.text-white { color: var(--white); }

.section-tag {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-tag.orange { background: var(--secondary-pale); color: var(--secondary); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-title span { color: var(--primary); }
.section-title.white { color: var(--white); }
.section-title.white span { color: var(--secondary-light); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 48px;
}

.divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 16px 0 32px;
}
.divider.center { margin: 16px auto 32px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(190, 24, 93, 0.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(190, 24, 93, 0.45); }
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}
.btn-secondary:hover { background: #C2410C; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-outline-purple {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-purple:hover { background: var(--primary); color: var(--white); }

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
.top-bar a:hover { color: var(--white); }
.top-bar i { margin-right: 5px; color: var(--secondary-light); }
.top-bar-social { display: flex; gap: 12px; }
.top-bar-social a {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: background var(--transition);
}
.top-bar-social a:hover { background: var(--primary-light); }

/* =============================================
   HEADER / NAVBAR
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 2100;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.15); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 72px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}
.logo-text { line-height: 1.2; }
.logo-text .org-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
  max-width: 200px;
}
.logo-text .org-reg {
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-pale); }

.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-toggle { display: flex; align-items: center; gap: 4px; }
.dropdown-toggle i { font-size: 0.7rem; transition: transform var(--transition); }
.nav-dropdown:hover .dropdown-toggle i { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.dropdown-menu a i { color: var(--primary); width: 16px; }
.dropdown-menu a:hover { background: var(--primary-pale); color: var(--primary); }

.nav-donate {
  background: var(--secondary);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(234,88,12,0.35);
  transition: all var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-donate:hover { background: #C2410C; transform: translateY(-1px); color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero {
  position: relative;
  height: 92vh;
  min-height: 560px;
  max-height: 800px;
  overflow: hidden;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide:nth-child(1)::before { background: linear-gradient(135deg, rgba(157,23,77,0.88) 0%, rgba(190,24,93,0.7) 60%, rgba(0,0,0,0.3) 100%); }
.hero-slide:nth-child(2)::before { background: linear-gradient(135deg, rgba(30,27,75,0.90) 0%, rgba(234,88,12,0.6) 100%); }
.hero-slide:nth-child(3)::before { background: linear-gradient(135deg, rgba(15,118,110,0.88) 0%, rgba(157,23,77,0.7) 100%); }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hero-slide.active .hero-bg { transform: scale(1); }

.hero-bg-1 { background-image: url('../images/hero-1.jpg'); }
.hero-bg-2 { background-image: url('../images/hero-2.jpg'); }
.hero-bg-3 { background-image: url('../images/hero-3.jpg'); }

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  padding: 0 24px;
  margin-left: calc((100vw - 1200px) / 2);
  animation: none;
}
.hero-slide.active .hero-content { animation: heroFadeUp 0.8s ease forwards; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-badge i { color: var(--secondary-light); }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero-title span { color: var(--secondary-light); }

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slider Controls */
.hero-controls {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.hero-dot.active { background: var(--white); width: 28px; border-radius: 5px; }

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
}
.hero-nav:hover { background: rgba(255,255,255,0.3); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* Stats Bar */
.stats-bar {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 10;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide: var(--border);
}
.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number span { color: var(--secondary); }
.stat-label { font-size: 0.82rem; color: var(--text-light); font-weight: 500; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-main {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  height: 460px;
  box-shadow: var(--shadow-lg);
}
.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-img-badge .badge-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.about-img-badge .badge-text { font-size: 0.78rem; opacity: 0.85; margin-top: 4px; }

.about-img-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--primary-pale);
  border-radius: var(--radius);
  z-index: -1;
}

.about-content .section-tag { margin-bottom: 12px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}
.about-feature i { color: var(--primary); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.about-feature-text .feat-title { font-size: 0.875rem; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.about-feature-text p { font-size: 0.78rem; color: var(--text-light); }

.about-cta { display: flex; align-items: center; gap: 20px; margin-top: 32px; }
.about-founder {
  display: flex;
  align-items: center;
  gap: 12px;
}
.founder-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}
.founder-name { font-size: 0.875rem; font-weight: 600; color: var(--dark); }
.founder-title { font-size: 0.75rem; color: var(--text-light); }

/* =============================================
   FOCUS AREAS
   ============================================= */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.focus-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.focus-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.focus-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.focus-card:hover::before { transform: scaleX(1); }

.focus-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  transition: all var(--transition);
}
.focus-card:hover .focus-icon { transform: scale(1.1); }
.focus-icon.purple { background: var(--primary-pale); color: var(--primary); }
.focus-icon.orange { background: var(--secondary-pale); color: var(--secondary); }
.focus-icon.green { background: #DCFCE7; color: #16A34A; }
.focus-icon.blue { background: #DBEAFE; color: #2563EB; }

.focus-card h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.focus-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* =============================================
   IMPACT NUMBERS
   ============================================= */
.impact-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.impact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.impact-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.impact-item { text-align: center; color: var(--white); }
.impact-icon { font-size: 2.4rem; margin-bottom: 16px; opacity: 0.85; }
.impact-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--white);
}
.impact-number .plus { color: var(--secondary-light); }
.impact-label { font-size: 0.9rem; opacity: 0.8; font-weight: 400; }

/* =============================================
   PROGRAMS SECTION
   ============================================= */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.program-card-header {
  padding: 28px 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.program-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.program-icon.p1 { background: var(--primary-pale); color: var(--primary); }
.program-icon.p2 { background: var(--secondary-pale); color: var(--secondary); }
.program-icon.p3 { background: #DCFCE7; color: #16A34A; }
.program-icon.p4 { background: #DBEAFE; color: #2563EB; }
.program-icon.p5 { background: #FEF3C7; color: #D97706; }
.program-icon.p6 { background: #FCE7F3; color: #DB2777; }

.program-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.program-tag { font-size: 0.72rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.06em; }
.program-body { padding: 0 24px 24px; }
.program-body p { font-size: 0.875rem; color: var(--text-light); line-height: 1.65; margin-bottom: 16px; }
.program-link { font-size: 0.82rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 5px; transition: gap var(--transition); }
.program-link:hover { gap: 10px; }

/* =============================================
   NEWS & EVENTS
   ============================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.news-img img { width: 100%; height: 200px; object-fit: cover; }
.news-body { padding: 20px; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-cat {
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 50px;
}
.news-date { font-size: 0.78rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.news-title { font-family: var(--font-heading); font-size: 0.975rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.news-title a:hover { color: var(--primary); }
.news-excerpt { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.news-read-more { font-size: 0.82rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 5px; transition: gap var(--transition); }
.news-read-more:hover { gap: 10px; }

/* =============================================
   GET INVOLVED
   ============================================= */
.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.involved-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  border-top: 4px solid transparent;
}
.involved-card.card-1 { border-top-color: var(--primary); }
.involved-card.card-2 { border-top-color: var(--secondary); }
.involved-card.card-3 { border-top-color: var(--accent); }
.involved-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.involved-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}
.card-1 .involved-icon { background: var(--primary-pale); color: var(--primary); }
.card-2 .involved-icon { background: var(--secondary-pale); color: var(--secondary); }
.card-3 .involved-icon { background: #DCFCE7; color: var(--accent); }
.involved-card h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.involved-card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.65; margin-bottom: 24px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  background: var(--primary-pale);
}
.testimonials-slider {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 12px;
}
.testimonials-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 20px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--primary-pale);
  line-height: 1;
}
.testimonial-stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 14px; }
.testimonial-text { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.author-name { font-size: 0.875rem; font-weight: 600; color: var(--dark); }
.author-info { font-size: 0.75rem; color: var(--text-light); }

.testimonial-nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.testimonial-nav-btn {
  background: var(--white);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.testimonial-nav-btn:hover { background: var(--primary); color: var(--white); transform: scale(1.08); }

/* =============================================
   PARTNERS
   ============================================= */
.partners-section { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partners-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); text-align: center; margin-bottom: 32px; }
.partners-track {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.partner-logo {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.partner-logo:hover { background: var(--primary-pale); color: var(--primary); border-color: var(--primary); }

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.contact-info > p { font-size: 0.875rem; color: var(--text-light); margin-bottom: 32px; line-height: 1.7; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-pale);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item-text .label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 2px; }
.contact-item-text .value { font-size: 0.875rem; color: var(--dark); font-weight: 500; }
.contact-item-text a { color: var(--dark); transition: color var(--transition); }
.contact-item-text a:hover { color: var(--primary); }

.contact-form { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.form-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(190,24,93,0.08); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; padding: 13px; background: var(--primary); color: var(--white); border-radius: 50px; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; transition: all var(--transition); cursor: pointer; border: none; display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
}
.footer-top {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo img {
  height: 64px;
  width: auto;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  object-fit: contain;
}
.footer-logo-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  max-width: 180px;
}
.footer-desc { font-size: 0.83rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--primary-light);
  border-radius: 1px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all var(--transition);
}
.footer-links a i { color: var(--primary-light); font-size: 0.65rem; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.83rem; }
.footer-contact-item i { color: var(--primary-light); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 14px rgba(190,24,93,0.4);
  border: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* =============================================
   DONATE BANNER
   ============================================= */
.donate-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #C2410C 100%);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.donate-banner::before {
  content: '';
  position: absolute;
  top: -40%; right: -5%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.donate-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}
.donate-banner p { font-size: 1rem; opacity: 0.88; margin-bottom: 28px; position: relative; }
.donate-banner .btn-white {
  background: var(--white);
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.donate-banner .btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
/* =============================================
   RESPONSIVE — All Breakpoints
   Mobile · Tablet · Laptop · Desktop · LED TV
   ============================================= */

/* --- LED TV / Ultra-wide (1920px+) --- */
@media (min-width: 1920px) {
  .container { max-width: 1600px; }
  .hero { max-height: 1000px; }
  .hero-title { font-size: 4.2rem; }
  .section { padding: 100px 0; }
  .section-title { font-size: 3rem; }
  .focus-grid { grid-template-columns: repeat(4, 1fr); }
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .impact-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-number { font-size: 2.6rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
}

/* --- Large Desktop / 4K (1600px - 1919px) --- */
@media (min-width: 1600px) and (max-width: 1919px) {
  .container { max-width: 1440px; }
  .hero-title { font-size: 3.8rem; }
  .section { padding: 90px 0; }
}

/* --- Standard Desktop / Laptop (1280px - 1599px) --- */
@media (min-width: 1280px) and (max-width: 1599px) {
  .container { max-width: 1200px; }
}

/* --- Small Laptop / Large Tablet Landscape (1025px - 1279px) --- */
@media (max-width: 1279px) {
  .container { max-width: 1000px; padding: 0 28px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
  .about-grid { gap: 48px; }
  .programs-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* --- Tablet Landscape / Small Laptop (768px - 1024px) --- */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 64px 0; }

  /* Nav */
  .nav-link { font-size: 0.82rem; padding: 8px 10px; }
  .nav-logo img { height: 60px; }

  /* Hero */
  .hero { height: 80vh; min-height: 500px; }
  .hero-content { margin-left: 24px; max-width: 580px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { max-width: 100%; }
  .about-img-main { height: 360px; }
  .about-img-badge { right: 0; bottom: -16px; }
  .about-img-accent { display: none; }

  /* Grids */
  .focus-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .involved-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .contact-grid { gap: 36px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* --- Tablet Portrait (600px - 767px) --- */
@media (max-width: 767px) {
  /* ===== Hide top bar completely on mobile/tablet ===== */
  .top-bar { display: none; }

  .section { padding: 52px 0; }
  .container { padding: 0 18px; }

  /* Nav — slide-in sidebar */
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: 290px;
    height: 100vh;
    background: var(--white);
    padding: 90px 20px 40px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.18);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 2000;
    gap: 4px;
    align-items: stretch;
    visibility: hidden;
  }
  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
  }
  .hamburger { display: flex; z-index: 2100; position: relative; }
  .nav-donate { display: none; }
  .nav-logo img { height: 54px; max-width: 180px; }
  .logo-text .org-name { font-size: 0.82rem; max-width: 170px; }

  /* Hero */
  .hero { height: 78vh; min-height: 440px; max-height: 680px; }
  .hero-content { margin-left: 18px; margin-right: 18px; max-width: 100%; padding: 0; }
  .hero-title { font-size: clamp(1.7rem, 5.5vw, 2.4rem); }
  .hero-subtitle { font-size: 0.9rem; margin-bottom: 24px; }
  .hero-badge { font-size: 0.72rem; padding: 6px 13px; }
  .hero-cta { flex-direction: column; gap: 10px; align-items: flex-start; }
  .hero-nav { display: none; }
  .btn { padding: 11px 22px; font-size: 0.85rem; }

  /* Stats bar */
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 20px 14px; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-bottom: none; }
  .stat-item:nth-child(4) { border-right: none; border-bottom: none; }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.76rem; }

  /* About */
  .about-img-main { height: 300px; }
  .about-features { grid-template-columns: 1fr; gap: 10px; }
  .about-cta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .about-img-badge { bottom: -14px; right: 0; }

  /* Grids */
  .focus-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .focus-card { padding: 24px 16px; }
  .focus-icon { width: 60px; height: 60px; font-size: 1.3rem; }
  .programs-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-grid { grid-template-columns: 1fr; gap: 20px; }
  .involved-grid { grid-template-columns: 1fr; gap: 20px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .impact-item { padding: 0; }
  .impact-icon { font-size: 1.8rem; margin-bottom: 10px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; }

  /* Testimonials */
  .testimonials-inner { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card { padding: 22px 18px; }

  /* Partners */
  .partners-track { gap: 10px; justify-content: center; }
  .partner-logo { padding: 10px 14px; font-size: 0.75rem; }
  .partners-section { padding: 40px 0; }

  /* Donate banner */
  .donate-banner { padding: 48px 0; }
  .donate-banner h2 { font-size: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { padding: 44px 0 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; font-size: 0.72rem; }

  /* Misc */
  .section-title { font-size: clamp(1.5rem, 4.5vw, 2rem); }
  .section-subtitle { font-size: 0.9rem; margin-bottom: 32px; }
}

/* --- Small Mobile (up to 480px) --- */
@media (max-width: 480px) {
  .top-bar { display: none; }
  .section { padding: 40px 0; }
  .container { padding: 0 14px; }

  /* Nav */
  .nav-logo img { height: 46px; max-width: 150px; }
  .logo-text .org-name { font-size: 0.75rem; max-width: 150px; }
  .logo-text .org-reg { display: none; }

  /* Hero */
  .hero { height: 82vh; min-height: 400px; }
  .hero-content { margin-left: 14px; margin-right: 14px; }
  .hero-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .hero-badge { font-size: 0.68rem; padding: 5px 11px; }
  .hero-controls { bottom: 20px; }

  /* Stats */
  .stat-item { padding: 16px 10px; }
  .stat-number { font-size: 1.45rem; }

  /* About */
  .about-img-main { height: 240px; }
  .about-img-badge { display: none; }

  /* Grids */
  .focus-grid { grid-template-columns: 1fr; gap: 12px; }
  .focus-card { padding: 20px 16px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .impact-number { font-size: 1.8rem; }
  .impact-label { font-size: 0.78rem; }

  /* Contact */
  .contact-form { padding: 20px 14px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 0.82rem; padding: 10px 12px; }

  /* Footer */
  .footer-logo img { height: 50px; }
  .footer-bottom { font-size: 0.68rem; }

  /* Misc */
  .section-title { font-size: clamp(1.35rem, 5vw, 1.75rem); }
  .btn { padding: 10px 20px; font-size: 0.82rem; }
  .donate-banner { padding: 36px 0; }
  .donate-banner h2 { font-size: 1.3rem; }
  .donate-banner p { font-size: 0.88rem; }
  .back-to-top { bottom: 16px; right: 16px; width: 38px; height: 38px; font-size: 0.85rem; }
}
