header .navbar {
    background-color: #284D9A !important;
}

/* SECTION */

.contact {
    gap: 2vw;
    padding: 9vw 8.928vw 3vw 8.928vw;
}

.contact .head-top .title {
    color: #56A1BF;
    font-family: var(--font-name);
    font-weight: 900;
    font-size: 5vw;
    line-height: 5vw;
    text-align: center;
}
.contact .head-top .description {
    font-family: var(--font-name);
    font-weight: 500;
    font-size: 1.875vw;
    line-height: normal;
    text-align: center;
    width: 42.708vw;
}

.contact .form-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    gap: 2.988vw;
}


.contact .form-container form {
    gap: 2.135vw;
}
.contact .form-container form .input .name {
    font-family: var(--font-name);
    font-weight: 700;
    font-size: 1.66vw;
    line-height: 2.864vw;
    color: #56A1BF;
}
.contact .form-container form .input input ,
.contact .form-container form .input textarea {
    border: none;
    outline: none;
    padding: 1.2989vw 2.08vw;
    border-radius: 1.82vw 2.60vw 2.60vw 0;
    box-shadow: 0px 4px 20px 0px #0000001A;
    resize: none;
}

.contact .form-container form button {
    width: fit-content;
    padding: .989vw 4.5vw;
    border-radius: 1.82vw 2.60vw 2.60vw 0;
    background:#284D9A;
    color: white;
    margin: 0 auto;
    border: none;
    border: 1px solid #284D9A;
    outline: none;
    
    font-family: var(--font-name);
    font-weight: 800;
    font-size: 1.666vw;
    text-align: center;
    cursor: pointer;
    transition: all .5s ease-in-out;
}
.contact .form-container form button:hover {
    transition: all .5s ease-in-out;
    border: 1px solid #284D9A;
    background: white;
    color: #284D9A;
}

.contact .details-right {
    width: 33.906vw;
    gap: 3vw;
}

.contact .details-right .coordonnes .title ,
.contact .details-right .locate-map .title {
    color: #284D9A;
    font-family: var(--font-name);
    font-weight: 800;
    font-size: 3.437vw;
    line-height: normal;
    text-align: center;
    width: 100%;
    display: block;
    margin-bottom: 1.5vw;
}

.contact .details-right .coordonnes .details {
    background: #56A1BF;
    box-shadow: 0px 4px 50px 0px #00000040;
    border-radius: 1.56vw;
    padding: 5vw 0;
    gap: 2vw;
}
.contact .details-right .coordonnes .details::before,
.contact .details-right .coordonnes .details::after {
    position: absolute;
    content: "";
    top: -0.4vw;
    display: block;
    height: .81vw;
    background: #E9E11F;
    width: 80%;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.contact .details-right .coordonnes .details::before {
    bottom: -0.4vw;
    top: inherit;
}

.contact .details-right .coordonnes .details .one-coordonne {
    padding: 0 2.86vw;
    gap: .5vw;
}
.contact .details-right .coordonnes .details .one-coordonne p span {
    color: #E9E11F ;
    font-family: var(--font-name);
    font-weight: 500;
    font-size: var(--p-size);
}
.contact .details-right .coordonnes .details .one-coordonne .icon {
    align-self: flex-start;
    font-size: 2vw;
}

.contact .details-right .locate-map figure {
    box-shadow: 0px 4px 50px 0px #00000040;
    border-radius: 1.56vw;
    width: 33.90vw;
    height: 22.70vw;
}
.contact .details-right .locate-map figure iframe {
    border-radius: 1.56vw;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {

    .mobile-header.scrolled {
    background-color: #284D9A !important;
    /* background-color: #284D9A;  */
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
    .contact .form-container {
        flex-direction: column !important;
        padding: 0;
        gap: 6vw;
    }

    .contact {
        padding: 28vw 5.928vw 3vw 5.928vw;
    }

    .contact .form-container form,
    .contact .form-container .details-right {
        width: 100%;
    }

    .contact .details-right,
    .contact .form-container form .form-group {
        flex-direction: column !important;
        display: flex !important;
        justify-content: space-between;
        align-items: flex-start !important;
        flex-wrap: wrap !important;
        gap: 4vw;
    }

    .contact .details-right .coordonnes{
        width: 100%;
    }
    .contact .form-container form .form-group .input {
    width: 100%;
    margin-left: 0 !important; 
}
        .form-group {
        flex-direction: column;
        gap: 4vw;
    }

    .contact .details-right .locate-map iframe {
        width: 100%;
        height: 50vw;
        border: none;
    }
    .contact .head-top .description {
        font-size: 3.875vw;
        width: 65.708vw;
    }
    .contact .head-top .title {
        font-size: 6.5vw;
        line-height: 5vw;
    }
    .contact .form-container form .input .name {
        font-size: 3.5vw;
        line-height: 6.864vw;
    }
    .contact .form-container form .input input, .contact .form-container form .input textarea {

        height: 11vw;
        width: 100%;
    }
    .contact .form-container form button {
        margin: 13px auto;
        font-size: 4.666vw;
    }
    .contact .details-right .coordonnes .title, .contact .details-right .locate-map .title {
    font-size: 5.437vw;
}
  }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact .form-container,
.contact .details-right {
  animation: fadeIn 0.8s ease-out;
}
