/* FAQ Page Custom Styling */
.faq-hero {
    background-image: url('../img/medium-shot-man-working-laptop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(17, 26, 60, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-title {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-decoration: underline;
    margin-bottom: 1rem;
    text-align: left;
}

.faq-subtitle {
    color: white;
    font-size: 1.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    text-align: left;
    margin: 0;
}

/* Custom Accordion Styling */
.faq-page .accordion-item {
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-page .accordion-button {
    background-color: var(--cardblue) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-page .accordion-button:not(.collapsed) {
    background-color: var(--cardblue) !important;
    color: white !important;
    box-shadow: none !important;
}

.faq-page .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(16, 32, 82, 0.25);
}

.faq-page .accordion-button::after {
    filter: brightness(0) invert(1);
}

.faq-page .accordion-body {
    background-color: rgba(194, 199, 214, 1);
    color: black;
    padding: 1.5rem;
    line-height: 1.6;
}

.faq-page .accordion-body ul {
    margin-top: 1rem;
    margin-bottom: 0;
}

.faq-page .accordion-body li {
    margin-bottom: 0.5rem;
}

.faq-category-title {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #f2f4ff;
    background: linear-gradient(90deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 100%);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
    scroll-margin-top: 100px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        margin-top: 1rem;
        padding-left: 20px;
    }
    
    .faq-subtitle {
        margin-bottom: 1rem;
        margin-top: 0.5rem;
        padding-left: 20px;
    }
    
    .faq-hero {
        height: 40vh;
    }
}
