body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f1efe7;
  color: #292929;
  text-align: center;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #f1efe7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  box-shadow: none;
  border-bottom: none;
}
/* Mobile navbar styles */
.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #292929;
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #f1efe7;
    flex-direction: column;
    display: none;
    padding: 20px 0;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  nav a {
    padding: 10px 0;
    display: block;
  }

  .nav-toggle {
    display: block;
  }

  nav.active {
    display: flex;
  }

  header {
    flex-wrap: wrap;
  }
}



.logo img {
  max-height: 60px; /* control height properly */
  max-width: 220px; /* allow it to stretch horizontally */
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


.logo small {
  font-weight: 300;
  font-size: 12px;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
}

main {
  padding-top: 100px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 42px;
  color: #042348;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #555;
  max-width: 720px;
  margin: 0 auto 30px;
}

.hero-img {
  width: 100%;
  max-width: 600px;
  margin-top: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Stats Section */
.impact-stats {
  background-color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.impact-stats h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #042348;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  flex: 1 1 200px;
  min-width: 180px;
}

.stat h3 {
  font-size: 48px;
  color: #3c82f6;
  margin-bottom: 10px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.stat p {
  font-size: 16px;
  color: #292929;
}

/* Dashboard Section */
    .dashboard-section {
      max-width: 100%;
      margin: 0 auto;
      padding: 0 10px;
    }

    .dashboard-header {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: flex-start;
      margin-bottom: 30px;
    }

    .dashboard-header h2 {
      font-size: 24px;
    }

    .dashboard-filters select {
      padding: 10px 14px;
      border-radius: 8px;
      border: 1px solid #ccc;
      font-size: 14px;
    }

    .dashboard-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 16px;
    }

    .dashboard-card {
      background-color: white;
      padding: 16px;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
      transition: transform 0.2s;
      cursor: pointer;
    }

    .dashboard-card:hover {
      transform: translateY(-5px);
    }

    .dashboard-card h4 {
      font-size: 14px;
      color: #666;
      margin-bottom: 6px;
    }

    .dashboard-card .stat {
      font-size: 20px;
      color: #3c82f6;
      font-weight: 600;
    }

    .dashboard-charts {
      margin-top: 30px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
    }

    canvas {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
      padding: 20px;
      width: 100% !important;
      height: auto !important;
    }

    @media (min-width: 768px) {
      .dashboard-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }

      .dashboard-charts {
        grid-template-columns: 1fr 1fr;
      }
    }

/* Benefits List */
.benefits {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.benefits h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #042348;
}

.benefit-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.benefit-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  padding: 15px 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.benefit-list li:hover {
  transform: translateY(-3px);
}

.benefit-list i {
  font-size: 22px;
  color: #3c82f6;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-list strong {
  font-size: 16px;
  color: #042348;
}

.benefit-list div {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* CTA Section */
.cta-section {
  background-color: #f1efe7;
  padding: 80px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 30px;
  color: #042348;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 30px;
  color: #555;
}

.button {
  background-color: #3c82f6;
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #2563eb;
}

  .footer {
    background-color: #faf8f2;
    padding: 60px 20px 20px;
  }

  .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;     
    text-align: center;           
    gap: 60px;                    
    max-width: 1000px;
    margin: 0 auto 40px;
  }

  .footer-branding {
    flex: 1 1 250px;
  }

  .footer-branding .logo {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
  }

  .footer-branding p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;     
    gap: 60px;
  }


  .footer-column h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #292929;
  }

  .footer-column ul {
    list-style: none;
    padding: 0;
  }

  .footer-column ul li {
    margin-bottom: 8px;
  }

  .footer-column ul li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
  }

  .footer-column ul li a:hover {
    color: #3c82f6;
  }

  .footer-bottom {
    background-color: #f8f8f8;
    padding: 20px 0;
    text-align: center;
  }

  .footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 14px;
    color: #777;
  }

  .footer-bottom a {
    color: #666;
    text-decoration: none;
  }

  .footer-bottom a:hover {
    color: #3c82f6;
  }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .stat h3 {
    font-size: 36px;
  }

  .dashboard-section img {
    max-width: 100%;
  }

  .stats-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .benefit-list {
    text-align: left;
  }
}
