.gallery_images_section {
    padding: 60px 0;
    background: #f8f9fb;
    overflow: hidden;
}

.gallery_images_section .common_title .common_main_title::after {
    width: 380px;
    left: auto;
}

.gallery_images_section .common_title {
    padding: 10px 0 0 0;
}

.gallery_images_section .gallery_card {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery_images_section .gallery_card .image_wrapper {
    width: 100%;
    height: 250px;
}

.gallery_images_section .gallery_card .gallery_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: 0.3s;
}

.gallery_card:hover img {
    transform: scale(1.09);
}


/* Common Heading */
.common_heading {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.common_heading .common_subtitle {
    color: #f16625;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.6px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.common_heading .common_main_title {
    font-size: 45px;
    font-weight: 800;
    color: #202020;
    margin-bottom: 10px;
    position: relative;
}

.gallery_images_section .common_heading .common_main_title::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 1px;
    background: #153B89;
    bottom: -10px;
    /* left: 0; */
    right: 0;
    margin: auto;
}



.gallery_modal {}

.gallery_modal.active {
    display: flex;
}

.gallery_modal .modal_content {
    width: 90%;
    max-width: 500px;
    position: relative;
    border-radius: 15px;
}

.gallery_modal .modal_content img {
    width: 100%;
    border-radius: 10px;
}

.gallery_modal .close_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    border: none;
    background: #202020;
    border-radius: 50%;
    aspect-ratio: 1/1;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    z-index: 111;
}


.gallery_modal .owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 15px;
}


/* ============= Modal Swiper =============== */

.owl-nav {
    position: absolute;
    bottom: -30px;
    right: 10px;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  font-size: 60px !important;
  height: 30px;
  color: #fff !important;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}


/* =================== Media Queries ================== */


@media (min-width: 0px) and (max-width: 767.98px) {
    .gallery_images_section .common_title .common_main_title::after {
        width: 200px;
        left: 0;
    }

    .gallery_images_section {
        padding: 20px 0;
    }

    .gallery_images_section .gallery_card .gallery_img {
        object-fit: contain;
    }

    .common_heading {
        padding: 40px 0 30px;
    }

    .common_heading .common_main_title {
        font-size: 20px;
    }

    .common_heading .common_main_title::after {
        width: 120px;
    }

    .gallery_images_section .common_heading .common_main_title::after {
        width: 200px;
        left: 0;
    }

    .gallery_modal .owl-carousel .owl-item img {
        height: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .gallery_images_section .common_title .common_main_title::after {
        width: 350px;
    }

    .gallery_images_section {
        padding: 20px 0;
    }

    .gallery_images_section .gallery_card .gallery_img {
        object-fit: cover;
    }

    .common_heading .common_main_title {
        font-size: 33px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .gallery_banner .img_wrapper {
        height: 333px;
    }

    .common_heading .common_main_title {
        font-size: 40px;
    }
}