* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: #fefef7;
      color: #1e2a3e;
      scroll-behavior: smooth;
    }

    /* container for consistent width */
    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    /* ---------- NAVIGATION BAR (horizontal) ---------- */
    .navbar {
      background: #ffffff;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
      position: sticky;
      top: 0;
      z-index: 100;
      padding: 0.75rem 0;
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
    }

    /* logo area with SVG support */
    .logo-area {
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
    }
    
    /* SVG logo styling */
    .logo-svg {
      height: 45px;
      width: auto;
      display: block;
    }
    
    /* Fallback if you want text next to logo */
    .logo-text {
      font-weight: 700;
      font-size: 1.45rem;
      letter-spacing: -0.3px;
      color: #1f3b2c;
    }
    .logo-text span {
      color: #2c7a4d;
    }

    /* nav links */
    .nav-links {
      display: flex;
      gap: 2.2rem;
      list-style: none;
      align-items: center;
      flex-wrap: wrap;
    }
    .nav-links li a {
      text-decoration: none;
      font-weight: 600;
      font-size: 1rem;
      color: #2c3e2f;
      transition: 0.2s;
      padding: 0.5rem 0;
      border-bottom: 2px solid transparent;
    }
    .nav-links li a:hover {
      color: #2c7a4d;
      border-bottom-color: #2c7a4d;
    }

    /* social icons in navbar (instagram + facebook) */
    .nav-social {
      display: flex;
      gap: 1rem;
      align-items: center;
    }
    .nav-social a {
      color: #4b6a5c;
      font-size: 1.3rem;
      transition: 0.2s;
    }
    .nav-social a:hover {
      color: #2c7a4d;
      transform: scale(1.05);
    }

    /* main action buttons row (two rectangle buttons) */
    .action-buttons {
      display: flex;
      justify-content: center;
      gap: 2.5rem;
      margin: 3rem 0 2.5rem;
      flex-wrap: wrap;
    }
    .btn-rect {
      background: white;
      border: 2px solid #2c7a4d;
      padding: 1rem 2.8rem;
      font-size: 1.4rem;
      font-weight: 700;
      border-radius: 20px;
      cursor: pointer;
      transition: 0.25s ease;
      color: #2c7a4d;
      background: #ffffff;
      box-shadow: 0 3px 8px rgba(0,0,0,0.02);
      text-decoration: none;
      display: inline-block;
      text-align: center;
      min-width: 200px;
    }
    .btn-rect:hover {
      background: #2c7a4d;
      color: white;
      transform: translateY(-4px);
      box-shadow: 0 12px 22px -8px rgba(44,122,77,0.3);
    }

    /* hero image section */
    .hero-image {
      width: 100%;
      border-radius: 32px;
      overflow: hidden;
      margin: 0.5rem 0 2rem 0;
      box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    }
    .hero-image img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      max-height: 380px;
    }

/* mission section */
    .mission-section {
      background: #f5f9f0;
      padding: 2.5rem 2rem;
      border-radius: 36px;
      margin: 2rem 0 2.5rem;
      text-align: center;
    }
    .mission-section h2 {
      font-size: 2rem;
      color: #1f3b2c;
      margin-bottom: 1rem;
      letter-spacing: -0.3px;
    }
    .mission-text {
      font-size: 1.2rem;
      line-height: 1.5;
      max-width: 800px;
      margin: 0 auto;
      color: #2d3e36;
      font-weight: 450;
    }


    /* Dynamic page panels - hidden by default (modal popups) */

/* dynamic pages (modals or page sections) - hidden by default */
    .page-panel {
      display: none;
      background: #ffffffea;
      backdrop-filter: blur(2px);
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(30, 42, 32, 0.92);
      z-index: 1000;
      justify-content: center;
      align-items: center;
    }
    .panel-content {
      background: white;
      max-width: 700px;
      width: 90%;
      max-height: 85vh;
      overflow-y: auto;
      border-radius: 40px;
      padding: 2rem 2rem 2rem 2rem;
      box-shadow: 0 25px 40px rgba(0,0,0,0.2);
      position: relative;
    }
    .close-panel {
      position: absolute;
      top: 1rem;
      right: 1.5rem;
      font-size: 1.8rem;
      font-weight: bold;
      cursor: pointer;
      color: #5f6c64;
      transition: 0.2s;
      background: none;
      border: none;
    }
    .close-panel:hover {
      color: #2c7a4d;
    }
    .panel-content h2 {
      color: #1f3b2c;
      margin-bottom: 1rem;
      border-left: 5px solid #2c7a4d;
      padding-left: 1rem;
    }
    .resource-list {
      margin: 1rem 0;
      line-height: 1.5;
    }
    .donate-volunteer {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin: 1.5rem 0;
    }
    .donate-btn {
      background: #2c7a4d;
      color: white;
      padding: 0.8rem 1.6rem;
      border-radius: 40px;
      text-decoration: none;
      font-weight: bold;
      display: inline-block;
      text-align: center;
      transition: 0.2s;
      border: none;
      font-size: 1rem;
    }
    .donate-btn:hover {
      background: #1e5a38;
      transform: scale(1.02);
    }
    .volunteer-card {
      background: #f2f7eb;
      border-radius: 24px;
      padding: 1rem;
      margin-top: 1rem;
    }
    hr {
      margin: 1rem 0;
    }
    .faq-item {
      margin-bottom: 1rem;
    }
    .faq-question {
      font-weight: 700;
      color: #1f3b2c;
    }
    @media (max-width: 780px) {
      .nav-container {
        flex-direction: column;
        align-items: stretch;
      }
      .nav-links {
        justify-content: center;
        gap: 1.2rem;
      }
      .action-buttons {
        gap: 1rem;
      }
      .btn-rect {
        padding: 0.75rem 1.5rem;
        font-size: 1.2rem;
      }
      .sponsor-card {
        width: 160px;
      }
    }
    /* Updated sponsor grid - 4x3 layout */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
  margin-top: 2rem;
}

/* Sponsor card styling - fixed size squares/rectangles */
.sponsor-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1rem;
  width: 100%;
  max-width: 220px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #e9efdf;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

   /* footer / thank you note */
    .footer-thanks {
      text-align: center;
      border-top: 1px solid #dce5d3;
      padding: 2rem 0 2.5rem;
      margin-top: 1rem;
      font-size: 0.9rem;
      color: #4f6b5b;
    }

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Fixed size square/rectangle for logo container */
.sponsor-img {
  width: 100px;
  height: 100px;
  background: #f8faf5;
  border-radius: 12px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
  transition: all 0.2s ease;
}

/* Logo image styling - ensures consistent sizing */
.sponsor-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Sponsor name text */
.sponsor-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2d3e36;
  margin: 0.5rem 0 0;
  line-height: 1.3;
  word-break: break-word;
}

/* Responsive design for tablets */
@media (max-width: 1024px) {
  .sponsors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .sponsor-card {
    padding: 1rem 0.8rem;
    min-height: 170px;
  }
  
  .sponsor-img {
    width: 80px;
    height: 80px;
  }
  
  .sponsor-card h4 {
    font-size: 0.75rem;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}
  