/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 75rem; /* 1200px / 16 = 75rem */
  margin: 0 auto;
}

/* Navigation Bar */
.navbar {
  background-color: #08541a;
  padding: 1.25rem 0; /* 20px / 16 = 1.25rem */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo img {
  height: 3.125rem; /* 50px / 16 = 3.125rem */
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: 1.25rem; /* 20px / 16 = 1.25rem */
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #ff9800;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1000;
}

.burger-menu .bar {
  width: 1.5625rem; /* 25px / 16 = 1.5625rem */
  height: 0.1875rem; /* 3px / 16 = 0.1875rem */
  background-color: white;
  margin: 0.25rem 0; /* 4px / 16 = 0.25rem */
  transition: 0.4s;
}

/* Responsive Styles for Navigation */
@media (max-width: 48rem) { /* 768px / 16 = 48rem */
  .burger-menu {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 4.375rem; /* 70px / 16 = 4.375rem */
    right: 0;
    background-color: #28a745;
    width: 100%;
    text-align: center;
    padding: 0.625rem 0; /* 10px / 16 = 0.625rem */
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0.625rem 0; /* 10px / 16 = 0.625rem */
  }
}

/* Burger Menu Animation */
.burger-menu.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-0.3125rem, 0.375rem); /* 5px / 16 = 0.3125rem, 6px / 16 = 0.375rem */
}

.burger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-0.3125rem, -0.375rem); /* 5px / 16 = 0.3125rem, 6px / 16 = 0.375rem */
}

/* Hero Section */
.hero {
  position: relative;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.25rem; /* 20px / 16 = 1.25rem */
  border-radius: 0.625rem; /* 10px / 16 = 0.625rem */
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin: 0;
}

.hero p {
  font-size: 1.5rem;
  margin: 0.625rem 0 1.25rem; /* 10px / 16 = 0.625rem, 20px / 16 = 1.25rem */
}

/* About Section */
.about {
  padding: 3.75rem 0; /* 60px / 16 = 3.75rem */
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-height: 100vh;
  text-align: center;
}

.commitment .container h2 {
  color: #055722;
  margin-top: 2.5rem; /* 40px / 16 = 2.5rem */
}

/* Affiliations Section */

.commitment {
  margin-bottom: 2rem;
}

.affiliations {
  padding: 3.75rem 0; /* 60px / 16 = 3.75rem */
  background-image: url('images/freepik__upload__37462.png');
}

.affiliations h2 {
  text-align: center;
  margin-bottom: 2.5rem; /* 40px / 16 = 2.5rem */
  font-size: 2rem;
  color: #055722;
}

.affiliations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); /* 300px / 16 = 18.75rem */
  gap: 1.25rem; /* 20px / 16 = 1.25rem */
  padding: 0 1.25rem; /* 20px / 16 = 1.25rem */
}

.affiliation-item {
  background-color: #fff;
  border: 0.0625rem solid #ddd; /* 1px / 16 = 0.0625rem */
  border-radius: 0.5rem; /* 8px / 16 = 0.5rem */
  overflow: hidden;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1); /* 4px / 16 = 0.25rem, 8px / 16 = 0.5rem */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affiliation-item:hover {
  transform: translateY(-0.3125rem); /* 5px / 16 = 0.3125rem */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); /* 8px / 16 = 0.5rem, 16px / 16 = 1rem */
}

.affiliation-image {
  text-align: center;
  padding: 1.25rem; /* 20px / 16 = 1.25rem */
  background-color: #578b7b;
}

.affiliation-image img {
  max-width: 100%;
  height: auto;
  max-height: 6.25rem; /* 100px / 16 = 6.25rem */
}

.affiliation-description {
  padding: 1.25rem; /* 20px / 16 = 1.25rem */
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive Design */
@media (max-width: 48rem) { /* 768px / 16 = 48rem */
  .affiliations-grid {
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr)); /* 250px / 16 = 15.625rem */
  }
}


/* Footer */
.footer {
  background-color: #057720;
  color: white;
  padding: 1.25rem 0; /* 20px / 16 = 1.25rem */
  text-align: center;
}

.social-icons {
  margin-top: 0.625rem; /* 10px / 16 = 0.625rem */
}

.social-icons a {
  color: white;
  margin: 0 0.625rem; /* 10px / 16 = 0.625rem */
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #28a745;
}

/* Responsive Adjustments */
@media (max-width: 48rem) { /* 768px / 16 = 48rem */
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); /* 200px / 16 = 12.5rem */
  }

  .contact-content {
    flex-direction: column;
  }

  .map {
    height: 12.5rem; /* 200px / 16 = 12.5rem */
  }
}