/* ==================== ENHANCED FAQ SECTION STYLES ==================== */

/* Enhanced FAQ Header */
.faq-header {
    margin-bottom: 60px;
    position: relative;
}

.faq-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.faq-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
}

.faq-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.1) 0%, rgba(201, 169, 110, 0.3) 100%);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(201, 169, 110, 0.2);
    animation: pulse-glow 3s ease-in-out infinite;
}

.faq-main-icon {
    font-size: 3rem;
    color: #c9a96e;
    z-index: 2;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.faq-icon-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #c9a96e;
    border-radius: 50%;
    opacity: 0.6;
    animation: orbit 8s linear infinite;
}

.particle:nth-child(1) {
    animation-delay: 0s;
    top: 10%;
    left: 50%;
}

.particle:nth-child(2) {
    animation-delay: 2.67s;
    top: 50%;
    left: 10%;
}

.particle:nth-child(3) {
    animation-delay: 5.33s;
    top: 90%;
    left: 50%;
}

.faq-header-text {
    text-align: center;
    max-width: 600px;
}

.faq-header-text h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 110, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(201, 169, 110, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #c9a96e;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* FAQ Categories Navigation */
.faq-categories {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.category-nav {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 110, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 25px;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    color: #c9a96e;
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, #c9a96e 0%, #d4b574 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(201, 169, 110, 0.3);
}

.category-btn i {
    font-size: 1.1rem;
}

/* Enhanced FAQ Items */
.faq-item.enhanced {
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(201, 169, 110, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    will-change: transform, box-shadow;
    position: relative;
}

.faq-item.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c9a96e, #d4b574);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.faq-item.enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 169, 110, 0.2);
}

.faq-item.enhanced.active::before {
    transform: scaleX(1);
}

.faq-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.question-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.1) 0%, rgba(201, 169, 110, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.question-icon i {
    font-size: 1.4rem;
    color: #c9a96e;
    transition: all 0.3s ease;
}

.faq-item.enhanced:hover .question-icon {
    background: linear-gradient(135deg, #c9a96e 0%, #d4b574 100%);
    transform: scale(1.1);
}

.faq-item.enhanced:hover .question-icon i {
    color: white;
}

.faq-question.enhanced {
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    flex: 1;
    padding: 0;
}

.question-text {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.4;
}

.question-category {
    font-size: 0.9rem;
    color: #c9a96e;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.toggle-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #c9a96e;
    transition: all 0.3s ease;
}

.toggle-icon::before {
    width: 16px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.toggle-icon::after {
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
}

.faq-item.enhanced.active .toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-item.enhanced:hover .faq-toggle {
    background: rgba(201, 169, 110, 0.2);
    transform: scale(1.1);
}

/* Enhanced Answer Content */
.answer-content {
    padding: 0 30px 30px;
}

.answer-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.1) 0%, rgba(201, 169, 110, 0.05) 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #c9a96e;
}

.answer-highlight.success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border-left-color: #28a745;
}

.answer-highlight i {
    color: #c9a96e;
    font-size: 1.2rem;
}

.answer-highlight.success i {
    color: #28a745;
}

.answer-highlight span {
    font-weight: 600;
    color: #2c3e50;
}

.answer-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 10px;
    border-left: 3px solid #c9a96e;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #c9a96e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-text {
    font-weight: 500;
    color: #2c3e50;
}

.fee-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.fee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(248, 249, 250, 0.6);
    border-radius: 8px;
}

.fee-item i {
    color: #c9a96e;
    font-size: 1.1rem;
    width: 20px;
}

.timeline-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.timeline-item {
    text-align: center;
    padding: 15px;
    background: rgba(201, 169, 110, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.timeline-duration {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #c9a96e;
    margin-bottom: 5px;
}

.timeline-case {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(40, 167, 69, 0.05);
    border-radius: 8px;
    border-left: 3px solid #28a745;
}

.checklist-item i {
    color: #28a745;
    font-size: 1rem;
}

.answer-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    margin-top: 15px;
}

.answer-tip i {
    color: #ffc107;
    font-size: 1.1rem;
    margin-top: 2px;
}

.answer-tip span {
    font-style: italic;
    color: #6c757d;
    line-height: 1.5;
}

.urgent-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid #dc3545;
    margin-bottom: 20px;
}

.urgent-notice i {
    color: #dc3545;
    font-size: 1.2rem;
}

.urgent-notice span {
    font-weight: 600;
    color: #dc3545;
}

.appeal-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.appeal-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 10px;
    border-left: 3px solid #c9a96e;
}

.step-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.comparison-table {
    margin-bottom: 20px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comparison-civil,
.comparison-criminal {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.comparison-civil {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.comparison-criminal {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.comparison-civil h4,
.comparison-criminal h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.comparison-civil h4 i {
    color: #28a745;
}

.comparison-criminal h4 i {
    color: #dc3545;
}

.answer-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #c9a96e 0%, #d4b574 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

.action-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.4);
    color: white;
    text-decoration: none;
}

/* Enhanced Footer */
.faq-footer-enhanced {
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(201, 169, 110, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a96e 0%, #d4b574 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(201, 169, 110, 0.3);
}

.footer-icon i {
    font-size: 1.5rem;
    color: white;
}

.footer-text h3 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
}

.footer-text p {
    margin: 0;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.footer-btn.primary {
    background: linear-gradient(135deg, #c9a96e 0%, #d4b574 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

.footer-btn.secondary {
    background: transparent;
    color: #c9a96e;
    border-color: #c9a96e;
}

.footer-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-btn.primary:hover {
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.4);
    color: white;
}

.footer-btn.secondary:hover {
    background: #c9a96e;
    color: white;
}

.footer-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(201, 169, 110, 0.2);
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(201, 169, 110, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.2);
}

.stat-card i {
    font-size: 2rem;
    color: #c9a96e;
    margin-bottom: 10px;
}

.stat-card .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(201, 169, 110, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(201, 169, 110, 0.5);
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .faq-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .faq-main-icon {
        font-size: 2.5rem;
    }
    
    .faq-header-text h2 {
        font-size: 2.2rem;
    }
    
    .faq-stats {
        gap: 15px;
    }
    
    .category-nav {
        padding: 8px;
        gap: 8px;
    }
    
    .category-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .faq-item-header {
        padding: 20px;
    }
    
    .question-icon {
        width: 40px;
        height: 40px;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .answer-content {
        padding: 0 20px 20px;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-actions {
        justify-content: center;
    }
    
    .footer-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .faq-header-text h2 {
        font-size: 1.8rem;
    }
    
    .category-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        justify-content: center;
    }
    
    .faq-question-wrapper {
        gap: 15px;
    }
    
    .question-icon {
        width: 35px;
        height: 35px;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .timeline-info,
    .checklist {
        grid-template-columns: 1fr;
    }
}