gallery-section {

    background-color: #ffffff;
    border-radius: 15px;
    margin-bottom: 10px;
    margin-top: 5px;
    overflow: hidden;

}


.gallery-page-content {

    padding: 20px 0 !important;

}


/* =========================================================
   GALLERY TITLE
   ========================================================= */

.gallery-title {

    font-size: 25px;
    text-align: center;
    margin-bottom: 30px !important;

}


/* =========================================================
   OWL CAROUSEL
   ========================================================= */

.photo-gallery {

    width: 100%;

}


/*
|--------------------------------------------------------------------------
| Gallery Item
|--------------------------------------------------------------------------
|
| এখানে width দেওয়া যাবে না।
| Owl Carousel নিজেই প্রতিটি item-এর width control করবে।
|
*/

.photo-gallery .gallery-item {

    padding: 8px;
    box-sizing: border-box;

}


/* =========================================================
   GALLERY BOX
   ========================================================= */

.photo-gallery .gallery-box {

    width: 100%;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 5px;
    overflow: hidden;
    transition: all 0.3s ease;

}


.photo-gallery .gallery-box:hover {

    border-color: #155B30;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);

}


/* =========================================================
   IMAGE WRAPPER
   ========================================================= */

.gallery-image-wrapper {

    width: 100%;
    /*height: 200px;*/
    overflow: hidden;
    border-radius: 4px;

}


.gallery-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 18px;
    padding: 0px 10px;
}


/* =========================================================
   IMAGE HOVER
   ========================================================= */

.gallery-image-wrapper:hover img {

    border: 1px solid #a0cae33d;

}


/* =========================================================
   IMAGE TITLE
   ========================================================= */

.image-title {

    width: 100%;

    min-height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 8px;

    font-size: 16px;

    font-weight: 600;

    color: #333;

    line-height: 1.4;

}


.gallery-box:hover .image-title {

    color: #155B30;

}


/* =========================================================
   OWL NAVIGATION
   ========================================================= */

.photo-gallery .owl-nav button {

    font-size: 28px !important;

}


.photo-gallery .owl-nav button:hover {

    background: transparent !important;

}


/* =========================================================
   FANCYBOX TITLE
   ========================================================= */

.fancybox-title {

    font-size: 16px !important;

    font-weight: 600 !important;

    text-align: center !important;

    color: #000 !important;

    padding: 10px 15px !important;

}


/* =========================================================
   DESKTOP
   4 ITEMS
   ========================================================= */

@media (min-width: 1000px) {

    .photo-gallery .gallery-item {

        padding: 8px;

    }

    .gallery-image-wrapper {

        /*height: 200px;*/

    }

}


/* =========================================================
   TABLET
   3 ITEMS
   ========================================================= */

@media (min-width: 600px) and (max-width: 999px) {

    .photo-gallery .gallery-item {

        padding: 7px;

    }

    .gallery-image-wrapper {

        /*height: 180px;*/

    }

}


/* =========================================================
   MOBILE
   2 ITEMS
   ========================================================= */

@media (max-width: 599px) {

    .gallery-section {

        margin-top: -20px;
        border-radius: 10px;

    }


    .gallery-page-content {

        padding: 15px 5px !important;

    }


    .gallery-title {

        font-size: 22px;
        margin-bottom: 20px !important;

    }


    .photo-gallery .gallery-item {

        padding: 5px;

    }


    .photo-gallery .gallery-box {

        padding: 4px;

    }


    .gallery-image-wrapper {

        /*height: 130px;*/

    }


    .image-title {

        font-size: 13px;
        min-height: 48px;

    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .gallery-image-wrapper {

        /*height: 110px;*/

    }


    .image-title {

        font-size: 12px;
        min-height: 42px;

    }

}