/* css/faqs.css */

/* =========================================
   SECTION 1: FAQ HERO
========================================== */
.faq-hero {
    position: relative;
    background-color: #eef3f8;
    padding: 35px 0;
    overflow: hidden;
}

/* =========================================
   BACKGROUND IMAGE (Right Side Only)
   Same approach as the About Us hero
========================================== */
.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 40%;                              /* <-- Image covers right 40% */
    height: 100%;
    background-image: url('../images/about-bg.png');   /* <-- SAME IMAGE AS ABOUT US */
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

/* =========================================
   CONTENT WRAPPER
========================================== */
.faq-hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0;
    padding-left: 50px;
    text-align: left;
}

/* =========================================
   SUBTITLE
========================================== */
.faq-hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-orange);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-align: left;
}

/* =========================================
   MAIN TITLE
========================================== */
.faq-hero-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 60px;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

/* =========================================
   DESCRIPTION TEXT
========================================== */
.faq-hero-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 1000px;
    text-align: left;
}

/* =========================================
   SECTION 3: FAQ CATEGORIES
========================================== */
.faq-categories {
    background-color: var(--white);
    padding: 30px 0;
}

.faq-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
}

/* =========================================
   COLUMN
========================================== */
.faq-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-column-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px 0 20px 0;
    margin-bottom: 5px;
}

.faq-column-icon {
    font-size: 42px;
    color: var(--primary-orange);
    line-height: 1;
    flex-shrink: 0;
}

.faq-column-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.1;
    margin: 0;
}

/* =========================================
   FAQ ITEM
========================================== */
.faq-item {
    background-color: #eef3f8;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.08);
}

/* Question */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-blue);
    text-align: left;
    line-height: 1.3;
}

/* =========================================
   TOGGLE (Plus / Minus)
========================================== */
.faq-toggle {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.faq-plus,
.faq-minus {
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    transition: opacity 0.2s ease;
}

/* Default state: show + hide − */
.faq-plus { opacity: 1; }
.faq-minus { opacity: 0; }

/* Active state: hide + show − */
.faq-item.active .faq-plus { opacity: 0; }
.faq-item.active .faq-minus { opacity: 1; }

/* =========================================
   ANSWER (Hidden by default)
========================================== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
    background-color: #eef3f8;
}

.faq-answer p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--primary-blue);
    line-height: 1.6;
    margin: 0 0 18px 0;
}

.faq-answer ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 18px 0;
}

.faq-answer ul li {
    font-family: 'Montserrat', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--primary-blue);
    line-height: 1.7;
}

/* Active state: expand */
.faq-item.active .faq-answer {
    max-height: 800px;
}

/* =========================================
   RESPONSIVE
========================================== */
@media (max-width: 992px) {
    .faq-hero { padding: 60px 0; }
    .faq-hero::before {
        width: 50%;
        opacity: 0.6;
    }
    .faq-hero-title { font-size: 40px; }
    .faq-hero-desc { font-size: 14px; }
    .faq-categories { padding: 50px 0; }
    .faq-categories-grid { grid-template-columns: 1fr; gap: 40px; }
    .faq-column-title { font-size: 22px; }
    .faq-column-icon { font-size: 36px; }
}

@media (max-width: 768px) {
    .faq-hero::before {
        width: 100%;
        opacity: 0.25;
    }
}

@media (max-width: 576px) {
    .faq-hero { padding: 50px 0; }
    .faq-hero-title { font-size: 30px; }
    .faq-hero-subtitle { font-size: 13px; }
    .faq-hero-desc { font-size: 13px; }
    .faq-question { font-size: 13px; padding: 15px; }
    .faq-answer p, .faq-answer ul li { font-size: 12px; }
}