.about_us_page {
    padding: 60px 0 0;
    .about_video_section {
        .top_txt {
            font-weight: 800;
            font-size: 12px;
            line-height: 110%;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: #5673B1;
            padding: 0 0 15px;
            a {
                color: #5673B1;
            }
        }
        .heading {
            padding: 0 0 26px;
        }
        .video_block {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            .video {
                width: 65%;
                position: relative;
                img{
                    border-radius: 20px;
                }
                video{
                    border-radius: 20px;
                    width: 100%;
                    height: 440px;
                    object-fit: cover;
                    @media (max-width: 1199px) {
                        height: auto;
                    }
                }
                .video_about_btn {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    width: 45px;
                    height: 45px;
                    border: 2px solid #fff;
                    border-radius: 10rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transform: translate(-50%, -50%);
                    cursor: pointer;
                    overflow: hidden;
                    transition-property: color;
                    transition-duration: 0.3s;
                    &:before {
                        content: "";
                        position: absolute;
                        z-index: -1;
                        top: 0;
                        left: 0;
                        right: 0;
                        bottom: 0;
                        background: #0B2766;
                        border-radius: 100%;
                        transform: scale(0);
                        transition-property: transform;
                        transition-duration: 0.3s;
                        transition-timing-function: ease-out;
                    }
                    img {
                        position: relative;
                        left: 2px;
                        border-radius: 0;
                    }
                    &:hover {
                        &:before {
                            -webkit-transform: scale(2);
                            transform: scale(2);
                        }
                    }
                }
            }
            .content {
                width: 35%;
                padding: 0 0 0 30px;
                .video_heading {
                    font-size: 20px;
                    line-height: 170%;
                    color: #0B2766;
                    padding: 0 0 15px;
                    font-weight: 500;
                }
                p {
                    font-size: 16px;
                    line-height: 170%;
                    color: #5673B1;
                }
            }
        }
    }
    .agency_section {
        padding: 230px 0 200px;
        //padding: 230px 0 103px;
        position: relative;
        &:before {
            content: '';
            background-image: url(/images/about_shape_top.svg);
            height: 260px;
            width: 100%;
            position: absolute;
            left: 0;
            top: 0;
            z-index: -1;
            background-repeat: no-repeat;
            background-size: cover;
        }
        &:after {
            content: '';
            background-image: url(/images/about_shape_bottom.svg);
            height: 258px;
            //height: 253px;
            width: 100%;
            position: absolute;
            left: 0;
            bottom: 0;
            z-index: -1;
            background-repeat: no-repeat;
            background-size: cover;
            right: 0;
        }
        .overlay_about {
            background: #FAFAFF;
            position: absolute;
            height: 266px;
            width: 100%;
        }
        .heading_about {
            position: relative;
        }
        .agency_grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            padding: 30px 0 0;
            .agency_box {
                width: calc(25% - 10px);
                position: relative;
                display: inline-block;
                overflow: hidden;
                img {
                    width: 100%;
                    display: flex;
                    border-radius: 20px;
                }
                h3 {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    color: #fff;
                    font-weight: 800;
                    font-size: 21px;
                    line-height: 100%;
                    width: 251px;
                    text-align: center;
                }
                &:before {
                    content: '';
                    position: absolute;
                    background: linear-gradient(0deg, rgba(31, 68, 150, 0.85), rgba(31, 68, 150, 0.85));
                    width: 100%;
                    height: 100%;
                    border-radius: 20px;
                }
                &:hover {
                    &:before {
                        opacity: 0.8;
                    }
                }
            }
        }
    }
    .nous-sommes {
        padding-bottom: 85px;
        position: relative;
        top: -133px;
        @media (max-width: 767px) {
            top: 0px;
            padding-top: 70px;
            padding-bottom: 150px;
        }
        .heading {
            font-weight: 800;
            font-size: 12px;
            line-height: 13.2px;
            letter-spacing: 3px;
            text-align: center;
            color: #5673B1;
            text-transform: uppercase;
        }
        .sub-sec-nous {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            padding: 30px 0 0;
            @media (min-width: 992px) and (max-width: 1199px){
                justify-content: start;
                gap: 20px;
            }
            @media (min-width: 768px) and (max-width: 991px){
                justify-content: center;
                gap: 20px;
            }
            .nous-box {
                width: calc(20% - 15px);
                position: relative;
                display: inline-block;
                overflow: hidden;
                margin-bottom: 18px;
                @media (min-width: 992px) and (max-width: 1199px){
                    width: calc(25% - 15px);
                    margin-bottom: 0;
                }
                @media (min-width: 768px) and (max-width: 991px){
                    width: calc(33.3% - 15px);
                    margin-bottom: 0;
                }
                @media (min-width: 480px) and (max-width: 767px){
                    width: calc(50% - 10px);
                    margin-bottom: 20px;
                }
                @media (max-width: 479px) {
                    width: 100%;
                    max-width: 340px;
                    margin: 0 auto 20px;                    
                }
                img {
                    width: 100%;
                    display: flex;
                    border-radius: 20px;
                }
                h3 {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    color: #fff;
                    font-weight: 800;
                    font-size: 18px;
                    line-height: 19.8px;
                    width: 200px;
                    text-align: center;
                }
                &:before {
                    content: '';
                    position: absolute;
                    background: linear-gradient(0deg, rgba(31, 68, 150, 0.85), rgba(31, 68, 150, 0.85));
                    width: 100%;
                    height: 100%;
                    border-radius: 20px;
                }
                &:hover {
                    &:before {
                        opacity: 0.8;
                    }
                }
            }
        }
    }
    .profile_section {
        padding: 125px 0 170px;
        position: relative;
        .fixed_img {
            position: absolute;
            bottom: 0;
            border-radius: 20px;
        }
        .heading_about {
            padding: 0 0 20px;
        }
        .profile_wrap {
            max-width: 720px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            .profile_grid {
                width: 50%;
                h4 {
                    font-weight: 500;
                    font-size: 20px;
                    line-height: 34px;
                    color: #0B2766;
                }
                p {
                    font-size: 16px;
                    line-height: 27px;
                    color: #5673B1;
                    padding: 0 0 15px;
                }
                &:last-child {
                    p {
                        padding-left: 30px;
                    }
                }
            }
        }
    }
    .value_warpper {
        max-width: 1360px;
        padding: 0 40px 53px;
        background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%), #F8F9FD;
        border-radius: 125px;
        margin: 107px auto 40px;
        width: calc(100% - 20px);
        .centent_txt {
            max-width: 545px;
            margin: 0 auto;
            font-size: 20px;
            line-height: 170%;
            text-align: center;
            color: #0B2766;
            padding: 24px 0 0;
        }
        .box {
            background: rgba(56, 45, 255, 0.05);
            border-radius: 20px;
            max-width: 718px;
            margin: 50px auto 50px;
            padding: 20px 30px;
            p {
                font-size: 16px;
                line-height: 27px;
                color: #0B2766;
            }
        }
        .value_list_block {
            max-width: 718px;
            margin: 0 auto;
            .value_list {
                display: flex;
                justify-content: space-between;
                padding: 0 0 50px;
                .left {
                    p {
                        font-weight: 800;
                        font-size: 12px;
                        line-height: 110%;
                        letter-spacing: 0.2em;
                        text-transform: uppercase;
                        color: #0B2766;
                        position: relative;
                        padding: 0 0 0 22px;
                        &:before {
                            content: '';
                            position: absolute;
                            width: 8px;
                            height: 8px;
                            background: #FFF100;
                            border-radius: 10px;
                            top: 50%;
                            left: 0;
                            transform: translate(0, -50%);
                        }
                    }
                }
                .right {
                    max-width: 340px;
                    p {
                        font-size: 16px;
                        line-height: 170%;
                        color: #5673B1;
                    }
                }
            }
        }
        .value_bootm {
            font-size: 20px;
            line-height: 170%;
            text-align: center;
            color: #0B2766;
            padding: 57px 0 0;
        }
    }
}

@media (max-width: 479.5px) {
    .about_us_page {
        .agency_section {
            .agency_grid {
                .agency_box {
                    width: 100%;
                    max-width: 340px;
                    margin: 0 auto 20px;
                    h3 {
                        font-size: 22px;
                    }
                }
            }
        }
        .value_warpper {
            margin: 65px auto 40px;
            width: calc(100% - 20px);
            padding: 0 20px 53px;;
            .box {
                p {
                    text-align: center;
                }
            }
            .value_list_block {
                .value_list {
                    justify-content: center;
                    padding: 0 0 30px;
                    flex-wrap: wrap;
                    text-align: center;
                    .left {
                        padding: 0 0 10px;
                    }
                    .right {
                        p {
                            font-size: 14px;
                        }
                    }
                }
            }
            .value_bootm {
                padding: 25px 0 0;
                font-size: 16px;
            }
        }
    }
}
@media (min-width:  480px) and (max-width:  767.5px) {
    .about_us_page {
        .agency_section {
            .agency_grid {
                grid-row-gap: 20px;
                .agency_box {
                    width: calc(50% - 10px);
                    h3 {
                        font-size: 17px;
                        padding: 0;
                    }
                }
            }
        }
        .profile_section {
            padding: 55px 0 0;
        }
        .value_warpper {
            .value_list_block {
                .value_list {
                    .left {
                        min-width: 160px;
                        max-width: 160px;
                        p {
                            line-height: 18px;
                            padding: 5px 0 0 15px;
                            font-size: 10px;
                        }
                    }
                    .right {
                        padding: 0 0 0 20px;
                        p {
                            font-size: 14px;
                        }
                    }
                }
            }
            .value_bootm {
                padding: 0;
            }
        }
    }
}
@media (max-width:  767.5px) {
    .about_us_page {
        padding: 30px 0 0;
        .about_video_section {
            text-align: center;
            .video_block {
                .video {
                    width: 100%;
                }
                .content {
                    width: 100%;
                    padding: 30px 0 0;
                    text-align: center;
                    .video_heading {
                        font-size: 16px;
                        line-height: 150%;
                    }
                    p {
                        font-size: 14px;
                    }
                }
            }
        }
        .agency_section {
            padding: 50px 0 0;
            &:before, &:after {
                display: none;
            }
            .overlay_about {
                display: none;
            }
        }
        .profile_section {
            padding: 40px 0 0;
            text-align: center;
            .fixed_img {
                position: initial;
                padding: 0 20px 20px;
                max-width: 480px;
                margin: 0 auto;
                border-radius: 35px;
                width: 100%;
            }
            .profile_wrap {
                .profile_grid {
                    width: 100%;
                    text-align: center;
                    h4 {
                        font-size: 16px;
                        line-height: 24px;
                    }
                    &:last-child {
                        padding: 20px 0 0;
                        p {
                            padding-left: 0;
                        }
                    }
                }
            }
        }
        .value_warpper {
            margin: 65px auto 40px;
            border-radius: 25px;
            width: calc(100% - 20px);
            padding: 0 20px 53px;
            .centent_txt {
                font-size: 16px;
            }
        }
    }
}
@media (min-width: 768px) and (max-width: 991.5px) {
    .about_us_page {
        .about_video_section {
            .video_block {
                .video {
                    width: 50%;
                }
                .content {
                    width: 50%;
                }
            }
        }
        .agency_section {
            padding: 100px 0 200px;
            //padding: 100px 0 100px;
            &:before {
                height: 150px;
            }
            &:after {
                height: 240px;
            }
            .overlay_about {
                height: 230px;
            }
            .agency_grid {
                .agency_box {
                    h3 {
                        font-size: 14px;
                    }
                } 
            }
        }
        .profile_section {
            padding: 0 0 20px;
            .fixed_img {
                max-width: 400px;
            }
            .profile_wrap {
                .profile_grid {
                    h4 {
                        font-size: 16px;
                        line-height: 25px;
                    }
                    p {
                        font-size: 14px;
                        line-height: 22px;
                    }
                }
            }
        }
        .value_warpper {
            margin: 60px auto 40px;
            width: 90%;
        }
    }
}

@media (min-width:  992px) and (max-width:  1199.5px) {
    .about_us_page {
        .value_warpper {
            width: calc(100% - 20px);
        }
        .profile_section {
            padding: 50px 0 30px;
            .fixed_img {
                max-width: 500px;
            }
        }
        .agency_section{
            .agency_grid{
                .agency_box{
                    h3{
                        font-size: 18px;
                    }
                } 
            }
        }
    }
}
@media (min-width: 1200px) and (max-width: 1300px) {
    .about_us_page {
        .profile_section {
            padding: 125px 0 100px;
            .fixed_img {
                max-width: 580px;
            }
        }
    }
}
@media (min-width: 1441px) and (max-width: 1600px) {
    .about_us_page {
        .agency_section {
            &:after {
                height: 280px;
            }
            .overlay_about {
                height: 250px;
            }
        }
    }
}
@media (min-width: 1601px) and (max-width: 1750px) {
    .about_us_page {
        .agency_section {
            &:after {
                height: 300px;
            }
            .overlay_about {
                height: 225px;
            }
        }
    }
}
@media (min-width: 1601px) and (max-width: 1850px) {
    .about_us_page {
        .agency_section {
            &:after {
                height: 320px;
            }
            .overlay_about {
                height: 215px;
            }
        }
    }
}
@media (min-width: 1851px) and (max-width: 1920px) {
    .about_us_page {
        .agency_section {
            &:after {
                height: 350px;
            }
            .overlay_about {
                height: 175px;
            }
        }
    }
}
@media (min-width: 1500px) and (max-width: 1920px) {
    .about_us_page {
        .profile_section {
            max-width: 1400px;
            margin: 0 auto;
        }
    }
}
@media (min-width: 1921px) {
    .about_us_page {
        .profile_section {
            padding: 125px 100px 170px;
            max-width: 1600px;
            margin: 0 auto;
        }
        .agency_section {
            &:before {
                right: 0;
                max-width: 1600px;
                margin: 0 auto;
            }
            &:after {
                height: 280px;
                right: 0;
                max-width: 1600px;
                margin: 0 auto;
            }
            &:before {
                background-image: url(/images/about_shape_top_large.svg);
            }
            &:after {
                background-image: url(/images/about_shape_bottom_large.svg);
            }
            .overlay_about {
                height: 255px;
                max-width: 1600px;
                margin: 0 auto;
                left: 0;
                right: 0;
            }
        }
    }
}