:root {
  --primary-color: #002147;
  --secondary-color: #ffde00;
  --text-color: #333;
  --light-bg: #f6fafd;
  --yellow-accent: #e1c900;
  --dark-blue: #002147;
  --white: #ffffff;
  --light-gray: #f8f9fc;
  --footer-bg: #002147;
}

/* Responsive Base Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  padding-top: 80px; /* To account for fixed header */
}

/* ===== Header Responsive Styles ===== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Ensures logo left, menu toggle right */
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
  display: none; /* Hide hamburger by default */
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 28px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 60px; /* Adjust spacing from right */
  z-index: 1001;
}



.navbar {
  order: 2; /* Navigation in the middle */
  flex: 1;
  display: flex;
  gap: 15px;
  justify-content: center;
  transition: all 0.3s ease;
}

.navbar a {
  margin: 0 12px;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  padding: 5px 0;
  position: relative;
  font-size: 0.95rem;
}

.navbar a.active {
  color: var(--secondary-color);
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

.donate-button {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-left: 10px;
}

.donate-button:hover {
  /* transform: translateY(-2px); */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ===== Mission Section Responsive ===== */
.mission-section {
  padding: 80px 5% 60px;
  text-align: center;
  background-color: var(--light-bg);
}

.section-subtitle {
  color: var(--yellow-accent);
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2rem;
  color: var(--dark-blue);
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.feature-box {
  background: var(--white);
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-box.highlighted {
  background: var(--secondary-color);
  color: var(--white);
}

.feature-box h3 {
  margin: 20px 0 10px;
  font-weight: 700;
  font-size: 1.25rem;
}

.feature-box p {
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-box.highlighted h3,
.feature-box.highlighted p {
  color: var(--white);
}

.icon-circle {
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 30px;
  transition: all 0.3s ease;
}

.feature-box:hover .icon-circle {
  transform: scale(1.1);
}

.icon-circle-white {
  background-color: var(--white);
  color: var(--secondary-color);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 30px;
  transition: all 0.3s ease;
}

.feature-box:hover .icon-circle-white {
  transform: scale(1.1);
}

/* ===== About Initiative Responsive ===== */
.about-initiative {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 5%;
  background: var(--white);
}

.about-text {
  flex: 1;
  min-width: 0;
  text-align: center;
  max-width: 800px;
}

.about-subtitle {
  color: var(--yellow-accent);
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-title {
  font-size: 2.25rem;
  color: var(--dark-blue);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
}

.about-button {
  display: inline-block;
  background-color: var(--yellow-accent);
  color: var(--dark-blue);
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.about-button:hover {
  background-color: transparent;
  color: var(--dark-blue);
  border-color: var(--yellow-accent);
  transform: translateY(-2px);
}

.about-image {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  max-width: 500px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

/* ===== Team Section Responsive ===== */
.team-section {
  padding: 80px 5%;
  background-color: var(--light-gray);
  text-align: center;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.team-member {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.member-info {
  padding: 20px 15px;
}

.member-info h3 {
  margin: 10px 0 5px;
  font-size: 1.1rem;
  color: var(--dark-blue);
  font-weight: 600;
}

.member-info p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}

/* Social icons overlay */
.social-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 33, 71, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transition: all 0.3s ease;
}

.team-member:hover .social-icons {
  opacity: 1;
}

.social-icons a {
  color: var(--white);
  font-size: 1rem;
  background: var(--yellow-accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--dark-blue);
  color: var(--yellow-accent);
  transform: scale(1.1);
}

/* ===== Footer Section ===== */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 80px 5% 30px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
}

.footer-column h3 {
  color: var(--yellow-accent);
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column p,
.footer-column a {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  padding: 12px 15px;
  width: 100%;
  border: none;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.newsletter-form button {
  padding: 12px 25px;
  background-color: var(--yellow-accent);
  color: var(--dark-blue);
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 200px;
}

.newsletter-form button:hover {
  background-color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: #aaa;
}

/* ===== Media Queries ===== */
@media (min-width: 768px) {
  .about-initiative {
    flex-direction: row;
    text-align: left;
  }
  
  .about-text {
    text-align: left;
    padding-right: 40px;
  }
  
  .footer-container {
    flex-direction: row;
    gap: 50px;
  }
  
  .footer-column {
    text-align: left;
  }
  
  .newsletter-form {
    align-items: flex-start;
  }
}

@media (max-width: 992px) {
  .menu-toggle {
    display: block; /* Show hamburger */
    order: 2; /* Ensures it stays on the right */
  }

  .navbar {
    position: absolute;
    top: 70px; /* Push below the header/toggle */
    right: 20px;
    flex-direction: column;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    display: none;
    z-index: 1000;
  }

  .navbar.active {
    display: flex;
    /* max-height: 500px;
    padding: 20px 0; */
  }
  
  .navbar a {
    padding: 10 px;
  }
  
  .donate-button {
    margin: 15px 0 0;
    display: inline-block;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 15px;
  }
  
  body {
    padding-top: 70px;
  }
  
  .main-header {
    padding: 15px;
  }
  
  .section-title, .about-title {
    font-size: 1.75rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .team-members {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-column {
    min-width: 100%;
  }
}

@media (min-width: 1200px) {
  .mission-section,
  .about-initiative,
  .team-section,
  .site-footer {
    padding-left: calc((100% - 1200px) / 2);
    padding-right: calc((100% - 1200px) / 2);
  }
}