/* FAQ Frontend Styles - Modern & Beautiful */
.star-faq-section {
    margin: 40px 0;
    padding: 0;
}

.star-faq-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.star-faq-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.star-faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.star-faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.star-faq-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.star-faq-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.star-faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: all 0.3s ease;
    user-select: none;
}

.star-faq-question:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.star-faq-question.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.star-faq-question-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    flex: 1;
    padding-right: 20px;
}

.star-faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.star-faq-item.active .star-faq-icon {
    transform: rotate(180deg);
}

.star-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.star-faq-answer-content {
    padding: 0 25px 20px 25px;
    color: #495057;
    font-size: 16px;
    line-height: 1.8;
}

.star-faq-item.active .star-faq-answer {
    max-height: 1000px;
    padding-top: 20px;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.star-faq-item.active .star-faq-answer-content {
    animation: fadeIn 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .star-faq-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .star-faq-question-text {
        font-size: 16px;
    }
    
    .star-faq-answer-content {
        font-size: 15px;
    }
    
    .star-faq-question {
        padding: 15px 20px;
    }
    
    .star-faq-answer-content {
        padding: 0 20px 15px 20px;
    }
}

/* Print Styles */
@media print {
    .star-faq-item {
        page-break-inside: avoid;
    }
    
    .star-faq-answer {
        max-height: none !important;
    }
}

