.section-contact {
    padding: 92px 0px 125px;
    scroll-margin-top: 150px;
}

.section-contact .container {
    position: relative;
}

.section-contact .container::before {
    content: "";
    position: absolute;
    width: calc(100% - 129px);
    height: calc(100% - 60px);
    bottom: 0px;
    right: 0px;
    z-index: 0;
    background-color: var(--cream);
    border-radius: 8px;
}

.contact-page .section-contact .container::before {
    background-color: var(--light-grey);
}

.section-contact .form-container {
    position: relative;
    z-index: 2;
    padding-bottom: 47px;
}

.section-contact h2 {
    font-size: 100px;
    position: relative;
    z-index: 2;
    line-height: 100%;
    text-align: center;
    margin-bottom: 38px;
    font-weight: 600;
    -webkit-text-stroke: 1px var(--primary);
    text-transform: uppercase;
    color: transparent;
}

.section-contact .form-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.contact-form {
    /* max-width: 680px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    margin-bottom: 40px;
    margin-left: 26px;
    margin-right: 42px;
}

.contact-form .row {
    row-gap: 13px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0px 27px;
    border-radius: 100px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0px 3px 10px rgba(123, 125, 126, 0.1);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: none;
}

.contact-form .form-message {
    width: 100%;
    height: 316px;
    display: flex;
    flex-direction: column;
    padding: 20px 22px;
    border-radius: 8px;
    background: white;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0px 3px 10px rgba(123, 125, 126, 0.1);

}

.contact-form .form-message .subject {
    border-bottom: 1px solid rgba(22, 51, 93, 0.25);
    color: var(--secondary);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact-form textarea {
    width: 100%;
    height: 100%;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary);
    background: transparent;
}

.contact-form input::placeholder {
    color: rgba(0, 38, 61, 0.30);
}

.contact-form textarea::placeholder {
    color: rgba(0, 38, 61, 0.30);
}

@media screen and (max-width: 992px) {
    .section-contact {
        padding: 58px 0px;
    }
    
    .section-contact .container::before {
        width: calc(100% - 40px);
        height: calc(100% - 15px);
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-contact .form-container {
        padding-bottom: 45px;
    }
    
    .section-contact h2 {
        font-size: 40px;
        margin-bottom: 52px;
    }
    
    .section-contact .form-container img {
        display: none;
    }
    
    .contact-form {
        margin: 0px;
        padding: 0px 28px;
    }
    
    .contact-form .row {
        row-gap: 24px;
    }
    
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"] {
        height: 44px;
        padding: 0px 18px;
    }
    
    .contact-form .form-message {
        height: 273px;
        padding: 22px 18px;    
    }
    
    .contact-form .form-message .subject {
        margin-bottom: 16px;
        font-size: 16px;
        color: rgba(0, 38, 61, 0.30);
    }
}