﻿
/* About Us*/
.services_photo {
    height: 245px;
    width: 356px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

/* محتوى المودال */
.modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 900px; /* عرض ثابت */
    height: 600px; /* ارتفاع ثابت */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.5);
    animation: fadeIn 0.4s ease-in-out;
}

/* إغلاق */
.close {
    position: absolute;
    top: 19px;
    background-color: #39450075;
    right: 18px;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    padding: 7px 11px;
    transition: 0.3s;
    z-index: 9999;
    cursor: pointer;
    border-radius: 38px;
}

    .close:hover {
        color: red;
    }

/* السلايدر */
.slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-wrapper {
    width: 100%;
    text-align: center;
}

.slider-img {
    max-width: 97%;
    max-height: 124vh;
    display: none;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.4);
    margin: auto;
    height: 570px;
}

/* أزرار التنقل */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 18px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    transition: 0.3s;
    user-select: none;
}

    .prev:hover, .next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.prev {
    left: 15px;
}

.next {
    right: 15px;
}
.image-container {
    position: relative;
    display: inline-block;
}

.view-more-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 8px 10px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

    .view-more-icon:hover {
        background: rgba(0,0,0,0.9);
        transform: scale(1.1);
    }

/* حركة دخول */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}