/* assets/css/faqs-page-style.css */

/* Reusable Section Heading Styles */
.section-heading {
    font-size: 1.875rem;
    font-weight: 400;
    color: var(--accent-blue);
    margin-bottom: 40px;
    text-align: center;
}

/* --- Hero Section (FAQs Page Specific) --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 280px;
    background-image: url('../images/faq-hero.webp'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}
.hero-content p {
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.9;
}

/* --- FAQs Section --- */
.faqs-section {
    padding: 80px 0;
    background-color: #ffffff;
}
.faqs-section h2.section-heading {
    margin-bottom: 50px;
}
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.faq-item {
    border-bottom: 1px solid #eee;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    background-color: #f9f9f9;
    color: var(--text-dark);
    cursor: pointer;
    padding: 20px 50px 20px 25px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.15rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.faq-question:hover {
    background-color: #f0f0f0;
    color: var(--accent-blue);
}
.faq-question.active {
    background-color: var(--accent-blue);
    color: white;
}
.faq-question.active:hover {
    background-color: #1A288E;
}
.faq-question::after {
    content: '';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--accent-blue);
    transition: transform 0.3s ease;
}
.faq-question.active::after {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: white;
}

.faq-answer {
    padding: 0 25px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.faq-answer p {
    padding: 15px 0;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* --- New Blue CTA Section --- */
.new-blue-cta-section {
    padding: 80px 20px;
    background-color: var(--accent-blue);
}
.blue-cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}
.blue-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}
.blue-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: white;
    color: var(--accent-blue);
    border: 2px solid white;
}
.btn-primary:hover {
    background-color: transparent;
    color: white;
}
.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}
.btn-secondary:hover {
    background-color: white;
    color: var(--accent-blue);
}

/* --- Media Queries --- */
@media (min-width: 768px) {
    .section-heading { font-size: 2.25rem; }
    .hero-section { height: 350px; }
    .hero-content h1 { font-size: 3.5rem; }
    .blue-cta-title { font-size: 2.8rem; }
}
@media (min-width: 1024px) {
    .section-heading { font-size: 2.75rem; }
    .hero-section { height: 420px; }
    .hero-content h1 { font-size: 4rem; }
}