/* === RISE Ghana — Professional Multi-page Styles === */

:root {
  --green:       #1a7a4c;
  --green-dark:  #0f5c37;
  --green-deep:  #0a3d24;
  --green-light: #e8f5ee;
  --green-bright:#2d9f6a;
  --gold:        #d4a843;
  --gold-light:  #fbf3e0;
  --dark:        #1b2a32;
  --text:        #2c3e50;
  --text-light:  #6b7f8f;
  --text-muted:  #94a3b8;
  --bg:          #fafafa;
  --bg-alt:      #f1f5f9;
  --bg-card:     #ffffff;
  --white:       #ffffff;
  --shadow:      0 4px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.10);
  --radius:      12px;
  --radius-sm:   8px;
  --radius-full: 50px;
  --transition:  0.3s ease;
  --max-w:       1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

a { color: var(--green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-dark); }

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

/* === Typography === */
h1, h2, h3, h4 { line-height: 1.2; color: var(--dark); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { font-size: 1rem; color: var(--text); }
.section-tag {
  display: inline-block;
  text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.75rem; font-weight: 700;
  color: var(--green); background: var(--green-light);
  padding: 5px 16px; border-radius: 100px; margin-bottom: 12px;
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); cursor: pointer;
  border: 2px solid transparent; text-decoration: none;
}
.btn-primary {
  background: var(--gold); color: var(--dark); border-color: var(--gold);
}
.btn-primary:hover { background: #c99a38; border-color: #c99a38; color: var(--dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,168,67,0.35); }
.btn-green {
  background: var(--green); color: var(--white); border-color: var(--green);
}
.btn-green:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,122,76,0.30); }
.btn-outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }
.btn-white {
  background: var(--white); color: var(--green); border-color: var(--white);
}
.btn-white:hover { background: var(--green-light); color: var(--green-dark); transform: translateY(-2px); }
.btn-sm {
  padding: 10px 22px; font-size: 0.85rem;
}

/* === Navigation === */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
.logo {
  font-weight: 800; font-size: 1.35rem;
  color: var(--green); letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 10px;
}
.logo-img {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; display: block; flex-shrink: 0;
  border: 2px solid var(--green-light);
}
.logo-icon { width: 36px; height: 36px; background: var(--green); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: white; font-size: 18px; font-weight: 800; flex-shrink: 0; }
.logo-fade { color: var(--text); font-weight: 400; }
.nav-links { display: flex; gap: 6px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-light);
  padding: 8px 16px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--green); background: var(--green-light); }
.nav-links .nav-cta {
  background: var(--green); color: var(--white); padding: 8px 20px; border-radius: var(--radius-full);
}
.nav-links .nav-cta:hover { background: var(--green-dark); color: var(--white); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 40%, var(--green-bright) 100%);
  color: var(--white);
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.15; mix-blend-mode: overlay;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 780px; }
.hero .eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.8rem; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 18px; border-radius: 100px; margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.text-accent { color: var(--gold); }
.hero p {
  font-size: 1.15rem; line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 600px; margin: 0 0 36px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* === Page Hero (inner pages) === */
.page-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
  color: var(--white); text-align: center;
  position: relative; overflow: hidden;
}
.page-hero .hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.12; mix-blend-mode: overlay;
}
.page-hero-content { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; }

/* === Sections === */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-sub { color: var(--text-light); max-width: 640px; margin: 0 auto; font-size: 1rem; }

/* Facebook Feed */
.fb-feed-wrap {
  max-width: 500px; margin: 0 auto;
  display: flex; justify-content: center;
}
.fb-feed-wrap .fb-page,
.fb-feed-wrap .fb-page span,
.fb-feed-wrap .fb-page iframe {
  max-width: 100% !important;
  width: 100% !important;
}

/* CTA row — side by side */
.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.cta-card {
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta-card.gradient-1 { background: linear-gradient(135deg, #0f172a, #1e3a5f, #16a34a); }
.cta-card.gradient-2 { background: linear-gradient(135deg, #0a3d24, #1a7a4c, #2d9f6a); }
.cta-card h3 { color: #fff; font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 10px; }
.cta-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; max-width: 420px; }

/* Media row — video + FB side by side */
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
.media-col { display: flex; flex-direction: column; gap: 20px; }
.media-col .video-card { margin: 0; }
.media-col .fb-feed-wrap { max-width: 100%; margin: 0; }

/* Video section */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.video-player {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 700px) {
  .cta-row { grid-template-columns: 1fr; }
  .media-row { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Contact form */
.contact-form .form-group { margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; outline: none; background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ====== HOME PAGE SPECIFIC ====== */

/* Home About */
.home-about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.home-about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.home-about-image img { display: block; width: 100%; height: 400px; object-fit: cover; }
.home-about-text h2 { margin-bottom: 16px; }
.home-about-text p { margin-bottom: 14px; color: var(--text-light); }

/* Home Impact Stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.stat-card { text-align: center; background: var(--white); padding: 32px 24px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 150px; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--green); line-height: 1.1; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; max-width: 180px; line-height: 1.4; }

/* Home Values */
.values-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.value-item {
  background: var(--white); border: 1px solid var(--green-light);
  padding: 14px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.9rem;
  color: var(--green); box-shadow: var(--shadow); transition: var(--transition);
}
.value-item:hover { background: var(--green); color: var(--white); border-color: var(--green); transform: translateY(-3px); }

/* Home Achievements */
.achievements-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.achieve-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none; display: block;
}
.achieve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--green-light); }
.achieve-icon { font-size: 2rem; margin-bottom: 12px; }
.achieve-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.achieve-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

/* ====== ABOUT PAGE ====== */

.about-intro { max-width: 800px; margin: 0 auto 48px; text-align: center; }
.about-intro p { color: var(--text-light); font-size: 1.05rem; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.vm-card {
  background: var(--white); border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.vm-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--green);
}
.vm-card .vm-icon { font-size: 2.4rem; margin-bottom: 12px; }
.vm-card h3 { font-size: 1.2rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.vm-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* Governance */
.gov-flow { max-width: 600px; margin: 0 auto; text-align: center; }
.gov-layer {
  background: var(--white); padding: 24px 40px;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
}
.gov-layer .gov-label { font-size: 1.1rem; font-weight: 700; color: var(--dark); display: block; }
.gov-layer small { color: var(--text-light); font-size: 0.85rem; display: block; margin-top: 4px; }
.gov-arrow { font-size: 1.5rem; color: var(--green); font-weight: 700; padding: 8px 0; }

/* Registration badges */
.reg-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.reg-badge {
  background: var(--white); border: 1px solid #e2e8f0;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 500; color: var(--text-light);
  display: flex; align-items: center; gap: 8px;
}
.reg-badge .badge-icon { color: var(--green); font-weight: 700; }

/* ====== WHAT WE DO PAGE ====== */
.themes-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px;
}
.theme-card {
  background: var(--white); border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow); transition: var(--transition);
  border-top: 4px solid var(--green);
}
.theme-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.theme-icon { font-size: 2.4rem; margin-bottom: 16px; }
.theme-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.theme-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* Thematic approach banner */
.approach-banner {
  background: var(--green-deep); color: var(--white);
  padding: 60px 0; text-align: center;
}
.approach-banner h2 { color: var(--white); margin-bottom: 12px; }
.approach-banner p { color: rgba(255,255,255,0.8); max-width: 700px; margin: 0 auto; }

/* ====== PROJECTS PAGE ====== */

/* Partner logo strip — card grid */
.partner-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.partner-card img {
  height: 64px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.3s ease;
}
.partner-card:hover img {
  filter: none;
  opacity: 1;
}
.partner-card img[src$=".svg"] {
  background: var(--white);
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  height: 64px;
}
.partner-card img[src$=".png"] {
  background: var(--white);
  border-radius: 8px;
  padding: 6px;
}
.partner-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  transition: color 0.3s ease;
}
.partner-card:hover .partner-name {
  color: var(--green);
}

/* Donor cloud */
.donor-cloud-wrap {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 800px;
}
.donor-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  padding: 4px 16px;
  border: 1px solid #d0d7de;
  border-radius: 100px;
}
.donor-cloud {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.donor-cloud span {
  background: var(--white); padding: 8px 18px; border-radius: var(--radius-full);
  font-weight: 500; font-size: 0.82rem; color: var(--text-light);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0; transition: var(--transition);
}
.donor-cloud span:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }
.donor-more {
  font-weight: 700 !important;
  color: var(--green) !important;
  border-color: var(--green-light) !important;
  background: var(--green-light) !important;
}

/* Project cards */
.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px;
}
.project-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.project-card-image { height: 200px; overflow: hidden; }
.project-card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.project-card:hover .project-card-image img { transform: scale(1.05); }
.project-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.project-card-donor {
  font-size: 0.75rem; font-weight: 600; color: var(--green);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.project-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.project-card p { font-size: 0.9rem; color: var(--text-light); flex: 1; }
.project-footer { margin-top: 40px; text-align: center; }

/* ====== CONTACT PAGE ====== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item {}
.contact-label {
  display: block; font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--green); margin-bottom: 6px;
}
.contact-item p { font-size: 1rem; }
.contact-item a { font-weight: 500; }

.social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-full);
  background: var(--green-light); color: var(--green);
  font-weight: 600; font-size: 0.85rem; transition: var(--transition);
  text-decoration: none;
}
.social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.social-btn:hover { background: var(--green); color: var(--white); }

.contact-card {
  background: var(--green-deep); border-radius: var(--radius);
  padding: 48px 36px; color: rgba(255,255,255,0.85);
}
.contact-card h3 { color: var(--white); margin-bottom: 20px; }
.contact-card-item { margin-bottom: 20px; }
.contact-card-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 600; }
.contact-card p { color: rgba(255,255,255,0.85); margin-top: 4px; }

/* === Footer === */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.8);
  padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand .footer-logo { font-weight: 800; font-size: 1.2rem; color: var(--white); margin-bottom: 8px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.6; }
.footer h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.footer ul a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* === Tablet (max 900px) === */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .home-about-image img { height: 320px; }
}

/* === Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}

/* Gallery item overlay on hover */
.gallery-item::after {
  content: '🔍';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2rem;
  opacity: 0;
  transition: all 0.3s ease;
  background: rgba(0,0,0,0.4);
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 50px;
  text-align: center;
}
.gallery-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: 0 8px 48px rgba(0,0,0,0.4);
}
.lightbox-caption {
  color: white;
  margin-top: 16px;
  font-size: 1rem;
  text-align: center;
  opacity: 0.8;
  max-width: 600px;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  color: white;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s;
  line-height: 1;
}
.lightbox-close:hover { opacity: 0.6; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  padding: 16px;
  transition: opacity 0.3s;
  z-index: 10;
  user-select: none;
}
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 0.6; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* Gallery mobile */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* === Mobile (max 768px) === */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 0 20px; gap: 6px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }
  .nav-links.open { display: flex; max-height: 70vh; padding: 16px 20px; }
  .nav-links a {
    padding: 14px 18px; border-radius: var(--radius-sm); font-size: 1.05rem;
    width: 100%; box-sizing: border-box;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .nav-cta {
    background: var(--green); color: var(--white);
    padding: 14px 18px; border-radius: var(--radius-sm);
    width: 100%; text-align: center;
    margin-top: 10px; box-sizing: border-box;
    border-bottom: none;
  }
  .nav-links .nav-cta:hover { background: var(--green-dark); color: var(--white); }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .home-about { grid-template-columns: 1fr; gap: 32px; }
  .home-about-image img { height: 260px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 24px 16px; min-height: 130px; }
  .stat-number { font-size: 2rem; }
  .stat-label { max-width: 140px; font-size: 0.8rem; }

  .vm-grid { grid-template-columns: 1fr; }
  .vm-card { padding: 28px 24px; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-card { padding: 32px 24px; }
  .social-btn { padding: 8px 18px; font-size: 0.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  .hero { padding: 100px 20px 60px; min-height: 90vh; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .page-hero { padding: 110px 20px 36px; }
  .page-hero h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .page-hero p { font-size: 0.95rem; padding: 0 10px; }

  .achievements-grid { grid-template-columns: 1fr; gap: 16px; }
  .themes-grid { grid-template-columns: 1fr; gap: 16px; }
  .theme-card { padding: 28px 24px; }

  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-card-image { height: 180px; }
  .project-card-body { padding: 20px; }

  .about-intro p { font-size: 0.95rem; }
  .values-row { gap: 8px; }
  .value-item { padding: 10px 20px; font-size: 0.85rem; }

  .donor-cloud { gap: 8px; }
  .donor-cloud span { padding: 8px 16px; font-size: 0.8rem; }
  .partner-strip { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .partner-card img { height: 50px; max-width: 100px; }
  .partner-card img[src$=".svg"] { height: 50px; padding: 4px 8px; }
  .partner-card img[src$=".png"] { padding: 4px; }

  .approach-banner { padding: 40px 0; }
  .approach-banner p { font-size: 0.95rem; }

  .container { padding: 0 16px; }
}

/* === Small phones (max 480px) === */
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 18px 12px; min-height: 110px; }
  .stat-number { font-size: 1.7rem; }
  .stat-label { max-width: 120px; font-size: 0.75rem; }

  .hero { min-height: 85vh; padding: 90px 16px 50px; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .hero .eyebrow { font-size: 0.7rem; padding: 4px 14px; }
  .hero p { font-size: 0.9rem; }

  .section { padding: 36px 0; }
  .page-hero { padding: 100px 16px 30px; }

  .home-about-image img { height: 200px; }

  .achieve-card { padding: 22px 18px; }
  .achieve-icon { font-size: 1.6rem; }
  .achieve-card h3 { font-size: 1rem; }
  .achieve-card p { font-size: 0.85rem; }

  .project-card-image { height: 160px; }
  .project-card-body { padding: 16px; }
  .project-card h3 { font-size: 0.95rem; }
  .project-card p { font-size: 0.85rem; }

  .contact-card { padding: 24px 20px; }
  .contact-card h3 { font-size: 1.1rem; }

  .social-row { flex-direction: column; }
  .social-btn { width: 100%; justify-content: center; }

  .container { padding: 0 12px; }

  .footer { padding: 32px 0 20px; }
  .footer-grid { gap: 20px; }
}
