/* Gallery-Section-start */
.gallery-section {
    padding: 60px 0 80px;
}

.gallery-section .heading-center {
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 16px;
}


.gallery-item-large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}


.gallery-right {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 10px 0;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #e8edf3;
}


.gallery-item img,
.gallery-item-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-item:hover img,
.gallery-item-large:hover img {
    transform: scale(1.06);
}

.gallery-item::after,
.gallery-item-large::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 96, 233, 0) 60%, rgba(4, 96, 233, 0.18) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 16px;
}

.gallery-item:hover::after,
.gallery-item-large:hover::after {
    opacity: 1;
}

.gallery-item-large {
    min-height: 460px;
        padding: 10px 0;
}

.gallery-item {
    min-height: 215px;
}

@media (max-width: 1440px) {
    .gallery-item-large {
        min-height: 420px;
    }

    .gallery-item {
        min-height: 195px;
    }
}

@media (max-width: 1199.98px) {
    .gallery-section {
        padding: 50px 0 70px;
    }

    .gallery-item-large {
        min-height: 360px;
    }

    .gallery-item {
        min-height: 168px;
    }
}

@media (max-width: 991.98px) {
    .gallery-section {
        padding: 40px 0 60px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item-large {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        min-height: 300px;
    }

    .gallery-right {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        grid-template-columns: 1fr 1fr;
        min-height: unset;
    }

    .gallery-item {
        min-height: 170px;
    }
}
@media (max-width: 767.98px) {
    .gallery-section {
        padding: 30px 0 50px;
    }

    .gallery-grid {
        gap: 12px;
    }

    .gallery-right {
        gap: 12px;
    }

    .gallery-item-large {
        min-height: 250px;
    }

    .gallery-item {
        min-height: 140px;
    }

    .gallery-item,
    .gallery-item-large {
        border-radius: 12px;
    }
}
@media (max-width: 480px) {
    .gallery-grid {
        gap: 10px;
    }

    .gallery-right {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gallery-item-large {
        min-height: 200px;
    }

    .gallery-item {
        min-height: 110px;
    }

    .gallery-item,
    .gallery-item-large {
        border-radius: 10px;
    }
}
.gallery-item,
.gallery-item-large {
    margin: 0;
}

/* Gallery-Section-end */

/* cta css stsrt */
section.section-six {
    position: relative;
}

 .section-six-box {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
    border-radius: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-six-box::before {
    content: "";
    top: 0px;
    right: 0px;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: url('../images/MERN/section-eleven-bg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

 section.section-six .contain-width:before {
    background: none;
}

 section.section-six .contain-width {
    padding: 0;
}

 section.section-six h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

 section.section-six h2 span {
    background:#fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

 .section-six-box a {
    display: inline-block;
    width: auto !important;
    padding: 10px;
    font-size: 18px;
}

.social-icon {
    background: rgb(255 255 255 / 21%);
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.social-icon:hover {
    transform: scale(1.2);
}

.social-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 30px;
}

@media (max-width: 1440px) {
     section.section-six h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    section.section-six {
        padding: 0px 0px;
    }
}
/* cta css end */