@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* --- Reset & Base --- */
* {
    font-family: "Poppins", sans-serif;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* --- Typography --- */
h1 {
    font-size: 70px;
}

h2 {
    font-size: 42px;
}

/* --- Navigation (Desktop) --- */
nav {
    position: fixed;
    width: 100%;
    padding: 2vh 0vh;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff69;
}

nav .mid_container {
    width: 80%;
    margin: 0px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .mid_container .logo {
    z-index: 1002;
    flex: 1;
}

nav .mid_container .nav_logo {
    width: 150px;
}

nav .mid_container .nav_links ul {
    display: flex;
    gap: 2vh;
}

nav .mid_container .nav_links ul li {
    list-style: none;
}

nav .mid_container .nav_links ul li a {
    text-decoration: none;
    list-style: none;
    color: #0B214B;
    transition: color 0.3s ease;
    font-weight: 300;
}

nav .mid_container .nav_links ul li a:hover {
    color: #1D7341;
}

/* --- Navigation (Scroll State) --- */
nav.scrolled {
    background-color: #1D7341;
    padding: 1vh 0vh;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav.scrolled .mid_container .nav_links ul li a {
    color: white;
}

nav.scrolled .hamburger .bar {
    background-color: white;
}

/* --- Navigation (Mobile) --- */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #0B214B;
}

@media screen and (max-width: 768px) {
    nav .mid_container {
        width: 80%;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: white;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: white;
    }

    nav .mid_container .nav_links {
        position: fixed;
        right: -100%;
        top: 0;
        background-color: #1D7341;
        width: 90%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: 0.3s;
        z-index: 1001;
    }

    nav .mid_container .nav_links.active {
        right: 0;
    }

    nav .mid_container .nav_links ul {
        flex-direction: column;
        gap: 30px;
    }

    nav .mid_container .nav_links ul li a {
        color: white;
        font-size: 1.5rem;
    }
}

/* --- Footer Section --- */
footer {
    background-color: #202020;
    /* Dark Blue Brand Color */
    color: #e0e0e0;
    padding: 8vh 0 2vh 0;
    font-size: 14px;
    background-image: url(../images/footer-logo.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 200px;
}

footer .mid_container {
    width: 80%;
    margin: 0px auto;
}

.footer_grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    /* Brand column is slightly wider */
    gap: 40px;
    margin-bottom: 5vh;
}

/* Footer Logos & Text */
.footer_logo {
    width: 140px;
    margin-bottom: 20px;
    /* Ensure logo is white/visible on dark bg */
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer_col p {
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 15px;
}

.footer_col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

/* Optional: Small green underscore under headings */
.footer_col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: #1D7341;
}

/* Footer Links */
.footer_col ul {
    list-style: none;
}

.footer_col ul li {
    margin-bottom: 12px;
}

.footer_col ul li a {
    text-decoration: none;
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.footer_col ul li a:hover {
    color: #1D7341;
    /* Green hover */
    padding-left: 5px;
    /* Slight shift effect */
}

/* Contact Links */
.contact_details a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

/* --- Footer Bottom Bar --- */
.footer_bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #7f8c8d;
    font-size: 13px;
}

.footer_bottom .right a {
    color: #7f8c8d;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer_bottom .right a:hover {
    color: #fff;
}

/* --- Mobile Responsive --- */
@media screen and (max-width: 1024px) {
    .footer_grid {
        grid-template-columns: 1fr 1fr;
        /* 2 columns on tablet */
    }
}

@media screen and (max-width: 600px) {
    .footer_grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        gap: 30px;
    }

    .footer_bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer_bottom .right a {
        margin: 0 10px;
    }
}