﻿
.BackgroundImage {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    z-index: 0;
}

    .BackgroundImage::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(56, 0, 0, 0.25);
        z-index: 1;
    }

.slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: right;
    right: 0;
    left: 0;
    padding: 2.5rem;
    z-index: 2;
    pointer-events: none;
    direction: rtl;
}

.overlay-content {
    max-width: 1200px;
    pointer-events: auto;
    background: rgba(0,0,0,0.08);
    color: #fff;
    padding: 1.2rem 1.4rem;
    border-radius: 12px;
    text-align: right;
    transform: translateY(16px);
    opacity: 0;
    transition: all 600ms cubic-bezier(.2,.8,.2,1);
}

.overlay-title {
    color: #F0F0F0;
    margin: 0 0 .35rem;
    line-height: 1.05;
}

.overlay-desc {
    font-size: 3rem;
    margin: 0 0 .8rem;
    color: rgba(255,255,255,0.92);
}

.overlay-btn {
    display: inline-block;
    padding: .5rem .9rem;
    border-radius: 8px;
    background: #ffd200;
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width:720px) {
    .overlay-content {
        max-width: 86%;
        padding: .9rem;
    }

    .overlay-title {
        color: #F0F0F0;
        /*font-size: 1.2rem;*/
    }

    .overlay-desc {
        font-size: 1.95rem;
    }

    .slide-overlay {
        padding: 1rem;
        justify-content: center;
    }
}

.elementor-element-4936e55d {
    padding-top: 70px;
    padding-bottom: 100px;
    padding-left: 60px;
    padding-right: 60px
}

@media(max-width:1400px) {
    .elementor-element-4936e55d {
        padding-top: 70px;
        padding-bottom: 70px;
        padding-left: 42px;
        padding-right: 90px
    }
}

@media(max-width:1024px) {
    .elementor-element-4936e55d {
        padding-top: 70px;
        padding-bottom: 70px;
        padding-left: 42px;
        padding-right: 42px
    }
}

@media(max-width:767px) {
    .elementor-36 .elementor-element.elementor-element-4936e55d {
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

/* enforce swiper full width inside its column */
.swiper2 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

    .swiper2 .swiper-wrapper, .swiper2 .swiper-slide {
        width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
    }

    .swiper2 .overlay-content {
        transform: translateY(16px);
        opacity: 0;
        transition: all .6s cubic-bezier(.2,.8,.2,1);
    }
/* اختياري - ضبط الصور لتغطي بالكامل */
.BackgroundImage {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}
/* تأكد أن الـ slides تأخذ ارتفاع مناسب */
.swiper2, .swiper2 .swiper-slide {
    min-height: 60vh;
}
