
.sub-banner{
    background-image: url(../images/gallery-2.webp);
}
.main-heading h3 {
    margin-bottom: 0px;
}

.box{
    background: #030077;
   
    text-align: center;
    box-shadow: 0 5px 10px rgba(0,0,0,.8);
    overflow: hidden;
    position: relative;
    margin-top: 50px;
}
.box:before,
.box:after{
    content: '';
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    opacity: 0;
    transform: scaleX(0);
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    transition: all 0.5s ease 0s;
}
.box:after{
    border-top: none;
    border-bottom: none;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;       
    transform: scaleY(0);
}
.box:hover:before,
.box:hover:after{
    opacity: 1;
}
.box:hover:before{ transform: scaleX(1); }
.box:hover:after{ transform: scaleY(1); }
.box img{
    width: 100%;
    height: auto;
    transition: 0.5s;
}
.box:hover img{ 
    opacity: .2;
    transform: scale(1.2);
}
.box .box-content{
    color: #fff;
    width: 100%;
    opacity: 0;
    transform: translateY(-50%);
    position: absolute;
    top: 10%;
    right: 0;
    z-index: 2;
    transition: all 0.5s ease 0s;
}
.box:hover .box-content{
    opacity: 1;
    top: calc(50% - 25px);
}
.box .title{
    color: #fff;
    font-size:18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 2px;
}

.box .icon{
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    transform: translateY(-50%);
    position: absolute;
    right: 0;
    top: calc(50% + 25px);
    z-index: 1;
    transition: all 0.5s ease 0.1s;
}
.box:hover .icon{ right: 0; }
.box .icon li{
    margin: 0 3px;
    display: inline-block;
    opacity: 0;
    transition: all 0.3s ease 0s;
}
.box .icon li:nth-child(2){ transition: all 0.3s ease .2s; }
.box:hover .icon li{ opacity: 1; }
.box .icon li a{
    color: #FFB716;
    background-color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 35px;
    height: 35px;
    width: 35px;
    display: block;
    transition: all 0.3s ease;
}
.box .icon li a:hover{
    color: #fff;
    background-color: #FFB716;
}
    /*========================media Queries===========================*/
    @media only screen and (min-width:1601px) and (max-width:1900px){

    }
   
    @media only screen and (min-width:1200px) and (max-width:1600px){
        .box {
           margin-top:10px;
            margin-bottom: 15px;
        }
        .gallery-sec .main-heading h3{
            margin-bottom: 45px;
        }
    
    }
    
    @media only screen and (min-width:1024px) and (max-width:1119px){
        .box {
           margin-top:10px;
            margin-bottom: 15px;
        }
        .gallery-sec .main-heading h3{
            margin-bottom: 30px;
        }
    
    }
    @media only screen and (min-width:901px) and (max-width:1023px){
        .box {
            margin-top:0px;
            margin-bottom: 15px;
        }
        .main-heading h3 {
            margin-bottom: 20px;
        }
     
     
    }
    @media only screen and (min-width:768px) and (max-width:900px){
        .box {
            margin-top:0px;
            margin-bottom: 15px;
        }
        .main-heading h3 {
            margin-bottom: 20px;
        }
     
    }
    @media only screen and (min-width:576px) and (max-width:767px) {
        .box {
           margin-top:10px;
            margin-bottom: 15px;
        }
        .main-heading h3 {
            margin-bottom: 20px;
        }
     
    
    }
    @media only screen and (min-width:420px) and (max-width:575px){
        .box {
           margin-top:10px;
            margin-bottom: 15px;
        }
        .main-heading h3 {
            margin-bottom: 20px;
        }
     
       
    }
    @media only screen and (min-width:100px) and (max-width:419px){
        .box {
           margin-top:10px;
            margin-bottom: 15px;
        }
        .main-heading h3 {
            margin-bottom: 20px;
        }
        .gallery-sec .main-heading h3{
            font-size: 22px;
        }
        
    }
    /*========================media Queries===========================*/