@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&family=El+Messiri:wght@400;500;600;700&display=swap');

:root {
    --primary: #89191D;
    --second: #C79A55;
}

/* Animation for LTR (Scrolls left) */
@keyframes marquee-ltr {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Animation for RTL (Scrolls right) */
@keyframes marquee-rtl {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(50%);
    }
}

.animate-marquee {
    display: inline-block;
    animation: marquee-ltr 20s linear infinite;
}

[dir="rtl"] .animate-marquee {
    animation-name: marquee-rtl;
}

.hero-swiper .swiper-pagination-bullet {
    background: #F8F3EC;
    opacity: 0.4;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
    width: 24px;
    border-radius: 9999px;
    transition: all 0.3s ease;
}


/* Global Navigation Buttons (RTL friendly: next=left, prev=right) */
.swiper-btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #FFFFFF;
    color: #1B1714;
    border-radius: 9999px;
    border: 1px solid rgba(239, 230, 220, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.swiper-btn-nav:hover {
    background-color: #89191D;
    color: #FFFFFF;
    border-color: #89191D;
}

/* Positioning buttons slightly overflowing section boundaries */
.swiper-btn-next {
    left: -0.75rem;
}

.swiper-btn-prev {
    right: -0.75rem;
}

@media (min-width: 640px) {
    .swiper-btn-nav {
        width: 2.75rem;
        height: 2.75rem;
    }

    .swiper-btn-next {
        left: -1.25rem;
    }

    .swiper-btn-prev {
        right: -1.25rem;
    }
}

/* Global Swiper Pagination */
.swiper-pagination-bullet {
    background: #F8F3EC;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background: #89191D;
    opacity: 1;
    width: 24px;
    border-radius: 9999px;
    transition: all 0.3s ease;
}