/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.header {
    position: relative;
    width: 100%;
    overflow: visible; /* Ensure dropdown is not clipped */
    display: flex;
    flex-direction: column;
    z-index: 100; /* Set z-index for header */
}

.header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the container */
    z-index: -1; /* Places the video behind the content */
}

@media (max-width: 700px) {
    .header {
        min-height: 7vh;
    }
}


/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 10px; /* Space between buttons */
    margin-left: auto; /* Push the buttons container to the right */
    margin-right: 30px; /* Adjust this value to move buttons slightly to the left */
    align-items: center; /* Align items vertically */
    margin-top: -45px;
}

.header-btn {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 20px;
    font-size: 14px;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
    margin-top: -10px; /* Adjust this value to align vertically */
    border-radius: 70px;
}

.header-btn:hover {
    border: 1px solid #CBE2B5;
    background: #CBE2B5;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    z-index: 1000; /* Ensure dropdown stays above header */
}

.dropdown-btn {
    cursor: pointer;
    color: #000000;
    text-decoration: none;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 2000; /* Ensure dropdown content stays on top */
    border: 1px solid #000000;
    top: 100%; /* Position dropdown below the button */
}

.dropdown .dropdown-content a{
    color: #002d13;
}

.dropdown-content a {
    color: #000000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #ffffff;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #CBE2B5;
    color: #002d13;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Dropdown Menu */
@media(max-width: 700px) {
    .dropdown-content {
        display: none;
        position: static; /* Remove absolute positioning */
        background-color: transparent; /* Remove background */
        box-shadow: none; /* Remove shadow */
        border: none; /* Remove border */
        width: 100%;
        padding: 0; /* Remove padding */
        margin: 0; /* Remove margin */
    }

    .dropdown-content.show {
        display: block;
    }

    .dropdown .dropdown-content a{
        color: #ffffff;
    }

    .dropdown-content a {
        padding: 10px; /* Adjust padding as needed */
        border: none; /* Remove border */
        text-decoration: none; /* Ensure no underline */
        color: #000; /* Text color */
        background: none; /* Ensure no background color */
        margin: 0; /* Remove margin */
        transition: none; /* Disable transition effects */
    }

    .dropdown-content a:hover {
        background-color: transparent; /* No hover background */
        color: #000; /* No hover color change */
    }
}


/* Info Bar */
.info-bar {
    background-color: #CBE2B5;
    color: #000000;
    text-align: left;
    padding: 5px 0;
    font-size: 14px;
}

.info-bar span {
    margin-right: 20px; /* Adjust the spacing as needed */
}

.info-bar span:last-child {
    margin-right: 0; /* Remove margin from the last item */
}

.info-bar p {
    margin: 0;
}

nav {
    background-color: #6C946F;
    display: flex;
    padding: 1% 4%;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


nav img {
    width: 135px;
}

.nav-links {
    flex: 1;
    margin-left: 50px;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #CBE2B5;
    display: block;
    margin: auto;
    transition: .5s;    
}

.nav-links ul li:hover::after {
    width: 100%;
}

nav .fa {
    display: none;
}

.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 42px;
    margin-left: 20px;
}

.text-box p {
    margin: 20px 0 40px;
    font-size: 14px;
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 45px;
    font-size: 16px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: 1s;
    margin-top: 15px;
}

.hero-btn:hover {
    border: 1px solid #1e5486;
    background: #2da1be;
}

@media (max-width: 700px) {
    .nav-links ul li {
        display: block;
    }


    .nav-links ul {
        padding: 30px;
    }

    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 20px;
    }

    .text-box h1 {
        font-size: 20px;
    }
}


/* Hide mobile-specific span */
.info-bar .mobile-view {
    display: none;
}

@media(max-width: 700px) {
    .header-buttons {
        display: none; /* Hide buttons on mobile */
    }

    .nav-links {
        position: fixed;
        background: #6C946F;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }

    .nav-links ul {
        padding: 30px;
    }

    nav .fa {
        display: block;
        color: #ffffff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 20px;
    }
}

@media(max-width: 700px) {
    .info-bar {
        text-align: center;
        padding: 10px 0;
    }

    .info-bar .desktop-view:nth-child(1) {
        display: block;
        text-align: center;
        margin-bottom: 5px;
    }

    .info-bar .desktop-view:nth-child(2),
    .info-bar .desktop-view:nth-child(3) {
        display: inline-block;
        margin-right: 10px;
    }
}


/* Footer */
.site-footer {
    background-color: #6C946F;
    color: #fff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
    .footer-container {
        justify-content: flex-end;
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
        margin-left: 30px;
    }
}

.site-footer p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    text-align: justify;
}



.footer-container {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-left: 30px;
}


.footer-container > div {
    flex: 1;
    max-width: 250px;
}

.footer-logo h3,
.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left; /* Aligns titles to the left */
}

.footer-logo p {
    text-align: justify;
    margin-left: -10px;
    color: white;
}

.footer-logo p,
.footer-contact p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    text-align: left; /* Ensures the text is also aligned to the left */
    color: white;
}

.footer-links ul,
.footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.footer-social ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-social ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    text-align: left; /* Aligns links to the left */
}

.footer-links ul li a:hover,
.footer-social ul li a:hover {
    text-decoration: underline;
    color: #CBE2B5;
}

.footer-social ul li a i {
    margin-right: 8px;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    border-top: 1px solid #5b805e;
    padding-top: 10px;
}


/* Adjustments for footer on mobile view */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start; /* Align items to the left */
        gap: 20px;
    }

    .footer-container > div {
        max-width: 100%;
        text-align: left; /* Align text to the left */
    }

    .footer-logo,
    .footer-links,
    .footer-contact,
    .footer-social {
        text-align: left; /* Ensure all footer sections align text to the left */
    }

    .footer-logo p,
    .footer-contact p {
        text-align: left; /* Align text to the left */
        margin-left: 0; /* Reset any left margin */
    }

    .footer-social ul li a {
        text-align: left; /* Align social links to the left */
    }
}

/* Map Contact */
.contact-map .container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    padding: 50px 0;
    width: 80%;
    margin: auto;
}

.contact-form, .google-map {
    width: 48%; /* Each takes up 48% to allow space between them */
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form .btn {
    padding: 10px 20px;
    background-color: #6C946F;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}

.contact-form .btn:hover {
    background-color: #CBE2B5;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.contact-map h2{
    color: #002d13;
}

@media (max-width: 768px) {
    .contact-map .container {
        flex-direction: column;
    }

    .contact-form, .google-map {
        width: 100%;
    }

    .contact-form {
        order: 1;
    }

    .google-map {
        order: 2;
        margin-top: 20px;
    }
}
