.gallery {

    padding: 100px 0;
    background: #fff;

}



.gallery-title {

    text-align: center;
    margin-bottom: 60px;

}



.gallery-title h2 {

    font-size: 42px;
    font-weight: 700;

}



.gallery-title p {

    color: #777;
    margin-top: 15px;

}



.gallery-wrapper {

    width: 90%;
    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 35px;

}



.gallery-card {

    background: white;

}



.image-box {

    width: 100%;
    height: 360px;

    overflow: hidden;

}



.image-box img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s;

}



.gallery-card:hover img {

    transform: scale(1.05);

}



.gallery-text {

    padding: 20px 5px;

    text-align: right;

}



.gallery-text h3 {

    font-size: 22px;

    margin-bottom: 8px;

}



.gallery-text span {

    color: #999;

    font-size: 14px;

}



@media(max-width:992px) {

    .gallery-wrapper {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media(max-width:600px) {

    .gallery-wrapper {

        grid-template-columns: 1fr;

    }


    .image-box {

        height: 300px;

    }

}
.navbar{
    background: #0a0a0a !important;
}
.cursor-pointer{
    cursor: pointer !important;
}
.gallery-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.03);
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, 0.85);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;

    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.image-modal.active img {
    transform: scale(1);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

