.consultation-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.consultation-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.consultation-icon {
    line-height: 0;
}

.consultation-icon img {
    height: 35px;
}

.consultation-title h3 {
    font-size: 28px;
    font-weight: 700;
}

.form {
    background: var(--p-color);
    padding: 60px 40px;
    border-radius: 32px;
    flex: 1;
}

.consultation-contents {
    position: relative;
    background-image: url('../assets/patterns/main-pattern.svg');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: inherit;
    width: 100%;
    height: 100%;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    flex: 1;
}

.form-group {
    position: relative;
    background: var(--s-color);
    border-radius: 32px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--t-color);
}

.form-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: none;
    background: transparent !important;
    color: var(--t-color);
    font-size: 18px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border: none;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--t-color);
}

.form-title {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.form-title h3 {
    font-size: 28px;
}

.form-buttons button {
    background: var(--t-color) !important;
    color: var(--w-color) !important;
    width: 100%;
    padding: 20px;
    border-radius: 32px;
    font-size: 18px;
    font-weight: 500;
    border: none;
    outline: none;
    margin-top: 24px;
    cursor: pointer;
    opacity: 1;
    transition: 0.3s ease-in-out;
}

.form-buttons button:hover {
    opacity: 0.9;
}

.consultation-text p {
    font-size: 18px;
    line-height: 2;
}




@media (max-width: 1400px) {}

@media (max-width: 1200px) {
    .consultation-title h3 {
        font-size: 26px;
    }

    .consultation-text p {
        font-size: 17px;
        line-height: 1.8;
    }

    .form-title h3 {
        font-size: 26px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 17px;
    }

    .consultation-icon img {
        height: 30px;
    }
}

@media (max-width: 992px) {
    .consultation-items {
        flex-direction: column;
        gap: 10px;
    }

    .consultation-icon img {
        height: 24px;
    }


    .consultation-title h3 {
        font-size: 22px;
    }

    .consultation-contents {
        background-position: center;
        background-size: contain;
        min-height: 340px;
    }

    .form {
        width: 100%;
    }

    .form-title h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .consultation-contents {
        background-position: center;
        background-size: 50%;
        min-height: 330px;
    }

    .consultation-icon img {
        height: 24px;
    }

    .consultation-title h3 {
        font-size: 22px;
    }

    .consultation-text p {
        font-size: 16px;
        line-height: 1.8;
    }

    .form {
        background: var(--p-color);
        padding: 50px 40px;
        border-radius: 28px;
        flex: 1;
    }

    .form-group {
        padding: 8px 18px;
    }

    .form-title h3 {
        font-size: 22px;
        font-weight: 700;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }
}

@media (max-width: 576px) {}

@media (max-width: 480px) {
    .consultation-icon img {
        height: 22px;
    }

    .consultation-title h3 {
        font-size: 20px;
    }

    .form {
        background: var(--p-color);
        padding: 40px 30px;
        border-radius: 28px;
        flex: 1;
    }

    .form-group {
        gap: 4px;
    }
}

@media (max-width: 390px) {

    .consultation-text p {
        font-size: 15px;
        line-height: 1.7;
    }

    .form-group img {
        width: 20px;
        height: 20px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 15px;
    }

    .form-title h3 {
        font-size: 20px;
    }

    .form-buttons button {
        padding: 16px;
        font-size: 16px;
    }

    .consultation-contents {
        background-size: 90%;
    }
}