﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

.bm {
    --bg: #080E1A;
    --bg-alt: #0B1422;
    --cyan: #0EA5E9;
    --text: #E8F4FF;
    --text-dim: #7A9CBB;
    --border: #1A2E44;
    font-family: 'Montserrat',sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* CONTAINER */
.bm-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

/* SECTIONS */
.bm-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(40px);
    transition: .8s ease;
}

    .bm-section.active {
        opacity: 1;
        transform: translateY(0);
    }

.bm-alt {
    background: var(--bg-alt);
}

/* HERO */
.bm-hero {
    padding-top: 140px;
}

/* HEADINGS */
.bm-gradient-heading {
    font-size: clamp(32px,5vw,50px);
    font-weight: 800;
    background: linear-gradient(135deg,#fff,var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

.bm-subheadline {
    color: var(--text-dim);
    max-width: 850px;
    margin: 0 auto 35px;
    font-size: 18px;
}

.bm-subtitle {
    color: var(--text-dim);
    max-width: 850px;
    margin: 0 auto 35px;
    font-size: 16px;
    margin-top:20px;
}




.bm-trust-line {
    margin-top: 20px;
    color: var(--text-dim);
}

/* BUTTONS */
.bm-btn-primary {
    background: var(--cyan);
    color: #fff;
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: .3s;
}

    .bm-btn-primary:hover {
        transform: translateY(-3px);
        color: #fff;
    }

.bm-btn-outline {
    border: 1px solid var(--border);
    padding: 16px 36px;
    border-radius: 8px;
    margin-left: 10px;
    color: #fff;
    text-decoration: none;
}

    .bm-btn-outline:hover {
        border-color: var(--cyan);
    }

.bm-cta-group {
    margin-top: 25px;
}

/* ICON LIST */
/*.bm-icon-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 18px;
}

    .bm-icon-list li {
        background: #0D1B2E;
        border: 1px solid var(--border);
        padding: 18px 20px;
        border-radius: 14px;
        transition: .3s;
    }

        .bm-icon-list li:hover {
            transform: translateY(-6px);
            border-color: var(--cyan);
        }*/

.bm-icon-list {
    list-style: none !important;
    padding: 0 !important;
    margin-top: 40px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 18px !important;
}

    .bm-icon-list li {
        background: #0D1B2E !important;
        border: 1px solid var(--border) !important;
        padding: 18px 20px !important;
        border-radius: 14px !important;
        transition: 0.3s !important;
        display: flex !important; /* flex container */
        align-items: flex-start !important; /* icon aligned with first line */
        gap: 15px !important; /* space between icon and text */
        text-align: left !important;
        position: relative !important;
    }

        .bm-icon-list li:hover {
            transform: translateY(-6px) !important;
            border-color: var(--cyan) !important;
        }

        .bm-icon-list li::before {
            content: "✓" !important;
            flex-shrink: 0 !important; /* prevents icon shrinking */
            width: 28px !important;
            height: 28px !important;
            border-radius: 50% !important;
            background: linear-gradient(135deg, #0EA5E9, #0284C7) !important;
            color: #fff !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-weight: bold !important;
            font-size: 14px !important;
        }

/* GRID */
.bm-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
    margin-top: 50px;
}

.bm-card {
    background: #0D1B2E;
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 16px;
    transition: .3s;
}

    .bm-card:hover {
        transform: translateY(-6px);
        border-color: var(--cyan);
    }

    .bm-card i {
        color: var(--cyan);
        margin-right: 10px;
        font-size:26px;
    }

/* FINAL */
.bm-final {
    background: linear-gradient(135deg,#0B1422,#0D1B2E);
}

/* WAVE */
.bm-wave svg {
    width: 100%;
    height: 90px;
    display: block;
}

/* ================= BM PRO FAQ ================= */

.bm-faq {
    max-width: 820px;
    margin: 45px auto 0;
    text-align: left;
}

.bm-faq-item {
    background: #0B1422;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all .3s ease;
}

    .bm-faq-item:hover {
        /*border-color: var(--bm-cyan);*/
        border-color: var(--cyan);
    }

.bm-faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 20px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.bm-faq-icon {
    font-size: 22px;
    transition: transform .35s ease;
}

/*.bm-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    color: #cbd5e1;
    line-height: 1.7;
    transition: max-height .45s ease, padding .3s ease;
}*/
/* ANSWER BOX */
.bm-faq-answer {
    max-height: 0;
    overflow: hidden;
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    text-align: left;
    padding: 0 22px;
    color: #cbd5e1;
    line-height: 1.7;
    transition: max-height .45s ease, padding .3s ease;
}

    /* paragraph spacing fix */
    .bm-faq-answer p {
        margin: 0;
        width: 100%;
    }

. /*bm-faq-answer p {
        margin: 0;
    }*/
/*.bm-faq-item.active .bm-faq-answer {
    padding: 18px 22px 22px;
}*/
/* ACTIVE STATE */

.bm-faq-item.active {
    border-color: var(--bm-cyan);
}

    .bm-faq-item.active .bm-faq-answer {
        padding: 10px 22px 22px;
    }

    .bm-faq-item.active .bm-faq-icon {
        transform: rotate(45deg);
    }



/* RESPONSIVE */
@media(max-width:992px) {
    .bm-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   BRANCH MANAGEMENT — MOBILE RESPONSIVE (BM)
   SAFE SCOPED MOBILE CSS
===================================================== */

@media screen and (max-width: 768px) {

    /* ---------- Container ---------- */
    .bm-container {
        width: 100%;
        padding: 20px 15px;
        margin: 0 auto;
    }

    /* ---------- Sections ---------- */
    .bm-section {
        padding: 32px 15px;
    }

    /* ---------- HERO ---------- */
    .bm-hero {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .bm-gradient-heading {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .bm-subheadline {
        font-size: 1rem;
        line-height: 1.6;
        margin-top: 12px;
    }

    .bm-trust-line {
        font-size: 0.9rem;
        margin-top: 15px;
    }

    /* ---------- CTA Buttons ---------- */
    .bm-cta-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 18px;
    }

    .bm-btn-primary,
    .bm-btn-outline {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 0.95rem;
    }

    /* ---------- Lists ---------- */
    .bm-icon-list {
        list-style: none;
        padding-left: 0;
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        .bm-icon-list li {
            font-size: 0.95rem;
            line-height: 1.6;
            word-break: break-word;
        }

    /* ---------- Feature Grid ---------- */
    .bm-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 20px;
    }

    .bm-card {
        padding: 16px;
        border-radius: 10px;
        text-align: center;
    }

        .bm-card i {
            font-size: 1.4rem;
        }

        .bm-card h3 {
            font-size: 1.05rem;
            margin-top: 8px;
            line-height: 1.4;
        }

        .bm-card p {
            font-size: 0.95rem;
            line-height: 1.5;
        }

    /* ---------- FAQ ---------- */
    /*.bm-faq {
        margin-top: 15px;
    }

    .bm-faq-item {
        margin-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;
    }

    .bm-faq-question {
        width: 100%;
        padding: 14px 12px;
        font-size: 1rem;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .bm-faq-icon {
        font-size: 1.2rem;
    }

    .bm-faq-answer {
        padding: 10px 12px 15px;
        font-size: 0.95rem;
        line-height: 1.6;
    }*/
    /* ---------- FAQ ---------- */

    .bm-faq {
        margin-top: 15px;
    }

    .bm-faq-item {
        margin-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;
    }

    .bm-faq-question {
        width: 100%;
        padding: 14px 12px;
        font-size: 1rem;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        background: transparent;
        border: none;
    }

    .bm-faq-icon {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    /* ✅ IMPORTANT FIX */
    .bm-faq-answer {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding: 0 12px; /* no vertical padding when closed */
        font-size: 0.95rem;
        line-height: 1.6;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
    }

    /* ACTIVE */
    .bm-faq-item.active .bm-faq-answer {
        opacity: 1;
        padding: 10px 12px 15px;
    }

    /* rotate + icon */
    .bm-faq-item.active .bm-faq-icon {
        transform: rotate(45deg);
    }

    /* ===== FAQ CROPPING FIX ===== */

    /* remove default paragraph spacing */
    .bm-faq-answer p {
        margin: 0;
    }

    /* ensure correct height calculation */
    .bm-faq-answer *:first-child {
        margin-top: 0;
    }

    .bm-faq-answer *:last-child {
        margin-bottom: 0;
    }

    /* ---------- Wave Fix ---------- */
    .bm-wave svg {
        height: 60px;
    }

    /* ---------- Alternate Sections ---------- */
    .bm-alt {
        padding: 32px 15px;
    }

    .bm-final {
        padding-bottom: 40px;
    }
}


/* =====================================================
   SMALL PHONES (<480px)
===================================================== */

@media screen and (max-width: 480px) {

    .bm-gradient-heading {
        font-size: 1.4rem;
    }

    .bm-subheadline {
        font-size: 0.9rem;
    }

    .bm-card h3 {
        font-size: 1rem;
    }

    .bm-card p {
        font-size: 0.9rem;
    }

    .bm-btn-primary,
    .bm-btn-outline {
        font-size: 0.9rem;
        padding: 11px 0;
    }

    .bm-icon-list li {
        font-size: 0.9rem;
    }
}

