/* ======== FAQ SECTION ======== */

.faq-section {
    background-color: #161B22; /* Matches the Engineering Excellence background */
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.faq-header p {
    font-size: 16px;
    color: #9CA3AF;
    font-weight: 300;
}

/* --- FAQ ITEM --- */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* The Button (Question) */
.faq-button {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 0;
    text-align: left;
    color: #E5E7EB; /* Light Grey text */
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-button:hover {
    color: #fff;
}

/* The Icon (Chevron) */
.faq-button i {
    font-size: 12px;
    color: #9CA3AF;
    transition: transform 0.3s ease;
}

/* Rotate icon when open (Bootstrap adds 'collapsed' class when closed, removes it when open) */
.faq-button:not(.collapsed) i {
    transform: rotate(180deg);
    color: #2563EB; /* Blue when active */
}

/* The Answer Body */
.faq-body {
    padding-bottom: 24px;
    color: #9CA3AF; /* Muted text */
    font-size: 15px;
    line-height: 1.6;
    padding-right: 40px; /* Keep text away from the arrow area */
}

/* --- RESPONSIVE --- */
@media only screen and (max-width: 768px) {
    .faq-header h2 {
        font-size: 28px;
    }
    .faq-button {
        font-size: 15px;
        padding: 20px 0;
    }
}
