﻿/* Ảnh trong slide */
.education-slide img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
}

.office-gallery-container {
    margin-top: 2%;
    margin-bottom: 2%;
}

.office-gallery-container .service-more {
    margin-top: 1rem;
}

    .education-slide img:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

/* Lightbox overlay */
.education-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

    /* Ảnh phóng to */
    .education-lightbox img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 10px;
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
        transition: transform 0.3s ease;
    }

/* Nút đóng */
.education-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    z-index: 10000;
}

/* Nút điều hướng */
.education-lightbox-prev,
.education-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    transition: background 0.3s;
    z-index: 10000;
}

@media (max-width: 992px) {
    .education-lightbox-prev,
    .education-lightbox-next {
        font-size: 16px;
        padding: 8px 12px;
    }
}

    .education-lightbox-prev:hover,
    .education-lightbox-next:hover {
        background: rgba(0, 0, 0, 0.7);
    }

.education-lightbox-prev {
    left: 30px;
}

.education-lightbox-next {
    right: 30px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
