/* FAQ PAGE */

.section-tag {
    color: #C89A2B;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
}

/* HERO */

.faq-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    padding: 60px 80px 70px;
    background: #FAFAF8;
}

.faq-hero-copy {
    width: 44%;
}

.faq-hero-copy h1 {
    margin: 15px 0 20px;
    color: #0D2342;
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    font-weight: 600;
    line-height: 1.12;
}

.faq-hero-copy p {
    color: #1A1A1A;
    font-size: 16px;
    line-height: 1.8;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 15px 18px;
    background: white;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
}

.search-box i {
    color: #0D2342;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #1A1A1A;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.faq-hero-image {
    position: relative;
    width: 54%;
    padding: 0 30px 30px 0;
}

.faq-hero-image img {
    position: relative;
    display: block;
    width: 100%;
    z-index: 2;
}

.hero-image-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 90%;
    height: 90%;
    background: #0D2342;
}

.hero-image-dots {
    position: absolute;
    top: 0;
    right: -15px;
    width: 90px;
    height: 90px;
    background-image: radial-gradient(#C89A2B 1.5px, transparent 1.5px);
    background-size: 12px 12px;
}

/* TOPICS */

.topics-section {
    padding: 30px 80px 35px;
    background: #FAFAF8;
}

.section-heading {
    margin-bottom: 28px;
    text-align: center;
}

.section-heading h2 {
    margin-top: 10px;
    color: #0D2342;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 600;
}

.topic-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.topic-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 11px;
    padding: 24px 12px;
    background: white;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
}

.topic-card:hover,
.topic-card.active {
    border-color: #C89A2B;
    transform: translateY(-5px);
}

.topic-card i {
    color: #C89A2B;
    font-size: 31px;
}

.topic-card strong {
    color: #0D2342;
    font-size: 13px;
}

.topic-card span {
    color: #1A1A1A;
    font-size: 11px;
}

/* FAQ BROWSER */

.faq-browser {
    display: grid;
    grid-template-columns: 255px 1fr;
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 0 55px;
    gap: 24px;
}

.faq-sidebar,
.faq-content {
    background: white;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
}

.faq-sidebar {
    overflow: hidden;
}

.faq-sidebar h2 {
    padding: 17px;
    color: #C89A2B;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

.sidebar-topic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 17px;
    background: transparent;
    border: 0;
    border-top: 1px solid #FAFAF8;
    color: #0D2342;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    text-align: left;
}

.sidebar-topic.active,
.sidebar-topic:hover {
    background: #0D2342;
    color: white;
}

.sidebar-topic i {
    font-size: 11px;
}

.sidebar-contact {
    display: flex;
    gap: 12px;
    padding: 17px;
    border-top: 1px solid #FAFAF8;
}

.sidebar-contact > i {
    color: #C89A2B;
    font-size: 28px;
}

.sidebar-contact strong,
.sidebar-contact p {
    font-size: 11px;
    line-height: 1.6;
}

.sidebar-contact p {
    margin: 8px 0 12px;
    color: #1A1A1A;
}

.sidebar-contact a {
    display: inline-block;
    padding: 9px 20px;
    background: #0D2342;
    border-radius: 6px;
    color: white;
    font-size: 12px;
    text-decoration: none;
}

.faq-content {
    padding: 24px;
}

.faq-list {
    margin-top: 14px;
}

.faq-item {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #FAFAF8;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.025);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 18px;
    background: white;
    border: 0;
    color: #0D2342;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

.faq-question i {
    margin-left: 12px;
}

.faq-answer {
    padding: 0 18px 17px;
    color: #1A1A1A;
    font-size: 13px;
    line-height: 1.8;
}

.empty-message {
    padding: 20px 0;
    color: #1A1A1A;
}

/* CALL TO ACTION */

.faq-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 32px 42px;
    background: #0D2342;
    border-radius: 14px;
    color: white;
}

.faq-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 500;
}

.faq-cta p {
    max-width: 550px;
    margin-top: 7px;
    color: #FAFAF8;
    font-size: 13px;
    line-height: 1.7;
}

.faq-cta-actions {
    display: flex;
    gap: 15px;
}

.btn-gold,
.btn-outline {
    padding: 13px 22px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.btn-gold {
    background: #C89A2B;
    color: white;
}

.btn-outline {
    border: 1px solid white;
    color: white;
}


.faq-topic-badge {
    display: block;
    margin-bottom: 5px;
    color: #C89A2B;
    font-size: 11px;
    letter-spacing: 1px;
}
.search-box {
    position: relative;
}

.faq-search-popup {
    position: absolute;
    top: 58px;
    left: 0;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    display: none;
    background: white;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    z-index: 20;
}

.faq-search-result {
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: white;
    border: none;
    border-bottom: 1px solid #FAFAF8;
    color: #0D2342;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.faq-search-result:last-child {
    border-bottom: none;
}

.faq-search-result:hover {
    background: #FAFAF8;
}

.faq-search-result span {
    display: block;
    margin-bottom: 4px;
    color: #C89A2B;
    font-size: 11px;
    letter-spacing: 1px;
}

.faq-search-no-result {
    padding: 14px 16px;
    color: #1A1A1A;
    font-size: 13px;
}
/* TABLET AND MOBILE FAQ RESPONSIVE */

@media (max-width: 1050px) {
    .faq-hero {
        gap: 45px;
        padding: 50px 40px;
    }

    .faq-hero-copy h1 {
        font-size: 42px;
    }

    .topics-section {
        padding: 35px 40px;
    }

    .topic-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq-browser {
        grid-template-columns: 1fr;
        margin: 0 40px;
    }

    .faq-sidebar {
        order: 2;
    }

    .faq-content {
        order: 1;
    }

    .faq-cta {
        margin: 0 40px 55px;
    }
}

@media (max-width: 760px) {
    .faq-hero {
        flex-direction: column;
        padding: 45px 30px;
        gap: 35px;
    }

    .faq-hero-copy,
    .faq-hero-image {
        width: 100%;
    }

    .faq-hero-copy h1 {
        font-size: 36px;
    }

    .faq-hero-copy p {
        font-size: 15px;
    }

    .hero-image-bg,
    .hero-image-dots {
        display: none;
    }

    .faq-hero-image {
        padding: 0;
    }

    .faq-hero-image img {
        border-radius: 8px;
    }

    .topics-section {
        padding: 35px 30px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .topic-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-browser {
        margin: 0 30px;
        padding: 30px 0 45px;
    }

    .faq-cta {
        align-items: flex-start;
        flex-direction: column;
        margin: 0 30px 45px;
        padding: 30px 25px;
    }

    .faq-cta-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .faq-hero {
        padding: 35px 18px;
    }

    .faq-hero-copy h1 {
        font-size: 31px;
    }

    .topics-section {
        padding: 30px 18px;
    }

    .topic-cards {
        grid-template-columns: 1fr;
    }

    .faq-browser {
        margin: 0 18px;
    }

    .faq-content {
        padding: 18px;
    }

    .faq-question {
        font-size: 13px;
        padding: 14px;
    }

    .faq-answer {
        padding: 0 14px 15px;
    }

    .faq-cta {
        margin: 0 18px 40px;
    }

    .faq-cta h2 {
        font-size: 26px;
    }

    .faq-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-gold,
    .btn-outline {
        text-align: center;
    }
}