.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 1001;
}

.close-btn:hover {
    color: #ff4d4d;
    transform: scale(1.1);
}
   .nav-menu ._image_1l0lr_1 img{
        width: 30%;
        max-width: 50%;
    }
/* Disable scrolling when menu is open */
.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* Sidebar */
.nav-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #222;
    color: white;
    transition: left 0.3s ease-in-out;
    padding: 20px;
    z-index: 1001;
    overflow-y: auto;
}

.nav-menu.active {
    left: 0;
}

/* Menu List */
.menu-list {
    margin-top: 20px;
}

.menu-link {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.menu-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Background Blur */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    z-index: 1000;
}

.menu-backdrop.active {
    display: block;
}

/* Toggle Button */
.menu-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    z-index: 1002;
}

/* Make sure the button is visible */
.menu-toggle .bar {
    width: 35px;
    height: 4px;
    background: black;
    transition: all 0.3s ease-in-out;
}

/* Cross Icon Animation */
.menu-toggle.open .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}



 
.rotate-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.rotate-logo img {
    width: 50%;
    max-width: 70%;
    animation: rotate 15s linear infinite; /* Rotate continuously */
}

/* Rotation Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}