/* ================= GLOBAL ================= */

body.faq-page {
    margin: 0;
    font-family: 'Avenir', sans-serif;
    background: linear-gradient(135deg, #102833, #132F3D 60%, #0e2530);
    color: white;
}

/* ================= HERO (MATCH CONTACT STYLE) ================= */

.faq-hero {
    height: 35vh;
    background: linear-gradient(rgba(19,47,61,0.75), rgba(19,47,61,0.75)),
    url('https://images.unsplash.com/photo-1553729459-efe14ef6055d') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay h1 {
    font-family: 'Avenir', sans-serif;
    font-size: 48px;
    color: var(--gold, #e1c885);
    letter-spacing: 1px;
}

.hero-overlay p {
    margin-top: 15px;
    font-size: 16px;
    opacity: 0.9;
}

/* Breadcrumb Links */
.faq-hero .breadcrumb a {
    color: #e1c885; /* gold-brown */
    text-decoration: none;
    font-weight: 500;
}

.faq-hero .breadcrumb a:hover {
    opacity: 0.8;
}

/* ================= SCROLL FADE ================= */

.fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= FAQ WRAPPER ================= */

.faq-wrapper {
    max-width: 1000px;
    margin: clamp(52px,7vw,76px) auto;
    padding: 0 20px;
}

/* ================= GLASS MORPHISM CARD ================= */

.faq-item {
    position: relative;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 4px solid #e1c885;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}

/* ================= QUESTION ================= */

.faq-question {
    width: 100%;
    padding: 22px 25px;
    background: transparent;
    border: none;
    color: white;
    font-size: 17px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.faq-question span {
    transition: transform 0.4s ease;
    color: #e1c885;
}

/* ================= ANSWER (SMOOTH SLIDE EFFECT) ================= */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 
        max-height 0.6s cubic-bezier(.4,0,.2,1),
        opacity 0.4s ease,
        padding 0.4s ease;
    opacity: 0;
    padding: 0 25px;
}

.faq-answer p {
    padding-bottom: 25px;
    line-height: 1.8;
    color: #cfcfcf;
}

/* ACTIVE STATE */

.faq-item.active .faq-answer {
    max-height: 600px;
    opacity: 1;
    padding-top: 10px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

    .faq-hero h1 {
        font-size: 32px;
    }

    .faq-wrapper {
        margin: 40px auto 48px;
    }

    .faq-question {
        font-size: 15px;
    }

}

/* ================= SCROL FADE IN ================= */
.fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= FAQ CTA ================= */

.faq-cta {
    margin: 80px auto 100px auto;
    padding: 0 10%;
    text-align: center;
    max-width: 900px;
}

.faq-cta h2 {
    color: var(--gold, #e1c885);
    margin-bottom: 10px;
    font-size: 28px;
    letter-spacing: 0.5px;
}

.faq-cta p {
    margin-bottom: 25px;
    opacity: 0.8;
    font-size: 16px;
}

.faq-btn {
    display: inline-block;
    background: var(--gold, #e1c885);
    color: var(--primary, #132F3D);
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.faq-btn:hover {
    background: #d6bb6f;
    transform: translateY(-2px);
}
