/* ==========================================================================
   FAQ Section Styles
   ========================================================================== */

.faq-section {
    background-color: #fff; /* Or keep bg-light if preferred */
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners clip content */
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    background-color: #f8f9fa; /* Light background for question */
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    font-size: 18px; /* Slightly larger font */
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    color: var(--text-color-dark);
}

.faq-question:hover {
    background-color: #e9ecef; /* Slightly darker on hover */
}

.faq-question i {
    font-size: 16px;
    transition: transform 0.3s ease;
    color: var(--primary-color); /* Use primary color for icon */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #fff; /* White background for answer */
    padding: 0 25px; /* Add padding only when open */
}

.faq-answer p {
    margin: 0; /* Reset margin if needed */
    padding: 20px 0; /* Add vertical padding inside */
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color-light);
}

.faq-item.active .faq-answer {
    /* max-height is set by JS */
    padding: 0 25px; /* Ensure padding is applied when active */
    border-top: 1px dashed #e0e0e0; /* Optional separator */
}

/* Adjustments for tech-grid if needed */
.tech-grid .feature-card {
    text-align: center; /* Center align tech items */
}

.tech-grid .feature-icon {
    margin-bottom: 15px;
    font-size: 3rem; /* Make icons larger */
    color: var(--primary-color);
} 