/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #333;
}

/* Navbar */
.navbar {
  background-color: #2b2b2b;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.navbar .primary-color {
  color: #ffd369;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #ffd369;
}

/* Header Showcase */
#showcase {
  background: url('food-insecurity-banner.jpg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  background-blend-mode: overlay;
}

.showcase-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.showcase-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #ffd369;
  background: transparent;
  color: #ffd369;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: 0.3s ease;
}

.btn:hover {
  background: #ffd369;
  color: #2b2b2b;
}

/* Intro Section */
#intro {
  padding: 4rem 2rem;
  background-color: #fff;
}

.intro-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}

.intro-description {
  flex: 1 1 500px;
}

.intro-stats {
  display: flex;
  flex: 1 1 400px;
  gap: 2rem;
  justify-content: space-around;
}

.intro-item {
  text-align: center;
}

.intro-item .lead-text {
  font-size: 2rem;
  font-weight: bold;
  color: #2b2b2b;
}

.intro-item .sub-text {
  font-size: 1rem;
  color: #666;
}

/* How Section */
#how {
  background-color: #f1f1f1;
  padding: 4rem 2rem;
  text-align: center;
}

.head-how h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.head-how p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 300px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-title {
  font-size: 1.5rem;
  margin: 1rem;
  color: #2b2b2b;
}

.card-p {
  padding: 0 1rem 1.5rem;
  font-size: 1rem;
  color: #555;
}

.card:hover {
  transform: translateY(-10px);
}

/* Footer */
.footer {
  background-color: #2b2b2b;
  color: #ddd;
  padding: 3rem 2rem 2rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer .box {
  flex: 1 1 220px;
}

.footer .box1 p,
.footer .box4 p {
  margin-bottom: 1rem;
}

.footer .box a {
  color: #ddd;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer .box a:hover {
  color: #ffd369;
}

.footer .social-icons {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer .social-icons a {
  color: #ddd;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer .social-icons a:hover {
  color: #ffd369;
}

/* Responsive */
@media (max-width: 768px) {
  .intro-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-stats {
    flex-direction: column;
    align-items: center;
  }

  .container {
    flex-direction: column;
    align-items: center;
  }

  .navbar ul {
    flex-direction: column;
    gap: 1rem;
  }
}
