.contact-container {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    text-align: left;
    padding-right: 50px;
}

.contact-form {
    flex: 1;
    padding-left: 50px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.input-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form-field {
    position: relative;
    margin-bottom: 20px;
    width: 48%;
}
.form-field.message,
.form-field.service {
    width: 100%;
}
.form-field.message {
    margin-top: 20px;
}
.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-5);
    border-radius: 4px;
    background: transparent;
    outline: none;
    font-size: 16px;
    transition: 0.3s;
}

.form-field label {
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #666;
    pointer-events: none;
    transition: 0.3s;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label,
.form-field select:focus + label,
.form-field select:not(:placeholder-shown) + label {
    top: -10px;
    left: -5px;
    font-size: 14px;
    color: var(--primary-color);
    background-color: var(--background-color);
    padding: 0 5px;
}

.input-service {
    width: 100%;
    margin-bottom: 20px;
}
.input-message {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--secondary-bg-color);
    border-radius: 4px;
    min-height: 150px;
}

.submit-button {
    background-color: var(--color-5);
    color: var(--color-white);
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.submit-button:hover {
    background-color: var(--bg-1);
    color: var(--color-5);
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 20px;
        gap: 50px;
    }
    .form-field {
        margin-bottom: 40px;
    }

    .contact-info,
    .contact-form {
        text-align: left;
        padding: 0;
        margin-bottom: 10px;
    }

    .input-group {
        flex-direction: column;
    }

    .form-field {
        width: 100%;
    }
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
