/* =============================================
   AFPES — Al Fazal Public Elementary School
   style.css — Complete Stylesheet
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
  --green-900: #0a2e0a;
  --green-800: #0f4c0f;
  --green-700: #166016;
  --green-600: #1e7e1e;
  --green-500: #27a527;
  --green-400: #3dc43d;
  --green-300: #6dd66d;
  --green-200: #a8eba8;
  --green-100: #d4f5d4;
  --green-50:  #f0fbf0;

  --gold:       #d4a017;
  --gold-light: #f0c843;

  --white:      #ffffff;
  --off-white:  #f8fdf8;
  --gray-50:    #f5f9f5;
  --gray-100:   #e8f0e8;
  --gray-200:   #c8d8c8;
  --gray-400:   #7a977a;
  --gray-600:   #4a6a4a;
  --gray-800:   #1a2e1a;
  --text-dark:  #0d1f0d;
  --text-mid:   #2e4f2e;
  --text-light: #5a7a5a;

  --glass-bg:         rgba(255, 255, 255, 0.07);
  --glass-border:     rgba(255, 255, 255, 0.15);
  --glass-bg-light:   rgba(255, 255, 255, 0.85);
  --glass-border-light: rgba(39, 165, 39, 0.2);

  --shadow-sm:  0 2px 8px rgba(10, 46, 10, 0.08);
  --shadow-md:  0 8px 32px rgba(10, 46, 10, 0.12);
  --shadow-lg:  0 16px 64px rgba(10, 46, 10, 0.18);
  --shadow-xl:  0 32px 80px rgba(10, 46, 10, 0.25);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
select, input, textarea { font-family: inherit; }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed; inset: 0;
  background: var(--green-900);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 900;
  color: var(--green-300);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  animation: pulse 1.2s ease-in-out infinite;
}
.preloader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 99px; overflow: hidden;
  margin: 0 auto;
}
.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-400), var(--gold));
  border-radius: 99px;
  animation: load 1.8s ease-in-out forwards;
}
@keyframes load { from { width: 0; } to { width: 100%; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }

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

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(10, 46, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(39, 165, 39, 0.2);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(10, 46, 10, 0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1400px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; flex-shrink: 0;
}
.logo-mark { display: none; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); line-height: 1.1;
}
.logo-sub {
  font-size: 0.65rem; color: var(--green-300);
  letter-spacing: 0.04em; line-height: 1.2;
}

.nav-links {
  display: flex; align-items: center; gap: 0.15rem;
  flex-wrap: nowrap;
}
.nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem; font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(39, 165, 39, 0.2);
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 99px;
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer; white-space: nowrap;
  text-decoration: none; border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(39, 165, 39, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  box-shadow: 0 8px 32px rgba(39, 165, 39, 0.5);
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}
.btn-full { width: 100%; justify-content: center; }

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

/* ===== SECTION LAYOUT ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--gray-50); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.text-accent { color: var(--green-600); }
.section-desc {
  max-width: 580px; margin: 0 auto;
  color: var(--text-light); font-size: 1.05rem;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--green-900) 0%, #0a1a0a 40%, #061206 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) 1.5rem 4rem;
}
.hero-particles {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(39, 165, 39, 0.25);
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}
.hero-bg-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px); opacity: 0.15;
}
.orb-1 {
  width: 600px; height: 600px;
  background: var(--green-500);
  top: -200px; right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: var(--gold);
  bottom: -100px; left: -50px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px;
  flex: 0 1 680px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(39, 165, 39, 0.15);
  border: 1px solid rgba(39, 165, 39, 0.3);
  color: var(--green-300); font-size: 0.85rem; font-weight: 500;
  padding: 0.4rem 1rem; border-radius: 99px;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease both;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-400);
  animation: pulse 2s ease infinite;
}
.hero-title {
  display: flex; flex-direction: column;
  margin-bottom: 1.5rem;
}
.hero-title-line {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.0;
  color: var(--white);
  animation: fadeInUp 0.9s ease both;
}
.hero-title-line:nth-child(2) { animation-delay: 0.1s; }
.hero-title-line:nth-child(3) { animation-delay: 0.2s; }
.hero-title-line.accent {
  background: linear-gradient(90deg, var(--green-300), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem; line-height: 1.7;
  margin-bottom: 2.5rem; max-width: 560px;
  animation: fadeInUp 1s ease 0.3s both;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 3.5rem;
  animation: fadeInUp 1s ease 0.4s both;
}
.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.5s both;
}
.hero-stat { text-align: left; }
.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--white);
}
.hero-stat-label {
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hero-stat-divider {
  width: 1px; height: 48px;
  background: rgba(255,255,255,0.15);
}

.hero-visual {
  position: relative; z-index: 2;
  flex-shrink: 0;
  margin-left: 3rem;
  animation: fadeInRight 1s ease 0.4s both;
}
.school-card {
  width: 300px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(39, 165, 39, 0.3);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: cardFloat 5s ease-in-out infinite;
}
@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.school-card-inner { text-align: center; }
.school-card-icon { font-size: 4rem; margin-bottom: 1rem; }
.school-card h3 {
  font-family: var(--font-display);
  color: var(--white); font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.school-card p { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-bottom: 1.5rem; }
.school-card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.school-card-tags span {
  background: rgba(39, 165, 39, 0.2);
  border: 1px solid rgba(39, 165, 39, 0.3);
  color: var(--green-300); font-size: 0.75rem; font-weight: 500;
  padding: 0.25rem 0.75rem; border-radius: 99px;
}

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.4); font-size: 0.75rem;
  animation: fadeIn 2s ease 1.5s both;
}
.scroll-arrow {
  width: 24px; height: 24px; border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: arrowBounce 1.5s ease infinite;
}
@keyframes arrowBounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ===== FOUNDER MESSAGE ===== */
.founder-message {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  padding: 60px 0;
}
.message-card {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  max-width: 800px; margin: 0 auto;
  position: relative; text-align: center;
}
.message-quote-icon {
  font-family: var(--font-display);
  font-size: 6rem; line-height: 0.5;
  color: rgba(39, 165, 39, 0.3);
  margin-bottom: 1.5rem;
}
.message-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: rgba(255,255,255,0.9); line-height: 1.7;
  margin-bottom: 2rem;
}
.message-author {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.author-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(39,165,39,0.4);
}
.author-info { text-align: left; }
.author-info strong { display: block; color: var(--white); font-size: 1rem; }
.author-info span { color: var(--green-300); font-size: 0.85rem; }

/* ===== TIMELINE ===== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute; left: 100px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--green-200), var(--green-500), var(--green-200));
}
.timeline-item {
  display: flex; gap: 2.5rem; margin-bottom: 2.5rem; align-items: flex-start;
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-marker {
  flex-shrink: 0; width: 80px; text-align: right;
  font-family: var(--font-display); font-size: 1rem;
  font-weight: 700; color: var(--green-600);
  padding-top: 1.5rem;
  position: relative;
}
.timeline-marker::after {
  content: '';
  position: absolute; right: -29px; top: 1.85rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--green-200);
}
.timeline-card { flex: 1; }
.timeline-card h3 {
  font-family: var(--font-display); font-size: 1.2rem;
  color: var(--text-dark); margin-bottom: 0.5rem;
}
.timeline-card p { color: var(--text-light); font-size: 0.95rem; }

/* ===== FOUNDER ===== */
.founder-grid {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center;
}
.founder-portrait { display: flex; justify-content: center; }
.portrait-frame {
  position: relative; width: 280px; height: 340px;
  background: linear-gradient(135deg, var(--green-100), var(--green-200));
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.5);
  opacity: 0; transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.portrait-frame.visible { opacity: 1; transform: scale(1); }
.portrait-placeholder { text-align: center; }
.portrait-initials {
  display: block;
  font-family: var(--font-display); font-size: 4rem; font-weight: 900;
  color: var(--green-700);
}
.portrait-title { color: var(--green-600); font-size: 0.9rem; font-weight: 500; }
.portrait-badge {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  background: var(--green-700); color: var(--white);
  font-size: 0.8rem; font-weight: 600;
  padding: 0.5rem 1.2rem; border-radius: 99px; white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.founder-bio h3 {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.25rem;
}
.founder-role {
  display: block; color: var(--green-600); font-weight: 600; font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.founder-bio p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.75; }
.founder-values { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.value-chip {
  background: var(--green-50); border: 1px solid var(--green-200);
  color: var(--green-700); font-size: 0.82rem; font-weight: 500;
  padding: 0.4rem 0.9rem; border-radius: 99px;
}
.founder-bio[data-aos] { opacity: 0; transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease; }
.founder-bio[data-aos].visible { opacity: 1; transform: translateX(0); }

/* ===== MISSION & VISION ===== */
.mv-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.mv-card {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.mv-card.visible { opacity: 1; transform: translateY(0); }
.mv-card-accent {
  background: linear-gradient(135deg, var(--green-700), var(--green-900)) !important;
  border-color: rgba(39,165,39,0.3) !important;
  color: var(--white);
}
.mv-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.mv-card h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  margin-bottom: 0.75rem; color: var(--text-dark);
}
.mv-card-accent h3 { color: var(--white); }
.mv-card p { color: var(--text-light); margin-bottom: 1.25rem; }
.mv-card-accent p { color: rgba(255,255,255,0.75); }
.mv-list { display: flex; flex-direction: column; gap: 0.5rem; }
.mv-list li {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--text-light); font-size: 0.92rem;
}
.mv-card-accent .mv-list li { color: rgba(255,255,255,0.7); }
.mv-list li::before {
  content: '✓'; display: inline-flex;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-100); color: var(--green-700);
  align-items: center; justify-content: center; font-size: 0.75rem;
  font-weight: 700; flex-shrink: 0;
}
.mv-card-accent .mv-list li::before { background: rgba(255,255,255,0.15); color: var(--white); }

/* ===== TEAM ===== */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem;
}
.team-card {
  text-align: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition);
}
.team-card.visible { opacity: 1; transform: translateY(0); }
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.3rem; color: var(--white);
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(39,165,39,0.3);
}
.team-avatar-open { background: linear-gradient(135deg, var(--gray-200), var(--gray-400)); font-size: 2rem; color: var(--green-600); }
.team-card h4 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.25rem;
}
.team-role {
  display: block; color: var(--green-600); font-size: 0.82rem;
  font-weight: 600; margin-bottom: 0.75rem;
}
.team-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }
.team-card-open .btn { margin-top: 1rem; }

/* ===== GALLERY ===== */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; justify-content: center;
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 99px; font-size: 0.85rem; font-weight: 500;
  color: var(--text-mid); cursor: pointer;
  transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--green-600); border-color: var(--green-600);
  color: var(--white); box-shadow: 0 4px 12px rgba(39,165,39,0.3);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.gallery-item {
  position: relative; border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer;
  background: var(--green-100);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-item.hidden { display: none; }
.gallery-item-wide { grid-column: span 2; }
.gallery-item-tall { grid-row: span 2; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 1rem;
}
.gallery-placeholder span { font-size: 3rem; }
.gallery-placeholder p { color: var(--green-700); font-size: 0.85rem; font-weight: 500; }
.gallery-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,46,10,0.85), transparent);
  color: var(--white); font-size: 0.85rem; font-weight: 500;
  padding: 1.5rem 1rem 0.75rem;
  opacity: 0; transform: translateY(8px);
  transition: all var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; transform: translateY(0); }
.gallery-upload { text-align: center; margin-top: 1.5rem; }
.upload-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--white); border: 2px dashed var(--green-300);
  border-radius: 99px; color: var(--green-600); font-size: 0.9rem;
  font-weight: 500; cursor: pointer;
  transition: all var(--transition);
}
.upload-btn:hover { background: var(--green-50); border-color: var(--green-500); }

/* ===== IMPACT ===== */
.impact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem;
}
.impact-card {
  text-align: center; padding: 2.5rem 1.5rem;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--transition);
}
.impact-card.visible { opacity: 1; transform: translateY(0); }
.impact-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.impact-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.impact-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 900;
  color: var(--green-700); line-height: 1; margin-bottom: 0.4rem;
}
.impact-label { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }

/* ===== FORMS ===== */
.form-wrapper { max-width: 740px; margin: 0 auto; }
.volunteer-form { }
.form-section-title {
  font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--green-600);
  border-bottom: 2px solid var(--green-100); padding-bottom: 0.5rem;
  margin: 1.75rem 0 1.25rem;
}
.form-section-title:first-child { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem; color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(39, 165, 39, 0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: none; background: var(--green-50);
  border: 1px solid var(--green-200); color: var(--green-700);
  padding: 1rem; border-radius: var(--radius-sm);
  font-weight: 500; margin-top: 1rem; text-align: center;
}
.form-success.show { display: block; }

/* ===== DONATE ===== */
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.donate-info h3, .donate-action h3 {
  font-family: var(--font-display); font-size: 1.4rem;
  margin-bottom: 1.5rem; color: var(--text-dark);
}
.donate-breakdown { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.breakdown-item { }
.breakdown-bar {
  height: 8px; background: var(--green-100); border-radius: 99px;
  overflow: hidden; margin-bottom: 0.5rem;
}
.breakdown-fill {
  height: 100%; background: linear-gradient(90deg, var(--green-400), var(--green-600));
  border-radius: 99px; transition: width 1.5s ease;
}
.breakdown-label {
  display: flex; justify-content: space-between;
  font-size: 0.88rem; color: var(--text-light);
}
.transparency-note {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: var(--green-50); border: 1px solid var(--green-200);
  border-radius: var(--radius-sm); padding: 0.75rem 1rem;
}
.transparency-note span { font-size: 1.2rem; flex-shrink: 0; }
.transparency-note p { font-size: 0.88rem; color: var(--green-700); }
.donate-action p { color: var(--text-light); margin-bottom: 1.5rem; }
.donate-action strong { color: var(--green-700); }
.sponsor-tiers { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tier-card {
  flex: 1; min-width: 90px; padding: 1rem 0.75rem; text-align: center;
  border: 2px solid var(--gray-200); border-radius: var(--radius-md);
  cursor: pointer; transition: all var(--transition); position: relative;
}
.tier-card:hover, .tier-card.selected {
  border-color: var(--green-500); background: var(--green-50);
  box-shadow: 0 4px 12px rgba(39,165,39,0.2);
}
.tier-featured {
  border-color: var(--green-500); background: var(--green-50);
}
.tier-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--green-600); color: var(--white);
  font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.6rem;
  border-radius: 99px; white-space: nowrap;
}
.tier-amount { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--green-700); }
.tier-label { font-size: 0.75rem; color: var(--text-light); margin-top: 0.2rem; }
.donate-note { font-size: 0.8rem; color: var(--text-light); text-align: center; margin-top: 0.75rem; }
.donate-info[data-aos], .donate-action[data-aos] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.donate-info[data-aos].visible, .donate-action[data-aos].visible { opacity: 1; transform: translateY(0); }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.blog-card {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.blog-card.visible { opacity: 1; transform: translateY(0); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-category {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--green-600); background: var(--green-50); border: 1px solid var(--green-200);
  display: inline-block; padding: 0.2rem 0.75rem; border-radius: 99px; margin-bottom: 0.75rem;
}
.blog-card h4 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.6rem; line-height: 1.35;
}
.blog-card p { color: var(--text-light); font-size: 0.92rem; line-height: 1.65; flex: 1; margin-bottom: 1.25rem; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.blog-meta span { font-size: 0.8rem; color: var(--text-light); }
.blog-read { font-size: 0.85rem; font-weight: 600; color: var(--green-600); }
.blog-read:hover { color: var(--green-800); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; margin-bottom: 2rem; }
.contact-info h3, .contact-form-wrapper h3 {
  font-family: var(--font-display); font-size: 1.4rem;
  margin-bottom: 1.5rem; color: var(--text-dark);
}
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.85rem; color: var(--text-mid); margin-bottom: 0.2rem; }
.contact-item p, .contact-item a { color: var(--text-light); font-size: 0.95rem; line-height: 1.5; }
.contact-item a:hover { color: var(--green-600); }
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-50); border: 1px solid var(--green-200);
  color: var(--green-700);
  justify-content: center;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.social-whatsapp {
  width: auto; border-radius: 99px; padding: 0 1rem;
  font-size: 0.85rem; font-weight: 600;
}
.contact-info[data-aos], .contact-form-wrapper[data-aos] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.contact-info[data-aos].visible, .contact-form-wrapper[data-aos].visible {
  opacity: 1; transform: translateY(0);
}
.map-container {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.map-container.visible { opacity: 1; transform: translateY(0); }
.map-placeholder {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 1rem;
  height: 200px; background: var(--green-50);
  border-radius: var(--radius-md); font-size: 1rem;
  color: var(--text-light);
}
.map-placeholder span { font-size: 3rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
  position: relative; overflow: hidden;
}
.footer-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-500), transparent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.9rem; line-height: 1.65; opacity: 0.7;
  margin-bottom: 1.5rem;
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--green-600); border-color: var(--green-600); color: var(--white);
}
.footer-nav h5 {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--green-300); margin-bottom: 1.25rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a {
  font-size: 0.9rem; opacity: 0.7; transition: opacity var(--transition), color var(--transition);
}
.footer-nav a:hover { opacity: 1; color: var(--green-300); }
.footer-contact h5 {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--green-300); margin-bottom: 1.25rem;
}
.footer-contact p {
  font-size: 0.88rem; opacity: 0.7; margin-bottom: 0.5rem;
}
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--green-300); opacity: 1; }
.established {
  margin-top: 1rem; font-size: 0.8rem !important;
  color: var(--green-400) !important; opacity: 1 !important;
  font-style: italic;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.85rem; opacity: 0.55;
}
.footer-bottom strong { color: var(--green-300); opacity: 1; }

/* ===== FLOATING ELEMENTS ===== */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: popIn 0.5s ease 2s both;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65);
}
.back-to-top {
  position: fixed; bottom: 5.5rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-700); color: var(--white);
  font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--green-600); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero { flex-direction: column; text-align: center; padding-top: calc(var(--nav-h) + 4rem); }
  .hero-content { max-width: 100%; }
  .hero-title-line { font-size: clamp(2.5rem, 8vw, 4rem); }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-left: 0; margin-top: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0.25rem;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(10, 46, 10, 0.98);
    backdrop-filter: blur(12px);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(39,165,39,0.2);
    z-index: 999;
  }
  .hamburger { display: flex; }
  .founder-grid { grid-template-columns: 1fr; text-align: center; }
  .portrait-frame { margin: 0 auto 2rem; }
  .founder-values { justify-content: center; }
  .mv-grid { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 70px; }
  .timeline-marker { width: 55px; }
  .timeline-marker::after { right: -27px; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item-wide { grid-column: span 1; }
  .gallery-item-tall { grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sponsor-tiers { flex-direction: column; }
  .hero-stat-divider { display: none; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .school-card { width: 100%; max-width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== TAB SYSTEM ===== */
.tab-page {
  display: none;
  min-height: calc(100vh - var(--nav-h));
  animation: tabFadeIn 0.4s ease forwards;
}
.tab-page.active { display: block; }
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== PAGE HERO (each tab top banner) ===== */
.page-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  text-align: center;
}
.page-hero-green {
  background: linear-gradient(160deg, var(--green-900) 0%, #0a1a0a 60%, #061206 100%);
  position: relative; overflow: hidden;
}
.page-hero-green::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top center, rgba(39,165,39,0.15) 0%, transparent 70%);
}
.page-hero-green .section-eyebrow {
  background: rgba(39,165,39,0.15);
  border-color: rgba(39,165,39,0.3);
  color: var(--green-300);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; color: var(--white);
  margin: 0.75rem 0;
  position: relative; z-index: 1;
}
.accent-white {
  background: linear-gradient(90deg, var(--green-300), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; position: relative; z-index: 1; }

/* ===== QUICK NAV CARDS (Home) ===== */
.quicknav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.quicknav-card {
  text-align: center; padding: 1.5rem 1rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.quicknav-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--green-50);
}
.quicknav-card span { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.quicknav-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.2rem; }
.quicknav-card p { font-size: 0.8rem; color: var(--text-light); }

/* ===== REAL PHOTOS ===== */
.nav-logo-img {
  width: 52px; height: 52px;
  border-radius: 8px;
  object-fit: contain;
  background: white;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(39,165,39,0.4);
  flex-shrink: 0;
}
.preloader-logo-img {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  padding: 6px;
  margin: 0 auto 1.5rem;
  display: block;
  box-shadow: 0 8px 32px rgba(39,165,39,0.5);
  animation: pulse 1.5s ease infinite;
}
.school-card-logo {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  padding: 6px;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.author-photo {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(39,165,39,0.4);
  flex-shrink: 0;
}
.portrait-real-img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--radius-xl);
}
.team-photo {
  width: 90px; height: 90px; border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(39,165,39,0.25);
  border: 3px solid var(--white);
}

/* Override old avatar when photo is present */
.team-card .team-avatar { display: none; }
.team-card-open .team-avatar { display: flex; }

/* Portrait frame with real image */
.portrait-frame {
  width: 280px; height: 360px; overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  opacity: 1 !important; transform: none !important;
}

/* ===== HERO scroll hint restyle ===== */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35); font-size: 0.75rem;
}
.hero-scroll span { display: block; text-align: center; }

/* ===== MOBILE NAV fix for tab system ===== */
@media (max-width: 900px) {
  .quicknav-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .quicknav-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .quicknav-card { padding: 1rem 0.5rem; }
}

/* ===== TRUST BAR ===== */
.trust-bar{background:var(--green-800);padding:14px 0;border-top:1px solid rgba(39,165,39,0.2);}
.trust-bar-inner{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:1rem 2rem;}
.trust-item{display:flex;align-items:center;gap:0.5rem;color:rgba(255,255,255,0.8);font-size:0.85rem;font-weight:500;}
.trust-icon{font-size:1.1rem;}
.trust-divider{width:1px;height:20px;background:rgba(255,255,255,0.2);}

/* ===== VIDEO SECTION ===== */
.video-section{display:grid;grid-template-columns:1.3fr 1fr;gap:2rem;align-items:center;}
.video-embed-wrap{position:relative;border-radius:var(--radius-lg);overflow:hidden;background:var(--green-900);aspect-ratio:16/9;}
.video-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;gap:1rem;}
.video-thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0.45;}
.video-play-btn{width:72px;height:72px;border-radius:50%;background:rgba(39,165,39,0.9);display:flex;align-items:center;justify-content:center;font-size:1.8rem;color:var(--white);z-index:2;transition:transform var(--transition),background var(--transition);}
.video-placeholder:hover .video-play-btn{transform:scale(1.1);background:var(--green-500);}
.video-label{color:rgba(255,255,255,0.8);font-size:0.85rem;z-index:2;}
.video-frame-wrap{position:absolute;inset:0;}
.video-info h3{font-family:var(--font-display);font-size:1.4rem;margin-bottom:0.75rem;color:var(--text-dark);}
.video-info p{color:var(--text-light);line-height:1.7;margin-bottom:1rem;}
.video-add-note{display:flex;gap:0.5rem;align-items:flex-start;background:var(--green-50);border:1px solid var(--green-200);border-radius:var(--radius-sm);padding:0.75rem;font-size:0.82rem;color:var(--green-700);}

/* ===== DONATION METER ===== */
.donation-meter{max-width:800px;margin:0 auto;}
.meter-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.5rem;margin-bottom:1rem;}
.meter-title{font-family:var(--font-display);font-size:1.2rem;font-weight:700;color:var(--text-dark);}
.meter-amounts{display:flex;align-items:center;gap:0.5rem;}
.meter-raised{font-size:1.1rem;color:var(--green-700);font-weight:600;}
.meter-goal{font-size:0.85rem;color:var(--text-light);}
.meter-bar-wrap{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;}
.meter-bar{flex:1;height:16px;background:var(--green-100);border-radius:99px;overflow:hidden;}
.meter-fill{height:100%;background:linear-gradient(90deg,var(--green-400),var(--green-600));border-radius:99px;transition:width 2s ease;}
.meter-pct{font-size:0.9rem;font-weight:700;color:var(--green-700);min-width:45px;}
.meter-donors{display:flex;justify-content:space-between;align-items:center;font-size:0.9rem;color:var(--text-light);}

/* ===== TESTIMONIALS ===== */
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;}
.testimonial-card{padding:2rem;transition:transform var(--transition),box-shadow var(--transition);}
.testimonial-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);}
.testimonial-stars{color:var(--gold);font-size:1rem;margin-bottom:1rem;letter-spacing:2px;}
.testimonial-card blockquote{font-style:italic;color:var(--text-mid);line-height:1.75;margin-bottom:1.5rem;font-size:0.95rem;}
.testimonial-author{display:flex;align-items:center;gap:0.75rem;}
.testimonial-avatar{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--white);font-size:0.85rem;flex-shrink:0;}
.testimonial-author strong{display:block;color:var(--text-dark);font-size:0.9rem;}
.testimonial-author span{color:var(--text-light);font-size:0.8rem;}

/* ===== MEDIA COVERAGE ===== */
.media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;}
.media-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:1.5rem;gap:0.75rem;transition:transform var(--transition);}
.media-card:hover{transform:translateY(-4px);}
.media-logo{font-size:2.5rem;}
.media-card p{color:var(--text-light);font-size:0.88rem;line-height:1.5;font-style:italic;}
.media-card span{font-weight:700;color:var(--green-600);font-size:0.85rem;}

/* ===== ANNUAL REPORTS ===== */
.reports-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem;}
.report-card{display:flex;align-items:center;gap:1rem;padding:1.25rem;}
.report-icon{font-size:2.5rem;flex-shrink:0;}
.report-info{flex:1;}
.report-info h4{font-size:0.95rem;font-weight:700;color:var(--text-dark);margin-bottom:0.2rem;}
.report-info p{font-size:0.82rem;color:var(--text-light);}

/* ===== TRUST SEALS ===== */
.trust-seals{display:flex;flex-wrap:wrap;gap:0.6rem;margin-top:1.5rem;}
.seal{display:flex;align-items:center;gap:0.4rem;background:var(--green-50);border:1px solid var(--green-200);color:var(--green-700);font-size:0.8rem;font-weight:600;padding:0.35rem 0.85rem;border-radius:99px;}
.trust-badges{display:flex;flex-wrap:wrap;gap:0.4rem;justify-content:center;margin-top:1rem;}
.trust-badge{background:rgba(39,165,39,0.15);border:1px solid rgba(39,165,39,0.3);color:var(--green-300);font-size:0.72rem;font-weight:600;padding:0.2rem 0.6rem;border-radius:99px;}

/* ===== DONATE FORM ===== */
.donate-form-card h3,.donate-info h3{font-family:var(--font-display);font-size:1.4rem;margin-bottom:0.75rem;color:var(--text-dark);}
.donate-form-card p{color:var(--text-light);margin-bottom:1.25rem;font-size:0.92rem;}
.donate-type-tabs{display:flex;gap:0;margin-bottom:1.25rem;border:1.5px solid var(--green-200);border-radius:99px;overflow:hidden;width:fit-content;}
.dtype-btn{padding:0.45rem 1.4rem;font-size:0.88rem;font-weight:600;color:var(--text-mid);background:transparent;border:none;cursor:pointer;transition:all var(--transition);}
.dtype-btn.active{background:var(--green-600);color:var(--white);}
.payment-methods{margin:1.25rem 0;}
.payment-methods h4{font-size:0.88rem;font-weight:700;color:var(--text-mid);margin-bottom:0.75rem;text-transform:uppercase;letter-spacing:0.06em;}
.pay-options{display:flex;flex-wrap:wrap;gap:0.75rem;margin-bottom:1rem;}
.pay-option{display:flex;align-items:center;gap:0.4rem;font-size:0.9rem;cursor:pointer;color:var(--text-mid);}
.pay-info-box{background:var(--green-50);border:1px solid var(--green-200);border-radius:var(--radius-sm);padding:0.75rem 1rem;}
.pay-info-box p{font-size:0.88rem;color:var(--green-800);margin-bottom:0.25rem;}
.donate-note{font-size:0.8rem;color:var(--text-light);text-align:center;margin-top:0.75rem;}

/* ===== FOOTER TRUST SEALS ===== */
.footer-trust{display:flex;flex-wrap:wrap;gap:0.5rem;margin:0.75rem 0;}
.footer-seal{background:rgba(39,165,39,0.15);border:1px solid rgba(39,165,39,0.25);color:var(--green-300);font-size:0.75rem;font-weight:600;padding:0.25rem 0.7rem;border-radius:99px;}

/* ===== TEAM SOCIAL ===== */
.team-social{margin-top:0.75rem;display:flex;justify-content:center;}
.team-social-btn{font-size:1.2rem;text-decoration:none;transition:transform var(--transition);}
.team-social-btn:hover{transform:scale(1.2);}

/* ===== RESPONSIVE ADDITIONS ===== */
@media(max-width:900px){
  .video-section{grid-template-columns:1fr;}
}
@media(max-width:640px){
  .trust-bar-inner{gap:0.5rem 1rem;}
  .trust-divider{display:none;}
  .meter-header{flex-direction:column;align-items:flex-start;}
  .lang-bar{padding:4px 8px;}
}

/* ===== REPORTS NOTE ===== */
.reports-note{text-align:center;font-size:0.82rem;color:var(--text-light);margin-top:1.5rem;background:var(--green-50);border:1px dashed var(--green-200);border-radius:var(--radius-sm);padding:0.75rem 1rem;}

/* ===== CARD SYSTEM ===== */
.card-type-tabs{display:flex;gap:0;margin-bottom:2rem;border:1.5px solid var(--green-200);border-radius:99px;overflow:hidden;width:fit-content;}
.card-type-btn{padding:.5rem 1.5rem;font-size:.9rem;font-weight:600;color:var(--text-mid);background:transparent;border:none;cursor:pointer;transition:all var(--transition);}
.card-type-btn.active{background:var(--green-600);color:var(--white);}
.card-add-bar{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap;}
.card-add-note{font-size:.8rem;color:var(--text-light);}
.add-card-form{margin-bottom:2rem;padding:2rem;}
.add-card-form h3{font-family:var(--font-display);font-size:1.3rem;margin-bottom:1.25rem;color:var(--text-dark);}
.people-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem;}
.person-card{background:var(--white);border:1px solid var(--gray-100);border-radius:var(--radius-lg);padding:1.5rem 1.25rem;text-align:center;box-shadow:var(--shadow-sm);transition:transform var(--transition),box-shadow var(--transition);position:relative;}
.person-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);}
.person-card-photo{width:80px;height:80px;border-radius:50%;object-fit:cover;margin:0 auto .75rem;display:block;border:3px solid var(--green-100);}
.person-card-avatar{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.4rem;color:var(--white);margin:0 auto .75rem;background:linear-gradient(135deg,var(--green-500),var(--green-800));}
.person-card-name{font-weight:700;font-size:1rem;color:var(--text-dark);margin-bottom:.2rem;}
.person-card-role{font-size:.8rem;color:var(--green-600);font-weight:600;margin-bottom:.4rem;}
.person-card-year{font-size:.75rem;color:var(--text-light);}
.person-card-desc{font-size:.78rem;color:var(--text-light);margin-top:.4rem;line-height:1.5;}
.person-card-badge{position:absolute;top:.6rem;right:.6rem;font-size:.65rem;font-weight:700;padding:.15rem .5rem;border-radius:99px;text-transform:uppercase;letter-spacing:.05em;}
.badge-student{background:var(--green-50);color:var(--green-700);border:1px solid var(--green-200);}
.badge-teacher{background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe;}
.badge-volunteer{background:#fef3c7;color:#92400e;border:1px solid #fde68a;}
.person-card-del{position:absolute;top:.5rem;left:.5rem;width:22px;height:22px;border-radius:50%;background:rgba(220,38,38,.1);color:#dc2626;font-size:.7rem;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity var(--transition);}
.person-card:hover .person-card-del{opacity:1;}
.cards-empty{text-align:center;padding:3rem;color:var(--text-light);}

/* ===== PHOTO UPLOAD BOX ===== */
.photo-upload-box{border:2px dashed var(--green-200);border-radius:var(--radius-md);padding:1.5rem;cursor:pointer;transition:border-color var(--transition),background var(--transition);background:var(--green-50);}
.photo-upload-box:hover{border-color:var(--green-500);background:var(--green-100);}
.photo-upload-preview{display:flex;flex-direction:column;align-items:center;gap:.35rem;}
.photo-upload-icon{font-size:2rem;}
.photo-upload-label{font-size:.9rem;font-weight:600;color:var(--green-700);}
.photo-upload-hint{font-size:.75rem;color:var(--text-light);}
.photo-upload-preview img{width:100px;height:100px;border-radius:50%;object-fit:cover;border:3px solid var(--green-200);}
