
html, body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: 'Inter', sans-serif;
}
body [lang="ar"],body.ar,body.ar .font-serif {
    direction: rtl;
    font-family: "Noto Kufi Arabic", sans-serif;
}
.font-serif {
    font-family: sans-serif;
}
.expand-menu {
    overflow: hidden;
    transition: width 0.5s ease-in-out, height 0.5s ease-in-out;
}

/* Desktop (width ≥ 768px) expands width */
@media (min-width: 768px) {
    .expand-menu {
        width: 80px; /* collapsed width */
        height: auto; /* no height animation */
    }
    .expand-menu:hover {
        width: 500px;
    }
}

/* Mobile (width < 768px) expands height */
@media (max-width: 767px) {
    .expand-menu {
        height: 50px; /* collapsed height */
        width: 100%; /* full width */
    }
    .expand-menu:hover {
        height: 2048px; /* expanded height */
    }
}

.menu-content {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.expand-menu:hover .menu-content {
    opacity: 1;
}

.highlighted-section {
    outline: 2px solid #3F20FB;
    background-color: rgba(63, 32, 251, 0.1);
}
/* Preserve Font Awesome icons */
.fa, .fas, .far, .fal, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

.edit-button {
    position: absolute;
    z-index: 1000;
}

::-webkit-scrollbar {
    display: none;
}

.bg-swipe {
    background-image: linear-gradient(to right, transparent 50%, rgba(255, 215, 0, 0.2) 50%);
    background-size: 200% 100%;
    background-position: left bottom;
    transition: background-position 0.4s ease-out;
}
.bg-swipe:hover {
    background-position: right bottom;
}

.bg-video {
    opacity:1;
    filter: sepia(1) saturate(2);
    animation: floatVideo 20s ease-in-out infinite;
}

.glow-gold-animated:hover {
    border: 1px solid rgb(255, 215, 0);
    border-radius: 8px;
    animation: goldPulse 2.5s ease-in-out infinite;
}
.glow-gold-animated:hover .bg-black\/50 {
    background-color: rgb(0 0 0 / 71%);
}
.glow-gold-animated:hover h3 {
    filter: blur(1px);
    opacity: 0.3;
}

@keyframes goldPulse {
    0%, 100% {
        box-shadow: 0 0 6px rgba(255, 215, 0, 0.6),
        0 0 4px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 12px rgba(255, 215, 0, 0.9),
        0 0 8px rgba(255, 215, 0, 0.4);
    }
}


@keyframes floatVideo {
    0%, 100% {
        transform: translate(0, 0) scale(1.05);
    }
    50% {
        transform: translate(-20px, -15px) scale(1.1);
    }
}