﻿/* =========================================
   CROWNLINE FAQ
   BLUE / WHITE / GOLD THEME
========================================= */

:root {
    --cl-blue: #0A2540;
    --cl-blue-dark: #061A2D;
    --cl-blue-light: #123A60;
    --cl-gold: #D4AF37;
    --cl-gold-light: #E2C45B;
    --cl-white: #FFFFFF;
    --cl-bg: #F5F7FA;
    --cl-text: #17202A;
    --cl-muted: #687585;
    --cl-border: #E1E6EB;
}


/* =========================================
   FAQ HERO
========================================= */

.faq-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.faq-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(10, 37, 64, 0.95), rgba(10, 37, 64, 0.78) );
}

.faq-hero-content {
    position: relative;
    z-index: 2;
    color: var(--cl-white);
}

.faq-hero h1 {
    margin: 0;
    color: var(--cl-white) !important;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.faq-hero p {
    display: none;
}


/* =========================================
   BREADCRUMB
========================================= */

.faq-breadcrumb-section {
    background: var(--cl-white);
    padding: 15px 0;
    border-bottom: 1px solid var(--cl-border);
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

    .breadcrumb-custom a {
        color: var(--cl-blue) !important;
        text-decoration: none;
        font-weight: 600;
        transition: .2s ease;
    }

        .breadcrumb-custom a:hover {
            color: var(--cl-gold) !important;
        }

    .breadcrumb-custom span {
        color: #999999;
    }

        .breadcrumb-custom span:last-child {
            color: #687585;
        }


/* =========================================
   FAQ SECTION
========================================= */

.faq-section {
    padding: 70px 0 85px;
    background: var(--cl-bg);
}


/* =========================================
   FAQ HEADING
========================================= */

.faq-heading {
    max-width: 1100px;
    margin: 0 auto 40px;
    text-align: center;
}

    .faq-heading h2 {
        position: relative;
        display: inline-block;
        margin: 0;
        padding-bottom: 15px;
        color: var(--cl-blue) !important;
        font-size: 30px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

        .faq-heading h2::after {
            content: "";
            position: absolute;
            width: 55px;
            height: 3px;
            background: var(--cl-gold);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

    .faq-heading span,
    .faq-heading p {
        display: none;
    }


/* =========================================
   FAQ WRAPPER
========================================= */

.faq-wrapper {
    max-width: 1050px;
    margin: 0 auto;
    background: var(--cl-white);
    border: 1px solid var(--cl-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(10, 37, 64, .08);
}


/* =========================================
   FAQ ITEM
========================================= */

.faq-item {
    margin: 0;
    background: var(--cl-white);
    border: none;
    border-bottom: 1px solid var(--cl-border);
    transition: .25s ease;
}

    .faq-item:last-child {
        border-bottom: none;
    }

    .faq-item.active {
        border-left: 3px solid var(--cl-gold);
        box-shadow: none;
    }


/* =========================================
   QUESTION
========================================= */

.faq-question {
    width: 100%;
    border: none;
    background: var(--cl-white);
    padding: 21px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    color: var(--cl-blue) !important;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
}

    .faq-question:hover {
        color: var(--cl-blue-light) !important;
        background: #FAFBFC;
    }

    .faq-question i {
        width: 30px;
        height: 30px;
        min-width: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 20px;
        border: 1px solid rgba(212, 175, 55, .55);
        border-radius: 50%;
        color: var(--cl-gold);
        font-size: 12px;
        transition: .25s ease;
    }

.faq-item.active .faq-question {
    color: var(--cl-blue) !important;
    background: #F8FAFC;
}

    .faq-item.active .faq-question i {
        background: var(--cl-gold);
        border-color: var(--cl-gold);
        color: var(--cl-blue);
    }


/* =========================================
   ANSWER
========================================= */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #F8FAFC;
    transition: max-height .35s ease;
}

.faq-item.active .faq-answer {
    max-height: 350px;
}

.faq-answer p {
    margin: 0;
    padding: 0 70px 23px 25px;
    color: var(--cl-muted) !important;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   CONTACT BOX
========================================= */

.faq-contact {
    max-width: 1050px;
    margin: 55px auto 0;
    padding: 40px 45px;
    background: var(--cl-blue) !important;
    color: var(--cl-white);
    border-top: 3px solid var(--cl-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(10, 37, 64, .15);
}

    .faq-contact span {
        display: block;
        color: var(--cl-gold) !important;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        margin-bottom: 7px;
    }

    .faq-contact h3 {
        margin: 0 0 8px;
        color: var(--cl-white) !important;
        font-size: 26px;
        font-weight: 700;
    }

    .faq-contact p {
        margin: 0;
        color: rgba(255, 255, 255, .75) !important;
        font-size: 14px;
    }


/* =========================================
   CONTACT BUTTON
========================================= */

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    background: var(--cl-gold) !important;
    color: var(--cl-blue) !important;
    border: 1px solid var(--cl-gold) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    border-radius: 6px;
    transition: .25s ease;
}

    .faq-contact-btn:hover {
        background: var(--cl-white) !important;
        border-color: var(--cl-white) !important;
        color: var(--cl-blue) !important;
        transform: translateY(-2px);
    }


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .faq-hero {
        min-height: 210px;
    }

        .faq-hero h1 {
            font-size: 32px;
            line-height: 1.25;
        }

    .faq-section {
        padding: 50px 0 60px;
    }

    .faq-heading {
        margin-bottom: 30px;
    }

        .faq-heading h2 {
            font-size: 24px;
        }

    .faq-wrapper {
        border-radius: 8px;
    }

    .faq-question {
        padding: 18px 17px;
        font-size: 15px;
    }

        .faq-question i {
            margin-left: 12px;
        }

    .faq-answer p {
        padding: 0 17px 20px;
    }

    .faq-contact {
        margin-top: 40px;
        padding: 30px 25px;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 8px;
    }

        .faq-contact h3 {
            font-size: 22px;
        }

    .faq-contact-btn {
        width: 100%;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .faq-hero {
        min-height: 180px;
    }

        .faq-hero h1 {
            font-size: 27px;
        }

    .faq-breadcrumb-section {
        padding: 12px 0;
    }

    .breadcrumb-custom {
        font-size: 13px;
    }

    .faq-heading h2 {
        font-size: 21px;
    }

    .faq-question {
        font-size: 14px;
    }

    .faq-answer p {
        font-size: 13px;
        line-height: 1.7;
    }

    .faq-contact {
        padding: 25px 20px;
    }
}
