@media (max-width: 800px) {

    /* Base header adjustments */
    .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 115px;
        /* taller for spacing */
        padding: 0 16px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: #000;
        gap: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    /* Logo larger */
    .logo img {
        height: 120px;
        width: auto;
    }

    .hamburger {
        display: flex;
    }

    /* Hamburger button */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        border: none;
        background: none;
        cursor: pointer;
        padding: 0;
        z-index: 1100;
    }

    .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Hide desktop nav by default on mobile */
    .nav-left {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.95);
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 1000;
    }

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

    /* Nav links */
    .nav-left a,
    .nav-left .dropbtn {
        font-size: 20px;
        color: #fff;
    }

    /* Dropdown stacking */
    .nav-left .dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: transform 0.3s ease;
    }

    /* Dropdown content */
    .nav-left .dropdown-content {
        position: static;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: none;
        box-shadow: none;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        margin-top: 8px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Open dropdown */
    .nav-left .dropdown.show .dropdown-content {
        max-height: 80vh;
        opacity: 1;
    }


    .header.active .hamburger span:nth-child(1) {
        transform: rotate(45deg) translateY(11px) translateX(5px);
    }

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

    .header.active .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translateY(-7px);
    }

    .logo {
        padding-right: 30px;
    }

    /* Donate button style */
    #donate {
        font-size: 16px;
        padding: 12px 20px;
        background: rgb(225, 0, 255);
        border-radius: 8px;
        text-decoration: none;
        margin-right: 30px;
    }


}

/* Modern spacing for very small screens */
@media (max-width: 360px) {
    .header {
        padding: 0 12px;
        height: 65px;
    }

    .logo img {
        height: 45px;
    }
}