/* Modern FAQ styles */
.faq-search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 30px;
}
.faq-search-input {
    height: 55px;
    font-size: 1.05rem;
    padding-left: 55px;
    padding-right: 50px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #ffffff;
    color: #333333 !important;
    transition: all 0.3s ease;
}
.faq-search-input::placeholder {
    color: #888888;
}
.faq-search-input:focus {
    border-color: #f35959;
    box-shadow: 0 0 15px rgba(243, 89, 89, 0.15);
    background: #ffffff;
    outline: none;
}
.faq-search-wrapper .search-icon {
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.15rem;
    color: #f35959;
}
.faq-search-wrapper .clear-btn {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #888888;
    background: none;
    border: none;
    padding: 0;
}
.faq-search-wrapper .clear-btn:hover {
    color: #f35959;
}

/* Quick tag filters */
.filter-tag {
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 20px;
    background: #ffffff;
    color: #555555;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.filter-tag:hover {
    background: #f8f9fa;
    color: #f35959;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.filter-tag.active {
    background: linear-gradient(135deg, #f35959 0%, #ff7000 100%);
    color: #ffffff;
    font-weight: 600;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(243, 89, 89, 0.2);
}

/* Sidebar Styling */
.faq-nav-card {
    border-radius: 16px !important;
    background: #ffffff;
}
.faq-nav-pills .nav-link {
    color: #495057;
    background: transparent;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.faq-nav-pills .nav-link:hover {
    background: #f8f9fa;
    color: #f35959;
    padding-left: 20px !important;
}
.faq-nav-pills .nav-link.active {
    background: linear-gradient(135deg, #f35959 0%, #ff7000 100%) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(243, 89, 89, 0.25);
    border-color: transparent;
}
.count-badge {
    transition: all 0.3s ease;
}
.faq-nav-pills .nav-link.active .count-badge {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* Emergency card */
.faq-support-card {
    border-radius: 16px !important;
    position: relative;
    box-shadow: 0 10px 25px rgba(243, 89, 89, 0.15);
    overflow: hidden;
    background: linear-gradient(135deg, #f35959 0%, #ff7000 100%);
}
.support-bg-circle-1 {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}
.support-bg-circle-2 {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -30px;
    left: -30px;
}
.support-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.hover-grow {
    transition: all 0.3s ease;
}
.hover-grow:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
}

/* Accordion cards styling */
.faq-card {
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 16px !important;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}
.faq-card:hover {
    transform: translateY(-3px);
    border-color: rgba(243, 89, 89, 0.25) !important;
    box-shadow: 0 10px 20px rgba(243, 89, 89, 0.08) !important;
}
.custom-faq-accordion .accordion-button {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2b2b2b;
    background-color: transparent;
    padding: 22px 24px;
    border: none;
    box-shadow: none;
    text-align: left;
}
.custom-faq-accordion .accordion-button:not(.collapsed) {
    color: #f35959;
    background-color: rgba(243, 89, 89, 0.03);
}
.custom-faq-accordion .accordion-body {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Custom Highlight text */
.highlight {
    background-color: rgba(255, 112, 0, 0.18);
    color: #d15600;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 700;
}

/* Animations for FAQ cards on showing */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.faq-card:not(.d-none) {
    animation: fadeInUp 0.4s ease forwards;
}

/* Search results info */
#faqNoResults {
    animation: fadeInUp 0.4s ease forwards;
}

/* Responsive Sticky top adjustments */
.faq-sidebar {
    top: 100px;
    z-index: 10;
}

@media (max-width: 991px) {
    .faq-sidebar {
        position: static !important;
        margin-bottom: 30px;
    }
}

/* CTA section custom background */
.faq-cta-section {
    background: linear-gradient(221deg, #860000 0%, #a81c1c 100%);
}
