@import url('https://fonts.googleapis.com/css?family=poppins:200,300,400,500,600,700,800,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif, 'poppins';
}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    z-index: 1000;
}
header .logo{
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 2em;
    position:relative;
}
header ul{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
header ul li{
    list-style: none;
    margin-left: 40px;
    position: relative;
}
header ul li a{
    text-decoration: none;
    color: #fff;
}
.banner{
    position: relative;
    width: 100%;
    min-height: 100vh;
}
.banner .imgBx{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.banner .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 0.5s;
    background-position: center;
}
.banner .imgBx img.active{
    opacity: 1;
}
.controls{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 80px;
}
.controls li{
    position: relative;
    width: 80px;
    height: 80px;
    background: #fff;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.controls li:hover{
    background: #ffeb3b;
}
.controls li:before{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-left: 3px solid #111;
    border-bottom: 3px solid #111;
    transform: rotate(45deg);
}
.controls li:nth-child(2)::before{
    transform: rotate(225deg);
}
.row .col50 .imgBx{
    position: relative;
    width: 100%;
    height: 100%;
    /*min-height: 300px;*/
}
.row .col50 .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contentBx{
    position: absolute;
    bottom: 0;
    max-width: 700px;
}
.contentBx div{
    display: none;
}
.contentBx div.active{
    display: block;
    padding: 30px;
    padding-left: 100px;
    background: rgba(0, 0, 0, 0.2);
}
.contentBx div h2{
    color: #fff;
    font-weight: 800;
    font-size: 2em;
}
.contentBx div p{
    color: #fff;
    font-size: 1.1em;
}
.contentBx div a{
    color: #111;
    font-size: 1.1em;
    display: inline-block;
    padding: 10px 30px;
    background: #fff;
    margin-top: 10px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.section{
    padding: 100px;
}
.titleText{
    color: #111;
    font-size: 2em;
    font-weight: 300;
}
.titleText span{
    color: #3F51B5;
    font-weight: 700;
    font-size: 1.5em;
}
.btn{
    font-size: 1em;
    color: #fff;
    background: #3F51B5;
    display: inline-block;
    padding: 10px 30px;
    margin-top: 20px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: .5s;
}
.btn:hover{
    letter-spacing: 6px;
}
.row{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.row .col50{
    position: relative;
    width: 48%;
}
.title{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.menu .content{
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    margin-top: 40px;
}
.menu .content .box{
    width: 340px;
    margin: 20px;
    border: 15px solid #fff;
    box-shadow: 0 5px 35px rgba(0, 0, 0, .08);
}
.menu .content .box .imgBx{
    position: relative;
    width: 100%;
    height: 300px;
}
.menu .content .box .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.menu .content .box .text{
    padding: 15px 0 5px;
}
.menu .content .box .text h3{
    font-weight: 400;
    color: #111;
}
.container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1200px;
}
.container .card{
    position: relative;
    width: 350px;
    padding: 20px;
    margin: 20px;
    background: #fff;
    box-shadow: 0 5px 35px rgba(0, 0, 0, .08);
}
.container .card::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border: 20px solid transparent;
    border-top: 20px solid #3F51B5;
    border-right: 20px solid #3F51B5;
}
.container .card.active::before{
    border-top: 20px solid #547D51;
    border-right: 20px solid #547D51;
}
.container .card .content::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent,#fff);
}
.container .card.active .content::before{
    display: none;
}
.container .card .icon{
    margin-bottom: 10px;
}
.container .card .icon img{
    max-width: 60px;
    filter: invert(30%);
}
.container .card .content{
    position: relative;
    height: 215px;
    overflow: hidden;
}
.container .card.active .content{
    height: auto;
}
.container .card .content h3{
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
}
.container .card .content p{
    font-weight: 300;
    color: #333;
}
.container .card .more{
    position: relative;
    padding: 10px 30px;
    background: #3F51B5;
    margin-top: 15px;
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 14px;
}
.container .card.active .more{
    background: #547D51;
    color: #fff;
}
.container .card .more::before{
    content: 'Read More';
}
.container .card.active .more::before{
    content: 'Read Less';
}
@media (max-width: 991px) {
    .container{
    flex-wrap: wrap;
}
.container .card{
    width: 340px;
}
    .section{
        padding: 20px;
    }
    .banner .content h2{
        font-size: 3em;
    }
    .row .col50 .imgBx{
        height: 300px;
        margin-top: 20px;
    }
    .row{
        flex-direction: column;
    }
    .row .col50{
        width: 100%;
    }
     .menu .content{
        margin-top: 20px;
    }
    .menu .content .box{
        margin: 10px;
    }
    .menu .content .box .imgBx{
        height: 260px;
    }
    .title{
        text-align: center;
    }
    .titleText{
        font-size: 1.8em;
        line-height: 1.5em;
        margin-bottom: 15px;
        font-weight: 300;
    }
}