/* ============================================
   GENACT - Gender, Environment, Action
   UNESCO / UNICEF inspired design
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --green-dark: #1b6d3d;
  --green-primary: #2d9b4e;
  --green-light: #5bb975;
  --green-pale: #eaf6ed;
  --green-accent: #238c43;
  --orange: #f89c27;
  --orange-dark: #e08b1e;
  --orange-light: #fab95c;
  --orange-pale: #fef3e2;
  --cyan: #00aeef;
  --gold: #f0c340;
  --text-dark: #222222;
  --text-body: #404040;
  --text-light: #6b6b6b;
  --text-white: #ffffff;
  --bg-white: #ffffff;
  --bg-light: #f7f7f7;
  --bg-dark: #1d1d1d;
  --border-light: #e5e5e5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
  --transition: all 0.25s ease;
  --max-width: 1200px;
  --header-height: 72px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Focus states - Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
}

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Typography ---------- */
/* Skip to content - Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--green-primary);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-size: 0.85rem;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus {
  top: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1, h2 {
  font-family: var(--font-heading);
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.01em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.005em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ---------- Buttons (UNESCO/UNICEF style - clean, minimal) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: 3px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--text-white);
  box-shadow: 0 2px 4px rgba(45,155,78,0.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 4px 12px rgba(27,109,61,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--text-white);
  border: 2px solid var(--orange);
}
.btn-secondary:hover {
  background: var(--orange);
  color: var(--text-dark);
}

.btn-outline {
  background: transparent;
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
}
.btn-outline:hover {
  background: var(--green-primary);
  color: var(--text-white);
}

.btn-gold {
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 700;
}
.btn-gold:hover {
  background: #ddb12e;
}

.btn-donate {
  background: var(--orange);
  color: var(--text-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(232,168,56,0.35);
}
.btn-donate:hover {
  background: var(--orange-dark);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(212,146,42,0.45);
  transform: translateY(-1px);
}

.btn-icon::after {
  content: '\2192';
  transition: transform 0.2s ease;
}
.btn-icon:hover::after {
  transform: translateX(3px);
}

/* ---------- Top Bar (UNESCO-style thin utility bar) ---------- */
.top-bar {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-dark) 60%, var(--orange) 100%);
  color: rgba(255,255,255,0.9);
  padding: 0;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.top-bar-links {
  display: flex;
  gap: 1.25rem;
}

.top-bar-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
}
.top-bar-links a:hover {
  color: var(--text-white);
}

.top-bar-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.top-bar-social a {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-bar-social a:hover {
  color: var(--text-white);
}

/* ---------- Header / Navigation (UNESCO-style) ---------- */
.header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

/* Header compact on scroll */
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header.scrolled .container {
  height: 56px;
}

.header.scrolled .logo img {
  height: 38px;
}

.header.scrolled .nav-main > li > a {
  height: 56px;
  font-size: 0.8rem;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  transition: height 0.3s ease;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--green-dark);
  padding-left: 0.75rem;
  margin-left: 0.75rem;
}

.logo-text .name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 3px;
  line-height: 1.1;
}

.logo-text .tagline {
  font-size: 0.6rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 400;
}

/* Navigation */
.nav-main {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-main > li {
  position: relative;
}

.nav-main > li > a {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  height: var(--header-height);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-main > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-main > li:hover > a::after,
.nav-main > li.active > a::after {
  transform: scaleX(1);
}

.nav-main > li:hover > a {
  color: var(--green-primary);
}

/* Dropdown arrow */
.has-dropdown > a .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
}

/* Dropdown menu (UNESCO style - clean, with left green border) */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--green-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-body);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.dropdown li a:hover {
  background: var(--green-pale);
  color: var(--green-dark);
  border-left-color: var(--green-primary);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---------- Hero (UNESCO/UNICEF style - full width with dark overlay) ---------- */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.4) 40%,
    rgba(0,0,0,0.15) 100%
  ),
  linear-gradient(135deg, #1b6d3d 0%, #238c43 50%, #2d9b4e 100%);
  background-size: cover;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  max-width: 650px;
  color: var(--text-white);
  padding: 0 0 5rem;
}

.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--text-dark);
  padding: 0.35rem 1rem;
  border-radius: 2px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 1.25rem;
  line-height: 1.1;
  font-weight: 800;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-white);
  opacity: 0.5;
  animation: bounce 2s infinite;
  font-size: 1.5rem;
}

@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ---------- Sections ---------- */
.section {
  padding: 4.5rem 0;
}
.section-dark {
  background: var(--bg-dark);
  color: var(--text-white);
}
.section-dark h2, .section-dark h3 { color: var(--text-white); }

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

.section-green {
  background: var(--green-dark);
  color: var(--text-white);
}
.section-green h2, .section-green h3, .section-green h4 { color: var(--text-white); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}
.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--orange);
  margin: 0.6rem auto 0;
}
.section-dark .section-header h2::after,
.section-green .section-header h2::after {
  background: var(--gold);
}
.section-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1rem;
}
.section-dark .section-header p { color: rgba(255,255,255,0.65); }

/* ---------- Mission / Impact Cards (UNICEF-style clean cards) ---------- */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mission-card {
  background: var(--bg-white);
  padding: 2rem 1.75rem;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.mission-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.mission-card:hover::before {
  transform: scaleX(1);
}

.mission-card .icon {
  width: 56px;
  height: 56px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.mission-card:hover .icon {
  background: var(--green-primary);
}

.mission-card:nth-child(2):hover .icon {
  background: var(--orange);
}

.mission-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.mission-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ---------- Stats (UNESCO-style horizontal bar) ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3.5rem 0;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- News Cards (UNESCO-style) ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: var(--bg-white);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
}

.news-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.news-card-img .category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--green-primary);
  color: white;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Alternate category badges: even cards get orange */
.news-side-cards .news-card:nth-child(even) .category,
.news-grid .news-card:nth-child(3n+2) .category {
  background: var(--orange);
  color: var(--text-dark);
}

.news-card-body {
  padding: 1.25rem;
}

.news-card-date {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
}

.news-card-body h3 a:hover {
  color: var(--green-primary);
}

.news-card-body p {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--green-primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-card-link:hover {
  gap: 0.6rem;
  color: var(--orange-dark);
}

/* ---------- CTA Section (UNICEF-style) ---------- */
.cta-section {
  text-align: center;
  padding: 4.5rem 0;
}
.cta-section h2 {
  color: var(--text-white);
  margin-bottom: 0.75rem;
}
.cta-section p {
  max-width: 560px;
  margin: 0 auto 2rem;
  opacity: 0.85;
  font-size: 1.05rem;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ---------- Partners ---------- */
.partners-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2rem;
}

.partners-grid .partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  padding: 1.5rem 2rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  transition: var(--transition);
  opacity: 0.7;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
}
.partners-grid .partner img {
  max-height: 60px;
  max-width: 140px;
  object-fit: contain;
}
.partners-grid .partner img[src=""],
.partners-grid .partner img:not([src]) {
  display: none;
}
.partners-grid .partner:hover {
  opacity: 1;
  border-color: var(--orange);
  color: var(--orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ---------- Accordion (UNESCO style) ---------- */
.accordion-item {
  border: 1px solid var(--border-light);
  margin-bottom: 0;
  border-bottom: none;
}
.accordion-item:last-child {
  border-bottom: 1px solid var(--border-light);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--bg-white);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
.accordion-header:hover {
  background: var(--green-pale);
}

.accordion-header .icon-toggle {
  font-size: 1.3rem;
  color: var(--orange);
  transition: transform 0.25s ease;
  font-weight: 300;
}

.accordion-item.active .accordion-header {
  background: var(--green-pale);
  color: var(--green-dark);
}
.accordion-item.active .icon-toggle {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-content {
  padding: 1.25rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--orange);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--green-pale);
  position: absolute;
  top: 0.25rem;
  left: 1.25rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.9rem;
}

.testimonial-info .name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.9rem;
}
.testimonial-info .role {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ---------- Page Banner ---------- */
.page-banner {
  background: linear-gradient(
    135deg,
    rgba(27,109,61,0.92) 0%,
    rgba(35,140,67,0.88) 60%,
    rgba(232,168,56,0.7) 100%
  );
  padding: 5rem 0 3.5rem;
  text-align: center;
}

.page-banner h1 {
  color: var(--text-white);
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
}

.page-banner p {
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a {
  color: rgba(255,255,255,0.6);
}
.breadcrumb a:hover {
  color: var(--text-white);
}
.breadcrumb .separator { margin: 0 0.15rem; }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.5rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.25rem;
}

.value-card .icon {
  width: 72px;
  height: 72px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}
.value-card h3 { margin-bottom: 0.5rem; }
.value-card p { color: var(--text-light); font-size: 0.9rem; }

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.two-col-text h2 { margin-bottom: 0.75rem; }
.two-col-text p { color: var(--text-light); font-size: 0.95rem; }

.two-col-image {
  overflow: hidden;
  background: var(--green-pale);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.two-col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Programs ---------- */
.program-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--bg-white);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.program-card:hover {
  box-shadow: var(--shadow-md);
}

.program-card-img {
  background: var(--green-pale);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.program-card-body h3 {
  margin-bottom: 0.5rem;
  color: var(--green-dark);
}
.program-card-body p {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.program-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

/* ---------- Donate ---------- */
.donate-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.donate-amount {
  padding: 1.25rem;
  border: 2px solid var(--border-light);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
}
.donate-amount:hover,
.donate-amount.selected {
  border-color: var(--orange);
  background: var(--orange-pale);
  color: var(--orange-dark);
}
.donate-amount small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 0.2rem;
}

.donate-impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.impact-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.impact-card .icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.impact-card h4 { margin-bottom: 0.2rem; font-size: 1rem; }
.impact-card p { font-size: 0.85rem; color: var(--text-light); }

/* ---------- Vacancy ---------- */
.vacancy-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.vacancy-card:hover {
  border-left: 3px solid var(--green-primary);
  box-shadow: var(--shadow-sm);
}
.vacancy-info h3 { margin-bottom: 0.2rem; font-size: 1.05rem; }
.vacancy-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.4rem;
}
.vacancy-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.85rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  font-family: var(--font-main);
  transition: var(--transition);
  background: var(--bg-white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 2px rgba(45,155,78,0.1);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ---------- Footer (UNESCO-style dark footer) ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.footer-about .logo-text .name { color: var(--text-white); }
.footer-about p {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
}

.footer h4 {
  color: var(--text-white);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: var(--text-white);
}

.footer-contact li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-contact .icon { color: var(--green-light); flex-shrink: 0; }

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--text-dark);
}

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ---------- Newsletter ---------- */
.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 0.75rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: 3px 0 0 3px;
  font-size: 0.9rem;
  font-family: var(--font-main);
  background: rgba(255,255,255,0.08);
  color: white;
}
.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--green-primary);
  background: rgba(255,255,255,0.12);
}
.newsletter-form button {
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--orange);
  border-radius: 0 3px 3px 0;
  background: var(--orange);
  color: var(--text-dark);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: var(--font-main);
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--text-white);
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: var(--text-dark);
  border: none;
  border-radius: 0;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--orange-dark); color: var(--text-white); }

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for grid children */
.mission-grid .fade-in:nth-child(2),
.news-grid .fade-in:nth-child(2),
.testimonial-grid .fade-in:nth-child(2),
.values-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }

.mission-grid .fade-in:nth-child(3),
.news-grid .fade-in:nth-child(3),
.testimonial-grid .fade-in:nth-child(3),
.values-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }

.values-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }

/* Image hover zoom */
.news-card-img img,
.program-card-img img,
.two-col-image img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-card:hover .news-card-img img,
.program-card:hover .program-card-img img {
  transform: scale(1.05);
}

/* Link underline animation */
.footer-links a {
  position: relative;
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.3s ease;
}
.footer-links a:hover::after {
  width: 100%;
}

/* ---------- Header Actions (UNICEF-style donate button + search) ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.search-toggle:hover {
  color: var(--green-primary);
}

/* ---------- Search Overlay ---------- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  z-index: 2000;
  padding: 1.5rem 0;
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.search-overlay.active {
  transform: translateY(0);
}
.search-form {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.search-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-bottom: 2px solid var(--green-primary);
  font-size: 1.25rem;
  font-family: var(--font-main);
  outline: none;
  background: transparent;
}
.search-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  padding: 0 0.5rem;
  line-height: 1;
}
.search-close:hover {
  color: var(--text-dark);
}

/* ---------- Hero Overlay (UNICEF-style gradient) ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.5) 35%,
    rgba(0,0,0,0.2) 65%,
    rgba(0,0,0,0.1) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Card Link ---------- */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--green-primary);
  font-weight: 600;
  font-size: 0.8rem;
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-link:hover {
  gap: 0.6rem;
  color: var(--orange-dark);
}

/* ---------- Featured News Layout (UNESCO style: 1 big + 2 small) ---------- */
.news-featured-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.news-card-large .news-card-img {
  height: 100%;
  min-height: 300px;
}

.news-card-large .news-card-body h3 {
  font-size: 1.3rem;
}

.news-side-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ---------- CTA with Image Background (UNICEF-style) ---------- */
.cta-image-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.cta-image-bg {
  position: absolute;
  inset: 0;
}

.cta-image-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27,109,61,0.92) 0%,
    rgba(35,140,67,0.88) 55%,
    rgba(232,168,56,0.75) 100%
  );
}

.cta-image-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text-white);
  max-width: 600px;
  margin: 0 auto;
}

.cta-image-content h2 {
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.cta-image-content p {
  opacity: 0.9;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ---------- Placeholder image ---------- */
.placeholder-img {
  background: linear-gradient(145deg, #d4edda, #a8d5ba);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--green-primary);
  min-height: 200px;
}

/* ---------- Prevent horizontal overflow ---------- */
html, body {
  overflow-x: hidden;
}

/* ---------- Responsive ---------- */

/* --- 1024px: Tablet landscape --- */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .program-card { grid-template-columns: 1fr; }
  .program-card-img { min-height: 200px; }
  .program-card-img img { width: 100%; height: 100%; object-fit: cover; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:not(:last-child)::after { display: none; }
  .cta-image-section { padding: 4rem 0; }

  /* news.html featured article with inline grid */
  .news-card[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .news-card[style*="grid-template-columns: 1fr 1fr"] .news-card-img {
    min-height: 280px !important;
  }

  /* news.html sidebar layout with inline grid */
  div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* --- 768px: Tablet portrait & mobile --- */
@media (max-width: 768px) {
  .top-bar { display: none; }
  .header .container { height: 60px; }
  .header.scrolled .container { height: 56px; }
  .header.scrolled .logo img { height: 36px; }
  .menu-toggle { display: flex; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .logo img { height: 40px; }
  .logo-text .name { font-size: 1rem; }
  .logo-text .tagline { font-size: 0.5rem; }
  .header-actions .btn-donate { display: none; }
  .news-featured-layout { grid-template-columns: 1fr; }

  /* Mobile nav */
  .nav-main {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 999;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .nav-main.open { transform: translateY(0); }
  .nav-main > li > a {
    padding: 0.85rem 1.5rem;
    height: auto;
    min-height: 44px;
  }
  .nav-main > li > a::after { display: none; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    display: none;
    background: var(--bg-light);
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a {
    padding: 0.75rem 1.5rem 0.75rem 2.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Hero */
  .hero { min-height: 60vh; }
  .hero-content { padding: 0 0 3rem; }

  /* Sections */
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }

  /* Grids */
  .mission-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .vacancy-card { flex-direction: column; align-items: flex-start; }
  .vacancy-card .btn { width: 100%; justify-content: center; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  /* Vacancy meta stacking */
  .vacancy-meta { flex-wrap: wrap; gap: 0.5rem 1rem; }

  /* Page banner */
  .page-banner { padding: 3.5rem 0 2.5rem; }
  .page-banner p { font-size: 0.95rem; }

  /* Program cards */
  .program-card { grid-template-columns: 1fr; }
  .program-card-img { min-height: 200px; }
  .program-card-img img { width: 100%; height: 100%; object-fit: cover; }

  /* CTA sections */
  .cta-image-section { padding: 3.5rem 0; }
  .cta-section { padding: 3rem 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Accordion touch targets */
  .accordion-header {
    min-height: 48px;
    padding: 0.85rem 1.25rem;
  }

  /* Newsletter form */
  .newsletter-form { flex-direction: column; }
  .newsletter-form input {
    border-right: 2px solid rgba(255,255,255,0.2);
    border-radius: 3px;
    font-size: 1rem;
  }
  .newsletter-form input:focus { border-color: var(--green-primary); }
  .newsletter-form button {
    border-radius: 3px;
    padding: 0.85rem;
  }

  /* Partners */
  .partners-grid { gap: 1rem; }
  .partners-grid .partner { padding: 0.75rem 1rem; font-size: 0.8rem; }

  /* Scroll to top */
  .scroll-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
  }

  /* Search overlay */
  .search-form input { font-size: 1rem; padding: 0.85rem; }

  /* Donate impact */
  .donate-impact { grid-template-columns: 1fr; }

  /* Stats */
  .stat-number { font-size: 2rem; }

  /* news.html featured article with inline grid */
  .news-card[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .news-card[style*="grid-template-columns: 1fr 1fr"] .news-card-img {
    min-height: 250px !important;
    height: auto !important;
  }
  .news-card[style*="grid-template-columns: 1fr 1fr"] .news-card-body {
    padding: 1.5rem !important;
  }

  /* news.html sidebar layout */
  div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* news.html sidebar sticky */
  div[style*="position: sticky"] {
    position: static !important;
  }

  /* Footer logo */
  .footer-logo img { height: 40px !important; }

  /* Two-col image */
  .two-col-image { min-height: 250px; }
}

/* --- 480px: Small mobile --- */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }

  /* Hero */
  .hero { min-height: 55vh; }
  .hero-content { padding: 0 0 2.5rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  /* Stats */
  .stats-bar { grid-template-columns: 1fr; padding: 2rem 0; }
  .stat-number { font-size: 2rem; }

  /* Donate */
  .donate-options { grid-template-columns: repeat(2, 1fr); }
  .donate-amount { padding: 1rem 0.75rem; font-size: 1.2rem; }

  /* Values grid - single column */
  .values-grid { grid-template-columns: 1fr; }

  /* Section spacing */
  .section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 1.5rem; }

  /* Page banner */
  .page-banner { padding: 3rem 0 2rem; }
  .breadcrumb { font-size: 0.75rem; margin-bottom: 1rem; }

  /* News card */
  .news-card-img { height: 180px; }
  .news-card-body { padding: 1rem; }

  /* CTA */
  .cta-image-section { padding: 2.5rem 0; }
  .cta-section p { font-size: 0.95rem; }

  /* Mission card */
  .mission-card { padding: 1.5rem 1.25rem; }

  /* Testimonial card */
  .testimonial-card { padding: 1.5rem; }

  /* Vacancy meta */
  .vacancy-meta { flex-direction: column; gap: 0.4rem; }
  .vacancy-card { padding: 1.25rem; }

  /* Program card body */
  .program-card-body { padding: 1.25rem; }

  /* Accordion */
  .accordion-content { padding: 1rem; }

  /* Search form */
  .search-form { position: relative; }
  .search-form input { font-size: 1rem; padding-right: 3rem; }
  .search-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }

  /* Footer */
  .footer { padding: 2.5rem 0 0; }
  .footer-grid { gap: 1.5rem; }
}

/* --- 375px: iPhone SE and very small devices --- */
@media (max-width: 375px) {
  .container { padding: 0 0.875rem; }

  /* Logo */
  .logo img { height: 36px; }
  .logo-text .name { font-size: 0.9rem; letter-spacing: 2px; }
  .logo-text .tagline { font-size: 0.45rem; letter-spacing: 1px; }
  .logo-text { padding-left: 0.5rem; margin-left: 0.5rem; }

  /* Hero */
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 0.95rem; }
  .hero-badge { font-size: 0.6rem; padding: 0.3rem 0.75rem; }

  /* Sections */
  .section { padding: 2rem 0; }

  /* Donate amounts - 2 column still works at 375 */
  .donate-options { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .donate-amount { padding: 0.85rem 0.5rem; font-size: 1.1rem; }
  .donate-amount small { font-size: 0.65rem; }

  /* Stats */
  .stat-number { font-size: 1.75rem; }
  .stat-label { font-size: 0.7rem; }

  /* Page banner */
  .page-banner h1 { font-size: 1.6rem; }
  .page-banner p { font-size: 0.9rem; }

  /* Partners */
  .partners-grid .partner { padding: 0.6rem 0.75rem; font-size: 0.7rem; letter-spacing: 1px; min-width: 120px; }
  .partners-grid .partner img { max-height: 40px; }

  /* Header actions */
  .header-actions { gap: 0.35rem; }
  .lang-switch { margin-right: 0.25rem; }
  .lang-switch-toggle { padding: 0.25rem 0.5rem; font-size: 0.75rem; }

  /* Buttons */
  .btn { padding: 0.7rem 1.25rem; font-size: 0.8rem; }

  /* Footer spacing */
  .footer-bottom { padding: 1rem 0; font-size: 0.7rem; }

  /* news.html featured article body */
  .news-card[style*="grid-template-columns: 1fr 1fr"] .news-card-body {
    padding: 1rem !important;
  }
  .news-card[style*="grid-template-columns: 1fr 1fr"] .news-card-body h2 {
    font-size: 1.3rem !important;
  }
  .news-card[style*="grid-template-columns: 1fr 1fr"] .news-card-body p {
    font-size: 0.9rem !important;
  }
}

/* --- iOS zoom prevention: inputs must be >= 16px --- */
@media (max-width: 768px) {
  input, textarea, select {
    font-size: 1rem !important;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 1rem !important;
  }
  .newsletter-form input {
    font-size: 1rem !important;
  }
}

/* --- Touch targets: ensure minimum 44x44px on touch devices --- */
@media (pointer: coarse) {
  .top-bar-links a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .top-bar-social a {
    min-width: 36px;
    min-height: 36px;
  }
  .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .footer-links li { margin-bottom: 0.25rem; }
  .footer-contact li {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .breadcrumb a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .card-link,
  .news-card-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .search-toggle {
    min-width: 44px;
    min-height: 44px;
  }
  .search-close {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .scroll-top {
    min-width: 44px;
    min-height: 44px;
  }
  .donate-amount {
    min-height: 44px;
  }
  .lang-switch-toggle {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ---------- Page Transitions ---------- */
body {
  animation: pageFadeIn 0.4s ease;
}

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

/* ---------- Print Stylesheet ---------- */
@media print {
  .top-bar,
  .header,
  .hero-scroll,
  .scroll-top,
  .search-overlay,
  .menu-toggle,
  .header-actions,
  .cta-image-section,
  .newsletter-form,
  .footer-social,
  .btn { display: none !important; }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
    line-height: 1.5;
  }

  h1, h2, h3 {
    color: #000;
    page-break-after: avoid;
  }

  .hero {
    min-height: auto;
    background: none !important;
    padding: 2rem 0;
  }

  .hero-overlay { display: none; }

  .hero-content {
    color: #000;
  }

  .hero h1 { color: #000; }

  .section { padding: 1.5rem 0; }

  .container { max-width: 100%; padding: 0; }

  .mission-grid,
  .news-grid,
  .testimonial-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    background: #fff;
    color: #000;
    border-top: 2px solid #000;
  }

  .footer h4,
  .footer-about .logo-text .name {
    color: #000;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  .news-card,
  .mission-card,
  .testimonial-card {
    border: 1px solid #ccc;
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* ---------- Language Switcher (UNESCO-style globe dropdown) ---------- */
.lang-switch {
  position: relative;
  margin-right: 0.5rem;
}

.lang-switch-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-main);
  color: var(--text-dark);
  padding: 0.35rem 0.75rem;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.lang-switch-toggle:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.lang-switch-toggle svg {
  opacity: 0.6;
  transition: var(--transition);
}

.lang-switch-toggle:hover svg {
  opacity: 1;
}

.lang-switch-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.2s ease;
  z-index: 200;
  overflow: hidden;
}

.lang-switch.open .lang-switch-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switch-dropdown button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: var(--font-main);
  color: var(--text-body);
  padding: 0.65rem 1rem;
  transition: var(--transition);
  text-align: left;
}

.lang-switch-dropdown button:hover {
  background: var(--green-pale);
  color: var(--green-dark);
}

.lang-switch-dropdown button.active {
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 600;
}

.lang-switch-dropdown button .check {
  margin-left: auto;
  color: var(--green-primary);
  font-size: 1rem;
  opacity: 0;
}

.lang-switch-dropdown button.active .check {
  opacity: 1;
}
