@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary-green: #0E793C;
  --primary-green-dark: #0b602f;
  --light-green: #D1FAE5;
  --energetic-yellow: #FACC15;
  --text-dark: #1E293B;
  --text-light: #64748B;
  --bg-white: #FFFFFF;
  --bg-gray: #F8FAFC;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-gray);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--text-dark);
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Scroll-triggered animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Navigation ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.navbar .logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a:hover {
  color: var(--primary-green);
}

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

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 121, 60, 0.3);
}

.btn-secondary {
  background-color: var(--energetic-yellow);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: #EAB308;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--text-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s linear;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 121, 60, 0.75) 0%,
    rgba(15, 23, 42, 0.7) 50%,
    rgba(15, 23, 42, 0.6) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--bg-white);
  animation: fadeInUp 1s ease forwards;
}

.hero .tagline {
  color: var(--energetic-yellow);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  background: rgba(250, 204, 21, 0.15);
  border-radius: 50px;
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.hero h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--bg-white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #E2E8F0;
  max-width: 650px;
}

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

/* ========== Opportunity Section ========== */
.opportunity, .objectives, .focus-areas {
  padding: 6rem 5%;
}

.opportunity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.opportunity-text h2 {
  text-align: left;
}

.opportunity-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.highlight-box {
  background-color: var(--light-green);
  padding: 2.5rem;
  border-radius: 16px;
  border-left: 8px solid var(--primary-green);
}

.highlight-box h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

/* ========== Objectives Section ========== */
.objectives {
  background-color: var(--bg-white);
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.objective-card {
  padding: 2.5rem;
  border-radius: 16px;
  background-color: var(--bg-white);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
  transition: var(--transition);
  border: 1px solid #E2E8F0;
  text-align: center;
}

.objective-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  border-color: var(--primary-green);
}

.objective-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* ========== Focus Areas ========== */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.focus-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
  transition: var(--transition);
  background-color: var(--bg-white);
}

.focus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.focus-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.focus-img-slideshow {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.focus-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.focus-slide.active {
  opacity: 1;
}

.focus-content {
  padding: 2rem;
}

.focus-content h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* ========== Partners Section ========== */
.partners {
  padding: 5rem 5%;
  background-color: var(--bg-gray);
  text-align: center;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

a.partner-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.partner-card {
  background: var(--bg-white);
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  min-width: 200px;
  transition: var(--transition);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.partner-logo {
  max-height: 80px;
  max-width: 160px;
  object-fit: contain;
}

/* ========== CTA / Join the Movement ========== */
.cta-section {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5%;
  overflow: hidden;
  color: var(--bg-white);
}

.cta-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--text-dark);
}

.cta-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.cta-slide.active {
  opacity: 1;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 121, 60, 0.88) 0%,
    rgba(14, 121, 60, 0.78) 100%
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.cta-section h2 {
  color: var(--bg-white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #F0FDF4;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Footer ========== */
footer {
  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: 4rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--energetic-yellow);
}

.footer-col p {
  color: #94A3B8;
  margin-bottom: 0.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
  color: #94A3B8;
}

.footer-col ul a {
  color: #94A3B8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--energetic-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  color: #64748B;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
  .focus-grid {
    grid-template-columns: 1fr 1fr;
  }
  .objectives-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: 80vh;
    padding: 0 5%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    text-align: center;
  }

  .opportunity-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .opportunity-text h2 {
    text-align: center;
  }

  .objectives-grid,
  .focus-grid {
    grid-template-columns: 1fr;
  }

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

  .navbar {
    padding: 1rem 5%;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.75rem 5%;
  }

  .nav-links a::after {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar .btn {
    display: none;
  }

  .cta-section {
    min-height: 45vh;
    padding: 5rem 5%;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .partners-grid {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .tagline {
    font-size: 0.75rem;
  }

  .partner-card {
    min-width: 150px;
    padding: 1.5rem;
  }
}
