/* Premium FAQ Section Styles */

#faq-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

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

#faq-section .section-title {
    color: #ffffff;
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#faq-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 400;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.faq-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.faq-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    border-radius: 24px 24px 0 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

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

.faq-item.active {
    background: rgba(102, 126, 234, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

.faq-question-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.faq-item:hover .faq-question-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.faq-question-content {
    flex: 1;
}

.faq-question h3 {
    color: #333;
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-question .fas.fa-chevron-down {
    color: #667eea;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-left: auto;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-question .fas.fa-chevron-down {
    transform: rotate(180deg);
    background: rgba(102, 126, 234, 0.2);
    color: #764ba2;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
    background: rgba(255, 255, 255, 0.8);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-answer > div {
    padding: 0 2rem 1.5rem 6rem;
}

.faq-answer p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-weight: 400;
}

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

.faq-answer ul {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

.faq-answer li {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-weight: 400;
    position: relative;
}

.faq-answer li::marker {
    color: #667eea;
}

.faq-answer strong {
    color: #333;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium animations and effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.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; }
.faq-item:nth-child(7) { animation-delay: 0.7s; }
.faq-item:nth-child(8) { animation-delay: 0.8s; }

/* Responsive Design */
@media (max-width: 768px) {
    #faq-section .section-title {
        font-size: 2.2rem;
    }
    
    #faq-section .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .faq-container {
        padding: 2rem;
        border-radius: 20px;
        margin: 1rem 0;
    }
    
    .faq-question {
        padding: 1.2rem 1.5rem;
        gap: 0.8rem;
    }
    
    .faq-question-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer > div {
        padding: 0 1.5rem 1.2rem 4.5rem;
    }
}

@media (max-width: 480px) {
    #faq-section {
        padding: 3rem 0;
    }
    
    #faq-section .section-title {
        font-size: 1.9rem;
    }
    
    .faq-container {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .faq-question {
        padding: 1rem;
        gap: 0.6rem;
    }
    
    .faq-question-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer > div {
        padding: 0 1rem 1rem 3.5rem;
    }
    
    .faq-answer p,
    .faq-answer li {
        font-size: 0.95rem;
    }
}

