/* ============================================
   FAQ PAGE STYLES
   ============================================ */

/* Hero Section */
.faq-hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-image: url('../assets/images/noc (1) 1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 120px;
    padding-bottom: 80px;
    margin-top: 0;
}

.faq-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.faq-hero-section .container {
    position: relative;
    z-index: 2;
}

.faq-hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.faq-hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* Content Section */
.faq-content-section {
    background-color: #f8f9fa;
    min-height: 50vh;
}

/* Search Bar */
.faq-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-wrapper .input-group-text {
    border-radius: 50px 0 0 50px;
    padding: 0.75rem 1.25rem;
}

.faq-search-wrapper .form-control {
    border-radius: 0 50px 50px 0;
    padding: 0.75rem 1.25rem;
    border-left: none;
    font-size: 1rem;
}

.faq-search-wrapper .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

/* Category Title */
.faq-category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue, #0d6efd);
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-blue, #0d6efd);
    margin-bottom: 2rem;
}

.faq-category-title i {
    color: var(--primary-blue, #0d6efd);
}

/* Accordion Styles */
.accordion {
    --bs-accordion-border-color: #dee2e6;
    --bs-accordion-border-radius: 0.5rem;
    --bs-accordion-inner-border-radius: calc(0.5rem - 1px);
}

.accordion-item {
    border: 1px solid #dee2e6;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background-color: white;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: var(--primary-blue, #0d6efd);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.25rem;
    height: 1.25rem;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.accordion-body {
    padding: 1.5rem;
    background-color: white;
}

.faq-answer {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

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

.faq-answer a {
    color: var(--primary-blue, #0d6efd);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-answer strong {
    color: #333;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-hero-title {
        font-size: 2.5rem;
    }
    
    .faq-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .faq-category-title {
        font-size: 1.5rem;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
    
    .faq-search-wrapper {
        margin-bottom: 2rem;
    }
}

/* Animation for search results */
.faq-item {
    animation: fadeIn 0.3s ease-in;
}

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

