/* FAQ-specific styles only - no global styles that could interfere with header/footer */
.faq-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
}

/* FAQ Hero Banner */
.faq-hero {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #005fa3, #0066b3);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 95, 163, 0.2);
    position: relative;
}

/* Home Icon Navigation */
.home-icon-nav {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    z-index: 10;
}

.home-icon-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.faq-hero .breadcrumb {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 1rem;
}

.faq-hero .breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.faq-hero .breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.faq-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-hero p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.faq-categories .category-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.faq-categories .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #005fa3;
}

.faq-categories .category-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.faq-categories .category-title {
    color: #005fa3;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-categories .category-count {
    color: #666;
    font-size: 0.9rem;
}

.faq-section {
    margin-bottom: 3rem;
    display: none;
}

.faq-section.active {
    display: block;
}

.faq-section .section-header {
    background: linear-gradient(135deg, #005fa3, #0066b3);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-section .section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.faq-section .section-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.faq-question {
    background: #f8f9fa;
    padding: 1.5rem;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
    color: #005fa3;
}

.faq-question.active {
    background: #005fa3;
    color: white;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-answer ul {
    color: #666;
    line-height: 1.6;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-section .back-to-categories {
    text-align: center;
    margin: 2rem 0;
}

.faq-section .back-categories-btn {
    background: #6c757d;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 1rem;
    cursor: pointer;
    border: none;
}

.faq-section .back-categories-btn:hover {
    background: #545b62;
    transform: translateY(-2px);
}

/* Ensure FAQ styles are loaded */
.faq-loaded {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Force FAQ container styles */
.faq-container {
    max-width: 1000px !important;
    margin: 2rem auto !important;
    padding: 2rem !important;
    display: block !important;
}

.faq-categories {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    margin-bottom: 3rem !important;
}

@media (max-width: 767px) {
    .faq-container {
        padding: 1rem;
    }

    .faq-hero {
        padding: 2rem 1.5rem;
    }

    .faq-hero h1 {
        font-size: 2rem;
    }

    /* Mobile adjustments for home icon */
    .home-icon-nav {
        top: 1rem;
        left: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        padding: 0.6rem;
    }

    .faq-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .faq-categories .category-card {
        padding: 1.25rem;
    }

    .faq-section .section-header {
        padding: 1.5rem;
    }

    .faq-section .section-header h2 {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-answer.active {
        padding: 1rem;
    }
}
