.tourify-faqs-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 1rem;
    padding: 0.75rem 0.5rem;
}

@media (min-width: 640px) {
    .tourify-faqs-wrapper {
        padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .tourify-faqs-wrapper {
        padding: 2rem;
    }
}

/* Individual FAQ Item */
.tourify-faq-item {
    background-color: rgba(255, 255, 255, 0.80); 
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 0.75rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0.75rem;
    z-index: 1;
}

.tourify-faq-item:hover {
    background-color: #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Active FAQ Item Styling */
.tourify-faq-item.active {
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: #3182ce;
}

/* FAQ Header Trigger */
.tourify-faq-question {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    cursor: pointer;
    user-select: none;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .tourify-faq-question {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }
}

.tourify-faq-question h3 {
    margin: 0;
    font-family: 'Figtree', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #124B8C;
    line-height: 1.4;
    flex-grow: 1;
    transition: color 0.2s ease;
}

/* Header Hover Effects */
.tourify-faq-question:hover h3 {
    color: #3182ce;
}

/* Animated FAQ Icon (CSS Arrow) */
.tourify-faq-icon {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* Creates a sharp, professional down-chevron indicator */
.tourify-faq-icon::before {
    content: "";
    position: absolute;
    top: 35%;
    left: 25%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #a0aec0;
    border-bottom: 2px solid #a0aec0;
    transform: rotate(45deg);
    transition: border-color 0.3s ease;
}

.tourify-faq-item.active .tourify-faq-icon {
    transform: rotate(180deg);
}

.tourify-faq-item.active .tourify-faq-icon::before {
    border-color: #3182ce; /* Highlights arrow color when item is open */
}

/* FAQ Content Body */
.tourify-faq-answer {
    padding: 0 1rem 1rem 1rem; /* Indented text aligns beautifully under the question text */
    overflow: hidden;
}

.tourify-faq-answer p {
    /* margin: 0 5px; */
    font-family: 'Figtree', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #7789a3;
}

/* No FAQs Fallback Message */
.tourify-no-faqs {
    font-family: 'Figtree', sans-serif;
    font-style: italic;
    color: #718096;
    padding: 1rem;
    background: #f7fafc;
    border-left: 4px solid #cbd5e0;
    border-radius: 4px;
}
