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

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(0, 100, 0, 0.8);
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav .logo {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #90ee90;
}

/* Banner */
.banner {
    text-align: center;
    color: white;
    background-color: rgba(158, 43, 43, 0.575);
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 50px;
    position: relative;
    z-index: 10;
}

#banner-video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1;
}

.company-logo {
    font-size: 60px;
    font-weight: bold;
}

.mantra {
    font-size: 28px;
    margin-top: 10px;
    color: #90ee90;
}

/* Section Styling */
.section {
    padding: 80px 20px;
    text-align: center;
}

/* About Section */
#about {
    padding-top: 40vh;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content img {
    width: 400px;
    border-radius: 10px;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    font-size: 36px;
    color: #006400;
}

.about-text p {
    font-size: 18px;
    margin-top: 10px;
    line-height: 1.6;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-box i {
    font-size: 40px;
    color: #006400;
}

.service-box h3 {
    margin-top: 10px;
    font-size: 24px;
}

.service-box p {
    margin-top: 10px;
    font-size: 16px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-image img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-image img:hover {
    transform: scale(1.05);
}

/* Testimonials */
blockquote {
    margin: 20px auto;
    font-style: italic;
    background-color: #90ee90;
    padding: 10px;
    border-left: 5px solid #006400;
    max-width: 800px;
    color: #333;
    font-size: 18px;
}

/* Hamburger Menu */
#hamburger {
    display: none;
    cursor: pointer;
}

#hamburger div {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 6px 0;
}

/* Contact Section */
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    padding: 15px 30px;
    background-color: #006400;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #004c00;
}

/* Footer */
.green-footer {
    background-color: #006400;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: #90ee90;
}

#green-banner{
    background-color:#006400; 
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .logo{
        width: 20%;
    }

    .about-content img {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .banner {
        padding: 60px 20px;
        border-radius: 30px;
    }

    nav ul {
        flex-direction: column;
        background-color: rgba(0, 100, 0, 0.9); /* Dark green background */
        position: absolute;
        top: 60px; /* Below the navbar */
        right: 0;
        width: 100%; /* Full width */
        display: none; /* Initially hidden */
        padding: 20px 0;
        z-index: 999;
    }

    nav ul.show {
        display: flex; /* Show on toggle */
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        color: white;
        padding: 10px 0;
        font-size: 20px;
        text-decoration: none;
        display: block;
        width: 100%;
    }

    nav ul li a:hover {
        background-color: #90ee90; /* Lighter hover effect */
        color: black;
    }

    #hamburger {
        display: block;
    }

    .contact-form {
        max-width: 100%;
        padding: 20px;
    }
        /* Footer */
        .green-footer {
            font-size: 14px;
            padding: 10px;
        }
    
        footer a {
            font-size: 14px;
            margin: 0 5px;
        }
}

@media (max-width: 480px) {
    .company-logo {
        font-size: 40px;
    }

    .mantra {
        font-size: 20px;
    }

    nav .logo {
        font-size: 24px;
    }

    nav ul li a {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 28px;
    }
}
