html {
    scroll-behavior: smooth;
}

/*  RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Enable smooth scrolling globally */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #f8f9fa;
}

/*  HEADER & NAVIGATION (FLEXBOX) */
.header {
  background-color: #1e5720; /* Forest green */
  color: white;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: sticky; /* Keeps header visible while scrolling */
  top: 0;
  z-index: 100;
}

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

.nav-list a {
  color: white;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 2px;
}

.nav-list a:hover {
  color: #66d98a;
  border-bottom: 2px solid #66d98a;
}

/* MAIN CONTENT LAYOUT (CSS GRID) */
.main {
  padding: 2.5rem 5%;
  min-height: 70vh;
  max-width: 1400px;
  margin: 0 auto;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2.2rem;
}

.content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.content h2,
.content h3 {
  margin: 1.5rem 0 1rem;
  color: #2c3e50;
}

.content h2 {
  font-size: 1.8rem;
  color: #1e5720;
}

.content p {
  margin-bottom: 1rem;
  color: #444;
  font-size: 1.05rem;
}

.content ul {
  margin: 0.8rem 0 1rem 1.5rem;
  color: #444;
  line-height: 1.6;
}

.content a {
  color: #2e8b57;
  text-decoration: underline;
}

.content a:hover {
  color: #1e5720;
}


.btn {
  display: inline-block;
  background-color: #2e8b57;
  color: white;
  padding: 0.6rem 1rem;
  margin: 10px;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #1e5720;
  text-decoration: none;
}


/*  FOOTER */
.footer {
  background-color: #1e5720;
  color: #d0f0c0;
  text-align: center;
  padding: 1.6rem 1rem;
  font-size: 0.95rem;
}

/*  RESPONSIVE DESIGN - MEDIA QUERIES */

/* Tablet View (max-width: 768px) */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav-list {
    gap: 1.2rem;
    flex-wrap: wrap;
  }

  .nav-list a {
    font-size: 1rem;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

}


/* Mobile View (max-width: 480px) */
@media (max-width: 480px) {
  .logo {
    font-size: 1.6rem;
  }

  .nav-list {
    gap: 0.8rem;
    font-size: 0.95rem;
  }

  .content {
    padding: 1.3rem;
  }

  .content h2 {
    font-size: 1.5rem;
  }

  

  .btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
  }

  .footer {
    font-size: 0.9rem;
    padding: 1.2rem;
  }

  
    
}
