/* Hamburger Menu Styles */
.hamburger {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Ensure it's above other content */
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
    width: 100%;
    height: 4px;
    background-color: #fff; /* White color for the lines */
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background-color: #fff; /* White color for the lines */
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

/* Hamburger active state (when menu is open) */
.hamburger.is-active .hamburger-inner {
    /* No transform for cross, keep it as hamburger */
    background-color: #fff; /* Or a different color to indicate active state if desired */
}

.hamburger.is-active .hamburger-inner::before {
    /* No transform for cross */
    top: -10px;
}

.hamburger.is-active .hamburger-inner::after {
    /* No transform for cross */
    bottom: -10px;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .hamburger {
        display: block; /* Show hamburger on mobile */
        position: absolute;
        top: 15px; /* Adjust as needed */
        right: 20px; /* Adjust as needed */
    }

    .nav-links {
        display: none; /* Hide nav links by default on mobile */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Adjust based on navbar height */
        left: 0;
        background-color: #333; /* Background for dropdown */
        padding: 0;
    }

    .nav-links.active {
        display: flex; /* Show nav links when hamburger is active */
    }

    .nav-links li {
        text-align: center;
        padding: 15px 0;
        width: 100%;
    }

    .nav-links li a {
        display: block;
        width: 100%;
    }
}
