/* FAQ Section Styles */

/* Main Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23007bff" fill-opacity="0.03"><circle cx="20" cy="20" r="1.5"/></g></svg>') repeat;
    pointer-events: none;
}

/* Section Header */
.faq-section .section-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.faq-section .section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, #da000e, #0056b3);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,123,255,0.2);
}

.faq-section .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.faq-section .section-description {
    font-size: 16px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FAQ Wrapper */
.faq-wrapper {
    position: relative;
    z-index: 2;
}

/* FAQ Items */
.faq-item {
    background: #ffffff;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,123,255,0.1);
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,123,255,0.15);
    border-color: rgba(0,123,255,0.2);
}

/* FAQ Header */
.faq-header {
    position: relative;
}

.faq-button {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 30px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.faq-button:hover {
    background: rgba(0,123,255,0.05);
}

.faq-button:focus {
    outline: none;
    box-shadow: none;
}

.faq-button span {
    flex: 1;
    margin-right: 20px;
}

.faq-button i {
    font-size: 14px;
    color: #da000e;
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,123,255,0.1);
    border-radius: 50%;
}

.faq-button:not(.collapsed) i {
    transform: rotate(45deg);
}

/* FAQ Body */
.faq-body {
    padding: 0 30px 25px;
    color: #6c757d;
    line-height: 1.6;
    font-size: 14px;
    border-top: 1px solid rgba(0,123,255,0.1);
    margin-top: -1px;
}

/* FAQ Visual */
.faq-visual {
    position: relative;
    padding-left: 30px;
}

.faq-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.faq-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.faq-image:hover img {
    transform: scale(1.05);
}

/* FAQ Stats */
.faq-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,123,255,0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,123,255,0.15);
    border-color: rgba(0,123,255,0.2);
}

.stat-item h3 {
    font-size: 28px;
    font-weight: 700;
    color: #da000e;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeInUp 0.6s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }

.stat-item {
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.7s; }
.stat-item:nth-child(2) { animation-delay: 0.8s; }
.stat-item:nth-child(3) { animation-delay: 0.9s; }

/* Responsive Design */
@media (max-width: 991px) {
    .faq-section {
        padding: 80px 0;
    }
    
    .faq-section .section-title {
        font-size: 32px;
    }
    
    .faq-visual {
        padding-left: 0;
        margin-top: 50px;
    }
    
    .faq-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-section .section-title {
        font-size: 28px;
    }
    
    .faq-section .section-description {
        font-size: 14px;
    }
    
    .faq-button {
        padding: 20px;
        font-size: 15px;
    }
    
    .faq-button span {
        margin-right: 15px;
    }
    
    .faq-body {
        padding: 0 20px 20px;
        font-size: 13px;
    }
    
    .faq-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-item h3 {
        font-size: 24px;
    }
    
    .stat-item p {
        font-size: 13px;
    }
}

/* Custom Accordion Styles Override */
.accordion .card {
    border: none;
    background: none;
    margin-bottom: 0;
}

.accordion .card-header {
    background: none;
    border: none;
    padding: 0;
}

.accordion .card-body {
    background: none;
    border: none;
    padding: 0;
}

.accordion .collapse {
    background: none;
}

/* Loading States */
.faq-item {
    opacity: 0;
    transform: translateY(30px);
}

.faq-item.animate {
    opacity: 1;
    transform: translateY(0);
}