﻿
.content img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.galleryLogo-item {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

    .galleryLogo-item:hover {
        transform: scale(1.03);
    }

    .galleryLogo-item img {
        width: 80%;
        height: auto;
    }

    .galleryLogo-item:hover img {
        transform: scale(1.1); /* Zooms in slightly */
    }

    .galleryLogo-item .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0; /* Hidden by default */
        transition: opacity 0.5s ease-in-out; /* Smooth transition */
        display: flex; /* Use flexbox for easy centering of content */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }

    .galleryLogo-item:hover .overlay {
        opacity: 1; /* Show the overlay on hover */
    }


.galleryLogo-title {
    padding: 20px 0;
    margin-bottom: 40px;
    color: #423e3e;
    line-height: 20px;
    max-width: 80%;
    font-size: 14px;
    font-weight: 500;
}
/* ===============================
   Logos Slider Navigation (Under)
================================ */
/* Wrapper */
.logos-slider-wrapper {
}

/* الأزرار تحت السلايدر */
.custom-nav-under {
    width: 100%;
    display: flex;
    justify-content: space-between; /* يمين + يسار */
    align-items: center;
    margin-top: 15px;
    padding: 0 15px;
}

/* شكل الزر */
.custom-prev,
.custom-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #f1f1f1;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .custom-prev:hover,
    .custom-next:hover {
        background: #fff;
        transform: translateY(-2px);
    }
/* ======= تعديل عرض السلايدر على الهاتف ======= */
@media (max-width: 767px) {
    .logos-slider .owl-item {
        display: flex !important;
        justify-content: center; /* توسيط الأفقي */
        align-items: center; /* توسيط العمودي */
    }

    .galleryLogo-item {
        display: flex;
        flex-direction: column;
        align-items: center; /* توسيط المحتوى أفقيًا */
        justify-content: center; /* توسيط المحتوى عموديًا */
        text-align: center;
        margin: 0 auto;
    }

        .galleryLogo-item img {
            width: 60%; /* حجم مناسب على الهاتف */
            height: auto;
            margin-bottom: 10px;
        }

    .galleryLogo-title {
        font-size: 14px; /* تصغير النص قليلاً */
        line-height: 1.3;
        max-width: 90%;
        text-align: center;
        margin: 0 auto;
    }

    /* توسيط أزرار التنقل أسفل السلايدر */
    .custom-nav-under {
        justify-content: center;
        gap: 20px;
        padding: 0;
        margin-top: 10px;
    }
}


