/* FAQ Extra Styles - For the additional FAQ sections */

/* MacBook Care, Common Issues, and Trust Sections */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th, 
.comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table th {
    background-color: #0c43e9;
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: #fcfcfc;
}

.testimonial-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.testimonial-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.testimonial-item .rating {
    color: #ff9500;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.5;
}

.testimonial-item .customer-name {
    display: block;
    text-align: right;
    font-weight: 600;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-highlights {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 8px 10px;
    }
}

/* Enhanced list styles for the FAQ answers */
.faq-section ol li,
.faq-section ul li {
    margin-bottom: 8px;
}

.faq-section ol li strong,
.faq-section ul li strong {
    color: #000;
}

/* Animations for the FAQ sections */
.faq-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.faq-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for FAQ items */
.faq-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-section.active .faq-item {
    opacity: 1;
    transform: translateY(0);
}

.faq-section.active .faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-section.active .faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-section.active .faq-item:nth-child(3) { transition-delay: 0.3s; }
.faq-section.active .faq-item:nth-child(4) { transition-delay: 0.4s; }

