/* ==========================================================================
   FAQs Page Styles
   ========================================================================== */

/* ==========================================================================
   Section 1: Hero
   ========================================================================== */
   .vp-every-sec .vp-hero-content {
    gap: 6px;
}

.vp-every-sec .vp-faq-ligth-text {
    color: var(--Neutral-600);
    text-align: center;
    font-size: var(--18);
    font-style: normal;
    font-weight: 400;
    line-height: 148%;
    padding: 0 20px;
    width: 95%;
    margin: 0 auto;
}

.vp-every-sec .vp-text-center {
    text-align: center;
}

.vp-every-sec {
    gap: var(--56);
    justify-content: space-between;
    padding-bottom: 100px;
}

.vp-al-i-center {
    align-items: center;
}

.vp-faq-img-padd-t {
    padding-top: var(--70);
}

.vp-faq-p-t {
    padding-top: 37px;
}

.vp-faq-every-text .vp-title-hero svg {
    width: 100%;
}

/* ==========================================================================
   Section 2: FAQ Accordion
   ========================================================================== */
.vp-back-white {
    background-color: #fff;
    padding: 100px 0;
}

.vp-faq-section {
    background: #fff;
    max-width: 1232px;
    margin: 0 auto;
}

/* FAQ Section Row - Topic + Questions */
.vp-accordion-sec {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 48px;
}

.vp-accordion-sec:last-child {
    margin-bottom: 0;
}

/* Topic Title - Left Side */
.vp-accordion-sec-title {
    color: var(--Primary-primary);
    font-size: 22px;
    font-weight: 600;
    line-height: 130%;
    min-width: 240px;
    max-width: 240px;
    padding-top: 20px;
    flex-shrink: 0;
    margin: 0;
}

/* FAQ Items Container - Right Side */
.vp-acc-items-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    max-width: 816px;
    width: 100%;
}

/* Individual FAQ Item */
.vp-faq-item {
    width: 100%;
    overflow: hidden;
    background: #fff; 
    border-radius: var(--24, 24px);
    border: 1px solid var(--Neutral-300);
}

/* FAQ Question Button */
.vp-faq-question {
    width: 100%;
    background: var(--Neutral-100, #fff);
    border: none;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-radius: var(--24, 24px);
    color: var(--Neutral-800);
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;
    text-align: left; 
}

.vp-faq-question span:first-child {
    flex: 1;
}

.vp-faq-question:hover {
    color: var(--Primary-primary);
    border-color: var(--Neutral-400);
}

.vp-faq-question:focus {
    outline: 2px solid var(--Primary-primary);
    outline-offset: 2px;
}

.vp-faq-question:focus:not(:focus-visible) {
    outline: none;
}

.vp-faq-question:focus-visible {
    outline: 2px solid var(--Primary-primary);
    outline-offset: -3px;
}

/* Arrow Button */
.vp-faq-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--Neutral-300);
    background: #fff;
    color: var(--Primary-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.vp-faq-arrow svg {
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
}

/* Arrow Hover State */
.vp-faq-question:hover .vp-faq-arrow {
    background-color: var(--Primary-primary);
    border-color: var(--Primary-primary);
    color: #fff;
}

/* FAQ Answer */
.vp-faq-answer {
    max-height: none;
    overflow: hidden;
}

.vp-faq-answer[hidden] {
    display: none;
}

.vp-faq-answer a {
    color: var(--Primary-primary);
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.vp-faq-answer-inner {
    padding: 16px 24px 24px;
}

.vp-faq-answer-inner p {
    margin: 0 0 12px;
    color: var(--Neutral-600);
    font-size: 18px;
    font-weight: 400;
    line-height: 160%;
}

.vp-faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Active/Open State
   ========================================================================== */
.vp-faq-item.active {
    border-radius: var(--24, 24px);
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.08);
}

.vp-faq-item.active .vp-faq-question {
    color: var(--Primary-primary);
    border: none;
    border-radius: 24px 24px 0 0;
    box-shadow: none;
    background: #fff;
}

.vp-faq-item.active .vp-faq-answer {
    max-height: none;
}

.vp-faq-item.active .vp-faq-arrow {
    background-color: var(--Primary-primary);
    border-color: var(--Primary-primary);
    color: #fff;
}

.vp-faq-item.active .vp-faq-arrow svg {
    transform: rotate(180deg);
}

/* ==========================================================================
   Responsive - Tablet
   ========================================================================== */
@media (max-width: 1250px) {
    .vp-every-sec .vp-faq-img-padd-t {
        padding-top: var(--30);
    }
    .vp-every-sec {
        gap: var(--30);
    }
    .vp-accordion-sec {
        gap: 24px;
    }
    .vp-accordion-sec-title {
        min-width: 200px;
        max-width: 200px;
        font-size: 20px;
    }
}

@media (max-width: 1025px) {
    .vp-faq-every-text .vp-SH-display-1 {
        font-size: var(--52);
    }
}

@media (max-width: 1024px) {
    .vp-accordion-sec {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 40px;
    }
    .vp-accordion-sec-title {
        min-width: 100%;
        max-width: 100%;
        padding-top: 0;
        padding-bottom: 0;
    }
    .vp-acc-items-grid {
        max-width: 100%;
    }
    .vp-back-white {
        padding: 60px 16px;
    }
}

/* ==========================================================================
   Responsive - Mobile
   ========================================================================== */
@media (max-width: 998px) {
    .vp-faq-img-padd-t {
        padding-top: var(--0);
    }
    .vp-faq-question {
        font-size: 18px;
        padding: 18px 20px;
    }
    .vp-faq-ligth-text {
        font-size: var(--16);
    }
    .vp-faq-arrow {
        min-width: 40px;
        width: 40px;
        height: 40px;
    }
    .vp-faq-arrow svg {
        width: 18px;
        height: 18px;
    }
    .vp-faq-answer-inner {
        padding: 12px 20px 20px;
    }
    .vp-faq-answer-inner p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .vp-every-sec .vp-faq-img-padd-t {
        padding-top: 0;
    }
    .vp-grand-ma-pic {
        order: 2;
        max-width: 163px;
    }
    .vp-grand-ma-pic img,
    .vp-grand-pa-pic img {
        border-radius: 24px;
    }
    .vp-back-white {
        padding: 60px 16px;
    }
    .vp-faq-every-text {
        order: 1;
    }
    .vp-grand-pa-pic {
        order: 3;
        max-width: 163px;
    }
    .vp-every-sec {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 60px;
        gap: 16px;
    }
    .vp-faq-img-padd-t {
        padding-top: 0;
    }
    .vp-faq-img img {
        height: 100%;
    }
    .vp-faq-every-text .vp-SH-display-1 {
        font-size: 42px;
    }
    .vp-faq-button {
        gap: 16px;
        width: 95%;
    }
    .vp-faq-question {
        font-size: 16px;
        padding: 16px;
        gap: 12px;
        border-radius: 16px;
    }
    .vp-faq-item {
        border-radius: 16px;
    }
    .vp-faq-item.active .vp-faq-question {
        border-radius: 16px 16px 0 0;
    }
    .vp-accordion-sec-title {
        font-size: 18px;
    }
    .vp-faq-arrow {
        min-width: 36px;
        width: 36px;
        height: 36px;
    }
    .vp-faq-arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 570px) {
    .vp-every-sec .vp-faq-ligth-text {
        font-size: var(--16);
        padding: 0 16px;
        width: 100%;
    }
    .vp-faq-p-t {
        padding-top: 0;
    }
    .vp-every-sec .vp-title-hero {
        width: 80%;
    }
    .vp-faq-answer-inner {
        padding: 12px 16px 16px;
    }
}
