/* =========================================
   FAQ Page Styles
   ========================================= */

.faq-main {
    /* margin-top: 80px; */
    min-height: 60vh;
}

/* Hero/Banner Section */
.faq-hero {
    background: url('/wp-content/themes/GlobalZT/assets/images/banner/faq-banner.webp') no-repeat scroll center/cover;
    color: #fff;
    padding: 100px 0;
    position: relative;
    /* text-align: center; */
}
@media (max-width: 768px){
.faq-hero {
    background: url('/wp-content/themes/GlobalZT/assets/images/banner/mb-faq-banner.webp') no-repeat scroll center/cover;
    /* text-align: center; */
}
}
.faq-hero .container{
    position: relative;
    z-index: 3;
}
.faq-hero .bg-featured-products{
    display: none;
}
.faq-hero::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
@media (min-width: 991px){
    .faq-hero{
        background: none;
        padding: 0;
            display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }
    .faq-hero .bg-featured-products{
        aspect-ratio: 1920 / 500;
        display: block;
    }
    .faq-hero .container{
        position: absolute;
        width: 100%;
    }
}

.faq-hero-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
}

.faq-hero-desc {
    font-size: 16px;
    opacity: 0.9;
    /*max-width: 600px;*/
    /* margin: 0 auto; */
    line-height: 1.6;
}
@media (max-width: 1281px){
    .faq-hero-title{
        font-size: 36px;
    }
    .faq-hero-desc{
        font-size: 16px;
    }
}
/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.faq-container {
    /* max-width: 900px; */
    margin: 0 auto;
}

/* Accordion Styles */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    padding: 24px 60px 24px 24px;
    background: #fff;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2ff 100%);
}

.faq-icon {
    position: absolute;
    right: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 24px;
}

.faq-answer-content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

.faq-answer-content p {
    margin-bottom: 12px;
}

.faq-answer-content ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.faq-answer-content li {
    margin-bottom: 8px;
}

/* CTA Section */
.faq-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
}

.faq-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.faq-cta-desc {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.faq-cta-section .btn-primary {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.faq-cta-section .btn-primary:hover {
    background-color: var(--bg-light);
}

/* Responsive */
@media (max-width: 768px) {
     .faq-hero {
        padding: 120px 0 60px;
        /*aspect-ratio: 1920 / 1080;*/
    }
.faq-hero .container{
    height: 100%;
    /*padding-top: 80px;*/
}
    .faq-hero-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
.faq-hero-desc{
    font-size: 11px;
}

    .faq-question {
        font-size: 16px;
        padding: 20px 50px 20px 20px;
    }

    .faq-icon {
        right: 20px;
        width: 20px;
        height: 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .faq-cta-title {
        font-size: 28px;
    }

    .faq-cta-desc {
        font-size: 16px;
    }
}
