/*.carousel-caption h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 8px rgba(0,0,0,0.8);
}

.carousel-caption p {
    font-size: 1.1rem;
}

.carousel-caption a.btn {
    font-weight: 600;
}

.carousel-item img {
    transition: transform 10s ease;
}

.carousel-item.active img {
    transform: scale(1.05);
}
.slider-item {
    width: 100%;
    height: 70vh;
}

@media (max-width: 768px) {
    .slider-item {
        height: 45vh;
    }
}
.carousel-item {
    display: none;
}

    .carousel-item.active {
        display: block;
    }
*/
/* ===== Apple Green Navbar Buttons ===== */

:root {
    --apple: #2ECC71;
    --apple-dark: #27AE60;
    --apple-text: #1E8449;
}

/* تسجيل الدخول */
.apple-btn {
    background-color: var(--apple) !important;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
}

/* حساب جديد */
.apple-btn-outline {
    border: 2px solid var(--apple) !important;
    color: var(--apple-text) !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
}

/* مرحباً + خروج */
.apple-link {
    color: var(--apple-text) !important;
    font-weight: 600;
}
.navbar a.apple-btn-outline {
    color: #1E8449 !important;
    border: 2px solid #2ECC71 !important;
    background-color: transparent !important;
}
/*.navbar a {
    color: red !important;
}*/
/* ===== FORCE Apple Button (Override Bootstrap) ===== */
.navbar .apple-btn-outline {
    background-color: transparent !important;
    border: 2px solid #2ECC71 !important;
    color: #1E8449 !important;
}

    .navbar .apple-btn-outline:hover {
        background-color: #2ECC71 !important;
        color: #fff !important;
        border-color: #2ECC71 !important;
    }

/* ======= السلايدر ======= */
/* ======= السلايدر ======= */
.slider-item {
    width: 100vw;
    height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
}

#mainSlider .carousel-item {
    display: none;
    opacity: 0;
}

    #mainSlider .carousel-item.active {
        display: block;
        opacity: 1;
    }

/* caption */
.custom-caption {
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 12px 18px;
    border-radius: 8px;
    text-align: left;
    color: #000;
    /* hover effect */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slider-item:hover .custom-caption {
    opacity: 1;
    transform: translateY(0);
}

.custom-caption h5 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.custom-caption p {
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .custom-caption {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 8px 10px;
        opacity: 1; /* تظهر دائمًا على الجوال */
        transform: translateY(0);
    }

        .custom-caption h5 {
            font-size: 1rem;
        }

        .custom-caption p {
            font-size: 0.85rem;
        }
}

/* dots navigation */
.carousel-indicators {
    bottom: 10px;
}

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        border: none;
        margin: 0 4px;
        transition: background-color 0.3s ease;
    }

    .carousel-indicators .active {
        background-color: rgba(255, 255, 255, 1);
    }

.slider-item {
    height: 70vh; /* ارتفاع نسبي للشاشة */
    background-size: cover; /* يملأ العنصر مع الحفاظ على النسبة */
    background-position: center; /* ضع الصورة في المنتصف */
    background-repeat: no-repeat; /* لا تكرر الصورة */
}
.modal {
    z-index: 9999 !important;
}

.modal-backdrop {
    z-index: 9998 !important;
}