:root {
  --green-900: #1b3f16;
  --green-800: #2d5016;
  --green-700: #166534;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --blue-900: #1e3a8a;
  --blue-700: #2563eb;
  --blue-500: #3b82f6;
  --cyan-500: #0ea5e9;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f8fafc;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img, video, iframe { max-width: 100%; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
  color: white;
  padding: 24px 0 22px;
}
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-title { color: white; font-size: 30px; font-weight: 800; text-decoration: none; }
.site-description { margin: 6px 0 0; font-size: 15px; opacity: .92; }
.project-badge { text-align: right; font-size: 15px; }
.project-badge span { display: block; opacity: .82; }

.main-navigation { position: sticky; top: 0; z-index: 50; background: var(--blue-900); color: white; }
.nav-wrap { position: relative; }
.nav-menu { display: flex; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.nav-menu a, .dropdown-toggle, .menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 18px; border: 0; background: transparent;
  color: white; font: inherit; text-decoration: none; cursor: pointer;
  transition: background .25s ease, transform .25s ease, padding .25s ease;
}
.nav-menu a:hover, .dropdown-toggle:hover { background: #1d4ed8; transform: translateY(-1px); }
.dropdown-toggle .fa-chevron-down { transition: transform .3s ease; }
.dropdown:hover .dropdown-toggle .fa-chevron-down, .dropdown.open .dropdown-toggle .fa-chevron-down { transform: rotate(180deg); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; width: 285px; margin: 0; padding: 0;
  border-radius: 0 0 10px 10px; background: #1e40af; list-style: none;
  box-shadow: 0 16px 30px rgba(2, 6, 23, .24);
  opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .2s ease;
}
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.dropdown-menu a { width: 100%; justify-content: flex-start; border-bottom: 1px solid rgba(255,255,255,.12); transition: background .25s ease, padding .25s ease; }
.dropdown-menu a:hover { padding-left: 26px; }
.menu-toggle { display: none; width: 100%; }

/* Polished project header/nav/footer */
.site-header {
  background:
    linear-gradient(135deg, rgba(31, 80, 31, .98), rgba(62, 112, 76, .98)),
    linear-gradient(90deg, rgba(255,255,255,.08), transparent 50%);
  padding: 22px 0 20px;
  box-shadow: inset 0 -1px rgba(255,255,255,.12);
}
.header-content { min-height: 64px; }
.site-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.05;
  text-shadow: 0 2px 8px rgba(0,0,0,.24);
}
.site-title::before {
  content: "\f0eb";
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #22c55e;
  color: white;
  font-family: "Font Awesome 6 Free";
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.project-badge {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  line-height: 1.35;
}
.main-navigation {
  background: #1f3f93;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .18);
}
.nav-menu {
  justify-content: space-between;
  gap: 4px;
}
.nav-menu a, .dropdown-toggle, .menu-toggle {
  min-height: 56px;
  padding: 0 13px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.nav-menu i:not(.fa-chevron-down) {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: rgba(255,255,255,.1);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.nav-menu a:hover, .dropdown-toggle:hover,
.nav-menu a:focus-visible, .dropdown-toggle:focus-visible {
  background: #284fb1;
  transform: translateY(0);
}
.nav-menu a:hover i:not(.fa-chevron-down), .dropdown-toggle:hover i:not(.fa-chevron-down) {
  background: #22c55e;
  transform: translateY(-1px);
}
.dropdown-menu {
  width: 340px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0 0 10px 10px;
  background: #172f73;
}
.dropdown-menu a {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
}
.dropdown-menu a:hover { padding-left: 18px; }

.site-footer {
  background:
    linear-gradient(135deg, #111827, #162033 55%, #10231c);
  color: white;
}
.footer-heading {
  align-items: flex-start;
}
.leaf-badge {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #22c55e;
  box-shadow: 0 12px 24px rgba(34,197,94,.22);
}
.leaf-badge i { font-size: 24px; }
.footer-title { line-height: 1.2; }
.site-footer p,
.site-footer em,
.footer-links a,
.contact-card span {
  color: rgba(255,255,255,.88);
}
.site-footer h3 {
  color: #ffffff;
}
.site-footer h3 i,
.footer-links i,
.contact-card i {
  color: #22c55e;
}
.contact-card {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.08);
  color: white;
  box-shadow: none;
}
.footer-links a {
  min-height: 38px;
  padding: 8px 0;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.footer-links a:hover {
  color: #22c55e;
  transform: translateX(4px);
}
.footer-stats span {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
}
.program-card {
  background: #2563eb;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(2,6,23,.22);
}

.hero-video-section {
  position: relative; display: grid; place-items: center; min-height: 600px;
  height: calc(100vh - 162px); max-height: 900px; overflow: hidden; color: white;
  background: linear-gradient(135deg, #2d5016 0%, #4a7c59 100%);
}
.video-background, .hero-video, .video-overlay { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay { background: linear-gradient(135deg, rgba(45,80,22,.72), rgba(74,124,89,.62) 50%, rgba(45,80,22,.84)); }
.hero-content { position: relative; z-index: 2; max-width: 930px; text-align: center; text-shadow: 2px 2px 8px rgba(0,0,0,.65); }
.hero-content h1 { margin: 0 0 24px; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.18; letter-spacing: 0; }
.hero-content p { margin: 0 auto; max-width: 850px; font-size: clamp(18px, 2vw, 22px); }
.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; margin-top: 48px; }
.stat-item {
  min-width: 148px; padding: 22px 28px; border: 1px solid rgba(255,255,255,.24);
  border-radius: 20px; background: rgba(255,255,255,.15); backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.stat-item:hover { transform: translateY(-6px) scale(1.02); background: rgba(255,255,255,.23); box-shadow: 0 14px 42px rgba(0,0,0,.36); }
.stat-number { display: block; color: var(--green-500); font-size: 42px; font-weight: 900; line-height: 1; }
.stat-item span:last-child { display: block; margin-top: 10px; font-weight: 800; text-transform: uppercase; }
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; z-index: 3; display: grid; gap: 6px; justify-items: center;
  color: rgba(255,255,255,.86); text-decoration: none; text-transform: uppercase; letter-spacing: 1px;
  transform: translateX(-50%); animation: bounce 2s infinite;
}
.scroll-indicator i { font-size: 34px; }
.scroll-indicator span { font-size: 14px; }

.page-hero {
  padding: 62px 0 70px; color: white; text-align: center;
  background:
    linear-gradient(135deg, rgba(30,58,138,.96), rgba(54,45,145,.94)),
    radial-gradient(circle at 20% 20%, rgba(34,197,94,.24), transparent 28%),
    radial-gradient(circle at 82% 30%, rgba(168,85,247,.24), transparent 30%);
}
.page-hero.utility {
  background:
    linear-gradient(135deg, rgba(45,80,22,.94), rgba(14,165,233,.82)),
    repeating-linear-gradient(90deg, transparent 0 63px, rgba(255,255,255,.08) 64px 65px),
    repeating-linear-gradient(0deg, transparent 0 63px, rgba(255,255,255,.08) 64px 65px);
}
.page-icon {
  display: inline-grid; width: 100px; height: 100px; place-items: center; margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.2);
  font-size: 44px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  animation: floatIcon 4s ease-in-out infinite;
}
.page-hero h1 { margin: 0 0 20px; font-size: clamp(34px, 4.4vw, 50px); line-height: 1.15; letter-spacing: 0; text-shadow: 2px 2px 5px rgba(0,0,0,.25); }
.page-hero p { max-width: 760px; margin: 0 auto; font-size: 20px; }
.page-hero .reveal { opacity: 1; transform: none; animation: rise .7s ease both; }
.breadcrumbs { margin-top: 34px; color: rgba(255,255,255,.9); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span { margin: 0 12px; }

.section { padding: 76px 0; }
.section.alt { background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); }
.section-header { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-header h2 { position: relative; display: inline-block; margin: 0 0 22px; color: var(--green-800); font-size: 34px; line-height: 1.2; }
.section-header h2::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 62px; height: 4px; border-radius: 99px; background: linear-gradient(135deg, var(--green-500), var(--green-600)); transform: translateX(-50%); }
.section-header p { margin: 0; color: var(--muted); font-size: 18px; }

.white-card, .about-card {
  padding: 44px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.feature-card, .topic-card, .resource-card, .video-card, .presentation-card {
  position: relative; overflow: hidden; padding: 32px; border: 1px solid var(--line); border-radius: 20px;
  background: white; box-shadow: 0 10px 30px rgba(15,23,42,.1);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover, .topic-card:hover, .resource-card:hover, .video-card:hover, .presentation-card:hover {
  transform: translateY(-10px) !important; box-shadow: 0 22px 48px rgba(15,23,42,.18); border-color: rgba(34,197,94,.38);
}
.feature-card::before, .topic-card::before, .resource-card::before, .presentation-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(135deg, var(--green-500), var(--green-600));
}
.feature-card::after, .topic-card::after, .resource-card::after, .video-card::after, .presentation-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.42) 48%, transparent 58% 100%);
  opacity: 0; transform: translateX(-45%); transition: opacity .35s ease, transform .55s ease;
}
.feature-card:hover::after, .topic-card:hover::after, .resource-card:hover::after, .video-card:hover::after, .presentation-card:hover::after {
  opacity: 1; transform: translateX(45%);
}
.round-icon {
  display: inline-grid; width: 76px; height: 76px; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-600)); color: white; font-size: 30px;
  box-shadow: 0 10px 24px rgba(34,197,94,.32);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover .round-icon, .topic-card:hover .round-icon, .resource-card:hover .round-icon, .video-card:hover .round-icon, .presentation-card:hover .round-icon {
  transform: scale(1.08) rotate(5deg); box-shadow: 0 14px 30px rgba(34,197,94,.42);
}
.feature-card h3, .topic-card h3, .resource-card h3, .presentation-card h3, .video-card h3 { margin: 20px 0 12px; color: var(--green-800); line-height: 1.3; }
.feature-card p, .topic-card p, .resource-card p, .presentation-card p, .video-card p { color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: white; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 10px 22px rgba(37,99,235,.26);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn.green { background: linear-gradient(135deg, var(--green-500), var(--green-600)); box-shadow: 0 10px 22px rgba(22,163,74,.24); }
.btn.ghost { background: white; color: var(--blue-700); border: 1px solid #bfdbfe; box-shadow: none; }
.btn:hover { transform: translateY(-2px); background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 14px 28px rgba(37,99,235,.34); }
.btn.green:hover { background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 14px 28px rgba(22,163,74,.3); }
.btn.ghost:hover { background: #eff6ff; box-shadow: 0 8px 18px rgba(37,99,235,.16); }
.btn i { transition: transform .25s ease; }
.btn:hover i:first-child { transform: translateX(3px) scale(1.06); }

.mission-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 42px; }
.info-panel { min-height: 310px; padding: 38px; border-left: 5px solid var(--green-500); border-radius: 15px; background: linear-gradient(135deg, #f0fdf4, #dcfce7); box-shadow: 0 8px 24px rgba(34,197,94,.14); transition: transform .3s ease, box-shadow .3s ease; }
.info-panel:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(34,197,94,.2); }
.info-panel h3 { display: flex; gap: 14px; align-items: center; margin: 0 0 24px; color: var(--green-700); font-size: 24px; }
.info-panel ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.info-panel li { position: relative; padding-left: 44px; color: var(--green-700); }
.info-panel li::before { content: "\2713"; position: absolute; left: 0; top: -4px; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: white; color: var(--green-500); font-weight: 900; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.info-panel li, .bullet-list li { transition: transform .25s ease, color .25s ease; }
.info-panel li:hover, .bullet-list li:hover { transform: translateX(6px); color: #14532d; }
.info-panel li:hover::before, .bullet-list li:hover::before { transform: scale(1.12); }
.info-panel li:hover::before { background: var(--green-500); color: white; box-shadow: 0 8px 18px rgba(34,197,94,.26); }

.topics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.topic-card { min-height: 340px; text-align: center; }
.topic-card .round-icon { margin-top: 8px; }

.message-box {
  padding: 36px; border-left: 6px solid var(--green-500); border-radius: 18px;
  background: linear-gradient(135deg, #ecfdf5, #dbeafe); box-shadow: var(--shadow);
}
.pollutant-card h4 { margin: 18px 0 6px; color: var(--green-700); }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.mini-stats span { display: grid; min-height: 76px; place-items: center; border-radius: 14px; background: #eff6ff; color: var(--blue-900); font-weight: 800; text-align: center; }
.mini-stats strong { color: var(--green-600); font-size: 28px; line-height: 1; }
.number-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.number-list li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.number-list li::before { content: counter(list-item); display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--green-500); color: white; font-weight: 900; }
.number-list span { display: block; color: var(--muted); }
.inline-gallery-title, .subsection-title { margin: 34px 0 20px; color: var(--green-800); font-size: 24px; text-align: center; }
.lab-intro { margin-bottom: 28px; text-align: center; }
.timeline-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline-row article { padding: 20px; border-radius: 14px; background: #f8fafc; border: 1px solid var(--line); }
.timeline-row article > strong { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--green-500); color: white; }
.fire-rows { display: grid; gap: 18px; }
.fire-rows div { padding: 16px 18px; border-left: 4px solid var(--green-500); border-radius: 12px; background: #f8fafc; transition: transform .25s ease, box-shadow .25s ease; }
.fire-rows div:hover { transform: translateX(6px); box-shadow: 0 10px 24px rgba(15,23,42,.1); }
.fire-rows p { margin: 5px 0 0; color: var(--muted); }
.advice-card { max-width: 820px; margin: 0 auto; }
.compact-gallery { grid-template-columns: repeat(2, 1fr); }
.metric-line { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.metric-line strong { color: var(--green-600); font-size: 24px; }
.big-stat { margin: 14px 0 4px; color: var(--green-600); font-size: 42px; font-weight: 900; line-height: 1; }
.concept-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.concept { padding: 26px; border-radius: 16px; background: white; box-shadow: var(--shadow); text-align: center; transition: transform .3s ease, box-shadow .3s ease; }
.concept:hover { transform: translateY(-6px) !important; box-shadow: 0 18px 38px rgba(15,23,42,.14); }
.concept i { color: var(--green-500); font-size: 34px; }
.bullet-list { margin: 18px 0 0; padding: 0; list-style: none; }
.bullet-list li { position: relative; margin: 12px 0; padding-left: 28px; }
.bullet-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--green-500); font-weight: 900; transition: transform .25s ease; }

.aqi-widget { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: stretch; }
.map-card { min-height: 330px; border-radius: 18px; background: linear-gradient(135deg, #dbeafe, #ecfeff); border: 1px solid #bae6fd; display: grid; place-items: center; text-align: center; color: #075985; }
.map-card i { font-size: 58px; animation: pulse 2.4s infinite; }
.live-map { padding: 0; overflow: hidden; }
.live-map iframe { width: 100%; height: 100%; min-height: 330px; border: 0; display: block; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.tab-btn { position: relative; overflow: hidden; min-height: 46px; padding: 0 20px; border: 2px solid currentColor; border-radius: 999px; background: white; color: var(--blue-700); font-weight: 800; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.tab-btn.active, .tab-btn:hover { background: linear-gradient(135deg, var(--green-500), var(--green-600)); border-color: var(--green-600); color: white; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(34,197,94,.24); }
.tab-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 35%, rgba(255,255,255,.34) 46%, transparent 57% 100%); opacity: 0; transform: translateX(-60%); transition: opacity .25s ease, transform .45s ease; }
.tab-btn:hover::after { opacity: 1; transform: translateX(55%); }
.tab-btn i { position: relative; z-index: 1; margin-right: 8px; transition: transform .25s ease; }
.tab-btn:hover i { transform: scale(1.12) rotate(-6deg); }
.tab-btn { isolation: isolate; }
.gallery-filter[data-filter="Води"] { color: #0891b2; }
.gallery-filter[data-filter="Гори"] { color: #ea580c; }
.gallery-filter[data-filter="Скрач"] { color: #7c3aed; }
.gallery-filter[data-filter="Хранене"] { color: #059669; }
.gallery-filter.active, .gallery-filter:hover { color: white; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .35s ease; }
.scale-row { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.scale-chip { padding: 6px 10px; border-radius: 999px; color: white; text-align: center; font-weight: 800; }

.gallery-tabs { justify-content: center; margin: 26px 0 46px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.gallery-item { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 0; border-radius: 15px; background: #e5e7eb; box-shadow: var(--shadow); cursor: pointer; transition: transform .35s ease, box-shadow .35s ease; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease, filter .35s ease; }
.gallery-item:hover { transform: translateY(-8px) scale(1.02) !important; box-shadow: 0 18px 42px rgba(15,23,42,.2); }
.gallery-item:hover img { transform: scale(1.08); filter: brightness(.82); }
.gallery-item span { position: absolute; inset: auto 0 0; padding: 28px 16px 14px; color: white; background: linear-gradient(transparent, rgba(0,0,0,.8)); transform: translateY(100%); transition: transform .25s ease; }
.gallery-item:hover span { transform: translateY(0); }
.gallery-item::after {
  content: "\f002"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 50%; top: 50%; display: grid; width: 58px; height: 58px; place-items: center;
  border-radius: 50%; background: rgba(0,0,0,.68); color: white; font-size: 22px;
  opacity: 0; transform: translate(-50%, -50%) scale(.82); transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.presentation-list, .resource-list { display: grid; gap: 22px; }
.presentation-card, .resource-card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px; }
.presentation-card { display: block; padding: 0; }
.presentation-header { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px; }
.presentation-viewer { display: none; padding: 0 24px 24px; border-top: 1px solid var(--line); background: #f8fafc; animation: fadeIn .3s ease; }
.presentation-viewer.open { display: block; }
.presentation-card:has(.presentation-viewer.open) { border-color: rgba(34,197,94,.5); box-shadow: 0 18px 44px rgba(15,23,42,.16); }
.viewer-actions { display: flex; justify-content: flex-end; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.viewer-actions .btn { min-height: 42px; }
.presentation-icon { display: inline-grid; width: 70px; height: 70px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--green-500), var(--green-600)); color: white; font-size: 28px; box-shadow: 0 10px 24px rgba(34,197,94,.32); transition: transform .3s ease, box-shadow .3s ease; }
.presentation-card:hover .presentation-icon { transform: scale(1.08) rotate(5deg); box-shadow: 0 14px 30px rgba(34,197,94,.42); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: #eef2ff; color: #3730a3; font-size: 13px; font-weight: 800; }
.preview-frame { width: 100%; height: min(72vh, 760px); border: 0; border-radius: 12px; background: #f3f4f6; }
.missing-preview { display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); text-align: center; }
.missing-preview i { color: var(--green-600); font-size: 44px; }
.missing-preview p { margin: 0; }

.brochure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.brochure-card { padding: 0; overflow: hidden; }
.brochure-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; display: block; transition: transform .35s ease, filter .35s ease; }
.brochure-card:hover img { transform: scale(1.04); filter: saturate(1.08); }
.brochure-card div { padding: 24px; }

.video-feature { padding: 38px; border-radius: 24px; color: white; background: linear-gradient(135deg, #1e3a8a, #4f46e5); box-shadow: var(--shadow); }
.video-shell { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: center; margin-top: 24px; padding: 28px; border-radius: 18px; background: white; color: var(--ink); }
.fake-player { aspect-ratio: 16 / 9; border-radius: 14px; background: #050816; color: white; display: grid; place-items: center; overflow: hidden; }
.fake-player i { font-size: 70px; color: #ef4444; filter: drop-shadow(0 8px 20px rgba(239,68,68,.35)); }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-thumb { aspect-ratio: 16 / 9; border-radius: 14px; background: linear-gradient(135deg, #dcfce7, #dbeafe); overflow: hidden; display: grid; place-items: center; transition: transform .35s ease; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb i { transition: transform .3s ease, color .3s ease; }
.video-card:hover .video-thumb { transform: scale(1.02); }
.video-card:hover .video-thumb i { transform: scale(1.18); color: var(--blue-700); }
.video-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

.site-footer {
  color: white;
  background:
    linear-gradient(rgba(17,24,39,.96), rgba(17,24,39,.96)),
    repeating-linear-gradient(90deg, transparent 0 128px, rgba(255,255,255,.05) 129px 130px),
    repeating-linear-gradient(0deg, transparent 0 128px, rgba(255,255,255,.05) 129px 130px);
}
.footer-grid { display: grid; grid-template-columns: 1.45fr .85fr .85fr 1fr; gap: 44px; padding: 62px 0 34px; }
.footer-grid h3 { margin: 0; color: white; }
.footer-grid h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 18px; }
.footer-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.footer-title { display: block; margin: 0; color: white; font-size: 24px; font-weight: 800; line-height: 1.2; }
.leaf-badge { display: grid; width: 66px; height: 66px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--green-500), var(--green-600)); font-size: 30px; }
.footer-grid p, .footer-links a, .footer-bottom, .contact-card span { color: rgba(255,255,255,.78); }
.contact-card { display: flex; align-items: center; gap: 18px; min-height: 76px; margin-top: 12px; padding: 18px 22px; border-radius: 12px; background: white; transition: transform .3s ease, box-shadow .3s ease; }
.contact-card:hover { transform: translateX(6px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.contact-card i, .footer-grid h3 i, .footer-links i { color: var(--green-500); }
.contact-card span { color: #d1d5db; }
.footer-links { display: grid; gap: 20px; margin: 24px 0 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; gap: 10px; text-decoration: none; transition: transform .25s ease, color .25s ease; }
.footer-links a:hover { transform: translateX(6px); color: white; }
.footer-links a:hover i { transform: scale(1.12); }
.footer-links i { transition: transform .25s ease; }
.footer-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.08); }
.footer-stats span { display: grid; min-height: 78px; place-items: center; border-radius: 12px; background: #f8fafc; color: #d1d5db; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease; }
.footer-stats span:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.footer-stats strong { color: var(--green-500); font-size: 25px; line-height: 1; }
.program-card { position: relative; display: flex; gap: 14px; padding: 20px; border-radius: 10px; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); overflow: hidden; }
.program-card::after { content: ""; position: absolute; inset: -50%; background: linear-gradient(45deg, transparent, rgba(255,255,255,.16), transparent); transform: translateX(-100%) rotate(20deg); animation: shimmer 4s infinite; }
.program-card i { color: #facc15; font-size: 24px; }
.program-card p { margin: 0; color: white; font-size: 14px; font-style: italic; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); background: rgba(2,6,23,.35); }
.footer-bottom-content { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; align-items: center; gap: 28px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a { transition: color .25s ease, transform .25s ease; }
.footer-bottom a:hover { color: white; transform: translateY(-2px); }
.water-findings, .action-plan { margin-top: 28px; }
.action-plan h3, .water-findings h3 { color: var(--green-800); }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(2,6,23,.72); }
.modal.open { display: flex; animation: fadeIn .2s ease; }
.modal-panel { width: min(1100px, 100%); max-height: 92vh; overflow: auto; padding: 20px; border-radius: 18px; background: white; box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.modal-close { display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: #f3f4f6; cursor: pointer; font-size: 22px; }
.modal-close:hover { background: #fee2e2; color: #b91c1c; transform: scale(1.05); }
.lightbox-img { display: block; max-height: 78vh; margin: 0 auto; border-radius: 12px; object-fit: contain; }
.youtube-frame { aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: 14px; background: #020617; }
.youtube-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(22px); animation: rise .7s ease forwards; }
.stagger > *:nth-child(2) { animation-delay: .08s; }
.stagger > *:nth-child(3) { animation-delay: .16s; }
.stagger > *:nth-child(4) { animation-delay: .24s; }
.stagger > *:nth-child(5) { animation-delay: .32s; }
.stagger > *:nth-child(6) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .78; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(20deg); }
  45%, 100% { transform: translateX(100%) rotate(20deg); }
}

@media (max-width: 1000px) {
  .grid-3, .grid-4, .topics-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .mission-goals, .aqi-widget, .video-shell, .brochure-grid { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1200px); }
  .header-content, .footer-bottom-content { align-items: flex-start; flex-direction: column; }
  .project-badge { text-align: left; }
  .site-title { font-size: 26px; }
  .menu-toggle { display: inline-flex; }
  .nav-menu { display: none; flex-direction: column; gap: 0; }
  .nav-menu.open { display: flex; }
  .nav-menu a, .dropdown-toggle { width: 100%; }
  .dropdown-menu { position: static; display: none; width: 100%; border-radius: 0; box-shadow: none; opacity: 1; transform: none; pointer-events: auto; }
  .dropdown.open .dropdown-menu { display: block; }
  .hero-video-section { height: auto; min-height: 650px; }
  .hero-content { padding: 42px 0 110px; }
  .hero-stats { display: grid; width: min(100%, 350px); gap: 16px; margin: 34px auto 0; }
  .section { padding: 54px 0; }
  .white-card, .about-card { padding: 26px 20px; }
  .grid-3, .grid-4, .topics-grid, .footer-grid, .video-grid { grid-template-columns: 1fr; }
  .concept-list { grid-template-columns: 1fr; }
  .compact-gallery { grid-template-columns: 1fr; }
  .presentation-card, .resource-card { grid-template-columns: 1fr; }
  .presentation-header { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom nav { flex-wrap: wrap; gap: 18px; }
  .page-icon { width: 82px; height: 82px; font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Exact-copy alignment layer for the recreated WordPress pages. */
.page-header {
  background: linear-gradient(135deg, #2d5016 0%, #4a7c59 50%, #2196f3 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .3;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}
.page-header h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  font-size: 2.5rem;
  line-height: 1.2;
}
.page-header h1 i { margin-right: .5rem; }
.page-header .page-description {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.2rem;
  opacity: .9;
}
.content-section {
  padding: 3rem 0;
  margin: 2rem 0;
}
.content-section:nth-child(even), .content-section.alt {
  background: #f8f9fa;
}
.content-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.content-section .section-header h2 {
  color: #2d5016;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.content-section .section-header p {
  color: #666;
  font-size: 1.1rem;
}
.problem-overview-content {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  margin-bottom: 3rem;
}
.problem-overview-content > p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1.5rem;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.impact-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid #3b82f6;
  transition: transform .3s ease;
}
.impact-card:hover { transform: translateY(-5px); }
.impact-card.health { border-left-color: #ef4444; }
.impact-card.environment { border-left-color: #22c55e; }
.impact-card.economic { border-left-color: #f59e0b; }
.impact-card h3 {
  color: #1f2937;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.impact-card .bullet-list li::before { color: #3b82f6; }
.impact-card.health .bullet-list li::before { color: #ef4444; }
.impact-card.environment .bullet-list li::before { color: #22c55e; }
.impact-card.economic .bullet-list li::before { color: #f59e0b; }

.page-header-section {
  background: linear-gradient(135deg, #2d5016 0%, #4a7c59 50%, #2196f3 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .3;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid2" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid2)"/></svg>');
}
.page-header-content { position: relative; z-index: 1; }
.page-header-section .page-icon {
  display: flex;
  width: 100px;
  height: 100px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  font-size: 3rem;
}
.page-header-section h1 {
  margin: 0 0 1rem;
  font-size: 2.8rem;
  line-height: 1.2;
}
.page-breadcrumb {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.5rem;
  color: rgba(255,255,255,.88);
}
.page-breadcrumb a { color: white; text-decoration: none; }
.causes-effects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.causes-section, .effects-section {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}
.causes-section h3, .effects-section h3 {
  color: #1f2937;
  margin: 0 0 1.5rem;
  font-size: 1.3rem;
}
.causes-list, .effects-list { display: grid; gap: 1rem; }
.cause-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 12px;
  background: #f8fafc;
  transition: all .3s ease;
}
.cause-item:hover { transform: translateX(5px); background: #f1f5f9; }
.cause-icon {
  display: flex;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}
.cause-content h4, .effect-item h4, .tip-card h4 {
  margin: 0 0 .4rem;
  color: #1f2937;
  font-size: 1rem;
}
.cause-content p, .effect-item p, .tip-card p {
  margin: 0;
  color: #6b7280;
}
.effect-item {
  padding: 1rem;
  border-radius: 12px;
  border-left: 5px solid #f59e0b;
  background: #f8fafc;
  transition: all .3s ease;
}
.effect-item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.effect-item > i {
  color: #f59e0b;
  font-size: 1.6rem;
  margin-bottom: .75rem;
}
.effect-item.severe { border-left-color: #dc2626; }
.effect-item.severe > i { color: #dc2626; }
.effect-item.warning { border-left-color: #f97316; }
.effect-item.warning > i { color: #f97316; }
.effect-item.moderate { border-left-color: #f59e0b; }
.student-message-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}
.message-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}
.message-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.message-icon {
  display: flex;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  font-size: 1.8rem;
}
.message-header h2 { margin: 0; color: #92400e; font-size: 2rem; }
.prevention-tips h3 { color: #92400e; margin-bottom: 1.5rem; }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}
.tip-card {
  padding: 1.5rem;
  border-radius: 15px;
  background: #f8fafc;
  text-align: center;
  transition: all .3s ease;
}
.tip-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.tip-icon {
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
}
.tip-icon.danger { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.tip-icon.warning { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.tip-icon.emergency { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.tip-icon.positive { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.visit-description { margin-bottom: 2rem; }
.visit-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 15px;
  background: white;
  box-shadow: 0 8px 25px rgba(0,0,0,.1);
}
.info-icon {
  display: flex;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  font-size: 1.5rem;
}
.info-content h3 { margin: 0 0 .75rem; color: #1f2937; }
.info-content p { margin: 0; color: #6b7280; }
.eco-gallery.columns-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.eco-gallery .gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,.12);
}
.eco-gallery .gallery-item img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .4s ease;
}
.eco-gallery .gallery-item:hover img { transform: scale(1.1); }
.gallery-cta { text-align: center; margin-top: 2rem; }
.data-visualization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.data-card {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
}
.data-card .data-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-bottom: 1px solid #e5e7eb;
}
.data-card .data-header h3 { margin: 0; color: #374151; font-size: 1.1rem; }
.data-card .data-header i { color: #22c55e; }
.data-status {
  padding: .25rem .75rem;
  border-radius: 15px;
  background: #22c55e;
  color: white;
  font-size: .8rem;
  font-weight: 500;
}
.mock-data { display: grid; gap: .75rem; max-width: 280px; margin: 1rem auto 0; }
.data-point {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 1rem;
  border-left: 4px solid #22c55e;
  border-radius: 8px;
  background: #f9fafb;
}
.stats-preview {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.stat-box {
  min-width: 70px;
  padding: 1rem;
  border-radius: 10px;
  background: #f3f4f6;
}
.white-card, .feature-card, .presentation-card, .resource-card {
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}
.feature-card, .presentation-card {
  transition: all .3s ease;
}
.feature-card:hover, .presentation-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,.15);
}
.round-icon, .presentation-icon {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 8px 20px rgba(34,197,94,.3);
}
.pollutant-card:nth-child(1)::before { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.pollutant-card:nth-child(2)::before { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.pollutant-card:nth-child(3)::before { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.pollutant-card:nth-child(1) .round-icon { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); box-shadow: 0 8px 20px rgba(239,68,68,.3); }
.pollutant-card:nth-child(2) .round-icon { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); box-shadow: 0 8px 20px rgba(139,92,246,.3); }
.pollutant-card:nth-child(3) .round-icon { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); box-shadow: 0 8px 20px rgba(245,158,11,.3); }
.presentation-list {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}
.presentation-card {
  overflow: hidden;
  padding: 0;
}
.presentation-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}
.presentation-info { flex: 1; }
.presentation-info h3 {
  margin: 0 0 .5rem;
  color: #1f2937;
  font-size: 1.2rem;
}
.presentation-info p {
  margin: 0 0 1rem;
  color: #6b7280;
}
.tag-row span, .presentation-meta span {
  display: inline-block;
  margin-right: .5rem;
  padding: .25rem .75rem;
  border-radius: 15px;
  background: #eff6ff;
  color: #2563eb;
  font-size: .8rem;
  font-weight: 500;
}
.toggle-viewer-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all .3s ease;
}
.toggle-viewer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59,130,246,.3);
}
.presentation-viewer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}
.presentation-viewer.open { display: block; }
.viewer-actions {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  padding: 1rem 0;
  margin: 0;
}
.preview-frame {
  width: 100%;
  height: 600px;
  border: 0;
  background: white;
}
.impact-card.health .round-icon, .solution-card.heating .round-icon { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.solution-card.transport .round-icon { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.solution-card.industry .round-icon { background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); }
.solution-card.green .round-icon { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }

/* Uploaded requirements layer */
.eyebrow {
  margin: 0 0 14px;
  color: #22c55e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.project-home .hero-content { max-width: 1080px; }
.project-home .video-overlay {
  background: linear-gradient(135deg, rgba(18, 43, 19, .8), rgba(30, 58, 138, .62) 52%, rgba(15, 23, 42, .78));
}
.project-hero {
  background:
    linear-gradient(135deg, rgba(30, 58, 138, .95), rgba(45, 80, 22, .9)),
    linear-gradient(45deg, rgba(34, 197, 94, .2), transparent 55%);
}
.project-card {
  overflow: hidden;
  position: relative;
}
.project-card > img {
  width: calc(100% + 48px);
  height: 170px;
  margin: -24px -24px 22px;
  object-fit: cover;
  display: block;
  filter: saturate(1.04);
  transition: transform .35s ease, filter .35s ease;
}
.project-card:hover > img {
  transform: scale(1.05);
  filter: saturate(1.12) brightness(.9);
}
.project-card .round-icon {
  margin-top: -54px;
  position: relative;
  z-index: 2;
  border: 4px solid white;
}
.project-text {
  padding: 28px;
  font-size: 18px;
}
.project-text h3 {
  margin-top: 0;
  color: #1b3f16;
}
.media-strip {
  display: grid;
  gap: 18px;
}
.media-strip .gallery-item {
  width: 100%;
  min-height: 280px;
}
.resource-list {
  display: grid;
  gap: 16px;
}
.resource-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
}
.resource-card > div,
.presentation-info {
  min-width: 0;
}
.resource-card h3,
.presentation-info h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.resource-card h3 { margin: 0 0 4px; color: #1f2937; }
.resource-card p { margin: 0 0 6px; color: #6b7280; }
.video-preview {
  display: block;
  object-fit: contain;
  background: #0f172a;
}
.gallery-item[data-category="Скрач"]::before,
.gallery-item[data-category="Води"]::before,
.gallery-item[data-category="Гори"]::before,
.gallery-item[data-category="Хранене"]::before {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  content: attr(data-category);
}
@media (max-width: 760px) {
  .resource-card {
    grid-template-columns: 1fr;
  }
  .resource-card .round-icon { justify-self: start; }
  .resource-card .btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }
  .presentation-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .toggle-viewer-btn {
    width: 100%;
  }
}

/* Final alignment polish */
.topics-grid {
  align-items: stretch;
}
.topics-grid .topic-card,
.topics-grid .project-card {
  display: flex;
  min-height: 326px;
  flex-direction: column;
  align-items: center;
}
.topics-grid .topic-card h3,
.topics-grid .project-card h3 {
  min-height: 42px;
  margin-bottom: 10px;
}
.topics-grid .topic-card p:not(.eyebrow),
.topics-grid .project-card p:not(.eyebrow) {
  margin-bottom: 22px;
}
.topics-grid .topic-card .btn,
.topics-grid .project-card .btn {
  margin-top: auto;
}
.site-footer .leaf-badge {
  display: inline-grid;
  width: 66px;
  height: 66px;
  min-width: 66px;
  flex: 0 0 66px;
  place-items: center;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
}
.site-footer .leaf-badge i {
  line-height: 1;
}
.grid-3.stagger > .feature-card,
.grid-4.stagger > .feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.grid-3.stagger > .feature-card .btn,
.grid-4.stagger > .feature-card .btn {
  margin-top: auto;
}
.grid-3.stagger > .feature-card p,
.grid-4.stagger > .feature-card p {
  margin-bottom: 22px;
}
