/* Modern FAQ Page Styles */
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-section {
    margin-bottom: 60px;
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2fbc7d, #1e40af);
    border-radius: 2px;
}

.content-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2fbc7d, #1e40af);
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.content-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.content-box h3::before {
    content: '❓';
    font-size: 1.2rem;
    margin-right: 12px;
    background: linear-gradient(135deg, #2fbc7d, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-box p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 1rem;
}

.content-box ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.content-box ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #4b5563;
    line-height: 1.6;
}

.content-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #2fbc7d;
    font-weight: bold;
    font-size: 1.1rem;
}

.content-box strong {
    color: #1e3a8a;
    font-weight: 600;
}

/* Service Icons for different sections */
.content-box[data-service="electrical"] h3::before { content: '⚡'; }
.content-box[data-service="epc"] h3::before { content: '📊'; }
.content-box[data-service="asbestos"] h3::before { content: '🔬'; }
.content-box[data-service="water"] h3::before { content: '💧'; }
.content-box[data-service="oil"] h3::before { content: '🛢️'; }
.content-box[data-service="gas"] h3::before { content: '🔥'; }
.content-box[data-service="sewer"] h3::before { content: '🚰'; }
.content-box[data-service="pricing"] h3::before { content: '💰'; }
.content-box[data-service="after"] h3::before { content: '📋'; }

/* Responsive Design */
@media (max-width: 768px) {
    .faq-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .content-box {
        padding: 25px;
        margin-bottom: 20px;
        border-radius: 15px;
    }
    
    .content-box h3 {
        font-size: 1.3rem;
    }
    
    .faq-container {
        padding: 0 15px;
    }
}

/* Animation for FAQ items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-box {
    animation: fadeInUp 0.6s ease-out;
}

.content-box:nth-child(even) {
    animation-delay: 0.1s;
}

.content-box:nth-child(odd) {
    animation-delay: 0.2s;
}

/* Highlight boxes for important information */
.highlight-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-left: 5px solid #2fbc7d;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    position: relative;
}

.highlight-box::before {
    content: '💡';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
}

.highlight-box p {
    margin: 0;
    color: #1e40af;
    font-weight: 500;
}

/* Search functionality (if needed later) */
.faq-search {
    max-width: 600px;
    margin: 0 auto 50px auto;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    outline: none;
    border-color: #2fbc7d;
    box-shadow: 0 0 0 3px rgba(47, 188, 125, 0.1);
}

.faq-search::after {
    content: '🔍';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

