.faq-form-wrapper {
    position: relative;
    margin: 150px 0 0;
    padding: 80px 0;
    background: #EFEFEF;
    z-index: 0;
}

.faq-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url('../assets/shapes/t-shape.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    z-index: -1;
}

.faq-form-wrapper::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url('../assets/shapes/b-shape.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    z-index: -1;
}

#dp-form-response {
	color: #00b300 !important;
	font-size: 16px !important;
	text-align: center;
	line-height: 30px;
	padding-bottom: 10px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 36px;
    color: var(--tertiary-color);
    line-height: 1.8;
}


.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: start;
}

.content-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../assets/pattern/p-logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 36%;
    opacity: 0.03;
    z-index: -1;
}



.card {
    background: var(--white-color);
    border-radius: 40px;
    padding: 50px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.faq-card {
    background: var(--primary-color);
    color: var(--white-color);
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: right;
    color: var(--tertiary-color);
    text-align: center;
}

.faq-title {
    color: var(--white-color);
    font-size: 28px;
    text-align: center;
}

.input-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #F8F8F8;
    border-radius: 30px;
    padding: 22px;
    margin-bottom: 24px;
}

.input-icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.55;
}

.input-group input,
.input-group textarea {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 18px;
    color: var(--tertiary-color);
    direction: rtl;
    text-align: right;
    resize: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: var(--tertiary-color);
    font-size: 18px;
    font-weight: 500;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 20px;
    margin-top: 6px;
    background: var(--secondary-color) !important;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    letter-spacing: 0.02em;
}

.btn-submit:hover {
    background: var(--tertiary-color) !important;
}

.btn-submit:active {
    transform: translateY(0);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.accordion-item {
    background: var(--white-color);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: var(--white-color);
    border: none;
    padding: 20px 14px 20px 24px;
    cursor: pointer;
    text-align: right;
    direction: rtl;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    color: var(--tertiary-color);
    transition: 0.3s ease ease-in-out;
}

.accordion-header span {
    flex: 1;
    text-align: right;
}

.faq-bullet {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    order: 1;
}

.accordion-header span {
    order: 2;
}

.chevron-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    order: 3;
}

.accordion-item.open .chevron-icon {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.3s ease,
        opacity 0.3s ease;
    opacity: 0;
    padding: 0 14px;
}

.accordion-item.open .accordion-body {
    max-height: 300px;
    padding: 0 14px 14px;
    opacity: 1;
    background: var(--white-color);
}

.accordion-body p {
    font-size: 16px;
    line-height: 2;
    color: var(--tertiary-color);
    text-align: right;
    direction: rtl;
}


.faq-form-wrapper .hero-buttons {
    margin-top: 100px;
}






@media (max-width: 1200px) {

    .section-title {
        font-size: 32px;
        margin-bottom: 26px;
    }

    .faq-form-wrapper {
        margin: 60px 0 0;
        padding: 40px 0;
    }

    .faq-form-wrapper .hero-buttons {
        margin-top: 60px;
    }

    .accordion-header {
        font-size: 16px;
    }

    .input-group {
        margin-bottom: 28px;
    }

    .input-group input::placeholder,
    .input-group textarea::placeholder {
        color: var(--tertiary-color);
        font-size: 16px;
    }

    .accordion-body p {
        font-size: 15px;
        line-height: 2.2;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 28px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .faq-form-wrapper {
        margin: 40px 0 50px;
        padding: 30px 0;
    }

    .content-grid {
        gap: 32px;
    }
    
    .accordion {
    gap: 14px;
}
}

@media (max-width: 768px) {
    .section-title {
        font-size: 26px;
    }

    .faq-title {
        font-size: 26px;
    }

    .card-title {
        font-size: 24px;
    }

    .btn-submit {
        font-size: 18px;
    }

    .faq-form-wrapper .hero-buttons {
        margin-top: 50px;
        transform: scale(1.2);
    }
}

@media (max-width: 576px) {

    .section-title {
        font-size: 24px;
    }

    .card {
        padding: 30px;
    }

    .card-title {
        font-size: 24px;
    }

    .faq-form-wrapper .hero-buttons {
        margin-top: 50px;
        transform: scale(1.1);
    }

    .faq-form-wrapper {
        margin: 20px 0 50px;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {

    .section-title {
        font-size: 22px;
    }

    .card {
        padding: 30px 20px 20px;
    }

    .card-title {
        font-size: 22px;
    }

    .accordion-header {
        font-size: 16px;
        line-height: 1.8;
        padding: 16px 14px 16px 24px;
    }

    .faq-bullet {
        width: 16px;
        height: 16px;
    }

    .chevron-icon {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        order: 3;
    }

    .btn-submit {
        font-size: 17px;
    }

    .faq-form-wrapper .hero-buttons {
        margin-top: 40px;
    }

    .accordion-body p {
        font-size: 15px;
        line-height: 1.8;
    }

    .input-group {
        padding: 18px;
    }

    .btn-submit {
        padding: 16px;
    }

    .input-group input::placeholder,
    .input-group textarea::placeholder {
        color: var(--tertiary-color);
        font-size: 15px;
    }
}

@media (max-width: 390px) {

    .section-title {
        font-size: 20px;
    }

.faq-form-wrapper {
    margin: 0px 0 50px;
    padding: 10px 0 20px;
}

    .card {
        padding: 30px 15px 15px;
    }

    .card-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .btn-submit {
        font-size: 16px;
    }

    .accordion-header {
        font-size: 14px;
        padding: 12px 14px 12px 24px;
    }

    .input-group {
        padding: 16px;
        margin-bottom: 18px;
    }

    .btn-submit {
        padding: 14px;
    }
}