/*-- -------------------------- -->
<---     Contact                -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem){
    #contact {
        background-color: #fff;
        overflow: hidden;
    }
    .contact-hero{
        padding: clamp(8rem, 12vw, 10rem) 1.5rem clamp(7.5rem, 12vw, 10rem);
        background-color: var(--forest);
        text-align: center;
    }
    .contact-hero-container{
        max-width: 42rem;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contact-hero h1{
        font-size: clamp(2.125rem, 4.8vw, 3.375rem);
        line-height: 1.08;
        letter-spacing: -0.015em;
        color: #fff;
        margin: 0;
    }
    #contact-content{
        font-size: 1.0625rem;
        line-height: 1.7;
        color: #C9DDE4;
        margin: 1.125rem 0 0;
    }
    .contact-container{
        position: relative;
        z-index: 1;
        max-width: 38rem;
        margin: clamp(-5.5rem, -8vw, -3.5rem) auto 0;
        padding: 0 1.5rem;
    }

    #contact-form {
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        padding: clamp(1.75rem, 4vw, 2.75rem);
        background-color: #fff;
        border: 1px solid var(--sage);
        border-radius: 1.25rem;
        box-shadow: 0 1.25rem 3rem rgba(6, 48, 63, 0.14);
    }

    #contact-form label {
        margin: 1.1rem 0 0.45rem;
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--ink);
    }

    #contact-form label:first-of-type{
        margin-top: 0;
    }

    #contact-form input,
    #contact-form textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 0.9rem 1rem;
        border: 1px solid var(--sage);
        border-radius: 0.75rem;
        background-color: var(--cream);
        font-family: inherit;
        font-size: 1rem;
        color: var(--ink);
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    #contact-form input:focus,
    #contact-form textarea:focus {
        outline: 2px solid transparent;
        background-color: #fff;
        border-color: var(--secondary);
        box-shadow: 0 0 0 4px rgba(14, 101, 133, 0.22);
    }

    #contact-form textarea {
        min-height: 9rem;
        resize: vertical;
    }

    #contact-form button {
        align-self: center;
        margin-top: 1.75rem;
        padding: 0.95rem 2.5rem;
        box-sizing: border-box;
        background-color: var(--secondaryDark);
        color: #fff;
        border: none;
        border-radius: 999px;
        cursor: pointer;
        font-family: inherit;
        font-size: 1rem;
        font-weight: 700;
        transition: background-color 0.2s ease;
    }

    #contact-form button:hover {
        background-color: var(--secondaryDarker);
    }

    #contact-form button:focus-visible {
        outline: 3px solid var(--gold);
        outline-offset: 3px;
    }

    #success-message{
        display: none;
        margin-top: 1.5rem;
        padding: 1.25rem 1.5rem;
        border: 1px solid var(--sage);
        border-radius: 1rem;
        background-color: var(--secondaryTint);
        text-align: center;
    }

    #success-message p{
        margin: 0;
        font-size: 1rem;
        font-weight: 600;
        color: var(--secondaryDarker);
    }
}