.agvani-gallery-section {
    padding: 135px 0 50px;
    background: #fff;
}

.agvani-gallery-heading {
    max-width: 800px;
    margin: 0 auto 45px;
}

.gallery-subtitle {
    display: inline-block;
    color: #8b6846;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.agvani-gallery-heading h2 {
    color: #27231f;
    font-size: 45px;
    font-weight: 600;
    margin-bottom: 8px;
}

.agvani-gallery-heading p {
    color: #77716a;
    font-size: 17px;
    line-height: 28px;
}

.agvani-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 18px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    background: #eee;
}

.gallery-item-large {
    grid-row: span 2;
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}



@media (max-width: 991px) {
    .agvani-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 230px;
    }

    .gallery-item-large {
        grid-row: span 1;
    }
}

@media (max-width: 575px) {
    .agvani-gallery-section {
        padding: 125px 0 50px;
    }

    .agvani-gallery-heading h2 {
        font-size: 28px;
    }

    .agvani-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 165px;
        gap: 10px;
    }
}