:root {
    --primary-color: #314528;    /* Dark green */
    --secondary-color: #68a678;  /* Medium green */
    --accent-color: #e9f5e1;     /* Light sage */
    --text-color: #2d2d2d;       /* Dark text */
    --light-text: #ffffff;       /* White text */
    --hover-color: #D0DBC9;      /* Light sage for hover */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: 60px; /* Add space for fixed navbar */
}

.main-content {
    display: block;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--light-text);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 10px 20px;
    height: 60px;
}

.navbar .left-space {
    padding-left: 20px;
    display: flex;
    align-items: center;
    font-family: 'Dancing Script', cursive;
    font-size: 23px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 18px;
    color: var(--light-text);
}

.nav-links a {
    text-decoration: none;
    color: var(--light-text);
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding: 8px 15px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:active,
.nav-links a:focus {
    color: var(--hover-color);
    border-bottom: 2px solid var(--hover-color);
}

.nav-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    padding: 5px;
}

/* Ensure sections take up the full height minus the navbar */
section {
    min-height: calc(100vh - 60px); /* Subtract the navbar height (60px) */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%; /* Ensure iframe fills the section */
    border: none;
}

/* Responsive Design */
@media (min-width: 1920px) {
    .main-content {
        max-width: 1920px;
        margin: 0 auto;
    }
}

@media (max-width: 960px) {
    body {
        padding-top: 50px;
    }

    .navbar {
        height: 50px;
        padding: 8px 15px;
    }

    .navbar .left-space {
        font-size: 20px;
        padding-left: 0;
    }

    .nav-toggle {
        display: block;
        order: 1;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        background-color: var(--primary-color);
        padding: 20px 0;
        gap: 16px;
        width: 100%;
        z-index: 1000;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 16px;
    }

    section {
        min-height: calc(100vh - 50px); /* Adjust for smaller navbar height */
    }


    section.home,
    section.about-us,
    section.services,
    section.faq,
    section.contact-us {
        height: auto !important;
        min-height: calc(100vh - 50px);
    }

    iframe {
        min-height: calc(100vh - 50px);
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 45px;
    }

    .navbar {
        height: 45px;
        padding: 5px 10px;
    }

    .navbar .left-space {
        font-size: 18px;
    }

    .nav-links {
        top: 45px;
        padding: 15px 0;
    }

    .nav-links a {
        font-size: 15px;
        padding: 10px 0;
    }

    section {
        min-height: calc(100vh - 45px); /* Adjust for even smaller navbar height */
    }

    section.home,
    section.about-us,
    section.services,
    section.faq,
    section.contact-us {
        height: auto !important;
        min-height: calc(100vh - 45px);
    }

    iframe {
        min-height: calc(100vh - 45px);
    }
}
