/* about page header section */

.about-page-header-section{
    background: url('../images/about-us-background-3.jpg');
    background-size: cover;
    background-position: center top;
    height: 100vh;
    position: relative;
}

.about-page-header-section-container{
    position: absolute;
    bottom: 4em;
    left: 6em;
    width: 24.375em;
    border-bottom: 1px solid #fff;
    padding-bottom: 0.75em;
}

.about-page-header-section-container h1{
    font-size: 2.5rem;
    color: #fff;
    font-weight: 500;
}

.about-page-header-section-container p{
    font-size: 1.125em;
    color: #fff;
}

@media only screen and (max-width: 850px){
    .about-page-header-section{
        height: 250px;
        margin-top: 56px;
    }
}

/* about page mobile header content section */

.about-page-mobile-header-content-section{
    padding: 20px 35px;
    background: #ffffff;
}

.about-page-mobile-header-content-section h1{
    color: #4f4f4f;
    text-align: center;
    font-size: 30px;
    margin: 0px;
}

/* about page qoute section */

.about-page-qoute-section{
    padding: 7em 6em;
    background: url('../images/message-image-background.png');
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
}

.about-page-qoute-section .section-heading{
    color: #DA291C;
}

@media only screen and (max-width: 850px){
    .about-page-qoute-section{
        padding: 55px 20px;
        background: url('../images/triangle-right-image-background.png');
        background-size: cover;
        background-position: right center;
    }
}

/* about page legacy section */

.about-page-legacy-section{
    padding: 10em 6em;
    background: url('../images/about-us-legacy-bg-2.jpg');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
}

.about-page-legacy-section-container{
    max-width: 35em;
    text-align: center;
    margin-left: auto;
}

.about-page-legacy-section-container .section-heading{
    color: #DA291C;
}

@media only screen and (max-width: 850px){
    .about-page-legacy-section{
        padding: 0px;
        background: #ffffff;
    }

    .about-page-legacy-section .col-12:first-child{
        height: 300px;
        background: url('../images/about-us-legacy-bg-2.jpg');
        background-size: cover;
        background-position: center left;
    }

    .about-page-legacy-section .col-12:nth-child(2){
        background: url('../images/triangle-right-image-background.png');
        background-size: cover;
        background-position: left center;
    }

    .about-page-legacy-section-container{
        padding: 50px 20px;
        text-align: left;
    }
}

/* about page vision section */

.about-page-vision-section{
    padding: 10em 6em;
    background: url('../images/our-vision-legacy-bg.jpg');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #474747;
}

.about-page-vision-section-container{
    max-width: 35em;
}

.about-page-vision-section-container .section-heading{
    color: #DA291C;
}

@media only screen and (max-width: 850px){
    .about-page-vision-section{
        padding: 0px;
        background: #ffffff;
        border-bottom: none;
    }

    .about-page-vision-section .col-12:first-child{
        background: url('../images/triangle-right-image-background.png');
        background-size: cover;
        background-position: left center;
    }

    .about-page-vision-section .col-12:nth-child(2){
        height: 300px;
        background: url('../images/our-vision-legacy-bg.jpg');
        background-size: cover;
        background-position: right center;
    }

    .about-page-vision-section-container{
        padding: 50px 20px;
    }
}

/* about page team section */

.about-page-teams-section{
    padding: 4em 6em;
}

.about-page-teams-section-title{
    font-size: 1.2em;
    font-weight: 500;
    text-transform: uppercase;
    color: #DA291C;
    font-weight: 500;
}

.about-page-teams-section-description{
    color: #444;
    font-size: 1.2em;
    max-width: 360px;
}

#teams-swiper{
    margin-top: 3em;
}

#teams-swiper .swiper-slide{
    width: 18em;
}

#teams-swiper img{
    width: 100%;
    height: 25em;
    object-fit: cover;
}

#teams-swiper h4{
    margin-top: 1em;
    font-size: 1.4em;
    margin-bottom: 0.1em;
}

#teams-swiper p{
    font-size: 1em;
    font-weight: 400;
}

.about-page-teams-section-slide-prev-btn, .about-page-teams-section-slide-next-btn{
    background: none;
    border: none;
    outline: none;
    font-size: 1.5em;
    color: #DA291C;
}

.about-page-teams-section-slide-prev-btn i, .about-page-teams-section-slide-next-btn i{
    display: inline-block;
    transition: transform 0.4s;
}

.about-page-teams-section-slide-prev-btn:hover i{
    transform: translateX(-0.5em);
}

.about-page-teams-section-slide-next-btn:hover i{
    transform: translateX(0.5em);
}

@media only screen and (max-width: 850px){
    .about-page-teams-section{
        padding: 45px 20px;
    }

    #teams-swiper img{
        height: 360px;
    }
    
    #teams-swiper h4{
        margin-top: 20px;
    }
    
    #teams-swiper p{
        font-size: 18px;
    }
}

/* about page testimonials section */

.about-page-testimonials-section{
    background: url('../images/testimonials-background.png');
    background-size: cover;
}

.about-page-testimonials-section-inner{
    padding: 3em 6em;
    background: url('../images/buildings.png');
    background-size: contain;
    background-position: right top;
    background-repeat: no-repeat;
}

.about-page-testimonials-section-slide-progress{
    font-size: 1.5em;
    color: #DA291C;
    margin-top: 0.1em;
    margin-bottom: 0px;
}

#testimonials-swiper h4{
    font-size: 1.2em;
    font-weight: 500;
    text-transform: uppercase;
    color: #DA291C;
    font-weight: 500;
}

#testimonials-swiper p{
    color: #303030;
    font-size: 1.3em;
}

#testimonials-swiper h5{
    font-size: 1.2em;
    color: #000000;
    text-align: right;
}

.about-page-testimonials-section-slide-prev-btn, .about-page-testimonials-section-slide-next-btn{
    background: none;
    border: none;
    outline: none;
    font-size: 1.5em;
    color: #DA291C;
}

.about-page-testimonials-section-slide-prev-btn i, .about-page-testimonials-section-slide-next-btn i{
    display: inline-block;
    transition: transform 0.4s;
}

.about-page-testimonials-section-slide-prev-btn:hover i{
    transform: translateX(-0.5em);
}

.about-page-testimonials-section-slide-next-btn:hover i{
    transform: translateX(0.5em);
}

@media only screen and (max-width: 850px){
    .about-page-testimonials-section-inner{
        padding: 35px 20px;
        background: transparent;
    }

    .about-page-testimonials-section-slide-progress{
        font-size: 18px;
    }
    
    #testimonials-swiper h4{
        font-size: 18px;
    }
    
    #testimonials-swiper p{
        font-size: 20px;
    }
    
    #testimonials-swiper h5{
        font-size: 18px;
    }
}