/* Existing banner styles */
.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1; /* Keep banner below the navbar */
}

.slider {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    overflow: hidden; /* Ensure the image stays within the container */
}

#slideImg {
    width: 100%;
    height: 100vh; /* Full viewport height */
    object-fit: cover; /* Prevents stretching and maintains aspect ratio */
}

.overlay {
    width: 100%;
    height: 100vh;
    position: absolute;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    top: 0;
}

/* Updated Navbar styles */
.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    position: relative; /* Make sure the navbar stays in the flow of the page */
    z-index: 10; /* Keep the navbar on top of other elements */
    top: 0;
    left: 0;
}

.logo img {
    width: 200px;
    height: auto;
    cursor: pointer;
}

/* Menu links styling */
.nav-links {
    display: flex;
    list-style: none;
    text-align: center;
}

.nav-links li {
    padding: 0 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.nav-links a:hover {
    color: #075f33;
    transition: color 0.3s ease-in-out;
}

/* Dropdown for services */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 300px;
    top: 100%;
    z-index: 1;
}

.dropdown-content li {
    display: block;
}

.dropdown-content a {
    color: white;
    padding: 10px;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile menu icon */
.menu-icons {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.menu-icons i {
    margin-left: 40px;
}

/* Content styles */
.content {
    width: 80%;
    margin: 100px auto 0; /* Added margin-top to ensure content doesn't overlap navbar */
    text-align: center;
    color: white;
}

.content h2 {
    font-size: 48px; /* Reduced from 60px to 48px */
    color: white;
}

.content h3 {
    width: 80%;
    margin: 10px auto 100px;
    font-weight: 100;
    line-height: 30px; /* Adjusted line-height */
    font-size: 20px; /* Reduced from 25px to 20px */
    color: white;
}

button {
    width: 200px;
    padding: 15px 0;
    text-align: center;
    margin: 0 10px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #075f33;
    background: #075f33;
    color: white;
    cursor: pointer;
    transition: background 0.5s;
}

button:hover {
    background: transparent;
    border: 2px solid white;
}

/* Responsive Menu */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        background-color: rgba(0, 0, 0, 0.8);
        top: 100%;
        left: 0;
        right: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #555;
    }

    .menu-icons {
        display: block;
    }

    /* Reduce text size for smaller screens */
    .content h2 {
        font-size: 32px; /* Adjusted for mobile */
    }

    .content h3 {
        font-size: 16px; /* Adjusted for mobile */
    }

    button {
        width: 150px; /* Smaller buttons on mobile */
        padding: 10px 0;
    }
}

/* Logo responsiveness */
.logo-box-one {
    width: 100%;
    max-width: 300px; /* Adjust this max width as needed */
    margin: auto; /* Center the logo */
    text-align: center; /* Center text (if any) */
}

.logo-box-one img {
    max-width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
}
