.gallery h2 {
    color: #394ea1;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    text-transform: capitalize;
    font-size:40px;
}
.gallery {
    /* margin: 50px 0; */
    position: relative;
    padding:50px 0px 12px;
}
.gallery .row .col-lg-3 {
    margin-bottom: 20px;
}  
.gallery .row .col-lg-3 .gal {
    position: relative;
    overflow: hidden;
}
.gallery .gal{
    /* border: 1px solid #ccc;
    padding: 5px;
    z-index: 1;
    padding:10px;
    float: left;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px, rgba(17, 17, 26, 0.1) 0px 24px 80px; */
} 
.gallery .gal::after{
/* border-width: 4px !important;
bottom: -7px;
content: " ";
left: 5px;
position: absolute;
right: 11px;
top: 5px;
border-style: none none double double !important;
border-color: #ccc;
z-index: -1; */
}
.gallery .row .col-lg-3 .gal{
    overflow: hidden;
}
.gallery .row .col-lg-3 .gal img {
    transition: all 0.5s ease;
    border-radius: 0px 25px 0px 25px;
    width: 100%;
    overflow: hidden;
}
.gallery .row .col-lg-3 .gal img:hover {
    transform: scale(1.1);
    overflow: hidden;
  
}
.gallery .card{
    text-align: center;
    margin: 0 10px 10px 0 !important;
    padding: 10px !important;
    border: 1px solid rgba(150, 150, 150, .3);
    box-shadow: 0 0 4px 2px rgba(150, 150, 150, .1);
    float: none;
    display: inline-block;
}
.gallery .card a{
    text-decoration: none;

}
.gal p{
    margin-top:20px;
    font-size: 16px;
    font-weight: 700;
    color: #394ea1;
}
.gal p:hover{
    color:#f7921e;
    font-weight: bold;
   
}


.inner-gallery-page {
    padding: 70px 0 42px;
    height: auto;
}
.inner-gallery-page .title h2, .gallery .title h2 {
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid black;
    color:#394ea1;
    margin-bottom: 30px;
    font-size: 40px;
}
.inner-gallery-page .row {
    row-gap: 20px;
}
.inner-gallery-page .bathukamma-img img:hover {
    transition: all .5s ease-in-out;
    transform: scale(1.1);
    overflow: hidden;

}
.inner-gallery-page .bathukamma-img {
    overflow: hidden;   
}
.inner-gallery-page .bathukamma-img img {
    transition: all .5s ease-in-out;
    position: relative;
}
@media (max-width: 1536px) {
.gallery h2 {
    font-size: 35px;
}
.inner-gallery-page .title h2, .gallery .title h2 {
    font-size: 35px;
}
}
@media (max-width: 1366px) {
    .gallery h2 {
        font-size: 28px;
    }
    .inner-gallery-page .title h2, .gallery .title h2 {
        font-size: 28px;
    }
    }
    

@media (max-width: 1199px) {
    .gallery h2 {
        font-size: 28px;
    }
    .inner-gallery-page .title h2, .gallery .title h2 {
        font-size: 28px;;
    }
}
@media (max-width: 540px) {
    .gallery h2 {
        margin-bottom: 20px;
    } 
}

@media (max-width: 360px) {
.inner-gallery-page .title h2, .gallery .title h2 {
    font-size: 28px;
}
}
@media (max-width: 320px) {
.inner-gallery-page .title h2, .gallery .title h2 {
    font-size: 25px;
}
}