* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f5fdf7;
  color: #1f3b2d;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale; 
}

/* --- Navigation Bar --- */
nav {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.8rem 1rem; 
  display: flex;
  flex-direction: column; 
  align-items: flex-start;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-left {
  display: flex;
  align-items: center;
  width: 100%; 
  margin-bottom: 0.5rem; 
}

.nav-left img {
  height: 40px; 
  margin-right: 8px;
}

.nav-left span {
  font-weight: 700;
  font-size: 1rem;
  color: #004d40;
  flex-grow: 1; 
  text-align: left;
}

.nav-links {
  width: 100%; 
  text-align: center;
}

.nav-links a {
  color: #004d40;
  text-decoration: none;
  font-weight: 600;
  margin: 0 0.5rem; 
  font-size: 0.85rem; 
  display: inline-block;
  padding: 0.3rem 0; 
}

.nav-links a:hover {
  text-decoration: underline;
}

/* --- Header Section --- */
header {
  background: linear-gradient(to right, #d0f0c0, #b2dfdb);
  padding: 1.5rem 1rem; 
  text-align: center;
}

header h1 {
  font-size: 1.8rem; 
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1rem; 
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.cta-buttons button {
  background-color: #2e7d32;
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  width: 90%;
  max-width: 300px; 
  margin: 0 auto; 
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.cta-buttons button.outline {
  background-color: white;
  color: #2e7d32;
  border: 2px solid #2e7d32;
}

.cta-buttons button:hover {
  background-color: #1b5e20; 
}

.cta-buttons button.outline:hover {
  background-color: #2e7d32;
  color: white;
}

/* --- General Section Styling --- */
section {
  padding: 1.5rem 1rem; 
  max-width: 900px;
  margin: auto;
}

section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #2e7d32;
}

section p {
  font-size: 0.95rem; 
  text-align: justify;
}

ul {
  margin-left: 1rem; 
  margin-bottom: 1rem;
  font-size: 0.95rem; 
}

ul li {
  margin-bottom: 0.4rem; 
}

/* --- Grid Layout (How to Apply) --- */
.grid {
  display: flex; 
  flex-direction: column;
  gap: 1rem; 
}

.card {
  background-color: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 0.95rem;
}

.card ul {
  margin-left: 1rem; 
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.card ul li {
  margin-bottom: 0.2rem;
  font-size: 0.9rem; 
}

/* --- Footer --- */
footer {
  background-color: #e0f2f1;
  text-align: center;
  padding: 0.8rem; 
  font-size: 0.8rem; 
}

/* --- Carousel Styles --- */
.carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.carousel-slide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover; 
  display: block; 
}

.carousel-slide.active {
  opacity: 1;
  position: relative; 
  z-index: 1;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4); 
  color: white;
  border: none;
  padding: 8px;
  cursor: pointer;
  font-size: 1.2rem; 
  z-index: 2;
  border-radius: 5px; 
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.carousel-button.left {
  left: 5px; 
}

.carousel-button.right {
  right: 5px;
}

/* --- Scroll Animation Styles --- */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate.slide-in-left,
.animate.slide-in-right { 
  transform: translateX(0); 
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}


/* --- Media Queries for Larger Screens (Tablets and Desktops) --- */
@media (min-width: 768px) {
  /* Navigation Bar */
  nav {
    flex-direction: row; 
    justify-content: space-between;
    padding: 0.5rem 2rem;
    align-items: center;
  }

  .nav-left {
    width: auto; 
    margin-bottom: 0;
  }

  .nav-left img {
    height: 50px;
    margin-right: 10px;
  }

  .nav-left span {
    font-size: 1.2rem; 
  }

  .nav-links {
    width: auto;
    text-align: right;
  }

  .nav-links a {
    margin-left: 1rem; 
    font-size: 0.95rem; 
    padding: 0; 
  }

  /* Header Section */
  header {
    padding: 2rem;
  }

  header h1 {
    font-size: 2.5rem; 
  }

  header p {
    font-size: 1.2rem; 
  }

  .cta-buttons {
    flex-direction: row; 
    gap: 0.5rem; 
    margin-top: 1.5rem;
    justify-content: center;
  }

  .cta-buttons button {
    width: auto; 
    max-width: none; 
    margin: 0 0.5rem;
  }

  /* General Section Styling */
  section {
    padding: 2rem;
  }

  section h2 {
    font-size: 2.5rem;
  }

  ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem; 
  }

  ul li {
    margin-bottom: 0.5rem;
  }

  /* Grid Layout (How to Apply) */
  .grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; 
  }

  .card {
    font-size: 1rem;
  }

  .card ul {
    margin-left: 1.5rem;
  }

  .card ul li {
    font-size: 0.95rem; 
  }

  /* Footer */
  footer {
    padding: 1rem;
    font-size: 0.9rem;
  }

  /* Carousel Styles */
  .carousel {
    margin-bottom: 1.5rem;
  }

  .carousel-button {
    padding: 10px;
    font-size: 1.5rem;
  }

  .carousel-button.left {
    left: 10px;
  }

  .carousel-button.right {
    right: 10px;
  }

  /* Scroll Animation Styles */
  .animate.slide-in-left {
    transform: translateX(-100px);
  }

  .animate.slide-in-right {
    transform: translateX(100px);
  }

  .animate.visible {
    transform: translateX(0);
    opacity: 1;
  }
}