@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");

*,
*::before,
*::after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}




/* Banner Section */

.banner{
    margin-bottom: 5px;
}

.single-banner{
    height: 300px;
    overflow: hidden;
}

.single-banner{
    position: relative;
}

.single-banner .banner-img{
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner-img .img1{
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    visibility: visible;
}

.overla{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0.5;
    background-color: rgba(0,0,0,0.65);
  }

.banner-text{
    position: absolute;
    top: 50%;
    width: 100%;
    padding: 0;
    transform: translateY(-50%);
}

.ourlogo{
    width: 200px;
    padding: 0;
    margin-top: -20px;
    margin-bottom: -20px;
    margin-left: calc(50% - 100px);
}

.slider_heading{
    font-size: 4rem;
    line-height: 1.1;
    padding: 0 10px;
    font-family: 'Yatra One', cursive;
    background: url(../images/animate1.png);
    /* Clip Background Image */    
    -webkit-background-clip: text;
    background-clip: text;
    /* Animate Background Image */
    -webkit-text-fill-color: transparent;
    -webkit-animation: aitf 80s linear infinite;
    /* Activate hardware acceleration for smoother animations */
    -webkit-transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
    text-align: center;
}

/* Animate Background Image */
@-webkit-keyframes aitf {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@media (max-width: 900px) {
    .slider_heading{
        font-size: 4rem;
    }
}

@media (max-width: 570px) {
    .single-banner{
        height: 200px;
    }    
    .single-banner .banner-img{
        height: 200px;
    }    
    .banner-img .img1{
        height: 200px;
    }
    .ourlogo{
        width: 150px;
        padding: 0;
        margin-left: calc(50% - 75px);
    }
    .slider_heading{
        font-size: 3rem;
    }
}

@media (max-width: 400px) {
    .slider_heading{
        font-size: 2.5rem;
    }
}

@media (max-width: 335px) {
    .slider_heading{
        font-size: 2rem;
    }
}

@media (max-width: 230px) {
    .ourlogo{
        width: 100px;
        padding: 0;
        margin-top: -20px;
        margin-bottom: -20px;
        margin-left: calc(50% - 50px);
    }
    .slider_heading{
        font-size: 1.5rem;
    }
}

/* Banner Section */




/* Card Section */

.ourcard{
    background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url(../images/a&a.png); 
    background-position: center;  
    background-size: cover; 
    background-attachment: fixed;
    font-family: 'Roboto Condensed', sans-serif;
    margin-bottom: 5px;
}

.ourcard a{
    text-decoration: none;
    color: #fff;
}

.ourcard .card-wrapper{
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: column;
}

.ourcard .card{
    width: 35rem;
    background-color: #ebeef8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: .5rem .5rem 3rem rgba(0, 0,0,0.2);
}

.ourcard .card .card-img{
    width: 100%;
    height: 15rem;
    object-fit: cover;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 78%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 78%, 0% 100%);
}

.ourcard .profile-img{
    width: 10rem;
    height: 10rem;
    object-fit: cover;
    border-radius: 50%;
    margin-top: -6.5rem;
    z-index: 999;
    border: 1rem solid #ebeef8;
}

.ourcard .card h1{
    font-size: 2rem;
    color: #333;
    margin: 1.5rem 0;
}

.ourcard .job-title{
    color: #777;
    font-size: 1.2rem;
    font-weight: 300;
}

.ourcard .about{
    font-size: 1rem;
    margin: 1.5rem 0;
    font-style: italic;    
    text-align: center;
    padding: 0 25px;
    color: #333;
}

.ourcard .card .btn{
    padding: 0.8rem 2.5rem;
    background-color: #445ae3;
    border-radius: 2rem;
    margin: 1rem 0;
    text-transform: uppercase;
    color: #eee;
    font-size: 1rem;
    transition: all .5s;
}

.ourcard .card .btn:hover{
    transform: translateY(-2px);
    box-shadow: .5rem .5rem 2rem rgba(0, 0,0,0.2);
}

.ourcard .card .btn:active{
    transform: translateY(0);
    box-shadow: none;
}

.ourcard .social-media{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    padding: 0.8rem 0;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(0, 0,0,.1);
}

.ourcard .social-media i{
    font-size: 2rem;
    transition: color .5s;
}

.ourcard .fa-facebook-square{
    color: #3b5999;
}

.ourcard .fa-instagram{
    color: #e6683c;
}

.ourcard .fa-whatsapp{
    color: #075e54;
}

.ourcard .fa-envelope{
    color: #D44638;
}

.ourcard .fa-facebook-square:hover{
    color: #8eaae7;
}


.ourcard .fa-envelope:hover{
    color: #f3857b;
}

.ourcard .fa-whatsapp:hover{
    color: #5dc79b;
}

.ourcard .fa-instagram:hover{
    color: #ecaa90;
}

@media screen and (max-width:1247px){
    .ourcard .card{
        width: 25rem;
    }
}

@media screen and (max-width:927px){
    .ourcard .card{
        width: 80%;
    }
}

@media (max-width: 600px) {
    .ourcard .card{
        width: 100%;
    }
    .ourcard .card-wrapper{
        padding: 0 20px;
    }
    .ourcard .about{
        padding: 0 10px;
    }
}

@media screen and (min-width:700px){
    .ourcard .card-wrapper{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .ourcard .card{
        margin: 2rem;
        transition: transform .5s;
    }
    @keyframes fadeIn {
        from{
            opacity: 0;
        }
        to{
            opacity: 1;
        }
    }
    .ourcard .card:nth-child(1){
         animation: fadeIn .5s .5s backwards;
    }
    .ourcard .card:nth-child(2){
        animation: fadeIn .5s 1s backwards;
    }
    
    .ourcard .card:hover{
        transform: scale(1.05);
    }
}

@media (max-width: 330px) {
    .ourcard .card-wrapper{
        padding: 0 10px;
    }
}

/* Card Section */




/* Footer Section */

.footer{
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url(../images/a&abg.jpg);   
    background-size: cover; 
    background-attachment: fixed;
}

.footer h3{
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 5px;
}

#last{
    margin-bottom: -10px;
}
/* Footer Section */