.speciality-banner-wrap img{
    display:block;
    width: 100%;
}
.gallery-bg{
    background: linear-gradient(90deg, #034EA1 0%, #00B7AC 100%);
box-shadow: 5px 5px 50px rgba(0, 0, 0, 0.25);
border-radius: 20px;
padding-top: 50px;
margin-top: -80px;
position: relative;
}
.gallery{
    padding: 0 50px;
}
.gallery-bg h1{
    font-family: 'MontserratEB';
font-weight: 700;
font-size: 42px;
line-height: 51px;
text-align: center;
color: #FFFFFF;
margin-bottom: 30px;

}
.gallery-mob-slide{
    display: none;
}
.gallery-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}
.gallery-img{
    border-radius: 10px;
    overflow: hidden;
}
.gallery-img img{
    width: 100%;
    display: block;
}
.gallery-tab .panel-default{
    border: none;
}
.gallery-tab .panel{
    background: none;
}
.gallery-tab .panel-default>.panel-heading{
    background: none;
}
.gallery-tab .nav-tabs>li a{
    width: 140px;
    height: 40px;
    font-size: 16px;
    color: #fff;
    border-radius:3px;
    border: 1px solid #fff;
    display: inline-block;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
}
.nav-tabs>li.active>a, .gallery-tab .nav-tabs>li.active>a:focus, .gallery-tab .nav-tabs>li.active>a:hover{
    background: #00B7AC;
    border-color: #00B7AC;
    color: #fff;
}
.gallery-tab .nav-tabs>li a:hover{
    background: #00B7AC;
    border-color: #00B7AC;
    color: #fff;
}
.gallery-tab .nav-tabs{
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-tab .panel-heading{
    border-bottom: none;
}
.gallery-tab .thumbnail{
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    border-radius: 0;
}
/* Modal */
.gallery-modal .modal-lg{
    width: 560px;
}
.gallery-modal {
    text-align: center;
    padding: 0!important;
    background: #000000b1;
  }
  
  .gallery-modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px; /* Adjusts for spacing */
  }
  
  .gallery-modal .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
  }
.gallery-modal .modal-body {
    position: relative;
    padding: 30px;
    height: auto !important ;
    overflow: auto !important;
}
.gallery-modal .modal-body img{
    display: block;
    width: 100%;
}
.gallery-modal .modal-header{
    padding: 0;
    border: none;
    position: relative;
}
.gallery-modal button.close{
    position: absolute;
    right: 10px;
    top: 2px;
    margin: 0 !important;
    z-index: 9;
}
.gallery-modal .close{
    opacity: 1 !important;
}
.gallery-modal .close span{
    font-size: 20px;
}
.gallery-modal .modal-content{
    border: none;
    border-radius: 0;
}
.gallery-modal #image-gallery-image{
    width: 100%;
    border-radius: 3px;
}
.gallery-modal #show-previous-image{
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 99;
}
.gallery-modal {
    text-align: center;
    padding: 0!important;
  }
  
  .gallery-modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px; /* Adjusts for spacing */
  }
  
  .gallery-modal .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
  }
#show-next-image{
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 99;
}
.modal-arrow button{
    background: #034EA1;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    border: none;
    box-shadow: none;
}
.modal-arrow button i{
    color: #fff;
}
.view-btn{
    text-align: center;
}
.view-btn a{
    padding: 5px 35px;
    color: #fff;
    background: #034EA1;
    display: inline-block;
    margin-top: 20px;
    border-radius: 3px;
    cursor: pointer;

}
.gallery-list-view-all{
    margin-top: 30px;
    display: none;
}
.gal-left-arrow{
    position: absolute;
    left: 0;
    top: 50%;
}
.gal-rgt-arrow{
    position: absolute;
    right: 0;
    top: 50%;
}
@media (max-width:991px){
    .gallery {
        padding: 0px 5px;
    }
}
@media (max-width:767px){
    .gallery-bg {
        background: linear-gradient(90deg, #034EA1 0%, #00B7AC 100%);
        box-shadow: 5px 5px 50px rgb(0 0 0 / 25%);
        border-radius: 20px;
        padding-top: 24px;
        margin-top: -30px;
        position: relative;
    }
    .gallery-tab .nav-tabs>li a {
        width: 90px;
        height: 40px;
        font-size: 13px;
    }
}
@media (max-width:499px){
    .gallery-bg h1 {
        font-family: 'MontserratEB';
        font-weight: 700;
        font-size: 20px;
        line-height: 14px;
        text-align: center;
        color: #FFFFFF;
        margin-bottom: 30px;
    }
    .gallery-bg {
        background: linear-gradient(90deg, #034EA1 0%, #00B7AC 100%);
        box-shadow: 5px 5px 50px rgb(0 0 0 / 25%);
        border-radius: 0;
        padding-top: 24px;
        margin-top: 0;
        position: relative;
    }
    .gallery {
        padding: 0;
    }
    .gallery-bg h1{
        margin-bottom: 10px;
    }
    .gallery-tab .nav-tabs>li a {
        width: 71px;
        height: 29px;
        font-size: 10px;
    }
    .gallery-tab .nav-tabs>li a{
        margin-right: 5px;
    }
    .gallery-tab .nav-tabs>li:last-child a{
        margin: 0;
    }
    .gallery-mob-slide{
        display: block;
        position: relative;
        margin-top: 20px;
    }
    .gallery-list{
        display: none;
    }
    .owl-next, .owl-prev{
        position: absolute;
        height: 30px;
        width: 30px;
        border-radius: 50%;
        background: #fff !important;
        z-index: 9;
    }
    .owl-next span, .owl-prev span{
        color: #034EA1;
        font-size: 20px;
    }
    .owl-next{
        right: 0;
        top: 50%;
        transform: translate(0, -50%);
    }
    .owl-prev{
        left: 0;
        top: 50%;
        transform: translate(0, -50%);
    }
    .gallery-tab .panel-body{
        padding: 0;
    }
    .owl-dots .owl-dot span {
        width: 10px;
        height: 10px;
        margin: 5px 7px;
        background: #d6d6d64a;
        display: block;
        -webkit-backface-visibility: visible;
        transition: opacity .2s ease;
        border-radius: 30px;
    }
    
    .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
        background: #869791;
    }
    .owl-dots{
        text-align: center;
    }
    .owl-nav .owl-prev.disabled,
.owl-nav .owl-next.disabled {
   display: none;
}
    
}
@media (max-width: 767px) {
    .view-btn {
      display: none;
    }
  }
