/* BASE */
html {
    scroll-behavior: initial !important;
}

html, body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    width: 100% !important;
    min-height: 100% !important;
}

body {
    padding-right: 0 !important;
    position: relative;
}

a {
    text-decoration: none;
}

a.link--underline span {
    position: relative;
    width: fit-content;
}

a.link--underline span:before {
    background-color: #000;
    bottom: -5px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transition: width 250ms ease-in-out;
    width: 0;
}

a.link--underline:hover span:before,
a.link--underline:active span:before {
     width: 100%;
}

a.link {
    line-height: 16px;
    color: #000;
    font-weight: 600;
    padding-left: 35px;
    position: relative;
    width: fit-content;
}

a.link:not(:last-of-type) {
    margin-bottom: 15px;
}

a.link--external:before {
    background-image: url("./images/external.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    content: "";
    height: 18px;
    left: 0;
    position: absolute;
    top: -1px;
    width: 18px;
}

a.link--external-alt:before {
    background-image: url("./images/external-alt.svg") !important;
}

h1 {
    line-height: 1;
}

h1,
.h1 {
    color: #003DA5;
    display: flex;
    flex-direction: column;
    font-size: 26px;
    font-weight: 700;
}

@media only screen and (min-width: 768px) {
    h1,
    .h1 {
        font-size: 36px;
    }
}

h2.h1 {
    color: #000;
    margin-bottom: 30px;
}

h3 {
    font-size: 20px;
    font-weight: 700;
}

.editor {
    padding: 0 30px;
}

@media only screen and (min-width: 768px) {
    .editor {
    padding: 0;
    }
}

@media only screen and (min-width: 1200px) {
    h3 {
        font-size: 26px;
    }
}

img {
    width: 100%;
}


/* BUTTONS */
.btn__primary {
    background-color: #003DA5;
    border-radius: 2px;
    color: #fff;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-top: 30px;
    padding: 12px 32px;
    transition: background-color 250ms ease-in-out, color 250ms ease-in-out;
    width: fit-content;
}

.btn__primary:hover,
.btn__primary:active {
    background-color: #E2F3FA;
    color: #000;
}

.btn__primary--alt {
    background-color: #fff;
    color: #000;
}

/* HEADER */
header {
    background-color: #fff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.25);
    position: fixed;
    width: 100vw;
    z-index: 999999;
}

header navbar {
    width: fit-content !important;
}

header .navbar-nav {
    margin-right: 60px;
}

header .nav-item {
    font-weight: 700;
}

header .nav-item:not(:last-of-type) {
    margin-right: 42px;
}

header .header__wrapper {
    padding: 19px 30px 16px;
}

header .nav-link,
header .nav-link:hover {
    color: #000;
}

header .nav-link.active span:before {
    width: 100%;
}

.logo {
    padding: 0;
    width: fit-content;
}

.logo img {
    height: 49px;
    width: 78px;
}

.logo__name {
    color: #003DA5;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    margin-bottom: 0;
    margin-left: 10px;
}

.btn__hamburger {
    background: transparent;
    border: 0;
    height: 25px;
    margin: 0;
    padding: 0;
    width: 25px;
}

.btn__hamburger.open .lines--top {
    transform: rotate(43deg) translate(4px,3px);
}

.btn__hamburger.open .lines--middle {
    width: 0;
}

.btn__hamburger.open .lines--bottom {
    transform: rotate(-43deg) translate(4px,-3px);
}

.btn__hamburger .lines {
    height: 12px;
    position: relative;
    width: 16px;
}

.btn__hamburger .lines--top,
.btn__hamburger .lines--middle,
.btn__hamburger .lines--bottom {
    background-color: #003DA5;
    height: 2px;
    position: absolute;
    left: 0;
    width: 100%;
    transition: width 250ms ease-in-out, transform 250ms ease-in-out;
}

.btn__hamburger .lines--top {
    top: 0;
}

.btn__hamburger .lines--middle {
    top: 50%;
    transform: translateY(-50%);
}

.btn__hamburger .lines--bottom {
    bottom: 0;
}

@media only screen and (min-width: 768px) {
    header .header__wrapper {
    padding: 19px 0 16px;
}
}

@media only screen and (min-width: 1200px) {

    .logo img {
        height: 73px;
        width: 110px;
    }

    .logo__name {
        font-size: 18px;
        line-height: 22px;
        margin-left: 25px;
    }
}



/* OFFCANVAS */
.offcanvas {
    background-color: #003DA5;
    border: 0 !important;
    padding-top: 140px;
    width: 100vw !important;
}

.offcanvas-body a.nav-link {
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 40px;
}

.offcanvas a.link--underline span:before {
    background-color: #fff;
}

/* MISSION */
.mission {
    padding-top: 130px;
}

.mission__subtitle {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

@media only screen and (min-width: 768px) {
    .mission {
        padding-top: 150px;
        margin-bottom: -20px;
    }

    .mission__subtitle {
        font-size: 21px;
         margin-bottom: 25px;
    }
}

@media only screen and (min-width: 1200px) {
    .mission {
        padding-top: 180px;
    }
}

/* TEAM */
.team {
    padding-top: 95px;
}

.team img {
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
}

.team__members {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 330px;
}

.team__title {
    margin-bottom: 20px;
}

.team__title p {
    font-family: 'Open Sans', sans-serif;
    line-height: 18px;
    margin-bottom: 0;
}

.team__links a {
   color: #000;
   font-weight: 600;
   padding-left: 35px;
   position: relative;
   margin-bottom: 16px;
   width: fit-content;
}

.team__links a:before {
    background-color: #003DA5;
    border-radius: 100%;
    display: block;
    content: "";
    height: 30px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
}

.team__links a:after {
    background-repeat: no-repeat;
    background-size: 100% 100%;
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.team__links a.team__links--email:after {
    background-image: url("./images/mail.svg");
    height: 13px;
    left: 7px;
    width: 16px;
}

.team__links a.team__links--phone:after {
    background-image: url("./images/phone.svg");
    height: 16px;
    left: 7px;
    width: 16px;
}

.team__links a.team__links--website:after {
    background-image: url("./images/ia.svg");
    height: 9px;
    left: 4px;
    width: 23px;
}

@media only screen and (min-width: 768px) {
    .team {
        padding-top: 120px;
        margin-bottom: -20px;
    }

    .team img {
        height: 403px;
    }

    .team__members {
        column-gap: 27px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
}

@media only screen and (min-width: 992px) {
    .team img {
        height: 603px;
    }
}

@media only screen and (min-width: 1200px) {
    .team__title {
        margin-bottom: 45px;
    }

	.team img {
		height: 403px;
	}

    .team__members {
        column-gap: 50px;
	    grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

/* SERVICES */
.services {
    padding-top: 95px;
    margin-bottom: -20px;
}

.services__wrapper {
    background-color: #E2F3FA;
    border-radius: 10px;
    padding: 45px 25px;
}

.services__wrapper--alt {
    background-color: #003DA5;
    color: #fff;
}

.services__wrapper--alt a {
     color: #fff !important;
}

.services__wrapper--alt a span:before {
    background-color: #fff;
}

.services__wrapper p {
    margin-bottom: 35px;
}

.services__wrapper a {
    color: #000;
    font-weight: 600;
    position: relative
}

.services__links a {
    margin-bottom: 20px !important;
}

.services__links a:before {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
}

.services__wrapper .services__links--heart:before {
    background-image: url("./images/heart.svg");
    height: 13px;
    left: 3px;
    width: 15px;
}

.services__wrapper .services__links--cross:before {
    background-image: url("./images/cross.svg");
    height: 15px;
    left: 3px;
    width: 15px;
}

.services__wrapper .services__links--house:before {
    background-image: url("./images/mortgage.svg");
    height: 26px;
    top: -7px;
    width: 22px;
}

.services__wrapper .services__links--hands:before {
    background-image: url("./images/hands.svg");
    height: 12px;
    top: 2 px;
    width: 20px;
}

.services__wrapper .services__links--coins:before {
    background-image: url("./images/coins.svg");
    height: 20px;
    width: 20px;
}

.services__wrapper .services__links--money:before {
    background-image: url("./images/money.svg");
    height: 20px;
    left: 4px;
    width: 11px;
}

.services__wrapper .services__links--reee:before {
    background-image: url("./images/reee.svg");
    height: 20px;
    width: 23px;
}

.services__wrapper .services__links--house-alt:before {
    background-image: url("./images/mortgage-alt.svg");
    height: 26px;
    top: -7px;
    width: 22px;
}

.services__links {
    margin-bottom: 35px;
}

@media only screen and (min-width: 768px) {
    .services {
        padding-top: 120px;
    }

    .services__wrapper {
        margin-right: 15px;
        width: calc(50% - 15px);
    }

    .services__wrapper--alt {
        margin-left: 15px;
        margin-right: 0 !important;
    }

    .services__wrapper--alt p {
        min-height: 216px;
    }
}

@media only screen and (min-width: 992px) {
    .services__wrapper--alt p {
        min-height: 168px;
    }
}

@media only screen and (min-width: 1200px) {
    .services__wrapper--alt p {
        min-height: 120px;
    }
}

/* COMPANIES */
.companies {
    margin-bottom: 60px;
    padding-top: 95px;
}

@media only screen and (min-width: 768px) {
    .companies {
        margin-bottom: 100px;
        padding-top: 120px;
    }
}

/* KIDS */
.kids {
    margin-bottom: 95px;
}

@media only screen and (min-width: 768px) {
    .kids {
        margin-bottom: 100px;
    }
}

/* CONTACT */
.contact img {
    height: 255px;
    object-fit: cover;
}

.contact__infos {
    background-color: #003DA5;
    color: #fff;
    padding: 60px 30px;
}

.contact__infos-wrapper {
    margin: 0 auto;
    width: fit-content;
}

.contact__infos h2.h1,
.contact__infos a {
    color: #fff;
}

.contact__infos a {
    line-height: 1.2;
    font-size: 20px;
    position: relative;
}

.contact__infos a:before {
    background-color: #fff;
    bottom: -5px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transition: width 250ms ease-in-out;
    width: 0;
}

.contact__infos a:hover:before {
    width: 100%;
}

@media only screen and (min-width: 768px) {
    .contact img {
        height: 477px;
    }

    .contact__infos-wrapper {
        margin: 0;
    }
}

@media only screen and (min-width: 992px) {
    .contact__infos a {
        font-size: 26px;
    }

    .contact__infos {
        padding: 60px;
    }
}

@media only screen and (min-width: 1200px) {
    .contact__infos {
        padding: 60px 88px;
    }
}

/* FOOTER */
footer {
    background-color: #003DA5;
    color: #fff;
    text-align: center;
    padding-bottom: 30px;
}

footer a.link--underline span:before {
    background-color: #fff;

}

footer .btn__primary--alt {
    margin: 0 auto;
}

footer .logo {
    height: 73px;
    width: 110px;
}

footer .nav {
    margin: 35px 0;
}

footer .nav a {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

footer .nav a:not(:last-of-type) {
    margin-bottom: 15px;
}

footer .socials {
    margin: 25px 0 60px;
}

footer .socials a {
    background-color: #003DA5;
    border-radius: 100%;
    display: block;
    height: 30px;
    position: relative;
    width: 30px;
    transition: background-color 250ms ease-in-out;
}

footer .socials a svg {
    left: 50%;
    fill: #fff;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: fill 250ms ease-in-out;
}

footer .socials a:not(:last-of-type) {
    margin-right: 25px;
}

footer a.socials--email svg {
    height: 13px;
    width: 16px;
}

footer a.socials--facebook svg {
    height: 18px;
    width: 9px;
}

footer .socials a:hover {
    background-color: #fff;
}

footer .socials a:hover svg {
    fill: #003DA5;
}

footer .credits p {
    font-weight: 700;
    margin-bottom: 0;
    text-align: center;
}


footer .credits__holo {
    margin-top: 10px;
}

@media only screen and (min-width: 768px) {
    footer {
        padding: 60px 0 20px;
        text-align: initial;
    }

    footer .nav {
        margin: 40px 0;
    }

    footer .nav a:not(:last-of-type) {
        margin-bottom: 0;
        margin-right: 42px;
    }

    footer .socials {
        margin: 25px 0 68px;
    }

    footer .credits__holo {
        margin-top: 0;
    }
}

.holo {
    display: flex;
    flex-direction: row;
    margin-left: 6px;
    width: 100px;
}

.holo__top {
    height: 13px;
    width: 28px;
}

.holo__bottom {
    height: 13px;
    width: 43px;
}

.holo__middle {
    border: 3px solid #fff;
    border-radius: 100px;
    display: block;
    height: 12px;
    margin-left: -1px;
    width: 12px;
    transition: width 250ms cubic-bezier(.165,.84,.44,1);
}

.holo:hover .holo__middle {
    width: 22px;
}