/* Reset default styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
    line-height: 2;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
}
/* Navigation */
.nav-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #2e7d32; /* Dark green */
    border-bottom: 4px solid #81c784; /* Light green accent */
}
/* Navbar */
.navbar {
    position: sticky; /* Make it sticky */
    top: 0;            /* Stick to the top */
    z-index: 1000;     /* Ensure it stays on top */
}
.nav-link li {
    list-style: none;
}
.nav-link li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
    letter-spacing: 3px;
}
.nav-link li a i {
    margin-right: 8px; /* Space between icon and text */
    font-size: 1.1rem; /* Adjust icon size */
    vertical-align: middle; /* Align icon properly with text */
}
.nav-link li a:hover i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}
.nav-link li a:hover {
    background-color: #388e3c; /* Lighter green on hover */
    color: #fff;
    border-radius: 5px;
}

/* Hero Section with Background Image */
#home-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    background: linear-gradient(
        rgba(0, 0, 0, 0.4), 
        rgba(0, 0, 0, 0.4)
    ), 
    url('../images/background6.png') center/cover no-repeat;
    color: white;
    font-size: 2.5rem;
    text-align: center;
}
#home-slider h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

/* Images Section */
.images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}
.list-images {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #2e7d32;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.list-images img {
    height: 200px;
    width: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.list-images img:hover {
    transform: scale(1.05);
}

/* Grid Section */
.grid-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}
.grid-container h2 {
    color: #2e7d32; /* Dark green */
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.grid-container h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 60%;
    background-color: #81c784; /* Light green accent */
    margin: 8px auto 0;
    border-radius: 2px;
}
.grid-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.grid-section-team {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.grid-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}
.grid-item-team img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 8px;
}
.grid-item h3 {
    margin: 10px 0 5px;
    color: #2e7d32;
}
.grid-item p {
    font-size: 0.95rem;
    color: #555;
}

/* Footer */
footer {
    background-color: #2e7d32;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-section {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .nav-link {
        flex-direction: column;
        align-items: center;
    }
    #home-slider {
        height: 300px;
        font-size: 1.8rem;
        padding: 10px;
    }
    #home-slider h1 {
        font-size: 2.2rem;
    }
    .grid-section {
        grid-template-columns: 1fr;
    }
    .list-images {
        flex-direction: column;
        align-items: center;
    }
    .list-images img {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 480px) {
    .nav-link li a {
        padding: 10px 15px;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    .cta-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}
.read-more-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #2e7d32;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.read-more-btn:hover {
    background-color: #388e3c;
    transform: scale(1.05);
}
/* Call to Action Button */
.cta-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #81c784;
    color: #2e7d32;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.cta-btn:hover {
    background-color: #66bb6a;
    transform: scale(1.05);
    color: #fff;
}
/* Footer Styles */
footer {
    background-color: #2e7d32;
    color: #fff;
    padding: 40px 20px 10px;
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 2px solid #81c784;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-column p,
.footer-column li {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #81c784;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    font-size: 0.9rem;
    border-top: 1px solid #81c784;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column {
        margin-bottom: 20px;
    }
}

/* Contact Section Styling */
.contact-section {
    background: #f7fdf7;
    padding: 60px 20px;
    border-radius: 12px;
    margin: 60px auto;
    max-width: 900px;
    box-shadow: 0 8px 30px rgba(0, 128, 0, 0.08);
    text-align: center;
}

.contact-section h2 {
    color: #006400;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.contact-subtitle {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form {
    width: 100%;
    max-width: 700px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #008000;
    box-shadow: 0 0 5px rgba(0, 128, 0, 0.2);
    outline: none;
}

.contact-btn {
    background-color: #008000;
    color: #fff;
    border: none;
    padding: 14px 20px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
}

.contact-btn:hover {
    background-color: #005c00;
    transform: translateY(-2px);
}
/* About Section Styling */

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-section h2 {
    color: #006400;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.about-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-btn {
    display: inline-block;
    background-color: #008000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.about-btn:hover {
    background-color: #005c00;
    transform: translateY(-2px);
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: #f1faf1;
    padding: 60px 20px;
    border-radius: 12px;
    margin: 60px auto;
    max-width: 1200px;
    box-shadow: 0 8px 30px rgba(0, 128, 0, 0.08);
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-section.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Hamburger Icon */
.menu-toggle {
    display: none; /* hidden on desktop */
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    position: absolute;
    top: 15px; /* adjust based on your navbar height */
    right: 20px;
    z-index: 1000;
  }

  @media (max-width: 768px) {
    .nav-link {
      display: none; /* hide menu by default */
      flex-direction: column;
      background-color: rgba(0, 0, 0, 0.5); /* dark background for mobile menu */
      position: fixed; /* FIX: make it float above the content */
      top: 0;
      right: 0;
      width: 30%; /* menu takes 70% of the screen width */
      height: relative; /* full height of the screen */
      text-align: left;
      padding: 50px 20px; /* space for menu items */
      z-index: 999; /* make sure it’s above other content */
      transition: transform 0.3s ease-in-out;
      transform: translateX(100%); /* hide off-screen */
    }
  
    .nav-link.show {
      transform: translateX(0); /* slide in when toggled */
      display: flex; /* show menu when toggled */
    }
  
    .menu-toggle {
      display: block; /* show hamburger */
    }
  }