/* FAQ Section Background */
.faq-section-bg {
    background: #f5fbfd;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 0 0 2.5rem 0;
}

/* FAQ Title */
.faq-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 2.5rem 0 2rem 0;
    color: #222;
}

/* FAQ Tabs Bar */
.faq-with-tabs .faq-tabs {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 3rem;
    background: #f5fbfd;
    padding: 2.5rem 0 2.5rem 0;
    border: none;
    margin-bottom: 2.5rem;
    box-shadow: none;
}
.faq-categories {
    max-width: 780px;
    margin: 0 auto 2.5rem auto;
}
.faq-categories .faq-title{
    padding: 25px 45px;
    text-align: center;
    font-size: 24px;
}

@media (min-width: 768px) {
    .faq-categories .faq-title{
        font-size: 32px;
    }
}
.faq-with-tabs .faq-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    background: transparent;
    
    padding: 1.2rem 2.5rem 0.5rem 2.5rem;
    min-width: 120px;
    
    border: none;
    transition: box-shadow 0.2s, color 0.2s;
    position: relative;
}
.faq-with-tabs .faq-tab.active {
    background: rgba(255,255,255,1);
    border-radius: 8px;
    z-index: 2;
}
.faq-with-tabs .faq-tab-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.7rem;
    display: block;
}
.faq-with-tabs .faq-tab-label {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.1rem;
    text-align: center;
    letter-spacing: 0.01em;
}
.faq-with-tabs .faq-tab:not(.active) .faq-tab-label {
    color: #b0b0b0;
    font-weight: 500;
}

/* FAQ Category Panel */
.faq-with-tabs .faq-category-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}
.faq-with-tabs .faq-category-panel.active {
    display: block;
}

/* FAQ List & Items */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
 
}
.faq-item {
    background: #fff;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.04); */
    overflow: hidden;
    transition: box-shadow 0.2s;
    border-bottom: 1px solid #F3F3F3;
}
.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.faq-question {
    /* display: flex;
    align-items: center;
    justify-content: space-between; */
    cursor: pointer;
    padding: 1.3rem 2.2rem 1.3rem 2.2rem;
    background: #fff;
    font-size: 22px;
    color: #222;
    border: none;
    transition: background 0.2s;
    position: relative;
}
.faq-question.active{
    background: #ffffff;
}
.faq-question:focus {
    background: #f5fbfd;
}

.faq-question-content {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: start;
    
}

.faq-icons {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}

.caret-icon {
    width: 18px;
    height: 18px;
    color: #222;
    transition: transform 0.3s;
    margin-right: auto;
    margin-left: 10px;
}
.faq-question.active .caret-icon {
    transform: rotate(180deg);
}

.question-mark-icon {
    width: 26px;
    height: 26px;
    color: #282828;
    margin-right: 0.5rem;
}

.faq-question-text {
    text-align: right;
    font-size: 14px;
    color: #222;
    line-height: 1.4;
    margin: 0 1rem;
}

@media (min-width: 768px) {
    .faq-question-text {
        font-size: 20px;
    }
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #ffffff;
    padding: 0 2.2rem;
}
.faq-answer.active {
    max-height: 1000px;
    padding: 1.2rem 2.2rem 1.5rem 2.2rem;
}
.faq-answer-content {
    color: #444;
    line-height: 1.4;
    font-size: 14px;
}

@media (min-width: 768px) {
    .faq-question-text {
        font-size: 1.05rem;
    }
}


/* Button */
.faq-bottom-btn {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0 0 0;
}
.faq-bottom-btn button, .faq-bottom-btn .elementor-button {
    background: #111;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    padding: 1.1rem 2.8rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
.faq-bottom-btn button:hover, .faq-bottom-btn .elementor-button:hover {
    background: #007cba;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* RTL Support */
.rtl .faq-question-content {
    flex-direction: row;
}
.rtl .faq-icons {
    flex-direction: row;
}
.rtl .faq-question-text {
    text-align: right;
    margin: 0;
}

.rtl .question-mark-icon {
    margin-right: 0;
    margin-left: 0.5rem;
}

@media (max-width: 900px) {
    .faq-with-tabs .faq-tabs {
        gap: 1.2rem;
        padding: 1.5rem 0 1rem 0;
    }
    .faq-with-tabs .faq-tab {
        padding: 0.7rem 1.2rem 0.3rem 1.2rem;
        min-width: 90px;
    }
    .faq-with-tabs .faq-tab-image {
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 600px) {
    .faq-title {
        font-size: 1.3rem;
    }
    .faq-list {
        gap: 1.1rem;
    }
    .faq-question, .faq-answer.active {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .faq-bottom-btn button, .faq-bottom-btn .elementor-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Accessibility */
.faq-question:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

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

/* Animation for smooth transitions */
.faq-item {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* Load More Button */
.faq-load-more-wrapper {
    display: flex;
    justify-content: center;
    margin: 2rem 0 1rem 0;
}

.faq-load-more-btn {
    background: #282828;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    line-height: 1;
    padding: 18px 30px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-load-more-btn:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.faq-load-more-btn:active {
    transform: translateY(0);
}

/* Hidden FAQ Items */
.faq-item-hidden {
    display: none;
}

.faq-item-hidden.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Responsive adjustments for load more */
@media (max-width: 768px) {
    .faq-load-more-btn {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .faq-load-more-btn {
        font-size: 14px;
        padding: 18px 30px;
    }
} 

