/* FAQ Layout & Container */
.faq__item-container {
    max-width: 100%;
    width: 100%;
    margin: 2em auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
}

/* Header Section styling */
.faq__item-section-top {
    width: 100%;
    text-align: center;
    margin-bottom: 2em;
}

.faq__item-section-top h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5em;
    letter-spacing: -0.025em;
}

.faq__item-section-top p {
    text-align: center;
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Two-Column Layout */
.faq__layout-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 2em;
}

@media only screen and (min-width: 768px) {
    .faq__layout-wrapper {
        grid-template-columns: 3.5fr 6.5fr; /* 35% image, 65% FAQ */
        gap: 50px;
    }
}

/* Left Column: Image Illustration styling */
.faq__image-column {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.faq__svg-illustration {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    animation: faqFloat 6s ease-in-out infinite;
}

/* Floating animation for the vector illustration */
@keyframes faqFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Right Column: FAQ Accordion items */
.faq__accordion-column {
    display: flex;
    flex-direction: column;
    width: 90%;
}

.faq__item {
    margin-top: 0;
}

.faq__item .accordion__item {
    padding: 24px 10px 24px 0px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 0px;
    background: none;
    display: flex;
    border-top: 1px solid #e5e7eb;
    font-size: 1.1rem;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #1f2937;
}

.faq__item .accordion__item:hover {
    color: #2563eb;
    cursor: pointer;
}

.faq__item .accordion__item.active {
    border-top: 1px solid #2563eb;
    color: #2563eb;
}

.faq__item .accordion__item-panel {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.975rem;
    line-height: 1.7;
    color: #4b5563;
    padding-bottom: 0;
}

.faq__item .accordion__item-panel.open {
    visibility: visible;
    padding-bottom: 24px;
}

.faq__item .accordion__item-panel p {
    text-align: left;
    margin: 0;
}

/* Arrow/Plus Icon styling */
.accordion__desc {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.accordion__desc .accordion__h {
    position: absolute;
    background-color: #2563eb;
    width: 16px;
    height: 2px;
    left: 50%;
    margin-left: -8px;
    top: 50%;
    margin-top: -1px;
    transition: all 0.3s ease;
}

.accordion__desc .accordion__v {
    position: absolute;
    background-color: #2563eb;
    width: 2px;
    height: 16px;
    left: 50%;
    margin-left: -1px;
    top: 50%;
    margin-top: -8px;
    transition: all 0.3s ease;
}

.accordion__item.active .accordion__v {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion__item.active .accordion__h {
    transform: rotate(90deg);
}

.faq__item:first-child .accordion__item {
    border-top: none;
}

.faq__item:first-child .accordion__item.active {
    border-top: 1px solid #2563eb;
}