@red: #EF3F2A;
@blue: #0092B3;
@grey: #ADAFB2;

// global
h2 {
    font-family: Playfair Display;
    font-size: 42px;
}

hr {
    width: 150px;
    margin-top: 2%;
}

h3, p {
    font-family: Montserrat;
}

p {
    font-size: 16px;
}

h3 {
    letter-spacing: 5px;
}

.banner {
    height: 70vh;
}
@media only screen and (min-width: 992px) {
    .banner .sub-title {
        width: 800px;
    }
}
@media only screen and (min-width: 768px) {
    .banner .sub-title {
        width: 700px;
    }
}
.sup-title {
    font-family: Montserrat;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 1.4;
}
/*first section*/
.our_mission_section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    margin-top: -100px;
    margin-bottom: 5rem;
    .image {
        display: flex;
        align-items: center;
        padding-left: 1rem;
        border: 2px solid white;
        border-right: none;
        img {
            height: ~'calc(100% - 2rem)';
            object-fit: cover;
        }
    }
    .content {
        background-color: #f4f5f8;
        padding: 3.5rem;
    }   
}
/*.our_mission_section {
    width: 30%;
    background-color: #f4f5f8;
    padding: 3%;
    padding-bottom: 0%;
    margin-right: 20%;
    margin-bottom: 5%;
}

.our_mission_section img {
    position: absolute;
    right: 49.9%;
    top: 77.7%;
    border: 2px solid white;
    border-right: none;
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 1%;
}*/

/*second section*/
.weAre {
    padding: 5rem 1rem;
}
.weAreForm h3 {
    color: white;
    font-family: Playfair Display;
    font-size: 42px;
    letter-spacing: 1px;
}

.weAreForm {
    width: 600px;
    background-color: @blue;
    padding: 3%;
    color: white;
    border-radius: 3%;
    p {
        padding-left: 0.5rem;
    }
}

.whoWeAreHeader {
    font-family: Montserrat;
    font-size: 18px;
    color: #fff;
    letter-spacing: 3px;
}


/*third section*/
.serviceImg img {
    position: absolute;
    left: 58%;
    width: 42%;
    margin-top: -1%;
}

.serviceHeader h3 {
    color: @blue;
}

.serviceSection {
    width: 40%;
    margin-left: 10%;
    margin-top: 5%;
    margin-bottom: 5%;
}


.learnBtn {
    background-color: @blue;
    font-family: Montserrat;
    padding: 15px 70px;
    border-radius: 0;
    font-size: 14px;
    margin-top: 2%;
    margin-bottom: 2%;
}

/* instagram feed*/
.instaFeed {
    background-color: @blue;
    font-family: Montserrat;
    height: 300px;
    text-align: center;
}

.instaFeed h4 {
    color: white;
    font-size: 12px;
    margin-top: 5%;
}

@media screen and (max-device-width: 1600px) {
    .weAreForm {
        width: 500px;
    }
    .weAreForm h3 {
        font-size: 28px;
    }
    .weAreForm p {
        font-size: 16px;
    }
    .serviceImg img {
        margin-top: 3%;
    }
}

@media screen and (max-device-width: 1440px) {
    .serviceSection {
        margin-left: 8%;
    }
    .serviceImg img {
        width: 45%;
        left: 55%;
        margin-top: 3%;
    }
}

@media screen and (max-width: 1024px) {
    .our_mission_section p {
        font-size: 14px;
    }
    .our_mission_section h3 {
        font-size: 18px;
    }
    .our_mission_section h2 {
        font-size: 28px;
    }
    .weAreForm {
        width: 400px;
    }
    .weAreForm h3 {
        font-size: 28px;
    }
    .weAreForm p {
        font-size: 12px;
    }
    .serviceSection {
        width: 50%;
        margin-left: 2%;
    }
    .serviceSection p {
        font-size: 12px;
    }
    .serviceSection h3 {
        font-size: 20px;
    }
    .serviceImg img {
        margin-top: 0%;
    }
    .learnBtn {
        padding: 10px 40px;
        font-size: 12px;
    }
}

@media screen and (max-width: 991px) {
    .banner {
        height: 40vh;
    }
    .our_mission_section {
        margin-bottom: 1rem;
    }
    .our_mission_section .content {
        padding: 1.5rem;
    }
    .our_mission_section h2 {
        font-size: 22px;
    }
    .our_mission_section h3 {
        font-size: 14px;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    .our_mission_section p {
        font-size: 12px;
        margin-top: 0;
    }
    .weAreForm h3 {
        font-size: 20px;
    }
    .whoWeAreHeader {
        font-size: 14px;
    }
    .serviceSection h3 {
        font-size: 16px;
    }
    .learnBtn {
        padding: 5px 20px;
        font-size: 10px;
    }
    .instaFeed {
        height: 150px;
    }
}
@media screen and (max-width: 767px) {
    .banner {
        height: 30vh;
    }
    .our_mission_section {
        grid-template-columns: 1fr;
        margin: 0;
        .image {
            display: none;
        }
        .content {
            padding: 1rem;
        }
    }
    .weAre {
        padding: 1rem;
        background: #012401 !important;
    }
    .weAreForm {
        width: 100%;
    }
    .serviceSection {
        width: 100%;
        margin: 0;
    }
    .serviceImg {
        display: none;
    }
}