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

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

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

/* Navigation */
.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

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

.nav-logo h2 {
  color: #2c5530;
  font-size: 1.5rem;
  font-weight: 700;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: #4a7c59;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #4a7c59;
}

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

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
  color: white;
  padding: 100px 20px 50px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  margin-right: 50px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: #ff6b35;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 1;
}

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

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #2c5530;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
  line-height: 1.8;
}

/* Donation Section */
.donation-section {
  padding: 80px 0;
  background: white;
}

.donation-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.donation-text {
  flex: 1;
}

.donation-text h2 {
  font-size: 2.5rem;
  color: #2c5530;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.donation-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
  line-height: 1.8;
}

.impact-list {
  list-style: none;
  margin: 2rem 0;
}

.impact-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  font-size: 1.1rem;
  color: #555;
}

.impact-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4a7c59;
  font-weight: bold;
  font-size: 1.2rem;
}

.donation-form {
  flex: 1;
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.donation-form h3 {
  font-size: 1.8rem;
  color: #2c5530;
  margin-bottom: 2rem;
  font-weight: 600;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

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

.donate-button {
  width: 100%;
  background: #4a7c59;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.donate-button:hover {
  background: #2c5530;
  transform: translateY(-2px);
}

/* About Page Specific Styles */
.about-hero {
  background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.about-main {
  padding: 80px 0;
  background: white;
}

.about-main .about-content {
  align-items: flex-start;
}

.about-main .about-text h2 {
  font-size: 2.5rem;
  color: #2c5530;
  margin-bottom: 1.5rem;
}

.about-main .about-text h3 {
  font-size: 1.8rem;
  color: #2c5530;
  margin: 2rem 0 1rem;
  font-weight: 600;
}

.about-main .about-text ul {
  margin: 1rem 0;
  padding-left: 20px;
}

.about-main .about-text li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.team-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c5530;
  margin-bottom: 3rem;
  font-weight: 700;
}

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

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

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

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid #4a7c59;
}

.team-member h3 {
  font-size: 1.5rem;
  color: #2c5530;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.team-member .position {
  color: #ff6b35;
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-member p {
  color: #555;
  line-height: 1.6;
}

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

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p {
  margin-bottom: 0.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

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

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

.footer-section ul li a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  opacity: 0.8;
  font-size: 0.9rem;
}

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

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    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: 20px 0;
  }

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

  .nav-menu li {
    margin: 10px 0;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 20px 50px;
  }

  .hero-content {
    margin-right: 0;
    margin-bottom: 40px;
  }

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

  .about-content {
    flex-direction: column;
    gap: 40px;
  }

  .donation-content {
    flex-direction: column;
    gap: 40px;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

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

  .about-text h2,
  .donation-text h2,
  .about-hero h1 {
    font-size: 2rem;
  }

  .donation-form {
    padding: 20px;
  }

  .container {
    padding: 0 15px;
  }
}

/* Animation for mobile menu */
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
