/* FAQ Page Styles */

a, a:hover {
    color: var(--color-primary);
}

/* FAQ Wrapper */
.faq-wrap {
    background-color: white;
    padding-bottom: 80px;
}

/* Hero Banner Section */
.faq-wrap .one-column-banner-container {
    position: relative;
    margin-bottom: 60px;
}

.faq-wrap .one-column-banner-container .banner {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.faq-wrap .one-column-banner-container .banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.7);
}

.faq-wrap .about-us-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.faq-wrap .about-us-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.faq-wrap .about-us-content p {
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* FAQ Content Container */
.faq-content {
    /*max-width: 1000px;*/
    margin: 0 auto;
    padding: 0 20px;
}

/* FAQ Category Section */
.faq-category-section {
    margin-bottom: 50px;
    /*background: white;*/
    border-radius: 12px;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);*/
    overflow: hidden;
}

/* Category Header */
.faq-category-header {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    color: white;
    padding: 30px 40px;
    text-align: center;
}

.faq-category-header .faq-title {
    display: inline-block;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-content .divider {
    border-bottom: 3px solid #B2252D;
    width: 35%;
    margin: 0 auto;
}

.faq-content ul {
    margin-left: 35px;
}

.faq-category-header .category-description {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

.faq-category-header > .faq-category-name {
    display: inline-block;
}

/* Bootstrap 4 Accordion Overrides */
.faq-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-card .card-header {
    background-color: white;
    border-bottom: 1px solid #e9ecef;
    padding: 0;
    border-radius: 8px 8px 0 0;
}

.faq-question-btn {
    color: #333 !important;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none !important;
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: none !important;
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
}

.faq-question-btn:hover {
    color: var(--color-primary) !important;
    text-decoration: none !important;
}

.faq-question-btn:focus {
    box-shadow: none !important;
    text-decoration: none !important;
}

.faq-icon {
    color: var(--color-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.faq-card .card-body {
    background-color: #fafafa;
    padding: 25px;
    border-radius: 0 0 8px 8px;
}

.faq-answer-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* No FAQs/Categories Messages */
.no-faqs-message,
.no-categories-message {
    text-align: center;
    padding: 60px 40px;
    color: #6c757d;
}

.no-categories-message h3 {
    font-size: 1.5rem;
    color: #495057;
    margin-bottom: 15px;
}

.no-categories-message p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.no-categories-message .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.no-categories-message .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
}

.no-categories-message .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-wrap .about-us-content h1 {
        font-size: 2rem;
    }

    .faq-wrap .about-us-content p {
        font-size: 1rem;
    }

    .faq-content {
        padding: 0 15px;
    }

    .faq-category-header {
        padding: 25px 20px;
    }

    .faq-category-header .faq-title {
        font-size: 1.5rem;
    }

    .faq-category-header .category-description {
        font-size: 1rem;
    }

    .faq-question-btn {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .faq-icon {
        font-size: 14px;
    }

    .faq-card .card-body {
        padding: 20px;
    }

    .faq-answer-content {
        font-size: 0.95rem;
    }

    .no-faqs-message,
    .no-categories-message {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .faq-wrap .about-us-content h1 {
        font-size: 1.8rem;
    }

    .faq-category-header .faq-title {
        font-size: 1.3rem;
    }

    .faq-question-btn {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    .faq-card .card-body {
        padding: 15px;
    }

    .faq-answer-content {
        font-size: 0.9rem;
    }
}

/* Bootstrap accordion animations */
.collapse {
    transition: all 0.35s ease;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .faq-icon {
        display: none;
    }

    .collapse {
        display: block !important;
        height: auto !important;
    }

    .faq-question-btn {
        cursor: default;
    }

    .faq-card {
        break-inside: avoid;
        margin-bottom: 20px;
    }

    .faq-category-section {
        break-inside: avoid;
    }
}
