/* Navbar styles */
/* Navbar Styles */
.navbar {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 8px 0px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0.5rem;
}

.navbar-logo {
    font-weight: 700;
    color: var(--primary-blue-dark);
    font-size: 1.8rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar-menu {
    display: flex;
    gap: 2rem;
}

.navbar-menu-item {
    color: var(--primary-blue);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-menu-item:hover {
    color: var(--secondary-orange);
    transform: translateY(-2px);
}

.navbar-menu-item.active {
    color: var(--secondary-orange);
    font-weight: 600;
    position: relative;
}

.navbar-menu-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-orange);
}

.login-signup-btn {
    background-color: var(--secondary-orange);
    color: var(--text-color-dark);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-signup-btn:hover {
    background-color: var(--secondary-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Mobile Menu */
.mobile-menu-button {
    display: none;
    color: var(--primary-blue-dark);
    font-size: 2rem;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* .mobile-menu {
    display: none;
    background-color: var(--primary-blue);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.mobile-menu.active {
    display: flex;
} */


.mobile-menu {
    display: flex;                /* <== Ensure it's a flex container */
    flex-direction: column;       /* <== Stack items vertically */
    align-items: center;
    justify-content: center;
    
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;

    background-color: var(--primary-blue);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.mobile-menu.active {
    max-height: 500px; /* Adjust if needed */
    opacity: 1;
    transform: translateY(0);
    padding: 1rem 0;
}


.mobile-menu-item {
    color: var(--text-color-light);
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-menu-item:hover {
    background-color: var(--primary-blue-dark);
}

.mobile-menu-item.active {
    background-color: var(--primary-blue-dark);
    font-weight: 600;
}

.mobile-login-btn {
    background-color: var(--secondary-orange);
    color: var(--text-color-dark);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    width: 80%;
    text-align: center;
}

.mobile-login-btn:hover {
    background-color: var(--secondary-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}