/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    padding-top: 70px;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 90px;
}


.navbar.shrink {
    padding: 10px 30px;
    height: 70px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c9942;
    white-space: nowrap;
    display: flex;
}

/* Navbar Menu */
.navbar .menu {
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 800px;
}

.navbar .menu a {
    text-decoration: none;
    color: #102c0c;
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.navbar .menu a:hover {
    background: #2c9942;
    transform: scale(1.05);
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #2c9942;
    padding: 10px;
    position: absolute;
    right: 15px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        justify-content: flex-start;
    }

    .navbar.shrink {
        padding: 10px 20px;
    }

    .menu-toggle {
        display: block;
    }
    
    .navbar .menu {
        display: flex;
        flex-direction: column;
        align-items: center; /* Ensure menu items are centered */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        padding: 15px 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    }
    
    .navbar .menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar .menu a {
        
        font-size: 1.2rem;
        text-align: center;
    }
}

@media (min-width: 769px) { /* This applies only on desktop */
    .navbar .logo {
        transform: translateX(-70px); /* Moves logo left ONLY on desktop */
    }
}