* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    scrollbar-width: none;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: clip;
}

html{
    scroll-behavior: smooth;
}

/* Navbar Base Styles */
nav {
    height: 70px;
    background-color: #2E7D32;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: hidden;
}

.logo-container {
    display: flex;
    min-width: 20%;
    gap: 10px;
    justify-content: center;
    align-items: center;
    background-color: #E8F5E9;
    flex-shrink: 0;
    padding: 0 15px;
}

.logo {
    height: 70px;
}

.name {
    color: #194613;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 4px;
    line-height: 1.2;
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
    transition: transform 0.4s ease-in-out;
}

.nav-menu li {
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #C8E6C9;
    font-weight: bold;
    font-size: 17px;
    padding: 10px 15px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #D5E222;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hamburger Icon */
.hamburger-container {
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: #C8E6C9;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger to X Animation */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

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

/* Overlay when menu is open */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

/* ================== RESPONSIVE DESIGN ================== */

/* Tablet & Mobile */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .logo-container{
        justify-content: flex-start;
        flex: 1;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;                    /* Hidden off-screen */
        height: 100vh;
        width: 276px;
        background-color: #2E7D32;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.4);
        transition: right 0.4s ease-in-out;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;                        /* Slide in from right */
    }

    .nav-menu li {
        text-align: center;
    }

    .nav-link {
        font-size: 20px;
        color: #C8E6C9;
        display: block;
        padding: 15px;
    }

    .nav-link:hover {
        color: #D5E222;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    /* Optional: Reduce logo text size on smaller screens */
    .name {
        font-size: 12px;
        letter-spacing: 3px;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .logo-container {
        min-width: auto;
        padding: 0 10px;
    }

}

/* Footer */
footer{
    background: url('../images/footer-bg.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-logo img {
    width: 100px;
}

.footer-logo h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-nav {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
}

.footer-nav a {
    color: #fff;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: #d4ffd4;
}

.footer-social {
    display: flex;
    width: 90%;
    justify-content: end;
    gap: 15px;
}

.footer-social img {
    width: 28px;
    height: 28px;
    filter: brightness(100%);
    transition: 0.3s;
}

.footer-social img:hover {
    filter: brightness(80%);
}

.footer-line {
    width: 90%;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-copy {
    font-size: 0.8rem;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .footer-nav {
        gap: 10px;
    }

}


/* Banner */
.banner-container{
    flex: 1;
    width: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.page-banner{
    margin-top: 16px;
    background: url('../images/banner-bg.jpg') center/cover no-repeat;
    color: #D4FFD6;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex: 1;
}

.banner-description{
    padding: 0 100px;
    color: #222;
}

.page-banner .title{
    font-size: 100px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .page-banner .title {
        font-size: 50px;
    }
    .banner-description {
        padding: 0 40px;
    }
}