/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  color: #255b9c;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: #666;
}

/* Header and Navigation */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo h1 {
  font-size: 1.8rem;
  color: #255b9c;
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #255b9c;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: #255b9c;
}

.donate-btn {
  background: #000000;
  color: white !important;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.donate-btn:hover {
  background: #d35400;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: #255b9c;
  color: white;
}

.btn-primary:hover {
  background: #1e3a21;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: #255b9c;
  color: white;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  background-image: url('img/children.jpg');
  /* Replace with your image path */
  background-size: cover;
  /* Makes the image cover the entire area */
  background-position: center;
  /* Centers the image */
  background-repeat: no-repeat;
  /* Prevents tiling */
  display: flex;
  align-items: center;
  min-height: 89vh;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Adjust opacity to dim more or less */
  z-index: 1;
}

.hero>* {
  position: relative;
  z-index: 2;
  /* Ensures text appears above the dim layer */
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #fff;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Page Hero */
.page-hero {
  margin-top: 80px;
  padding: 60px 0;
  background: #255b9c;
  color: white;
  text-align: center;
}

.page-hero h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.2rem;
  color: #e9ecef;
}

/* Mission Section */
.mission {
  padding: 80px 0;
  background: #255b9c;
  color: white;
  text-align: center;
}

.mission h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.mission p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  color: #e9ecef;
}

/* Impact Section */
.impact {
  padding: 30px 0 80px 0;
  background: #f8f9fa;
}

.impact h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.impact-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-5px);
}

.impact-number {
  font-size: 3rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1rem;
}

.impact-card h3 {
  color: #255b9c;
  margin-bottom: 1rem;
}

/* Programs Section */
.programs {
  padding: 80px 0;
}

.programs h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.program-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
}

.program-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.program-card h3,
.program-card p {
  padding: 0 1.5rem;
}

.program-card h3 {
  color: #255b9c;
  margin: 1.5rem 0 1rem 0;
}

.program-card p {
  padding-bottom: 1.5rem;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: #000000;
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #f8f9fa;
}

/* About Page Styles */
.about-content {
  padding: 80px 0 30px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text h3 {
  margin: 2rem 0 1rem 0;
  color: #255b9c;
}

.values-list {
  list-style: none;
  padding-left: 0;
}

.values-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.values-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #255b9c;
  font-weight: bold;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-caption {
  text-align: center;
  font-style: italic;
  margin-top: 1rem;
  color: #666;
}

/* Vision Mission */
.vision-mission {
  padding: 80px 0;
  background: #f8f9fa;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.vm-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vm-card h3 {
  color: #255b9c;
  margin-bottom: 1rem;
}

/* Timeline */
.achievements {
  padding: 80px 0;
}

.achievements h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #255b9c;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  background: #255b9c;
  color: white;
  padding: 1rem;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
  margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
  margin-right: 0;
}

.timeline-content h4 {
  color: #255b9c;
  margin-bottom: 0.5rem;
}

/* Project Member Page */
.leadership {
  padding: 30px 0 80px 0;
}

.project,
.member {
  padding: 80px 0 30px 0;
}

.project,
.member {
  background: #f8f9fa;
}

.project-grid,
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card,
.member-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.member-card:hover {
  transform: translateY(-5px);
}

.member-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.project-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.member-card h3 {
  color: #255b9c;
  margin-bottom: 0.5rem;
}

.project-card h3 {
  color: #255b9c;
  margin-bottom: 0.5rem;
}

.project-title,
.member-title {
  color: #000000;
  font-weight: 500;
  margin-bottom: 1rem;
}

.project-bio,
.member-bio {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Volunteers Section */
.volunteers {
  padding: 80px 0;
}

.volunteers-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.volunteer-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.volunteer-category {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

.volunteer-category h3 {
  color: #255b9c;
  margin-bottom: 1rem;
}

.volunteer-count {
  background: #255b9c;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  margin-top: 1rem;
  display: inline-block;
}

.volunteer-cta {
  background: #000000;
  color: white;
  padding: 3rem;
  border-radius: 10px;
  text-align: center;
}

.volunteer-cta h3 {
  color: white;
  margin-bottom: 1rem;
}

.volunteer-cta p {
  color: #f8f9fa;
  margin-bottom: 2rem;
}

/* Contact Page */
.contact-content {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h3 {
  color: #255b9c;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-item p {
  margin: 0;
}

/* Contact Form */
.contact-form-container {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
}

.contact-form-container h2 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #255b9c;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Ways to Help */
.ways-to-help {
  padding: 80px 0;
  background: #f8f9fa;
}

.ways-to-help h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.help-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.help-card h3 {
  color: #255b9c;
  margin-bottom: 1rem;
}

.help-card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.help-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.help-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000000;
  font-weight: bold;
}

/* Footer */
.footer {
  background: #255b9c;
  color: white;
  padding: 60px 0 20px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #e9ecef;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #e9ecef;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #4a6741;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #e9ecef;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 0rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .vm-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-year {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
    margin-right: 0 !important;
  }

  .impact-grid,
  .programs-grid,
  .project-grid,
  .members-grid,
  .volunteer-categories,
  .help-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .member-card,
  .member-card,
  .program-card,
  .impact-card {
    margin-bottom: 1rem;
  }
}