/* Text With Button */
section.gallery-text-with-button {
    text-align: center;
    padding-top: 50px;
}

.gallery-text-with-button .content-wrapper {
    margin: auto;
    width: 1440px;
}

.gallery-text-with-button .content-wrapper h2 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 42px;
    color: #1b3b6b;
    margin: auto;
    margin-bottom: 20px;
}

.gallery-text-with-button .content-wrapper p {
    font-size: 18px;
}

.gallery-text-with-button .content-wrapper .btn {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    background: #1b3c6f;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-top: 100px;
    transition: all 0.3s ease;
}

html .gallery-text-with-button .content-wrapper a.btn:focus {
    background: #1b3c6f;
    text-decoration: unset;
}

.gallery-text-with-button .content-wrapper .btn:hover i {
    transform: translateX(5px);
}

.gallery-text-with-button .content-wrapper .btn i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.gallery-text-with-button .gallery-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    padding-top: 50px;
}

.gallery-text-with-button .gallery-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-text-with-button .image-gallery {
    padding-top: 50px;
}

.image-gallery img {
    margin-right: 20px;
}

html .gallery-text-with-button .image-gallery .slick-prev,
html .gallery-text-with-button .image-gallery .slick-next {
    display: none !important;
}

/* Position the dots underneath the images */
.gallery-text-with-button .image-gallery .slick-dots {
    position: relative;
    bottom: -30px;
    z-index: 1;
    padding: 0;
}

/* Center dots horizontally */
.gallery-text-with-button .image-gallery .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.gallery-text-with-button .image-gallery .slick-dots li.slick-active button {
    background: #169d53 !important;
}

/* Style for dots (optional) */
.gallery-text-with-button .image-gallery .slick-dots li button {
    font-size: 0;
    /* Hide dot text */
    width: 10px;
    height: 10px;
    background-color: #1b3b6b !important;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
}

/* Style for active dot (optional) */
.gallery-text-with-button .image-gallery .slick-dots li.slick-active button {
    background-color: #ccc;
}

.gallery-text-with-button .image-gallery .slick-track img {
    height: 400px;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 1440px) {
    .gallery-text-with-button .content-wrapper {
        width: 1300px;
    }

    .gallery-text-with-button .content-wrapper p {
        font-size: 16px;
    }

    .gallery-text-with-button .content-wrapper .btn {
        font-size: 16px;
    }
}

@media (max-width: 1340px) {
    .gallery-text-with-button .content-wrapper {
        width: 1200px;
    }

    .gallery-text-with-button .content-wrapper h2 {
        font-size: 38px;
    }

    .gallery-text-with-button .content-wrapper .btn {
        font-size: 14px;
    }
}

@media (max-width: 1279px) {
    section.gallery-text-with-button {
        padding-top: 0;
        margin-top: -50px;
    }

    .gallery-text-with-button .content-wrapper {
        width: unset;
        padding: 0 40px;
    }

    .image-gallery img {
        margin-right: 0;
    }
}

@media (max-width: 992px) {
    .gallery-text-with-button .image-gallery-slider .gallery-text-with-button .slick-list {
        width: 800px;
        margin: auto;
    }
}

@media (max-width: 767px) {
    section.gallery-text-with-button {
        padding-top: 30px;
        margin-top: 0;
    }

    .gallery-text-with-button .content-wrapper {
        width: unset;
        padding: 0 20px;
    }

    .gallery-text-with-button .content-wrapper h2 {
        font-size: 32px;
        line-height: 35px;
    }

    .gallery-text-with-button .content-wrapper p {
        font-size: 12px;
    }

    .gallery-text-with-button .content-wrapper .btn {
        font-size: 12px;
        margin-top: 80px;
    }

    .gallery-text-with-button .image-gallery .slick-track img {
        height: 200px;
    }
}

