/* FAQ Section Styles */
.faq {
    padding: 80px 0;
}

.faq-container {
    max-width: 100%;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0;
}

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

.faq-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: none;
    transition: all 0.3s ease;
    gap: 15px;
    min-height: 60px;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.faq-toggle {
    font-size: 16px;
    color: #3498db;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 16px 20px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

/* Active state */
.faq-item.active .faq-question {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.faq-item.active .faq-question h3 {
    color: #3498db;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .faq-question h3 {
        font-size: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 16px 14px 16px;
    }
    
    .faq-toggle {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .faq-question {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .faq-question h3 {
        font-size: 14px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 14px 12px 14px;
    }
    
    .faq-toggle {
        font-size: 13px;
    }
}

/* Fix for outline-primary button visibility */
.btn-outline-primary {
    color: #2c3e50 !important;
    border-color: #2c3e50 !important;
    background-color: transparent !important;
    font-weight: 500 !important;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: #2c3e50 !important;
    border-color: #2c3e50 !important;
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25) !important;
}