.faq-form-items {
	position: relative;
	background: var(--p-color);
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 30px;
	height: 940px;
}

.faq-form-items .section-title {
    margin-top: 90px;
}

.faq-form-items::before,
.faq-form-items::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    aspect-ratio: 1920 / 162;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    z-index: 1;
}

.faq-form-items::before {
    top: -2px;
    background-image: url('../shape/shape-t.svg');
}

.faq-form-items::after {
    bottom: -2px;
    background-image: url('../shape/shape-b.svg');
}


.faq-form-contents {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.faq-items {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.faq-item {
    background: var(--w-color);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 24px;
    cursor: pointer;
}

.faq-item.faq-item-active {
    background: var(--s-color);
}

.faq-item.faq-item-active .faq-point-text span {
    color: var(--w-color);
}

.faq-answer p {
    background: var(--w-color);
    padding: 15px;
    border-radius: 24px;
    line-height: 1.9;
}

.faq-point-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-items {
    background: var(--w-color);
    padding: 50px;
    border-radius: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 80px 50px 100px rgba(0, 0, 0, 0.3);
}

.form-inputs {
    display: flex;
    align-items: center;
    gap: 24px;
}

.form-inputs input {
    padding: 8px;
    width: 100%;
    font-size: 16px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--t-color);
}

.form-fullname,
.form-phone {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #F8F8F8;
    width: 100%;
    padding: 10px 16px;
    border-radius: 24px;
}

.form-textarea {
    width: 100%;
    background: #F8F8F8;
    padding: 20px;
    border-radius: 24px;
    display: flex;
    align-items: start;
}

.form-textarea textarea {
	width: 100%;
	max-height: 200px;
	padding: 0 15px 15px;
	border: none;
	outline: none;
	resize: none;
	background: transparent;
}

.form-button input {
    width: 100%;
    height: 60px;
    border-radius: 24px;
    border: none !important;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--s-color);
    transition: 0.3s ease-in-out;
    color: var(--w-color);
    font-size: 16px;
    font-weight: 700;
}

.main-form {
    width: 100%;
}

.main-form form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-title h3 {
	font-size: 28px;
	font-weight: 700;
}

.form-phone input::placeholder {
    text-align: right;
}

@media (max-width: 1200px) {
    .form-items {
        flex: 0.7;
    }

    .faq-items {
        gap: 8px;
    }
}

@media (max-width: 992px) {
    .faq-items {
        gap: 4px;
    }

    .faq-item {
        margin: 8px 0;
    }


    .faq-form-contents {
        flex-direction: column;
    }

    .form-items {
        width: 100%;
    }

    .faq-form-items {
        height: auto;
    }


    .form-items {
        width: 100%;
        margin-bottom: 60px;
        box-shadow: none;
    }

}

@media (max-width: 576px) {
    .faq-form-items .section-title {
        margin-top: 60px;
    }

    .faq-form-items {
        padding: 20px;
    }

    .faq-form-contents {
        gap: 20px;
    }

    .form-items {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .faq-point-text span {
        font-size: 15px;
        line-height: 27px;
    }

    .faq-form-items {
        gap: 10px;
    }

    .faq-item {
        padding: 12px;
    }

    .faq-answer p {
        font-size: 14px;
        line-height: 1.7;
    }

    .faq-arrow img {
        width: 14px;
        height: 14px;
    }

    .faq-point-text img {
        width: 16px;
        height: 16px;
    }

    .faq-item {
        padding: 12px 12px 12px 20px;
    }

    .faq-item {
        margin: 4px 0;
    }

    .form-inputs {
        flex-direction: column;
        gap: 16px;
    }

    form {
        gap: 16px !important;
    }

    .form-title h3 {
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .form-items {
        padding: 20px;
    }

    .form-title h3 {
        font-size: 20px;
    }

    .form-fullname,
    .form-phone {
        padding: 6px 14px;
        border-radius: 16px;
    }

    .form-inputs input {
        font-size: 15px;
    }

    .form-button input {
        height: 50px;
        border-radius: 16px;
        font-size: 15px;
        font-weight: 700;
    }
}