/**
 * Global FAQs Component Styles
 */

.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5rem;
    color: var(--text-dark);
}

.faq-section .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* FAQ Items */
.faq-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-right: 30px;
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--accent-red);
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
    animation: slideDown 0.3s ease;
}

.faq-item.active p {
    display: block;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-cta p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.faq-cta .btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-red);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-cta .btn:hover {
    background: #dc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 40px 15px !important;
    }

    .faq-section .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
    }

    .faq-section .section-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 25px !important;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 5px !important;
    }

    .faq-item {
        padding: 12px !important;
        border-radius: 8px !important;
    }

    .faq-item::before {
        width: 3px !important;
    }

    .faq-item h3 {
        font-size: 0.8rem !important;
        padding-right: 20px !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }

    .faq-item h3::after {
        font-size: 1rem !important;
    }

    .faq-item p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }

    .faq-cta {
        padding: 20px 15px !important;
        margin-top: 25px !important;
    }

    .faq-cta p {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }

    .faq-cta .btn {
        padding: 10px 25px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 30px 10px !important;
    }

    .faq-section .section-title {
        font-size: 1.3rem !important;
    }

    .faq-section .section-subtitle {
        font-size: 0.75rem !important;
        margin-bottom: 20px !important;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .faq-item {
        padding: 10px !important;
        border-radius: 6px !important;
    }

    .faq-item h3 {
        font-size: 0.7rem !important;
        padding-right: 15px !important;
        margin-bottom: 6px !important;
    }

    .faq-item h3::after {
        font-size: 0.85rem !important;
    }

    .faq-item p {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
    }

    .faq-cta {
        padding: 15px 12px !important;
        margin-top: 20px !important;
    }

    .faq-cta p {
        font-size: 0.8rem !important;
    }

    .faq-cta .btn {
        padding: 8px 20px !important;
        font-size: 0.75rem !important;
    }
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

/* Animation Delays */
.animation-delay-200 {
    animation-delay: 200ms;
}

.animation-delay-300 {
    animation-delay: 300ms;
}

.animation-delay-400 {
    animation-delay: 400ms;
}

.animation-delay-500 {
    animation-delay: 500ms;
}

.animation-delay-600 {
    animation-delay: 600ms;
}