/* =========================
   BASIS
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    color: #071d49;
    background: #f5f8fc;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================
   TOPBAR
========================= */

.topbar {
    background: #071d49;
    color: white;
}

.topbar-inner {
    width: min(1400px, calc(100% - 60px));

    min-height: 42px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.location {
    font-size: 12px;
    font-weight: 700;
}

.location-dot {
    margin-right: 8px;
}

.socials {
    display: flex;

    gap: 18px;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.socials img {
    width: 18px;
    height: 18px;

    display: block;
}


/* =========================
   HEADER
========================= */

.header {
    position: relative;

    z-index: 100;

    background: white;

    border-bottom:
        1px solid #e7ebf1;
}

.nav-container {
    width: min(1400px, calc(100% - 60px));

    min-height: 104px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand img {
    width: 90px;

    display: block;
}


/* =========================
   DESKTOP NAVIGATIE
========================= */

.nav {
    display: flex;
    align-items: center;

    gap:
        clamp(30px, 3.5vw, 58px);
}

.nav a {
    position: relative;

    color: #071d49;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    font-weight: 800;

    padding: 12px 0;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 3px;

    background: #1171df;

    transition:
        width 0.2s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}


/* =========================
   HAMBURGER
========================= */

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    border: 0;

    background: transparent;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 6px;

    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 4px;

    background: #071d49;

    border-radius: 10px;

    transition: 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform:
        translateY(10px)
        rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform:
        translateY(-10px)
        rotate(-45deg);
}

.mobile-nav {
    display: none;
}


/* =========================
   CONTACT INTRO
========================= */

.contact-intro {
    color: white;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(63, 151, 255, 0.18),
            transparent 35%
        ),
        linear-gradient(
            115deg,
            #041a43 0%,
            #083c84 55%,
            #1268ce 100%
        );
}

.contact-intro-inner {
    width:
        min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding:
        72px 0
        78px;
}

.page-kicker {
    margin-bottom: 18px;

    color: #69adff;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 5px;
}

.contact-intro h1 {
    max-width: 760px;

    color: white;

    font-size:
        clamp(45px, 6vw, 78px);

    line-height: 0.98;

    font-weight: 900;

    letter-spacing: -2px;
}

.contact-intro h1 span {
    color: #75b6ff;
}

.contact-intro-text {
    max-width: 620px;

    margin-top: 24px;

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 17px;

    line-height: 1.65;
}


/* =========================
   CONTACT SECTIE
========================= */

.contact-section {
    padding:
        55px
        20px
        90px;

    background: #f4f7fb;
}


/* =========================
   FORMULIER KAART
========================= */

.contact-form-wrapper {
    width:
        min(820px, 100%);

    min-height: 420px;

    margin: 0 auto;

    padding:
        45px
        48px
        48px;

    background: white;

    border-radius:
        10px
        24px
        10px
        24px;

    box-shadow:
        0 22px 60px
        rgba(7, 29, 73, 0.09);
}

.form-kicker {
    margin-bottom: 10px;

    color: #1474e5;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 4px;
}

.form-heading h2 {
    color: #071d49;

    font-size: 36px;

    line-height: 1.12;

    font-weight: 900;

    letter-spacing: -1px;
}


/* =========================
   FORMULIER
========================= */

.contact-form {
    margin-top: 32px;
}

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        22px
        20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column:
        1 / -1;
}

.form-group label {
    margin-bottom: 8px;

    color: #071d49;

    font-size: 11px;
    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border:
        1px solid #dce4ef;

    border-radius: 5px;

    outline: none;

    background: #f7f9fc;

    color: #071d49;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-group input,
.form-group select {
    height: 48px;

    padding:
        0 14px;
}

.form-group textarea {
    min-height: 125px;

    padding: 14px;

    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ba8bc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1474e5;

    background: white;

    box-shadow:
        0 0 0 3px
        rgba(20, 116, 229, 0.08);
}


/* =========================
   FORM FOOTER
========================= */

.form-footer {
    margin-top: 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.form-footer p {
    color: #8794a8;

    font-size: 11px;
}

.submit-button {
    min-height: 50px;

    padding:
        0 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    border: 0;

    border-radius: 4px;

    background: #071d49;

    color: white;

    font-size: 12px;
    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.submit-button:hover {
    background: #1474e5;

    transform:
        translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.6;

    cursor: wait;

    transform: none;
}

.button-arrow {
    font-size: 20px;

    font-weight: 400;
}


/* =========================
   FOUTMELDING
========================= */

.error-message {
    display: none;

    margin-top: 20px;

    padding:
        14px
        16px;

    color: #8b2530;

    background: #fff1f2;

    border:
        1px solid #ffd2d6;

    border-radius: 5px;

    font-size: 13px;

    line-height: 1.5;
}

.error-message.show {
    display: block;
}


/* =========================
   SUCCESMELDING
========================= */

.success-message {
    display: none;

    min-height: 330px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    text-align: center;
}

.success-message.show {
    display: flex;
}


/* LOGO */

.success-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    margin:
        0 auto
        24px;
}

.success-logo img {
    width: 100px;
    height: auto;

    display: block;
}


.success-message h2 {
    color: #071d49;

    font-size:
        clamp(32px, 3.5vw, 44px);

    line-height: 1.08;

    font-weight: 900;
}

.success-message h2 span {
    display: block;

    color: #1474e5;
}

.success-text {
    max-width: 520px;

    margin-top: 18px;

    color: #68768a;

    font-size: 16px;

    line-height: 1.65;
}

.success-button {
    margin-top: 26px;

    padding:
        15px
        20px;

    display: inline-flex;
    align-items: center;

    gap: 22px;

    border-radius: 4px;

    background: #071d49;

    color: white;

    font-size: 12px;
    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.success-button:hover {
    background: #1474e5;

    transform:
        translateY(-2px);
}

.success-button span {
    font-size: 20px;
}


/* =========================
   DESKTOP
========================= */

@media (min-width: 900px) {

    .contact-intro-inner {
        width:
            min(1080px, calc(100% - 60px));

        padding:
            34px
            0
            38px;
    }

    .page-kicker {
        margin-bottom: 10px;

        font-size: 9px;

        letter-spacing: 4px;
    }

    .contact-intro h1 {
        max-width: none;

        font-size: 47px;

        line-height: 1.05;

        letter-spacing: -1px;
    }

    .contact-intro-text {
        max-width: 600px;

        margin-top: 12px;

        font-size: 14px;

        line-height: 1.55;
    }

    .contact-section {
        padding:
            30px
            20px
            60px;
    }

    .contact-form-wrapper {
        padding:
            32px
            40px
            36px;
    }

    .form-kicker {
        margin-bottom: 7px;

        font-size: 9px;
    }

    .form-heading h2 {
        font-size: 32px;
    }

    .contact-form {
        margin-top: 24px;
    }

    .form-grid {
        gap:
            17px
            18px;
    }

    .form-group label {
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
        height: 44px;
    }

    .form-group textarea {
        min-height: 105px;
    }

    .form-footer {
        margin-top: 20px;
    }

    .submit-button {
        min-height: 46px;
    }

}


/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {

    .nav {
        gap: 22px;
    }

    .nav a {
        font-size: 12px;
    }

}


/* =========================
   GSM
   GELIJK AAN HOME
========================= */

@media (max-width: 800px) {

    body {
        padding-top:
            env(safe-area-inset-top);
    }


    /* TOPBAR WEG */

    .topbar {
        display: none;
    }


    /* HEADER */

    .nav-container {
        width: 100%;

        min-height: 98px;

        padding:
            10px
            max(
                22px,
                env(safe-area-inset-right)
            )
            10px
            max(
                22px,
                env(safe-area-inset-left)
            );
    }

    .brand img {
        width: 84px;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }


    /* MOBIEL MENU */

    .mobile-nav {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        padding:
            8px
            24px
            24px;

        background: white;

        flex-direction: column;

        box-shadow:
            0 15px 30px
            rgba(0, 0, 0, 0.13);
    }

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav a {
        padding:
            17px
            4px;

        color: #071d49;

        text-decoration: none;
        text-transform: uppercase;

        font-size: 16px;
        font-weight: 800;

        border-bottom:
            1px solid #e8ebef;
    }

    .mobile-nav a:last-child {
        border-bottom: 0;
    }

    .mobile-nav a.active {
        color: #1474e5;
    }


    /* CONTACT INTRO */

    .contact-intro-inner {
        width:
            calc(100% - 40px);

        padding:
            52px
            0
            58px;
    }

    .page-kicker {
        margin-bottom: 16px;

        font-size: 11px;

        letter-spacing: 5px;
    }

    .contact-intro h1 {
        font-size:
            clamp(43px, 13vw, 62px);

        line-height: 0.98;

        letter-spacing: -1.5px;
    }

    .contact-intro h1 span {
        display: block;
    }

    .contact-intro-text {
        margin-top: 24px;

        font-size: 16px;

        line-height: 1.65;
    }


    /* CONTACT SECTIE */

    .contact-section {
        padding:
            36px
            18px
            65px;
    }

    .contact-form-wrapper {
        min-height: auto;

        padding:
            32px
            22px
            30px;

        border-radius:
            8px
            20px
            8px
            20px;
    }

    .form-kicker {
        font-size: 9px;

        letter-spacing: 3px;
    }

    .form-heading h2 {
        font-size: 30px;

        line-height: 1.12;
    }


    /* FORMULIER */

    .contact-form {
        margin-top: 28px;
    }

    .form-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .form-group-full {
        grid-column: auto;
    }

    .form-group input,
    .form-group select {
        height: 52px;

        font-size: 16px;
    }

    .form-group textarea {
        min-height: 150px;

        font-size: 16px;
    }


    /* FOOTER */

    .form-footer {
        margin-top: 22px;

        flex-direction: column;

        align-items: stretch;
    }

    .form-footer p {
        order: 2;

        text-align: center;
    }

    .submit-button {
        width: 100%;

        min-height: 54px;

        justify-content: space-between;
    }


    /* BEDANKBERICHT */

    .success-message {
        min-height: 400px;

        padding:
            25px
            5px;
    }

    .success-logo {
        margin-bottom: 22px;
    }

    .success-logo img {
        width: 82px;
    }

    .success-message h2 {
        font-size: 34px;
    }

    .success-text {
        font-size: 15px;
    }

    .success-button {
        width: 100%;

        justify-content: space-between;
    }

}


/* =========================
   KLEINE GSM
========================= */

@media (max-width: 430px) {

    .nav-container {
        min-height: 92px;
    }

    .brand img {
        width: 78px;
    }

    .contact-intro h1 {
        font-size: 40px;
    }

    .contact-form-wrapper {
        padding-left: 18px;

        padding-right: 18px;
    }

    .success-message h2 {
        font-size: 31px;
    }

}

/* =========================
   INSTAGRAM IN MOBIEL MENU
========================= */

@media (max-width: 800px) {
    .mobile-nav .mobile-instagram {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        color: #071d49;
    }

    .mobile-nav .mobile-instagram img {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        object-fit: contain;
    }

    .mobile-nav .mobile-instagram span {
        font-size: 16px;
        font-weight: 800;
        text-transform: uppercase;
    }
}



/* MOBIEL INSTAGRAM-ICOON ONDERAAN HAMBURGERMENU */
@media (max-width: 800px) {
    .mobile-nav .mobile-instagram {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 8px;
        padding: 22px 4px 6px;
        border-top: 1px solid #e8ebef;
        border-bottom: 0;
        gap: 0;
    }

    .mobile-nav .mobile-instagram img {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        object-fit: contain;
    }

    .mobile-nav .mobile-instagram span {
        display: none;
    }
}

/* Instagram-logo zichtbaar op witte mobiele navigatie */
@media (max-width: 800px) {
    .mobile-nav .mobile-instagram img {
        width: 44px;
        height: 44px;
        padding: 10px;
        flex: 0 0 44px;
        background: #071d49;
        border-radius: 50%;
        object-fit: contain;
    }
}


/* DEFINITIEVE MOBIELE INSTAGRAMKNOP */
@media (max-width: 800px) {
  .mobile-nav .mobile-instagram {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 22px 0 10px !important;
    border-top: 1px solid #e8ebef !important;
    border-bottom: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }
  .mobile-nav .mobile-instagram img {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* MOBIEL INSTAGRAM - ENKELE LIJN + LINKS UITGELIJND */
@media (max-width: 800px) {
  .mobile-nav .mobile-instagram {
    justify-content: flex-start !important;
    margin: 8px 0 0 !important;
    padding: 22px 4px 10px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
  }

  .mobile-nav .mobile-instagram img {
    margin: 0 !important;
  }
}
