* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body{
    font-family: 'Lato', sans-serif;
}

a{
    text-decoration: none;
    color: black;
}

/*Styles for Header*/
header{
    display: flex;
    min-height: 96px;
    background-color: #F3C324;
    justify-content: space-between;
    align-items: center;
    padding: 4px 16px;
}


.logo{
    display: flex;
    align-items: center;
}

.logo img{
    height: 128px;
    margin-right: 16px;
}

nav a{
    font-weight: 600;
    padding-right: 16px;
    font-size: 24px;
}

nav a:hover{
    color: antiquewhite;
}

@media (max-width: 640px){
    header{
        flex-direction: column;
    }

    nav {
        padding: 16px 0px;
    }
}

/*Styles for Company name div*/
.slider-container {
    position: relative;
    height: 90vh;
}

.slider{
    position: relative;
    height: 100%;
    overflow: hidden;
}

.title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    text-align: center;
    color: white;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 12s infinite;
}

.s1 {
    background-image: linear-gradient(rgba(5,7,12,0.75), rgba(5,7,12,0.75)), url('img/bg1.png');
}

.s2 {
    background-image: linear-gradient(rgba(5,7,12,0.75), rgba(5,7,12,0.75)), url('img/bg2.png');
    animation-delay: 4s;
}

.s3 {
    background-image: linear-gradient(rgba(5,7,12,0.75), rgba(5,7,12,0.75)), url('img/bg3.png');
    animation-delay: 8s;
}

@keyframes fade {
    0%, 100% { opacity: 0; }
    8%, 33% { opacity: 1; }
    42%, 58% { opacity: 0; }
    67%, 100% { opacity: 1; }
}

/*Styles for twist div*/
.twist{
    background-color: #F3C324;
    padding: 32px;
}

.twist-text{
    margin-left: 5%;
    margin-right: 5%;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
}

/*Styles for Overview div*/
.overview-container{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    background: #262656;
}

.overview-left{
    width: 50%;
    margin: 40px 64px;
    color: #FAEBD7;
}

.overview-left h2{
    font-size: 32px;
    margin-bottom: 40px;
}

.overview-left p{
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 40px;
}

.overview-right{
    background: url(./img/logo3.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 50%;
    height: 75vh;
}

@media(max-width: 991px){
    .overview-container{
        flex-direction: column;
    }

    .overview-left{
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 0 16px;
    }


    .overview-right {
        width: 100%;
        margin-bottom: 32px;
    }
}

/*Styles for services div*/
.services-div{
    text-align: center;
    margin: 24px 16px;
    padding: 24px;
}


.services-title{
    font-size: 48px;
    margin: 24px 0;
}

.card-container{
    width: 100%;
    display: flex;
    justify-content: center;
}

.card{
    width: 35%;
    margin: 32px;
    border-radius: 8px;
    overflow: hidden;
    background: #FAEBD7;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
    cursor: default;
    transition: all 400ms ease;
}

.card:hover{
    box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
}

.card figure{
    text-align: center;
    margin-top: 32px;
}

.card-content{
    padding: 16px;
    text-align: center;
}

.card-content h3{
    margin: 16px 0;
    font-size: 24px;
}

.card-content p{
    line-height: 1.5;
}

.card-content ul{
    margin: 64px 0;
}

.card-content li{
    border-bottom: 2px solid rgba(0,0,0,0.2);
    margin: 24px 0;
    padding-bottom: 8px;
    font-weight: 600;
}

@media(max-width: 720px) {
    .card-container{
        flex-direction: column;
        align-items: center;
    }

    .card{
        width: 80%;
    }
}


/*Styles for history div*/
.history-container{
    display: flex;
    align-items: center;
}

.history-left{
    width: 50%;
    margin: 40px 64px;
}

.history-left h2{
    font-size: 32px;
    margin-bottom: 40px;
}

.history-left p{
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 40px;
}

.history-right{
    background: url(./img/logo2.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 50%;
    height: 75vh;
}

@media(max-width: 991px){
    .history-container{
        flex-direction: column;
    }

    .history-left{
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 0 16px;
    }


    .history-right {
        width: 100%;
        margin-bottom: 32px;
    }
}


/*Styles for mission/vission div*/
.mv-container{
    display: flex;
    align-items: stretch;
}

.mv-container h2{
    font-size: 32px;
    margin-bottom: 40px;
}

.mv-container p{
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 40px;
}

.left{
    background: #F3C324;
    width: 50%;
}

.right{
    background: #262656;
    width: 50%;
}

.mission{
    margin: 40px 64px;   
}

.vision{
    margin: 40px 64px;
    text-align: end;
    color: #FAEBD7;
}

@media(max-width: 990px){
    .mv-container{
        flex-direction: column;
    }

    .left{
        width: 100%;
        text-align: center;
    }

    .right{
        width: 100%;
    }

    .vision{
        text-align: center;
    }
}

/*Styles for values div*/
.values-title{
    font-size: 48px;
    margin: 24px 0;
}

.values-div{
    text-align: center;
    margin: 24px 16px;
    padding: 24px;
}

.values-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 32px 0px;
}

.value p{
    font-size: 24px;
    margin: 24px 0;
}

@media (max-width: 660px){
    .value{
        width: 50%;
    }
}

/*Styles for map div*/
.map-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 48px 0;
    background: #F3C324;
}

.map-left{
    font-size: 44px;
}

@media (max-width: 990px){
    .map-container{
        flex-direction: column;
    }

    .map-left{
        text-align: center;
        margin-bottom: 40px;
    }

    .map-right{
        width: 100%;
        text-align: center;
    }

    .map-right iframe{
        width: 66%;
    }
}

/*Styles for footer*/
.container{
    max-width: 1280px;
    margin: 0 auto;
}

footer{
    background-color: #262656;
    padding: 16px 0;
}


.footer-row{
    display: flex;
    flex-wrap: wrap;
}

.footer-info{
    width: 33%;
}

.footer-info h4{
    font-size: 20px;
    color: #FAEBD7;
    margin: 24px 0;
    font-weight: 500;
    border-bottom: 2px solid #F3C324;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-info ul li{
    display: block;
    font-size: 16px;
    color: #FAEBD7;
    margin-right: 32px;
    margin-bottom: 16px;
    padding: 0;
}

.footer-text{
    font-size: 16px;
    color: #FAEBD7;
    margin: 24px 0;
    text-align: center;
}

.footer-text a{
    color: #F3C324;
}

.social-link a{
    display: inline-block;
    min-height: 32px;
    width: 48px;
    background-color: #FAEBD7;
    text-align: center;
    line-height: 48px;
    border-radius: 50%;
    margin: 0 16px 0 0;
    transition: all .5s ease;
}

.social-link a:hover{
    background-color: #F3C324;
}


@media(max-width: 991px){
    .footer-row{
        text-align: center;
    }

    .footer-info {
        width: 100%;
        margin-bottom: 32px;
    }
}