.section7-container {
    padding-bottom: 100px;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.faq-container {
    max-width: 1100px;
}

.toggle-icon path {
    fill: #dad1e6;
}

.faq-title {
    font-size: 4.3rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b6b, #ee5a52, #ff8a80, #f06292, #ba68c8);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    font-family: inconsolata, sans-serif;
    margin-bottom: 40px;
    transition: all 0.8s ease-out;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.faq-item {
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.toggle-icon {
    width: 24px;
    height: 24px;
    margin-right: 16px;
    transition: transform 0.3s ease;
    fill: #ba68c8;
    flex-shrink: 0;
}

.faq-item.open .toggle-icon {
    transform: rotate(90deg);
}

.question-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: #dad1e6;
    line-height: 1.5;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.answer-content {
    padding: 0 24px 24px 64px;
    font-size: 1.8rem;
    line-height: 1.7;
    color: #dad1e6;
}

.faq-item.open .answer-content {
    animation: fadeInUp 0.5s ease;
}

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

/* Scroll Animation States */
.faq-title.fade-hidden {
    opacity: 0;
    transform: translateY(-30px);
}

.faq-item.fade-hidden {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.faq-title.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.faq-item.fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animation delays */
.faq-item.fade-in:nth-child(1) {
    transition-delay: 0.1s;
}

.faq-item.fade-in:nth-child(2) {
    transition-delay: 0.2s;
}

.faq-item.fade-in:nth-child(3) {
    transition-delay: 0.3s;
}

.faq-item.fade-in:nth-child(4) {
    transition-delay: 0.4s;
}

.faq-item.fade-in:nth-child(5) {
    transition-delay: 0.5s;
}

/* Responsive design */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .answer-content {
        padding: 0 20px 20px 56px;
    }
    
    .question-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section7-container {
        padding: 20px 15px;
    }
    
    .faq-title {
        font-size: 3.5rem;
    }
    
    .faq-question {
        padding: 16px;
    }

    .question-text{
        font-size: 1.5rem;
    }
    
    .answer-content {
        padding: 0 16px 16px 48px;
        font-size: 1.4rem;
    }
}