/* Responsive adjustments for iframe embedding */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll; /* Fixes fixed background issues in some mobile iframes */
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}
body {
    font-family: 'Cairo', sans-serif;
    background-color: #F8F9FA;
    overflow-x: hidden;
    max-width: 100%;
}
/* Fade in animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 50;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Hero Background Overlay */
.hero-bg {
    background-color: #0B192C; /* fallback color */
    background-image: linear-gradient(rgba(11, 25, 44, 0.88), rgba(11, 25, 44, 0.88)), url('../images/heroImage.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Custom Swiper Pagination Color */
.swiper-pagination-bullet-active {
    background: #D4AF37 !important;
}
.swiper-slide {
    height: auto;
}