﻿/* ============================================================
   SJCO — ADMISSION FAQ PAGE (MSI PREMIUM STYLE)
   File: /css/admission-faq.css
   Theme: SJCO Green + MSI Luxury Premium Aesthetic
============================================================ */

/* ------------------------------------------------------------
   COLOR VARIABLES
------------------------------------------------------------ */
:root {
    --sjco-green: #0c3a23;
    --sjco-green-dark: #072616;
    --sjco-green-light: #e8f2eb;
    --gold-soft: #eac341;
    --gold-pale: #f7e7a3;
    --text-dark: #1f1f1f;
    --text-light: #555;
    --white: #fff;
    --gray-border: #d9d9d9;
}

/* ============================================================
   HERO SECTION
============================================================ */
.faq-hero {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000;
}

/* Background image */
.faq-hero-bg {
    position: absolute;
    inset: 0;
    background: url('/images/slide3.jpg') center/cover no-repeat;
    filter: brightness(0.65);
    z-index: 1;
}

/* MSI-style gradient overlay */
.faq-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( to right, rgba(12, 58, 35, 0.88), rgba(12, 58, 35, 0.45) );
    z-index: 2;
}

/* Hero content */
.faq-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-left: 60px;
    color: var(--white);
}

.faq-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.faq-subtitle {
    font-size: 1.35rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.faq-desc {
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.65;
    opacity: 0.95;
}

/* ============================================================
   FAQ SECTION
============================================================ */
.faq-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--sjco-green);
    margin-bottom: 40px;
    text-align: center;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* FAQ Card */
.faq-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    border: 1px solid var(--gray-border);
    overflow: hidden;
    transition: box-shadow .25s ease;
}

    .faq-card:hover {
        box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    }

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: var(--white);
    border: none;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    color: var(--sjco-green);
    cursor: pointer;
}

.faq-toggle {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sjco-green);
}

/* FAQ Answer */
.faq-answer {
    padding: 0 22px 20px 22px;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    animation: slideDown 0.25s ease-out;
}

/* Smooth open animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   RESPONSIVE DESIGN
============================================================ */
@media (max-width: 992px) {
    .faq-title {
        font-size: 2.4rem;
    }

    .faq-hero-content {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
    .faq-hero {
        height: 360px;
        justify-content: center;
        text-align: center;
    }

    .faq-hero-content {
        padding-left: 0;
        padding: 0 20px;
    }

    .faq-title {
        font-size: 2.2rem;
    }

    .faq-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        font-size: 1.05rem;
    }
}
