/**
 * FAQs Page Styles
 */

.faqs-page {
    background: #F5F5F5;
    min-height: 100vh;
}

/* ===========================
   Hero Section
   =========================== */
.faqs-hero {
    padding: 80px 0 92px;
    background: #F5F5F5;
}

.faqs-hero .container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faqs-hero .hero-badge {
    background: #F0F0F0;
    padding: 12px 24px;
    border-radius: 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000;
    text-align: center;
    margin-bottom: 56px;
}

.faqs-hero .hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 80px;
    font-weight: 400;
    line-height: 100px;
    color: #000;
    text-align: center;
    margin: 0 0 8px 0;
    max-width: 1096px;
}

.faqs-hero .hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #595959;
    text-align: center;
    margin: 0 0 52px 0;
}

.faqs-hero .btn-primary {
    background: #1538BF;
    color: #fff;
    padding: 12px 24px;
    border-radius: 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.faqs-hero .btn-primary:hover {
    background: #0F2A8F;
}

/* ===========================
   FAQs Accordion Section
   =========================== */
.faqs-accordion {
    padding: 0 0 120px;
    background: #F5F5F5;
}

.faqs-accordion .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: center;
}

.faqs-accordion .accordion-wrapper {
    width: 100%;
    max-width: 1080px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faqs-accordion .faq-item {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faqs-accordion .faq-item-expanded {
    background: #fff;
    border-radius: 16px;
    border-bottom: 1px solid #E0E0E0;
}

.faqs-accordion .faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 40px;
    cursor: pointer;
    gap: 24px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.faqs-accordion .faq-item-expanded .faq-header {
    padding: 24px 40px;
}

.faqs-accordion .faq-question {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    color: #999;
    margin: 0;
    flex: 1;
}

.faqs-accordion .faq-item-expanded .faq-question {
    color: #1F1F1F;
}

.faqs-accordion .faq-toggle {
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    position: relative;
}

.faqs-accordion .faq-item-expanded .faq-toggle {
    background: transparent;
}

.faqs-accordion .faq-toggle:hover {
    transform: rotate(90deg);
}

.faqs-accordion .faq-toggle:active {
    transform: scale(0.95);
}

@media (hover: none) {
    .faqs-accordion .faq-toggle:hover {
        transform: none;
    }
}

.faqs-accordion .faq-toggle img {
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.faqs-accordion .faq-toggle .icon-open {
    opacity: 1;
}

.faqs-accordion .faq-toggle .icon-close {
    opacity: 0;
}

.faqs-accordion .faq-item-expanded .faq-toggle .icon-open {
    opacity: 0;
}

.faqs-accordion .faq-item-expanded .faq-toggle .icon-close {
    opacity: 1;
}

.faqs-accordion .faq-toggle svg {
    width: 24px;
    height: 24px;
    display: block;
}

.faqs-accordion .faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-in-out;
}

.faqs-accordion .faq-answer-inner {
    overflow: hidden;
    padding: 0 40px;
    opacity: 0;
    transition: padding 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.faqs-accordion .faq-item-expanded .faq-answer {
    grid-template-rows: 1fr;
}

.faqs-accordion .faq-item-expanded .faq-answer-inner {
    padding: 0 40px 24px 40px;
    opacity: 1;
}

.faqs-accordion .faq-answer p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #595959;
    margin: 0;
    max-width: 1000px;
}

/* ===========================
   Responsive Styles - Tablet
   =========================== */
@media screen and (max-width: 1280px) {
    .faqs-hero {
        padding: 60px 0 80px;
    }

    .faqs-hero .container {
        padding: 0 40px;
    }

    .faqs-hero .hero-badge {
        font-size: 15px;
        padding: 10px 20px;
        margin-bottom: 48px;
    }

    .faqs-hero .hero-title {
        font-size: 56px;
        line-height: 70px;
        margin-bottom: 12px;
    }

    .faqs-hero .hero-subtitle {
        font-size: 15px;
        line-height: 23px;
        margin-bottom: 48px;
    }

    .faqs-hero .btn-primary {
        padding: 14px 28px;
        font-size: 15px;
    }

    .faqs-accordion {
        padding: 0 0 100px;
    }

    .faqs-accordion .container {
        padding: 0 40px;
    }

    .faqs-accordion .accordion-wrapper {
        gap: 10px;
    }

    .faqs-accordion .faq-item {
        border-radius: 10px;
    }

    .faqs-accordion .faq-item-expanded {
        border-radius: 14px;
    }

    .faqs-accordion .faq-header {
        padding: 22px 32px;
        gap: 20px;
    }

    .faqs-accordion .faq-item-expanded .faq-header {
        padding: 22px 32px;
    }

    .faqs-accordion .faq-question {
        font-size: 18px;
        line-height: 1.4;
    }

    .faqs-accordion .faq-answer-inner {
        padding: 0 32px;
    }

    .faqs-accordion .faq-item-expanded .faq-answer-inner {
        padding: 0 32px 22px 32px;
    }

    .faqs-accordion .faq-answer p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ===========================
   Responsive Styles - Mobile
   =========================== */
@media screen and (max-width: 767px) {
    .faqs-hero {
        padding: 32px 0 48px;
    }

    .faqs-hero .container {
        padding: 0 20px;
    }

    .faqs-hero .hero-badge {
        font-size: 13px;
        padding: 8px 16px;
        border-radius: 20px;
        margin-bottom: 24px;
        line-height: 20px;
    }

    .faqs-hero .hero-title {
        font-size: 32px;
        line-height: 42px;
        margin-bottom: 12px;
        letter-spacing: -0.5px;
    }

    .faqs-hero .hero-subtitle {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 28px;
        padding: 0 10px;
    }

    .faqs-hero .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
        line-height: 22px;
        width: auto;
        min-width: 140px;
    }

    .faqs-accordion {
        padding: 0 0 64px;
    }

    .faqs-accordion .container {
        padding: 0 20px;
    }

    .faqs-accordion .accordion-wrapper {
        gap: 8px;
    }

    .faqs-accordion .faq-item {
        border-radius: 8px;
        border-width: 1px;
    }

    .faqs-accordion .faq-item-expanded {
        border-radius: 10px;
    }

    .faqs-accordion .faq-header {
        padding: 18px 16px;
        gap: 12px;
        min-height: 56px;
        align-items: flex-start;
        touch-action: manipulation;
    }

    .faqs-accordion .faq-item-expanded .faq-header {
        padding: 18px 16px;
    }

    .faqs-accordion .faq-question {
        font-size: 15px;
        line-height: 1.5;
        font-weight: 500;
        padding-right: 8px;
    }

    .faqs-accordion .faq-toggle {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
        margin-top: 2px;
        min-width: 28px;
    }

    .faqs-accordion .faq-toggle img {
        width: 20px;
        height: 20px;
    }

    .faqs-accordion .faq-answer-inner {
        padding: 0 16px;
    }

    .faqs-accordion .faq-item-expanded .faq-answer-inner {
        padding: 0 16px 18px 16px;
    }

    .faqs-accordion .faq-answer p {
        font-size: 14px;
        line-height: 1.7;
        color: #666;
    }
}

/* ===========================
   Responsive Styles - Small Mobile
   =========================== */
@media screen and (max-width: 480px) {
    .faqs-hero {
        padding: 28px 0 40px;
    }

    .faqs-hero .container {
        padding: 0 16px;
    }

    .faqs-hero .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 20px;
    }

    .faqs-hero .hero-title {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 10px;
    }

    .faqs-hero .hero-subtitle {
        font-size: 13px;
        line-height: 20px;
        margin-bottom: 24px;
    }

    .faqs-hero .btn-primary {
        padding: 11px 22px;
        font-size: 13px;
        width: auto;
        min-width: 120px;
        max-width: 240px;
    }

    .faqs-accordion {
        padding: 0 0 56px;
    }

    .faqs-accordion .container {
        padding: 0 16px;
    }

    .faqs-accordion .faq-header {
        padding: 16px 14px;
        gap: 10px;
    }

    .faqs-accordion .faq-item-expanded .faq-header {
        padding: 16px 14px;
    }

    .faqs-accordion .faq-question {
        font-size: 14px;
        line-height: 1.5;
    }

    .faqs-accordion .faq-toggle {
        width: 26px;
        height: 26px;
        min-width: 26px;
    }

    .faqs-accordion .faq-toggle img {
        width: 18px;
        height: 18px;
    }

    .faqs-accordion .faq-answer-inner {
        padding: 0 14px;
    }

    .faqs-accordion .faq-item-expanded .faq-answer-inner {
        padding: 0 14px 16px 14px;
    }

    .faqs-accordion .faq-answer p {
        font-size: 13px;
        line-height: 1.65;
    }
}
