body {
    overflow-x: hidden;
}


/* Banner wave animation */
.ocean {
    height: 0.5%;
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: #120027;
    left: 0;
}

.wave {
    background: url(../Assets/Images/wave.svg) repeat-x;
    position: absolute;
    top: -198px;
    width: 200vw;
    height: 198px;
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    transform: translate3d(0, 0, 0);

}

.wave:nth-of-type(2) {
    top: -175px;
    animation: wave 6s cubic-bezier(0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
    opacity: 1;
}

.wave:nth-of-type(3) {
    top: -175px;
    animation: wave 5s cubic-bezier(0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
    opacity: 1;
}

@keyframes wave {
    0% {
        margin-left: 0;
    }

    100% {
        margin-left: -1600px;
    }
}


@keyframes swell {

    0%,
    100% {
        /* 25 px because the wave goes up and down that much */
        transform: translate3d(0, -25px, 0);
    }

    50% {
        transform: translate3d(0, 5px, 0);
    }
}

/* --------------------------------------------------------Form-------------------------------------------------------- */

.form-container {
    justify-self: center;
    width: 80%;
    height: 70vh;
    display: flex;
    justify-content: center;
    padding: 5% 2.5%;
    gap: 2%;
}

.contact-info,
.form-wrapper {
    width: 50%;
    height: 100%;
}


.contact-info p {
    padding-bottom: 5%;
}

.contact-info p a {
    color: var(--primaryColor);
}

.contact-info h1 {
    text-align: center;
    padding: 0 0 5% 0;
}

/* --------------------------------------------Map-------------------------------------------- */
.mapContainer {
    height: 25vw;
    width: 80%;
    margin: auto;
}

.map {
    border-radius: 10px;
    height: 100%;
    width: 100%;
}

/* ----------------------------------------Contact Form---------------------------------------- */


.form-wrapper p {
    color: var(--backgroundColor);
}

.form-wrapper form {
    height: auto;
    background-color: white;
    border-radius: 10px;
    padding: 3%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    position: relative;
    justify-content: space-around;

    /* box Shadow */
    -webkit-box-shadow: 0px 0px 26px 0px var(--shadowColor);
    -moz-box-shadow: 0px 0px 26px 0px var(--shadowColor);
    box-shadow: 0px 0px 26px 0px var(--shadowColor);
}

.form-wrapper form .inputName {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.form-wrapper form .form-Row {
    width: 100%;
    display: inline-block;
}

.form-wrapper form .inputName .inputcol {
    width: 46%;
    display: flex;
    flex-direction: column;
}

.form-wrapper form input {
    height: 5vh;

}

.form-wrapper form input,
.form-wrapper form textarea {
    width: 90%;
    margin-top: 1vh;
    padding-left: 2%;
    color: var(--backgroundColor);
    padding-left: 40px;

    /* Ensure consistent background color */
    background: transparent;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 48 48"><rect width="48" height="48" fill="none" /><g fill="none" stroke="%23e11212" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><circle cx="24" cy="11" r="7" /><path d="M4 41c0-8.837 8.059-16 18-16m9 17l10-10l-4-4l-10 10v4z" /></g></svg>');
    background-repeat: no-repeat;
    background-position: 10px center;
    /* Align SVG within the input */
    background-size: 20px 20px;
    /* Set SVG size */
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-wrapper form input:focus {
    border-color: #120027;
    outline: none;
}

.form-wrapper form textarea {
    height: 20vh;
    resize: none;
    padding-top: 2%;
}


.form-wrapper form button {
    border-radius: 10px;
    width: 30%;
    /* height: 10vh; */
}


/* ////////////////////////////////////////////////// */
.scroll-animated-element {
    animation: fade-on-scroll linear;
    animation-timeline: view();
    /* Links animation to element's visibility in the viewport */
}

@keyframes fade-on-scroll {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}





/* 
---------------------------------------------------------------------------------
------------------------------Mobile Responsiveness------------------------------
---------------------------------------------------------------------------------
*/
@media (max-width: 1000px) {

    .form-container {
        height: auto;
        padding: 5% 0%;
    }


    .form-wrapper form .inputName {
        flex-direction: column;
    }

    .form-wrapper form .inputName .inputcol {
        width: 98%;
        margin: auto;
    }

    .form-wrapper form button {
        border-radius: 10px;
        width: 100%;
    }

    .form-container {
        display: inline-block;
        width: 100%;
    }

    .form-container .contact-info .mapContainer {
        width: 100%;
    }

    .form-container .contact-info, .form-container .form-wrapper {
        margin: 0 auto;
        width: 95%;
    }

    .form-container .contact-info {
        padding-left: 5%;
    }

    .mapContainer {
        width: 95%;
    }
}

@media (max-width: 700px) {}