/* 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;
    font-size: 1rem; /* Base font size */
  }
  
  .container {
    width: 90%;
    max-width: 75rem; /* 1200px in rem */
    margin: 0 auto;
  }
  
  /* Navigation Bar */
  .navbar {
    background-color: #08541a;
    padding: 1.25rem 0; /* 20px in rem */
    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 in rem */
  }
  
  .nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
  }
  
  .nav-menu li {
    margin-left: 1.25rem; /* 20px in rem */
  }
  
  .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 in rem */
    height: 0.1875rem; /* 3px in rem */
    background-color: white;
    margin: 0.25rem 0; /* 4px in rem */
    transition: 0.4s;
  }
  
  /* Responsive Styles for Navigation */
  @media (max-width: 48rem) { /* 768px in rem */
    .burger-menu {
      display: flex;
    }
  
    .nav-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 4.375rem; /* 70px in rem */
      right: 0;
      background-color: #28a745;
      width: 100%;
      text-align: center;
      padding: 0.625rem 0; /* 10px in rem */
      z-index: 999;
    }
  
    .nav-menu.active {
      display: flex;
    }
  
    .nav-menu li {
      margin: 0.625rem 0; /* 10px in rem */
    }
  }
  
  /* Burger Menu Animation */
  .burger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-0.3125rem, 0.375rem); /* 5px, 6px in rem */
  }
  
  .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, 6px in rem */
  }
  
  /* 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 in rem */
    border-radius: 0.625rem; /* 10px in rem */
    z-index: 1;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin: 0;
  }
  
  /* Gallery Section */
  .gallery {
    padding: 2rem 0;
    background-color: #f4f4f4;
}

.container {
    width: 90%;
    margin: 0 auto;
}

/* Wrapper for the entire gallery content */
.gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;  /* Adds separation between each group */
}

/* Header styling */
h2 {
    color: green;
    font-size: 1.5rem; /* 24px */
    margin-bottom: 1rem; /* 16px */
    text-transform: uppercase;
    text-align: center;
}

/* Gallery grid styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem; /* 32px, space between the images */
    margin-bottom: 3rem; /* 48px */
}

.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem; /* 8px for rounded corners */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures that the image covers the container without stretching */
    border-radius: 8px;
    object-position: center center; /* Keeps the image centered */
    transition: transform 0.5s ease, filter 0.5s ease; /* Smooth transition for both scaling and filtering */
}

/* Hover effect for images */
.gallery-item:hover img {
  transform: scale(1.2) translate(5%, -5%); /* Enlarge by 20% and translate (move) slightly */
}
  


/* Media Queries */
@media screen and (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
  
  /* Footer */
  .footer {
    background-color: #057720;
    color: white;
    padding: 1.25rem 0; /* 20px in rem */
    text-align: center;
  }
  
  .social-icons {
    margin-top: 0.625rem; /* 10px in rem */
  }
  
  .social-icons a {
    color: white;
    margin: 0 0.625rem; /* 10px in rem */
    font-size: 1.2rem;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #28a745;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 48rem) { /* 768px in rem */
    .hero h1 {
      font-size: 2rem;
    }
  
    .hero p {
      font-size: 1.2rem;
    }
  }