:root {
    --bs-body-font-family: "Manrope", var(--bs-font-sans-serif);
    font-optical-sizing: auto;
    font-style: normal;
    --zaffre: #040EAE;
    --zaffre-hover: #030B8B;
    --navy: #030B8B;
    --navy-hover: #030552;
    --alice: #F0FAFF;
    --lavender: #B4BFE7;
    --rich-black: #000211;
    --anti-flash-white: #F2F2F2;
    --line-height-auto: calc(1.25em + 2px);
}

body {
    overflow-x: hidden;
}

h1 {
    font-size: calc(3.64vw + 1.27rem);
}

h2.indent {
    line-height: 1.0546875;
}

h2 {
    margin-bottom: 0;
}

.zaffre {
    color: var(--zaffre);
}

.navy {
    color: var(--navy);
}

.container-fluid {
    --bs-gutter-x: 0;
}

.btn {
    --bs-btn-line-height: var(--line-height-auto);
}

.link {
    background: linear-gradient(0deg, currentColor, currentColor) no-repeat right bottom / 0 var(--bg-h);
    transition: background-size .2s ease-in-out, color .2s ease-in-out;
    --bg-h: .1em;
    padding-bottom: .05em;
}

.link:where(:hover, :focus-visible) {
    background-size: 100% var(--bg-h);
    background-position-x: left;
}

.p-rel {
    position: relative;
}

.p-abs {
    position: absolute;
}

header .navbar {
    background-color: white;
}

.navbar-brand {
    font-weight: 700;
    line-height: var(--line-height-auto);
}

.header-menu {
    align-items: center;
    gap: 1rem 30px;
}

header .offcanvas {
    max-width: 780px;
}

.offcanvas {
    --bs-offcanvas-width: 230px;
}

.offcanvas-body {
    position: relative;
}

.header-phone {
    position: absolute;
    bottom: var(--bs-offcanvas-padding-y);
    right: 50%;
    transform: translateX(50%);
}

main {
    padding-top: 72px;
}

.home-intro {
    padding-top: calc(32.95vw - 45.45px);
    padding-bottom: calc(6.82vw + 38.18px);
    background-image: url(/images/intro-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: var(--bs-border-radius-lg);
}

.home-intro-suptitle p {
    margin-left: auto;
    max-width: 360px;
    color: var(--lavender);
    border-top: 1px solid currentColor;
    padding-top: 10px;
}

.home-intro-title {
    /* margin-top: 135px; */
    line-height: 1.2;
    max-width: 1100px;
    font-weight: 600;
    color: var(--anti-flash-white);
}

.home-about-header {
    margin: 0 auto 50px;
}

.home-about-header__suptitle {
    top: 22px;
    left: calc(var(--bs-gutter-x)* .5)
}

.home-about-header__title {
    /* text-indent: -112px; */
    max-width: 700px;
}

.home-about-team {
    --bs-gutter-y: var(--bs-gutter-x);
}

.home-about .carousel-indicators {
    margin-bottom: 1.25rem;
}

.home-about .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    border: none;
    border-radius: 12px;
    opacity: 1;
    background-color: var(--anti-flash-white);
}

.home-about .carousel-indicators [data-bs-target].active {
    background-color: var(--lavender);
}

.home-about-team__content {
    margin: 0 auto;
    height: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-about-team__content__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-about-team__content__link img {
    width: calc(78.52vw - 191.25px);
    max-width: 261px;
    height: 8px;
    object-fit: cover;
    object-position: right;
}

.home-about-stats {
    color: var(--navy);
}

.home-about-stats div:nth-child(2) {
    /* border-top: 1px solid var(--navy); */
    border-right: none;
    /* border-bottom: 1px solid var(--navy); */
    border-left: none;
}

.home-about-stats>:nth-child(even) .home-about-stats__content {
    flex-direction: row-reverse;
    text-align: end;
}

.home-about-stats__content {
    padding: 10px 10px 13px;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    align-items: center;
    text-align: start;
}

.home-about-stats__content>* {
    margin-bottom: 0;
}

.home-about-stats__content__number {
    font-size: 3rem;
}

.home-courses-header__suptitle {
    top: 22px;
    left: 0;
}

.home-courses-header__title {
    /* text-indent: 290px; */
}

.home-courses-cards {
    --bs-gutter-y: var(--bs-gutter-x);
}

.home-courses-card {
    border: 2px solid var(--lavender);
    border-radius: var(--bs-border-radius-lg);
    padding: 1.25rem 1.25rem 1.5rem;
    height: 100%;
}

.home-courses-card__number {
    font-size: 1.25rem;
    color: var(--navy);
}

.home-courses-card__number::before {
    content: '/';
}

.how-we-teach__steps {
    position: relative;
    --number-size: 2.5rem;
    --line-thickness: 2px;
}

.how-we-teach__steps .row {
    --bs-gutter-y: var(--bs-gutter-x);
}

.how-we-teach__steps-line {
    position: absolute;
    height: 100%;
    background-color: var(--zaffre);
    width: var(--line-thickness);
    top: calc(.5* var(--number-size));
    left: calc(.5* var(--bs-gutter-x) + (var(--number-size) - (.5* var(--line-thickness))));
    z-index: -1;
}


.how-we-teach__step {
    margin: 0;
    display: flex;
    align-items: center;
}

.how-we-teach__step__number {
    align-self: center;
    flex: none;
    display: block;
    margin: 0 2.25rem 0 0;
    width: var(--number-size);
    height: var(--number-size);
    line-height: var(--number-size);
    font-size: calc(.5* var(--number-size));
    font-weight: 700;
    color: white;
    text-align: center;
    background-color: var(--zaffre);
    border-radius: var(--bs-border-radius-pill);
}

.how-we-teach__step__text {
    margin-bottom: 0;
}

.contact-form-background { 
    background-color: var(--zaffre); 
    -webkit-box-shadow: inset 0px 0px 100px 100px var(--navy); 
    -moz-box-shadow: inset 0px 0px 100px 100px var(--navy); 
    box-shadow: inset 0px 0px 100px 100px var(--navy); 
    border-radius: var(--bs-border-radius-lg); 
}

.contact-form-wrapper {
    padding-top: calc(var(--bs-gutter-x)* .5);
    padding-bottom: calc(var(--bs-gutter-x)* .5);
    color: white;
}

.contact-form-heading {
    margin-bottom: 30px;
}

#contact-form {
    scroll-margin-top: 72px;
}

.contact-form {
    max-width: 370px;
}

.contact-form .form-check {
    padding: 0;
    line-height: calc(45 / 28);
    font-size: .875rem;
}

.contact-form .form-check-input {
    margin: .1rem .5rem 0 0;
    float: none;
    display: inline;
}

.contact-form .form-check-label {
    display: inline;
}

.contact-form [type="submit"] {
    width: 100%;
    margin-top: 30px;
    color: var(--navy);
}

.home-services-header__suptitle {
    top: 22px;
    left: 0;
}

.home-services-header__title {
    /* text-indent: 267px; */
}

.home-services-tabs_mobile {
    margin-top: 40px;
}

.home-services-tabs_mobile .dropdown-toggle {
    width: 100%;
}

.home-services-tabs_mobile .dropdown-menu {
    padding: 10px;
}

.home-services-tabs_mobile .dropdown-menu li:not(:first-child) {
    margin-top: 10px;
}

.home-services-tabs_mobile .btn-pill {
    width: 100%;
}

.home-services-tabs {
    display: none;
    /* justify-content: space-between; */
}

.btn-pill {
    border-radius: var(--bs-border-radius-xl);
}

.home-service {
    position: relative;
    border-radius: var(--bs-border-radius-lg);
    background-color: var(--navy);
    color: var(--lavender);
    --card-padding: 20px;
    padding: var(--card-padding);
    display: block;
    transition: background-color .2s ease-in-out;
}

.home-service:hover {
    background-color: var(--navy-hover);
}

.home-service-content {
    margin-bottom: 150px;
}

.home-service:hover .arrow_absolute {
    transform: rotate(-45deg) translate(0, 10px);
}

.home-service-content__heading {
    color: white;
    margin-bottom: 1.25rem;
}

.home-service-content ul li {
    margin-bottom: .875rem;
}

.home-service .btn-pill {
    --bs-btn-color: white;
    /* display: none; */
}

.home-service .arrow_absolute {
    display: none;
    position: absolute;
    right: var(--card-padding);
    bottom: var(--card-padding);
    transform-origin: center;
    transition: transform .2s ease-in-out;
}

.home-clients-header {
    margin-bottom: 60px;
}

.home-clients-header__suptitle {
    top: 22px;
    left: calc(var(--bs-gutter-x)* .5);
}

.wrapper {
    /* width:450px;
    height:50px; */
    width: 100%;
    height: 170px;
    position: relative;
    margin: auto;
    /* background: #ccc; */
    overflow: hidden;
}

.wrapper::after {
    /* width:448px;
    height:48px; */
    width: calc(100% - 2px);
    height: 168px;
    content: "";
    position: absolute;
    /* border: solid 1px white; */
}

.wrapper2 {
    /* width:450px;
    height:50px; */
    width: 100%;
    height: 170px;
    position: relative;
    margin: auto;
    /* background: #ccc; */
    overflow: hidden;
}

.wrapper2::after {
    /* width:448px;
    height:48px; */
    width: calc(100% - 2px);
    height: 168px;
    content: "";
    position: absolute;
    /* border: solid 1px white; */
}

.box {
    width: 320px;
    height: 170px;
    padding-right: 20px;
    position: absolute;
    /* background: red; */
    font-size: 25px;
    line-height: 50px;
    text-align: center;
    color: var(--color-just-black);

}
.box2 {
    width: 320px;
    height: 170px;
    padding-right: 20px;
    position: absolute;
    /* background: red; */
    font-size: 25px;
    line-height: 50px;
    text-align: center;
    color: var(--color-just-black);

}

.boxes {
    position: relative;
    left: -320px;
}

.boxes2 {
    position: relative;
    left: -320px;
}


















.home-clients .carousel-logo {
    padding: 30px;
    width: 300px;
    height: 170px;
    object-fit: contain;
    border: 2px solid var(--zaffre);
    border-radius: var(--bs-border-radius);
}

/* start contacts page */

.contact-cards {
    --bs-gutter-y: var(--bs-gutter-x);
}

.contact-card {
    border: 2px solid var(--lavender);
    border-radius: var(--bs-border-radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 256px;
}

.contact-card__content .link {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.25rem;
}

.contact-card__content p:last-child {
    margin-bottom: 0;
}

.map-container {
    height: 75.52vw;
    position: relative;
    overflow: hidden;
    /* line-height: 0; */
    border-radius: var(--bs-border-radius-lg);
    background-color: var(--lavender);
}

.map-container .map-loading {
    position: absolute;
    top: calc(50% - 80px);
    left: calc(50% - 90px);
    background-color: white;
    height: 160px;
    width: 180px;
    border-radius: var(--bs-border-radius);
    z-index: 1;
}

.map-container .map-loading img {
    position: absolute;
    top: 20%;
    left: calc(50% - 25px);
}

.map-container .map-loading .spinner-grow {
    position: absolute;
    top: calc(75% - 1rem);
    left: calc(50% - 1rem);
}

.map-container iframe {
    position: relative;
    z-index: 2;
}


/* end contacts page */

/* start about page */

.page-intro {
    background-color: var(--alice);
    border-radius: var(--bs-border-radius-lg);
}

.page-intro .container-xxl {
    padding-top: calc(var(--bs-gutter-x)* .5);
    padding-bottom: calc(var(--bs-gutter-x)* .5);
}

.page-intro-content {
    --bs-gutter-y: var(--bs-gutter-x);
}

.page-intro-text-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

.page-intro-text h1 {
    margin-bottom: 30px;
}

.page-intro-image-single {
    border-radius: var(--bs-border-radius);
    width: 100%;
    height: calc(53.33vw + 30px);
    object-fit: cover;
}

.page-intro-images {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
    margin-bottom: calc(-1* var(--bs-gutter-y));
}

.page-intro-images img {
    border-radius: var(--bs-border-radius);
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.page-intro-images .row {
    height: 100%;
    --bs-gutter-y: 20px;
}

.page-intro-images .col-7>.row .col-12:first-child {
    height: calc(60% - 20px);
}
.page-intro-images .col-7>.row .col-12:last-child {
    height: calc(40% - 20px);
}

.about-us-stats {
    --bs-gutter-y: var(--bs-gutter-x);
}

.about-us-stats__content {
    background-color: var(--lavender);
    border-radius: var(--bs-border-radius);
    color: white;
    padding: 54px 25px 12px;
    text-align: center;
    height: 100%;
}

.about-us-stats__content__number {
    line-height: 1.2;
    font-size: 3rem;
    margin-bottom: 0;
    font-weight: 700;
}

.about-us-team .row {
    --bs-gutter-x: 35px;
}

img.about-us-team__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-us-team__photo {
    background-image: url(../../images/aboutus-1.jpg);
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: var(--bs-border-radius);
}

.about-us-team__text {
    padding: 24px 0 4px;
    max-width: 360px;
}

.about-service-cards {
    --bs-gutter-y: var(--bs-gutter-x);
}

.about-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 30px;
    color: white;
    border-radius: var(--bs-border-radius-lg);
    transition: background-color .2s ease-in-out;
}

.about-service-card_courses {
    background-color: var(--navy);
}

.about-service-card_courses:hover {
    background-color: var(--navy-hover);
}

.about-service-card_expertises {
    background-color: var(--zaffre);
}

.about-service-card_expertises:hover {
    background-color: var(--zaffre-hover);
}

.about-service-card__link {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.about-service-card__link img {
    transition: transform .2s ease-in-out;
}

.about-service-card__link .stretched-link:hover + img {
    transform: rotate(-45deg) translate(0, 10px);
}

.about-pros-cards {
    --bs-gutter-y: var(--bs-gutter-x);
    margin-top: calc((-1* var(--bs-gutter-y)) + 60px);
}

.about-pros-card {
    padding: 30px 30px 10px;
    border: 2px solid var(--lavender);
    border-radius: var(--bs-border-radius-lg);
    height: 100%;
}

.about-pros-card img {
    margin-bottom: 20px;
}

.about-pros-card p {
    color: var(--navy);
}

.about-pros-licenses>.row {
    --bs-gutter-x: 10px;
}

.about-pros-licenses__content-wrapper {
    background-color: var(--lavender);
    border-radius: var(--bs-border-radius);
    padding: 30px;
}

.about-pros-licenses__content {
    margin-left: auto;
    max-width: 790px;
}

.about-pros-licenses__content__text {
    margin-top: 30px;
}

.about-pros-licenses__content__text h3 {
    margin-bottom: 40px;
}

.about-pros-licenses__content__image {
    padding: 25px 40px;
    background-color: white;
    border-radius: var(--bs-border-radius-sm);
    text-align: center;
}

.about-pros-licenses__content__image img {
    width: 50%;
    height: 100%;
    object-fit: contain;
}

.about-pros-licenses__image {
    display: none;
    background-image: url(../../images/aboutus-3.jpg);
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: var(--bs-border-radius);
}


/* end about page */

/* start courses page */

.courses-cards .row {
    --bs-gutter-x: 15px;
    --bs-gutter-y: var(--bs-gutter-x);
}

.course-card {
    padding: 1.25rem;
    color: white;
    border-radius: var(--bs-border-radius);
    background-color: var(--navy);
    background-image: var(--bg-img);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.course-card h4 {
    margin: 32px 0 0;
}

.courses-all-list {
    padding: 0;
}

.courses-all-list-item {
    display: block;
    margin-top: 30px;
    padding: 0 30px 1.25rem;
    border-bottom: 1px solid var(--lavender);
}

.courses-all-list-item ul {
    padding: 0;
}

.courses-all-list-item ul li {
    display: inline-block;
    margin-right: .875rem;
}

.courses-all-list-item ul li::before {
    content: '\2022';
    margin-right: .3125rem;
}



/* end courses page */

.mt-60 {
    margin-top: calc(2.42vw + 30.91px);
}

.mt-75 {
    margin-top: calc(4.24vw + 24.09px);
}

.mt-85 {
    margin-top: calc(5.45vw + 19.5px);
}

.mt-120 {
    margin-top: calc(7.27vw + 32.73px);
}

.mt-130 {
    margin-top: calc(8.48vw + 28.18px);
}

.mt-150 {
    margin-top: calc(10.91vw + 19.09px);
}

.wpcf7-list-item {
    margin: 0;
}

footer {
    overflow-x: hidden;
}

.footer-main {
    line-height: var(--line-height-auto);
}

.footer-main>.row {
    row-gap: 40px;
}

.footer-navigation {
    row-gap: 30px;
    text-align: center;
}

.footer-main .footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: var(--line-height-auto);
}

.footer-main .social-icon {
    display: inline-block;
}

.footer-main .social-icon:not(:first-of-type) {
    margin-left: 20px;
}

.footer-main .nav {
    row-gap: .625rem;
    /* flex-direction: column; */
    /* text-align: start; */
    justify-content: center;
}

.footer-nav-item {
    padding: 0 10px;
    white-space: nowrap;
}

.footer-contacts {
    --bs-gutter-x: 70px;
    /* justify-content: center;
    text-align: center; */
}

.footer-contact p:first-child {
    margin-bottom: 10px;
}

.footer-contact p.zaffre {
    font-weight: 700;
}

.footer-contact p.zaffre>* {
    color: inherit;
}

.footer-line {
    margin-top: 2.5rem;
    height: 2px;
    background-color: var(--lavender);
}

.footer-misc {
    padding-top: 40px;
    padding-bottom: 20px;
    color: var(--lavender);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.footer-misc .link {
    color: inherit;
}



@media (min-width: 375px) {
    .contact-form-wrapper {
        padding-top: calc(10.91vw - 20.91px);
        padding-bottom: calc(10.91vw - 20.91px);
        color: white;
    }

    .home-service {
        --card-padding: calc(7.63vw - 8.63px);
    }

    .footer-contact p.zaffre {
        font-size: calc(1.99vw + .53rem);
    }
}

@media (min-width: 494px) {
    .home-service .arrow_absolute {
        display: block;
    }
}

@media (min-width: 576px) {
    .home-about-stats>:nth-child(even) .home-about-stats__content,
    .home-about-stats__content {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact p.zaffre {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .home-about-header {
        position: relative;
        display: flex;
        justify-content: end;
    }

    .home-about-header__suptitle {
        position: absolute;
    }

    .home-about-header__title {
        text-indent: -112px;
        max-width: 700px;
    }

    .home-about-team__content__link img {
        width: calc(43.15vw - 196.4px);
    }
    
    .home-about-stats div:nth-child(2) {
        border-top: none;
        border-right: 1px solid var(--navy);
        border-bottom: none;
        border-left: 1px solid var(--navy);
    }

    .home-courses-header {
        position: relative;
    }

    .home-courses-header__suptitle {
        position: absolute;
    }

    .home-courses-header__title {
        text-indent: 290px;
    }

    .home-clients-header {
        position: relative;
    }

    .home-clients-header__suptitle {
        position: absolute;
    }

    .home-clients-header__title {
        text-indent: 230px;
    }

    .home-services-header {
        position: relative;
    }

    .home-services-header__suptitle {
        position: absolute;
    }

    .home-services-header__title {
        text-indent: 267px;
    }

    .home-services-tabs_mobile {
        display: none;
    }

    .home-services-tabs {
        display: flex;
        justify-content: space-evenly;
        row-gap: .875rem;
    }

    .home-service {
        --card-padding: 50px;
    }
    
    .home-service div:has(>.btn-pill) {
        text-align: end;
    }

    .about-pros-licenses__content__image img {
        width: 100%;
    }

    .how-we-teach__steps-line {
        height: var(--line-thickness);
        width: calc(100% - var(--bs-gutter-x));
        top: calc(1.5* (var(--number-size)) - .5* var(--line-thickness));
        left: calc(.5* var(--bs-gutter-x));
    }
    
    .how-we-teach__step {
        max-width: 300px;
        margin: 0 auto;
        flex-direction: column;
        align-items: start;
    }
    
    .how-we-teach__step__number {
        align-self: center;
        margin: 0 0 2.25rem 0;
    }

    .map-container {
        height: 580px;
    }

    .contact-form-heading {
        max-width: 410px;
    }

    .contact-form-motivation {
        max-width: 400px;
    }

    .contact-form {
        margin: 0;
    }

    .contact-form [type="submit"] {
        width: auto;
    }

    .footer-main .nav {
        flex-direction: column;
        text-align: start;
    }

    .footer-contacts {
        justify-content: start;
        text-align: start;
    }
}

@media (min-width: 992px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        --bs-gutter-x: 3.75rem;
    }

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1220px;
    }

    .header-phone {
        position: static;
        transform: none;
    }

    .home-about-stats>:nth-child(even) .home-about-stats__content,
    .home-about-stats__content {
        text-align: start;
        flex-direction: row;
        align-items: center;
    }

    .home-courses-card {
        padding: 30px 30px 40px;
    }

    .about-pros-licenses__image {
        display: block;
    }
}

@media (min-width: 1200px) {
    h1 {
        font-size: 4rem;
    }

    .home-intro {
        padding-top: 350px;
        padding-bottom: 120px;
    }

    .contact-form-wrapper {
        padding-top: 110px;
        padding-bottom: 110px;
    }
    
    .mt-60 {
        margin-top: 60px;
    }
    
    .mt-85 {
        margin-top: 85px;
    }
    
    .mt-120 {
        margin-top: 120px;
    }
    
    .mt-130 {
        margin-top: 130px;
    }
    
    .mt-150 {
        margin-top: 150px;
    }

    .page-intro-image-single {
        height: 670px;
    }
}

@media (min-width: 1580px) {
    /* .container-fluid>.container-xxl {
        --bs-gutter-x: 3.75rem;
    } */
}