html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  overflow-x: hidden;
}

/* ---------------- HERO ---------------- */
.hero {
  background:
    linear-gradient(to top, rgba(0,107,87,0.9), rgba(0,152,121,0.3)),
    url('../assets/new.jpg') center/cover no-repeat;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 80px 24px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- BUTTONS ---------------- */
.btn {
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #009879;
  color: white;
  border-color: #009879;
}

.btn-primary:hover {
  background: #006B57;
  border-color: #006B57;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 152, 121, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: #009879;
}

.btn-white {
  background: white;
  color: #009879;
  border-color: white;
}

.btn-white:hover {
  background: #f0f0f0;
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-block {
  width: 100%;
}

/* Hero Scroll Animation */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ---------------- SECTIONS ---------------- */
.about-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: #006B57;
  line-height: 1.3;
}

.about-content p {
  margin-bottom: 16px;
  color: #555;
  line-height: 1.8;
}

.about-content .btn {
  margin-top: 16px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.stat-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #FFD166;
  color: #333;
  padding: 24px 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.875rem;
  margin-top: 4px;
}

/* ---------------- PROGRAMS ---------------- */
.programs-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #006B57;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.program-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.program-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.program-content {
  padding: 24px;
}

.program-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #333;
}

.program-content p {
  color: #666;
  margin-bottom: 16px;
  line-height: 1.6;
}

.link {
  color: #009879;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.link:hover {
  text-decoration: underline;
}

.link-white {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  opacity: 0.9;
}

.link-white:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---------------- SDG FOCUS ---------------- */
.sdg-focus-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.sdg-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.sdg-card {
  padding: 32px 24px;
  border-radius: 12px;
  color: white;
  text-align: center;
  transition: transform 0.3s;
}

.sdg-card:hover {
  transform: translateY(-6px);
}

.sdg-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.sdg-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.sdg-card p {
  font-size: 0.875rem;
  margin-bottom: 16px;
  opacity: 0.95;
}

/* ---------------- IMPACT ---------------- */
.impact-section {
  padding: 80px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.impact-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.impact-card:hover {
  transform: translateY(-6px);
}

.impact-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.impact-content {
  padding: 24px;
}

.impact-content h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: #333;
}

.impact-content p {
  color: #666;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ---------------- EVENTS ---------------- */
.events-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.event-date {
  background: linear-gradient(135deg, #009879, #006B57);
  color: white;
  padding: 24px;
  text-align: center;
}

.event-month {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.event-day {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.event-year {
  font-size: 0.875rem;
  margin-top: 4px;
}

.event-content {
  padding: 24px;
}

.event-content h3 {
  font-size: 1.125rem;
  margin-bottom: 16px;
  color: #333;
}

.event-details {
  margin-bottom: 20px;
}

.event-details p {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 8px;
}

/* ---------------- PARTNERS ---------------- */
.partners-section {
  padding: 80px 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  margin: 48px 0;
  align-items: center;
}

.partner-logo {
  background: #f5f5f5;
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #006B57;
  transition: transform 0.3s;
}

.partner-logo:hover {
  transform: scale(1.05);
  background: #e8f5f3;
}

.partners-cta {
  text-align: center;
  font-size: 1.125rem;
  color: #555;
  margin: 32px 0 24px;
}

/* ---------------- CTA ---------------- */
.cta-section {
  background: linear-gradient(135deg, #009879, #006B57);
  padding: 80px 24px;
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   LANDING PAGE — FULL ELITE RESPONSIVENESS
   ============================================================ */

/* ---------- Tablet & Large Mobile (≤ 968px) ---------- */
@media (max-width: 968px) {

  /* Mobile Menu */
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    gap: 18px;
    background: white;
    position: absolute;
    top: 72px;
    right: 24px;
    padding: 24px 32px;
    border-radius: 12px;
    width: 70%;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    animation: fadeInMenu 0.35s ease-out;
  }

  .nav.active {
    display: flex;
  }

  @keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(-10px);}
    to   { opacity: 1; transform: translateY(0);}
  }

  .nav a {
    color: #006B57;
    font-size: 16px;
    font-weight: 600;
  }

  /* Hero */
  .hero {
    padding: 60px 20px;
    min-height: 480px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    gap: 12px;
  }

  /* Intro/About Section */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .about-image img {
    height: 260px;
  }

  .stat-badge {
    right: 10px;
    bottom: 10px;
    padding: 12px 18px;
  }

  /* Programs */
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* SDG Grid */
  .sdg-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Impact Cards */
  .impact-grid {
    grid-template-columns: 1fr;
  }

  /* Events */
  .events-grid {
    grid-template-columns: 1fr;
  }

  /* Partners */
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* CTA Section */
  .cta-section h2 {
    font-size: 1.9rem;
  }
}

/* ---------- Medium Mobile (≤ 640px) ---------- */
@media (max-width: 640px) {

  /* Header Logo */
  .logo img {
    width: 44px;
    height: 44px;
  }

  .logo span {
    font-size: 12px;
  }

  /* Hero */
  .hero {
    padding: 60px 16px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-buttons .btn {
    padding: 10px 22px;
    font-size: 14px;
  }

  /* About Section */
  .about-content h2 {
    font-size: 1.6rem;
  }

  .about-image img {
    height: 220px;
  }

  /* SDG Grid */
  .sdg-grid {
    grid-template-columns: 1fr;
  }

  /* Events, Impact, Programs images */
  .program-card img,
  .impact-card img,
  .event-card img {
    height: 180px;
  }

  /* Partners */
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }
}

/* ---------- Small Mobile (≤ 420px) ---------- */
@media (max-width: 420px) {

  body {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .about-image img {
    height: 180px;
  }

  /* .partners-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px;
  } */

  .btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  .cta-section h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 500px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* ===============================
   ULTRA SMALL SCREEN FIX (≤ 280px)
   =============================== */
@media (max-width: 280px) {

  body {
    font-size: 13px;
    overflow-x: hidden;
  }

  /* Header */
  .logo img {
    width: 38px;
    height: 38px;
  }

  .logo span {
    font-size: 10px;
  }

  .menu-toggle {
    font-size: 22px;
  }

  .nav {
    width: 85%;
    right: 10px;
    padding: 16px 20px;
  }

  .nav a {
    font-size: 14px;
  }

  /* HERO */
  .hero {
    padding: 40px 12px;
    min-height: 420px;
  }

  .hero h1 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-buttons .btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  /* ABOUT */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .about-content h2 {
    font-size: 1.3rem;
  }

  .about-image img {
    height: 160px;
  }

  .stat-badge {
    padding: 8px 12px;
    right: 8px;
    bottom: 8px;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  /* PROGRAMS */
  .programs-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .program-card img {
    height: 140px;
  }

  /* SDG CARDS */
  .sdg-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .sdg-number {
    font-size: 2rem;
  }

  /* IMPACT SECTION */
  .impact-grid {
    grid-template-columns: 1fr !important;
  }

  .impact-card img {
    height: 150px;
  }

  /* EVENTS */
  .events-grid {
    grid-template-columns: 1fr !important;
  }

  .event-card img {
    height: 150px;
  }

  /* PARTNERS */
  .partners-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .partner-logo {
    padding: 20px;
    font-size: 1.1rem;
  }

  /* CTA */
  .cta-section h2 {
    font-size: 1.3rem;
  }

  .cta-buttons .btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-col h4 {
    font-size: 1rem;
  }

  .footer-bottom p {
    font-size: 0.7rem;
  }
}


