#sec-1 {
    min-height: calc(100svh - 2 * var(--navbar-height));
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: 6rem 4vw;
}

#sec-1 .bg-overlay {
    background: linear-gradient(var(--prim-col) 70%, #1c1c1c);
    opacity: 0.92;
}

#sec-1 > *:not(.bg-img, .bg-overlay) {
    position: relative;
    max-width: 42%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
}

#text.card,
#mail-form.card {
    background: rgba(36, 36, 36, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

#text.card h1 {
    margin-bottom: 1.25rem;
}

#mail-form {
    width: 100%;
    align-items: start;
    gap: 0.75rem;
}

#mail-form label {
    margin-bottom: 0.25rem;
    letter-spacing: 0.01em;
}

.text-input,
.tall-text-input {
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    padding: 0.9rem 1rem;
    margin: 0 0 0.75rem 0;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.text-input:focus,
.tall-text-input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(227, 30, 36, 0.35);
}

.text-input {
    height: 3.2rem;
}

.tall-text-input {
    min-height: 9rem;
    resize: vertical;
}

#terms-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0 1rem 0;
}

.sec-1-btn {
    padding: 0.8rem 1.4rem;
    margin: 0.5rem auto 0 auto;
    min-width: 10rem;
}

.button-area span{
    font-size: 17px;
    margin-left: 30px;
    display: none;
}

@media(width <= 1100px) {
    #sec-1 > *:not(.bg-img, .bg-overlay) {
        max-width: 70vw;
    }
}

@media(width <= 900px) {
    #sec-1 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 5rem 1.5rem;
    }

    #sec-1 > *:not(.bg-img, .bg-overlay) {
        text-align: center;
        max-width: 85vw;
    }

    #mail-form.card {
        width: 100%;
    }

    .sec-1-btn {
        padding: 1rem 1.5rem;
        font-size: 1.3rem;
    }

    #text {
        align-items: center;
        justify-content: center;
        margin-bottom: 2.5rem;
    }
}
