/**********************
0. Fonts
1. Global
2. Titles
3. Paragraphs and lists
4. Headings
5. Buttons
6. Navigation
7. Animations
8. Footer
8. Global hero styles
9. Global FAQ styles
10. CTA Banner styles
11. Responsive styles
***********************/

/************
0.FONTS
************/
@charset "UTF-8";

@font-face {
    font-family: 'Marvel';
    src: url("/assets/fonts/Marvel/Marvel-Bold.ttf");
}

@font-face {
    font-family: 'Montserrat-light';
    src: url("/assets/fonts/Montserrat/Montserrat-Light.ttf");
}

@font-face {
    font-family: 'Montserrat-medium';
    src: url("/assets/fonts/Montserrat/Montserrat-Medium.ttf");
}

@font-face {
    font-family: 'Montserrat-bold';
    src: url("/assets/fonts/Montserrat/Montserrat-Bold.ttf");
}


/************
1.GLOBALS
************/

*,
*:before,
*:after {
    box-sizing: inherit;
}

html {
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-width: 320px;
    min-height: 100vh;
    position: relative;
    box-sizing: border-box;
    overflow-x: hidden;
    box-sizing: border-box;
}

body::-webkit-scrollbar {
    display: none;
}

html,
body,
main {
    overflow-x: hidden;
    max-width: 100%;
}


:root {
  /* Colors */
  --red: #d90016;
  --proactive-blue: #4cbae6;
  --mid-blue: #0069b8;
  --easynext-blue: #1a3150;
  --bg-title-blue: #027ba0;
  --dark-blue: #004996;
  --keytime-green: #6AB023;
  --light-green: #8FB953;
  --dark-green: #366940;
  --white: #ffffff;
  --soft-black: #151515;
  --black: #000000;
  --keytime-black: rgba(0, 0, 0, 0.8);

  /* Gradients */
  --gradient-white: radial-gradient();
  --gradient-red: radial-gradient();
  --gradient-light-blue: radial-gradient();
  --gradient-dark-blue: radial-gradient();

  /* Fonts */
  --font-montserrat-bold: 'Montserrat-bold',
  sans-serif;
  --font-montserrat-medium: 'Montserrat-medium',
  sans-serif;
  --font-montserrat-light: 'Montserrat-light',
  sans-serif;

  /* Layout */
  --laptop-header-height: 160px;
  --mobile-header-height: 65px;
}

.sr-only {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

/*******
2. Titles
*******/

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: 'Montserrat-bold';
}

/**************************/

/**************************
3. Paragraphs AND LISTS
**************************/

ol,
ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
    z-index: 1;
}

a {
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

p {
    font-family: var(--font-montserrat-medium);
    margin: 0;
}

.strong {
    font-weight: bold;
}

.line {
    position: relative;
}

.line::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--soft-black);
}

.line::after {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    left: calc(50% - 1px);
    top: 0;
    background: var(--soft-black);
}
/**************************/

/**************************
4. Headings
**************************/

.container-fluid {
    padding: 0;
}

.heading-container {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 3rem;
    width: fit-content;
}

.heading-icon {
    width: 50px;
    height: auto;
    padding-right: 10px;
}

.heading h2:after {
    position: absolute;
    left: 0;
    bottom: -5px;
    content: "";
    height: 3px;
    width: 100%;
}

.heading img {
    width: 30px;
}
/**************************/

/**************************
5. BUTTONS
**************************/

.top-btn {
    border: 3px solid black;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 35px;
    white-space: nowrap;
    overflow: hidden;
}

.top-btn span {
    color: black;
}

.proactive-button .button:before {
    background-color: rgba(0, 0, 0, 0.7);
}

.scroll-down {
    position: absolute;
    z-index: 500;
}

.scroll-down button {
    border: 2px solid var(--soft-black);
}

.cta-btn {
    border: 3px solid white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 35px;
    transition: background-color 0.3s ease, padding-right 0.3s ease;
    white-space: nowrap;
    overflow: hidden;/
}

.top-btn span,
.cta-btn span {
    text-transform: uppercase;
    display: inline-block;
    font-family: var(--montserrat-bold);
    margin-right: 10px;
}

.cta-btn span {
    color: white;
}

.scroll-down button {
    padding: 25px 10px;
    border-radius: 30px;
    -webkit-animation: wcSlideBottom 7s infinite linear;
    animation: wcSlideBottom 7s infinite linear;
}
.scroll-down:hover {
    cursor: pointer;
}


@keyframes wcSlideBottom {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    50% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
button {
    background-color: transparent;
    border: 0;
}

.proactive-button .col-12 {
    margin-bottom: 120px;
}

.proactive-button .button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: .15rem;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0 auto;
}

.proactive-button .button:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    transition: all 0.3s;
    z-index: -1;
}

.proactive-button .button:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.proactive-button .button:hover {
    color: #fff;
}

.proactive-button .button:hover:before {
    width: 100%;
}

.proactive-button .button .arrow {
    width: 35px;
    transform: rotate(90deg);
}

.proactive-button .button .proactive-logo {
    width: 80%;
    height: auto;
}

.proactive-button .button .proactive-logo:hover {
    cursor: pointer;
}

.proactive-button .button span {
    font-weight: bold;
}

/**************************/

/**************************
6. NAVIGATION
**************************/

header {
    position: fixed;
    width: 100%;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
}

.topbar {
    height: 100px;
    width: 100%;
    background-color: var(--white);
    border: 2px solid black;
    display: flex;
    align-items: center;
}

.topbar .row {
    display: flex;
    align-items: center;
}

.tb-buttons,
.tb-location {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-buttons {
    gap: 5px;
}

.topbar .box {
    display: flex;
    align-items: center;
}

.topbar .line {
    display: flex;
    align-items: center;
    width: 2px;
    height: 40px;
    background-color: black;
    margin: 0 15px;
}

.nav-header {
    height: 60px;
    background-color: var(--soft-black);
}

.navbar .dropdown-menu {
    min-width: auto;
    background-color: black;
}

.navbar .dropdown-item {
    color: white;
}

.navbar .dropdown-item:hover {
    background-color: var(--soft-black);
}

/* Rotate dropdown arrow when expanded */
.navbar .dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Transition for rotating the arrow */
.navbar .dropdown-arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.navbar .dropdown-toggle::after {
    display: none;
}

/*** Mobile menu ***/

.mobile-nav {
    padding: 20px;
    height: var(--mobile-header-height);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo-link {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-logo {
    width: auto;
    height: 50px;
}

.openBtn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.openBtn:hover {
    cursor: pointer;
}

.mobile-nav .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 11000;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0, 0.7);
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
}

.mobile-nav .sidenav .navbar-nav {
    width: 100%;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
}

.mobile-nav .nav-link {
    text-decoration: none;
    color: var(--white);
    transition: 0.3s;
}
li.nav-item {
    text-align: end;
    display: contents;
}
.mobile-nav .nav-link.active {
    font-weight: bold;
    color: var(--proactive-blue);
}

.mobile-nav .nav-link:hover {
    color: var(--white);
}

#closeBtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    background-color: transparent;
    border: none;
}

#closeBtn a {
    color: var(--white);
    font-weight: bold;
    text-decoration: none;
}

.mobile-nav .nav-link span {
    font-size: 12px;
    transition: transform 0.3s ease;
}
.mobile-nav .show {
    background-color: transparent;
    border: none;
}
.mobile-nav .show span {
    color: white;
    text-transform: uppercase;
}
.flag {
    width: 50px;
    height: auto;
}

/* sub nav side menu */
.sub-nav {
    position: fixed;
    z-index: 500;
    right: 2%;
    bottom: 5%;
    border: 3px solid var(--proactive-blue);
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(175, 175, 175, 1) 100%);
    border-radius: 20px;
}

.sub-nav span {
    text-transform: uppercase;
    text-align: center;
    color: var(--black);
    font-weight: bold;
    font-size: 14px;
}

.nav-blocs {
height: 50%;
}

.sub-line {
width: 100%;
height: 3px;
}

.nav-blocs {
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sub-line {
    display: flex;
    align-items: center;
    width: 100%;
    height: 3px;
    background-color: var(--white);
}

.sl-icon {
    width: 50%;
    height: auto;
    fill: black;
}

.sl-img {
    padding: 5px;
}

/********************/

/********************
7. ANIMATIONS
********************/
.cta-btn:hover,
.kt-btn:hover {
    padding-right: 70px;
}

.cta-btn img,
.kt-btn img {
    transition: transform 0.3s ease;
    transform: translateX(0);
}

.cta-btn:hover img,
.kt-btn:hover img {
    transform: translateX(50px);
}

/**********
8. FOOTER
**********/

footer {
    background-color: var(--soft-black);
}

.footer-title-wrapper {
    padding: 0 16px;
}

.footer-title-wrapper li {
    margin-bottom: 10px;
}

.footer-title-wrapper li a:first-child {
    color: var(--white);
    text-decoration: none;
}

.f-title {
    font-family: var(--montserrat-bold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--white);
}

.f-title {
    margin-bottom: 10px;
}

footer ul {
    padding: 0;
}

.f-link {
    margin-bottom: 1rem;
}

footer .link-item {
    text-decoration: none;
    text-transform: capitalize;
}

footer .link-item:hover {
    color: var(--secondary);
    opacity: 0.5;
}

.f-icons {
    width: 35px;
}

/*******************************
10. Global FAQ styles
********************************/

.faq-wrapper {
    margin-bottom: 3rem;
}

.accordion-button {
    border-radius: 20px;
    background-color: transparent;
}

.accordion-item {
    background-color: rgba(0, 0, 0, 0.5);
}

.accordion-button,
.accordion-body {
    color: var(--white);
}

/*******************************
10. CTA BANNER styles
********************************/

.cta-section {
    position: relative;
    height: 100%;
    background-image: url('../imgs/banners/proactive-cta-banner.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 3rem;
}

.cta-section h2 {
    font-weight: bold;
}

.cta-section h2,
.cta-section p {
    color: white;
}

.cta-banners {
    position: relative;
    z-index: 2;
}

.cta-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
}

.cta-banners .col-4 {
    text-align: center;
    padding: 20px;
}
.cta-banners .img-box {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cta-banners img {
    width: 60%;
}


/***************
11. RESPONSIVE
****************/

/* Mobile */
@media screen and (max-width: 429px) {

    /* Titles and texts */
        h1 {
            font-size: 25px;
        }

        h2 {
            font-size: 19px;
        }

        h3 {
            font-size: 15px;
        }

        h4 {
            font-size: 14px;
            text-decoration: underline;
        }

        p {
            font-size: 14px;
            line-height: 20px;
        }

        .heading-container {
            margin-bottom: 1rem;
        }

    /* Buttons */
    .proactive-button .button {
        padding: 2rem 1.25rem;
        border-radius: 3rem;
        width: 80%;
    }
    .proactive-button .button:after {
        border-radius: 3rem;
    }
    .proactive-button .button span {
        font-size: 1rem;
    }


    /* CTA Container */
    .cta-banners {
        padding: 20px;
        display: flex;
    }

    .cta-banners img:first-child {
        margin-bottom: 2rem;
    }

    .cta-banners p {
        margin-bottom: 2rem;
    }

    .cta-container {
        text-align: center;
    }

    /* Footer */
    .footer {
        text-align: center;
    }

    .f-title {
        margin-bottom: 1rem;
    }

    .footer .d-flex {
        justify-content: center;
    }
    footer img {
        width: 150px;
    }
}

/* Tablett */
@media screen and (min-width: 430px) and (max-width: 768px) {
    /* Titles and texts */
    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
        text-decoration: underline;
    }

    p {
        font-size: 16px;
        line-height: 22px;
    }

    /* Btns */
    .proactive-button .button {
        padding: 2rem 1.25rem;
        border-radius: 3rem;
        width: 80%;
    }

    /* Navigation */
    .topbar,
    .nav-header {
        display: none !important;
    }

    .mobile-nav {
        display: block;
    }

    .mobile-nav .nav-link {
        padding: 8px 8px 8px 32px;
        font-size: 35px;
    }

    .mobile-nav .nav-link span {
        font-size: 35px;
    }

    .mobile-nav .dropd-menu {
        line-height: 60px;
        font-size: 35px;
        padding: 10px;
    }

    .dropdown-item span {
        text-transform: uppercase;
        font-size: 18px;
    }
    .flag {
        width: 40px;
    }

    /* sub nav side menu */
    .sub-nav {
        right: 2%;
        width: 100px;
        height: 200px;
    }

    .sub-nav span {
        font-size: 12px;
    }

    /* CTA Container */

    /* Footer */
}

/* LapTop 14 inches */
@media screen and (min-width: 769px) and (max-width: 1519px) {

    /* Buttons */
        .proactive-button .button {
            padding: 2rem 1.25rem;
            border-radius: 10rem;
            width: 50%;
        }
        .proactive-button .button span {
            font-size: 1.5rem;
        }
    /* Navigation */
        .mobile-nav {
            display: none !important;
        }
    /* CTA Container */
        .cta-banners {
            padding: 3rem;
        }
    /* Footer */
        footer img {
            width: 180px;
        }

}

/* LapTop 17 inches */
@media screen and (min-width: 1520px) and (max-width: 1899px) {
   
    /* Navigation */
    .mobile-nav {
        display: none;
    }

    /* CTA Container */
    .cta-banners {
        padding: 3rem;
    }
    /* Footer */
    footer img {
        width: 180px;
    }
}

/* Desktop and more */
@media screen and (min-width: 1900px) {
    /* Titles and texts */
    
    p {
        font-size: 28px;
    }
    /* Buttons */
    .proactive-button .button {
        padding: 2rem 1.25rem;
        border-radius: 10rem;
        width: 50%;
    }

    .proactive-button .button span {
        font-size: 1.5rem;
    }

    /* Navigation */
    .mobile-nav {
        display: none !important;
    }

    /* CTA Container */
    .cta-banners {
        padding: 3rem;
    }

    /* Footer */
    footer img {
        width: 180px;
    }

    /* Navigation */
    .mobile-nav {
        display: none;
    }
    /* CTA Container */

    /* Footer */
}



@media only screen and (max-width: 768px) {

    /* Global */
    #services #people,
    #pro,
    #immobilier,
    #time,
    #declaration,
    #find-home,
    #find-car,
    #invest,
    #leasing,
    #team {
        scroll-margin-top: var(--mobile-header-height);
    }

     /* Navigation */
     .topbar,
     .nav-header {
         display: none !important;
     }

     .mobile-nav {
         display: block;
     }

     .mobile-nav .dropd-menu {
         line-height: 50px;
         font-size: 17px;
         padding: 10px;
     }

     .mobile-nav .nav-link {
         padding: 8px 8px 8px 32px;
         text-decoration: none;
         color: var(--white);
         transition: 0.3s;
         font-size: 22px;
     }

     .flag {
         width: 40px !important;
     }

     .mobile-nav .nav-link span {
         font-size: 12px;
     }

     .sub-nav {
         display: none;
     }

    /* Hero */
    .scroll-down button {
        padding: 15px 5px;
    }

    .scroll-down img {
        width: 15px;
    }

    .heading-icon {
        width: 35px;
    }

    /* Btns */
    .top-btn,
    .cta-btn {
        height: 50px;
        padding: 10px 15px;
        margin-bottom: 1rem;
        font-size: 12px;
    }

    .arrow {
        height: 20px;
    }
}

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

    /* Global */
    #about,
    #people,
    #pro,
    #immobilier,
    #time,
    #declaration,
    #find-home,
    #find-car,
    #invest,
    #leasing,
    #team {
        scroll-margin-top: var(--laptop-header-height);
    }

    /* Titles and texts */
    h1 {
        font-size: 70px;
    }

    h2 {
        font-size: 25px;
        margin-bottom: 0;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 17px;
        text-decoration: underline;
    }

    p {
        font-size: 17px;
        line-height: 30px;
    }

    /* Navigation */
    /* sub nav side menu */
    .sub-nav {
        right: 2%;
        width: 150px;
        height: 250px;
    }

    .sub-nav span {
        text-align: center;
        font-size: 14px;
    }

    .nav-blocs {
        height: 50%;
    }

    .sub-line {
        width: 100%;
        height: 3px;
    }

    .sl-icon {
        width: 50%;
    }

    .sl-img {
        padding: 5px;
    }

    /* Hero */
    .scroll-down button {
        padding: 25px 10px;
    }

    .scroll-down img {
        width: 25px;
    }

    /* Btns */
    .top-btn,
    .cta-btn {
        height: 70px;
        padding: 15px 20px;
    }

    .arrow {
        height: 30px;
    }
    .proactive-button .button {
        border-radius: 10rem;
        width: 500px;
        padding: 30px;
    }
    .proactive-button .button:after {
        border-radius: 10rem;
    }
}


