.contact {
    margin-bottom: 120px;
    display: flex;
    & div.info {width: 45%;min-width: 390px;}
    & div.form {min-width: auto;width: 55%;}
    & .tab {
        border-radius: 17px;        
        & div.details {margin-top: 20px;}
    }
}

.contact .form {
    background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%); 
    border-radius: 17px;
    padding: 30px;
    & h3 {font-weight: 400;color: #353535;font-size: 15px;margin: 10px 0 20px 0;}
    & .input-container {
        display: flex;
        flex-direction: row;
        margin-bottom: 14px;
        gap: 14px;
    }
    & input, select, textarea {
        width: 50%;
        padding: 10px;
        font-size: 15px;
        outline: none;
        border: 1px solid #e8e8e8;
        border-radius: 7px;
    }
    & select {width: 100%;}
    & textarea {width: 100%;resize: vertical;min-height: 120px;}
    & button {
        padding: 12px 0;
        text-align: center;
        background-color: #00BDF2;
        color: #fff;
        border: 0;
        outline: none;
        width: 100%;
        font-size: 15px;
        border-radius: 11px;
        cursor: default;
        opacity: 0.7;
        font-weight: 600;
        text-transform: uppercase;
        &.active {opacity: 1;cursor: pointer;}
    }
}

#form-error {
    padding: 10px;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}
#form-error[type="success"] {
    background-color: green;
    color: #fff;
}
#form-error[type="error"] {
    background-color: #ff000013;
    color: #ff0000;
}

input.error, select.error {
    border-color: #ff0000 !important;
}

@media screen and (max-width: 970px) {
    .contact {
        display: grid;
        gap: 30px;
        & .info {width: 100% !important;}
        & .form {width: auto !important;}
    }
    .contact .details-parent {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
        & .details {width: calc(50% - 15px);}
    }    
}