/* ============================================================
   SEVADHENU & EDUCATION FOUNDATION — Rythm Foundation Style
   Google Fonts: Montserrat + Open Sans
   Primary Green: #22b24c | Accent: #cbdc38
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@300;400;600&display=swap');

/* ── CSS Variables ─────────────────────────────── */
:root {
  --primary:      #22b24c;
  --primary-dark: #1a8f3c;
  --accent:       #cbdc38;
  --accent-dark:  #aabf00;
  --yellow:       #ffc107;
  --text-dark:    #1e1e1e;
  --text-mid:     #444444;
  --text-light:   #777777;
  --bg-light:     #f8f9fa;
  --white:        #ffffff;
  --border:       #e3e8e3;
  --topbar-bg:    #1b3b27;
  --footer-bg:    #1a1a1a;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.12);
  --radius:       8px;
  --transition:   all .3s ease;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-mid);
  background: var(--white);
  line-height: 1.7;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  line-height: 1.25;
}

a { text-decoration:none; color: var(--primary); transition: var(--transition); }
ul { list-style: none; }
img { max-width:100%; height:auto; display:block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ── Top Bar ───────────────────────────────────── */
.topbar {
  background: var(--topbar-bg);
  padding: 8px 0;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar-tagline { font-style: italic; letter-spacing: .5px; }

.topbar-social { display:flex; gap:14px; }
.topbar-social a {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  transition: var(--transition);
}
.topbar-social a:hover { color: var(--accent); }

/* ── Navigation ────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo img { height: 58px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  letter-spacing: .3px;
  position: relative;
  text-transform: uppercase;
}

.nav-links li a::after {
  content:'';
  position:absolute;
  bottom:-4px; left:0;
  width:0; height:2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active { color: var(--primary); }

.nav-links li a:hover::after,
.nav-links li a.active::after { width:100%; }

/* Donate / CTA button in nav */
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 13px !important;
  letter-spacing: .5px;
  transition: var(--transition) !important;
}

.nav-cta::after { display:none !important; }

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(34,178,76,.35) !important;
  color: var(--white) !important;
}

.mobile-menu-btn {
  display: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-dark);
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .8px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(34,178,76,.35);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(203,220,56,.4);
}

.btn-outline-green {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-green:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ── Section Titles ─────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 54px;
}

.section-badge {
  display: inline-block;
  background: rgba(34,178,76,.1);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.section-header h2 .underline {
  display: inline-block;
  position: relative;
}
.section-header h2 .underline::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.bg-light { background: var(--bg-light); }
.bg-green { background: var(--primary); }

/* ── HERO ───────────────────────────────────────── */
.hero {
  height: calc(100vh - 90px);
  min-height: 540px;
  background:
    linear-gradient(to bottom right, rgba(0,0,0,.65), rgba(27,59,39,.6)),
    url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80')
    center/cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(34,178,76,.18) 0%, transparent 60%);
  pointer-events:none;
}

.hero-content {
  max-width: 750px;
  animation: slideUp .9s ease both;
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 54px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
  max-width: 560px;
}

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

/* Hero only form area — no donate/member buttons */

/* ── Inline Hero Contact Form (Rythm style) ─────── */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 360px;
  animation: slideUp 1.1s ease both;
}

.hero-form-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 12px;
}

.hero-section-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-left { flex: 1; }
.hero-right { flex: 0 0 360px; }

/* ── Stats Banner ───────────────────────────────── */
.stats-section {
  background: var(--primary);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item { color: var(--white); }

.stat-item i {
  font-size: 38px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.75);
}

.stat-item .counter {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.85);
}

/* ── Two-Column Flex ────────────────────────────── */
.flex-row {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}

.flex-half { flex: 1; min-width: 280px; }

.flex-row.reverse { flex-direction: row-reverse; }

/* ── Cards — Icon Box ────────────────────────────── */
.icon-box {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.icon-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--primary);
}

.icon-box i {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 18px;
}

.icon-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.icon-box p { font-size: 14px; color: var(--text-light); }

/* ── Grid Layouts ───────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Focus Area Cards (like Rythm's 3 pillars) ─── */
.focus-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  cursor: pointer;
}

.focus-card img {
  width:100%; height:240px;
  object-fit: cover;
  transition: transform .5s ease;
}

.focus-card:hover img { transform: scale(1.07); }

.focus-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(34,178,76,.88) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}

.focus-card-overlay h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.focus-card-overlay p { font-size: 13px; color: rgba(255,255,255,.85); }

/* ── Quote Section ──────────────────────────────── */
.quote-section {
  background:
    linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)),
    url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80')
    center/cover no-repeat fixed;
  padding: 100px 0;
  text-align: center;
  color: var(--white);
}

.quote-section blockquote {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.4;
}

.quote-section cite {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── About Image with Badge ──────────────────────── */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img-wrap img {
  width:100%; height:100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.about-img-wrap:hover img { transform: scale(1.04); }

.story-content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.story-content p { margin-bottom: 16px; font-size: 15px; line-height: 1.8; }

/* ── Greenbox Cards (Core Values / Vision like Rythm) ─ */
.green-card {
  background: var(--primary);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius);
}

.green-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,.3);
}

.green-card p { color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.8; }

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.gallery-item img {
  width:100%; height:100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

/* ── Testimonials ───────────────────────────────── */
.testimonials-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar { display:none; }

.testimonial-card {
  flex: 0 0 320px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
  position: relative;
}

.testimonial-card i.fa-quote-left {
  font-size: 36px;
  color: var(--bg-light);
  position: absolute;
  top: 18px; right: 18px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 22px;
  font-size: 15px;
  color: var(--text-mid);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-author h5 { font-size: 15px; color: var(--primary); font-weight: 700; }
.testimonial-author small { font-size: 12px; color: var(--text-light); }

/* ── Page Hero (inner pages) ────────────────────── */
.page-hero {
  background:
    linear-gradient(rgba(27,59,39,.85), rgba(27,59,39,.85)),
    url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80')
    center/cover no-repeat;
  padding: 90px 0;
  text-align: center;
  color: var(--white);
}

.page-hero .hero-badge { margin-bottom: 16px; }

.page-hero h1 {
  font-size: 46px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero p { font-size: 17px; color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto; }

/* ── Leadership Card ─────────────────────────────── */
.leader-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.leader-card-img {
  flex: 0 0 280px;
}

.leader-card-img img {
  width:100%; height:320px;
  object-fit: cover;
  object-position: top;
}

.leader-card-body { padding: 32px 32px 32px 0; flex:1; }

.leader-card-body h3 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.leader-card-body .role {
  display: inline-block;
  font-size: 13px;
  background: rgba(34,178,76,.12);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  font-weight: 600;
}
.leader-card-body p { font-size: 15px; line-height: 1.8; margin-bottom: 12px; }

/* ── Services Page ───────────────────────────────── */
.service-block {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.service-block:last-child { margin-bottom: 0; }

.service-block.reverse { flex-direction: row-reverse; }

.service-img {
  flex: 0 0 45%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-img img {
  width:100%; height:280px;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-img:hover img { transform: scale(1.04); }

.service-text { flex:1; }

.service-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(34,178,76,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon-wrap i { font-size: 24px; color: var(--primary); }

.service-text h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }

.service-text p { font-size: 15px; line-height: 1.8; color: var(--text-mid); }

/* ── Contact Page ────────────────────────────────── */
.contact-wrap {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.contact-info-panel { flex: 0 0 360px; }
.contact-form-panel { flex: 1; }

.info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.info-icon {
  width: 48px; height: 48px;
  background: rgba(34,178,76,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i { font-size: 18px; color: var(--primary); }
.info-item h4 { font-size: 15px; margin-bottom: 4px; }
.info-item p { font-size: 14px; color: var(--text-light); }

.contact-form-panel form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34,178,76,.12);
}

/* ── CTA Banner ─────────────────────────────────── */
.cta-section {
  background:
    linear-gradient(rgba(34,178,76,.88), rgba(27,143,60,.9)),
    url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80')
    center/cover no-repeat;
  text-align: center;
  padding: 80px 0;
  color: var(--white);
}

.cta-section h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,.88);
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-btns { display:flex; gap:16px; justify-content: center; flex-wrap: wrap; }

/* ── Features List ───────────────────────────────── */
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
}

.features-list li i { color: var(--primary); font-size: 18px; margin-top: 2px; }

/* ── Partners / Logo Row ─────────────────────────── */
.partners-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.partner-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  transition: var(--transition);
}

.partner-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ── Footer ──────────────────────────────────────── */
footer {
  background: var(--footer-bg);
  color: #aaa;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo { height: 52px; margin-bottom: 18px; filter: brightness(0) invert(1); }

.footer-about h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,.1);
}

.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: #aaa; font-size: 14px; }
.footer-links li a:hover { color: var(--primary); padding-left: 4px; }

.footer-links li i { width: 18px; color: var(--primary); margin-right: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
}

.footer-bottom a { color: var(--primary); }

/* ── WhatsApp ────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.12); color: var(--white); }

/* ── Scroll Animation ────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}
.fade-in.appear { opacity:1; transform: translateY(0); }

/* ── Keyframes ───────────────────────────────────── */
@keyframes slideUp {
  from { opacity:0; transform: translateY(36px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ── Hero form inputs ────────────────────────────── */
.hero-form-card .form-group { margin-bottom: 14px; }
.hero-form-card .form-group input,
.hero-form-card .form-group select,
.hero-form-card .form-group textarea {
  padding: 10px 14px;
  font-size: 14px;
}

/* ── SDG / Impact icon row ───────────────────────── */
.sdg-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.sdg-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  transition: var(--transition);
}

.sdg-item:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.sdg-item i { font-size: 28px; color: var(--primary); margin-bottom: 8px; }
.sdg-item p { font-size: 12px; font-weight: 600; color: var(--text-dark); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-section-inner { flex-direction: column; gap: 40px; }
  .hero-right { max-width: 100%; width: 100%; }
  .hero-form-card { max-width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .leader-card { flex-direction: column; }
  .leader-card-img { flex: none; width: 100%; }
  .leader-card-img img { height: 260px; }
}

@media (max-width: 768px) {
  .topbar-tagline { display: none; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 9999;
    transition: .3s;
  }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; z-index: 10000; position: relative; }

  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .page-hero h1 { font-size: 32px; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .sdg-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  .flex-row { flex-direction: column !important; }
  .flex-row.reverse { flex-direction: column !important; }

  .contact-wrap { flex-direction: column; }
  .contact-info-panel { flex: none; width: 100%; }
  .service-block, .service-block.reverse { flex-direction: column; }
  .service-img { flex: none; width: 100%; }

  .section-header h2 { font-size: 28px; }
  .cta-section h2 { font-size: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .leader-card-body { padding: 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item .counter { font-size: 36px; }
}
