/* ============================================================
   Digital Corporate Banking Page — scoped under .dcb-page
   All classes prefixed: dcb-
   ============================================================ */

/* ── Reset & base ─────────────────────────────────────────── */
/* The shared tab bar (_DigitalCorporateBankingTabs.cshtml, nav.mobile-tabs) is
   left out of the reset so it keeps the same spacing as on every other page.
   :where() keeps the exclusion at zero specificity, so the reset matches the
   rest of the page exactly as before. */
.dcb-page *:where(:not(.mobile-tabs, .mobile-tabs *)),
.dcb-page *:where(:not(.mobile-tabs, .mobile-tabs *))::before,
.dcb-page *:where(:not(.mobile-tabs, .mobile-tabs *))::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* The shared breadcrumb (_Breadcrumb.cshtml, rendered inside .dcb-page) has
   the same specificity as the reset above (one class vs. .dcb-page *, which
   a universal selector doesn't add to), and this page's CSS loads after the
   shared components.css — so the reset was winning and zeroing out the
   breadcrumb's padding only on this page. Restoring the system default. */
.dcb-page .egb-breadcrumb__list {
    padding: 8px 30px;
}

.dcb-page {
    font-family: 'Co Headline', sans-serif;
    color: #003B70;
    background: #fff;
    overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════════
   1. HERO
══════════════════════════════════════════════════════════ */
.dcb-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    padding: 0 32px;
    overflow: hidden;
}

.dcb-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Gradient: solid blue on LEFT, fades to transparent on RIGHT */
.dcb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #003B70 0%, rgba(0, 59, 112, 0.7) 59.49%, rgba(0, 59, 112, 0) 100%);
    z-index: 1;
}

.dcb-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    max-width: 675px;
    margin-top: 100px;
    font-family: Co Headline, sans-serif;
    font-weight: 400;
    font-size: 72px;
    line-height: 120%;
    vertical-align: middle;
}

.dcb-hero__title {
    font-size: 52px;
    font-weight: 400;
    line-height: 120%;
    color: #fff;
}

.dcb-hero__title-accent {
    color: #00C4B3;
    font-size: 52px;
}
[dir="rtl"] .dcb-hero__title-accent {
  
    display: unset;
   
}
.dcb-hero__subtitle {
    color: #fff;
    padding-bottom: 32px;
    font-family: Co Headline, sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
    vertical-align: middle;
}

.dcb-hero__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    font-family: Co Headline, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    padding-bottom: 60px;
}



    .dcb-btn:hover {
        opacity: 0.88;
    }

.dcb-btn--primary {
    background: #7bdc4f;
    color: #fff;
    font-family: Co Headline, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
}

.dcb-btn--outline {
    border: 1px solid #fff;
    color: #fff;
}
.dcb-btn {


        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        border-radius: 999px;
        padding: 0 20px 3px;
        text-decoration: none;
        font-weight: 400 !important;
        font-size: 14px !important;
    }
    /* ══════════════════════════════════════════════════════════
   NEW: DIGITAL BANKING OVERVIEW — navy intro banner
   Same navy/gradient treatment as .dcb-inquiry further down, so the two navy
   sections on this page read as the same system rather than two different blues.
══════════════════════════════════════════════════════════ */
.dcb-overview-banner {
    background-color: #003B70E5;
    padding: 30px 30px;
    text-align: center;
}

.dcb-overview-banner__inner {
    justify-content: center;
    /* max-width: 820px; */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

    .dcb-overview-banner__title {
        margin: 0 0 20px;
        font-family: 'Co Headline', sans-serif;
        font-weight: 400;
        font-size: 32px;
        line-height: 120%;
        color: #fff;
    }

    .dcb-overview-banner__text {
        margin: 0 0 16px;
        font-family: 'Co Headline', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 150%;
        color: rgba(255, 255, 255, 0.85);
    }

        .dcb-overview-banner__text:last-child {
            margin-bottom: 0;
        }

    /* ══════════════════════════════════════════════════════════
   NEW: ACTIVATE YOUR DIGITAL BANKING — 4 action cards, placed right
   above the inquiry form
══════════════════════════════════════════════════════════ */
    .dcb-activate {
        background: #fff;
        padding: 40px 30px;
    }

    .dcb-activate__title {
        margin: 0 0 30px;
        text-align: center;
        font-family: 'Co Headline', sans-serif;
        font-weight: 400;
        font-size: 32px;
        line-height: 120%;
        color: #003B70;
    }

    .dcb-activate__grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .dcb-activate-card {
        border: 1px solid #E5E7EB;
        border-radius: 10px;
        background: #F9FAFB;
        padding: 24px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .dcb-activate-card__icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: #E5E7EB;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: #003B70;
    }

        .dcb-activate-card__icon img {
            max-width: 60%;
            max-height: 60%;
            object-fit: contain;
        }

    .dcb-activate-card__title {
        margin: 0;
        font-family: 'Co Headline', sans-serif;
        font-weight: 400;
        font-size: 16px;
        color: #003B70;
    }

    .dcb-activate-card__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 10px 16px;
        border-radius: 999px;
        background: #8BDC64;
        color: #F7FAFA;
        font-weight: 700;
        font-size: 12px;
        text-transform: uppercase;
        text-decoration: none;
        text-align: center;
        transition: opacity var(--transition-fast, 0.2s ease);
    }

        .dcb-activate-card__btn:hover {
            opacity: 0.88;
            color: #F7FAFA;
        }

    .dcb-activate-card__email {
        margin: 0;
        font-family: 'Co Headline', sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: #5F6674;
        word-break: break-word;
    }

    /* Only the Contact Us card is left: one centred card instead of the 4-up
       grid (doubled class so it also beats the 2-column tablet rule below). */
    .dcb-activate__grid.dcb-activate__grid--single {
        grid-template-columns: minmax(0, 420px);
        justify-content: center;
    }

    a.dcb-activate-card__email {
        color: #00C4B3;
        text-decoration: underline;
    }

        a.dcb-activate-card__email:hover {
            color: #003B70;
        }

    /* ══════════════════════════════════════════════════════════
   2. OVERVIEW
══════════════════════════════════════════════════════════ */
    .dcb-overview {
        background: #F7F9FB;
        padding: 40px 30px;
    }

    .dcb-overview__inner {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
       /* gap: 32px;*/
    }

.dcb-overview__heading {
    font-size: 32px;
    font-weight: 400;
    line-height: 120%;
    color: #003B70;
}

.dcb-overview__subtitle {
    margin-bottom:20px;
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    color: #5F6674;
}
    /* 3-column cards */
    .dcb-overview__cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .dcb-overview-card {
        background: #fff;
        border-top: 4px solid #8BDC64;
        border-radius: 10px;
        padding: 32px;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .dcb-overview-card__icon-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: rgba(139, 220, 100, 0.1);
        border-radius: 4px;
        flex-shrink: 0;
        align-self: start;
    }

        .dcb-overview-card__icon-wrap img {
            width: 25px;
            height: 25px;
            object-fit: contain;
        }

    .dcb-overview-card__title {
        font-size: 24px;
        font-weight: 400;
        line-height: 32px;
        color: #003B70;
    }

    .dcb-overview-card__desc {
        font-size: 16px;
        font-weight: 400;
        line-height: 26px;
        color: #6A7282;
    }
    /* ══════════════════════════════════════════════════════════
   3. BENTO / KEY SOLUTIONS — alternating rows
══════════════════════════════════════════════════════════ */
    .dcb-bento {
        background: #fff;
        padding: 40px 30px;
    }

    .dcb-bento__inner {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .dcb-bento-row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 32px;
        min-height: 300px;
        margin: 0 auto;
        width: 100%;
    }
    /* Even rows: image on left, text on right */
    .dcb-bento-row--reverse {
        flex-direction: row-reverse;
    }

    .dcb-bento-row__text {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        max-width: 616px;
    }

    .dcb-bento-row__tag {
        font-family: 'Co Headline', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 150%;
        color: #8BDC64;
    }

    .dcb-bento-row__title {
        font-family: 'Co Headline', sans-serif;
        font-size: 24px;
        font-weight: 400;
        line-height: 150%;
        color: #003B70;
    }

    .dcb-bento-row__desc {
        font-family: 'Co Headline', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 150%;
        color: #5F6674;
    }

.dcb-bento-row__image-wrap {
    flex: none;
    width: 568px;
    height: 300px;
    background: #E0E3E5;
    border: 2px solid #E5E7EB;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dcb-bento-row__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
    .dcb-inquiry__field input::placeholder {
        color: #C0C0C0 !important;
    }
    /* ══════════════════════════════════════════════════════════
   5. INQUIRY FORM
══════════════════════════════════════════════════════════ */
    .dcb-inquiry {
        background-color: #003B70;
        background-image: url("/assets/NewFolder/CorporateFormBg.svg"), linear-gradient(180deg, #003B70 0%, #005A9C 100%);
        background-repeat: no-repeat, no-repeat;
        background-position: left bottom, center;
        background-size: 100% auto, cover;
        overflow: hidden;
        border-radius: 16px 16px 0 0;
        padding: 40px;
    }

    .dcb-inquiry__inner {
        max-width: 972px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .dcb-inquiry__title {
        font-size: 36px;
        font-weight: 400;
        line-height: 100%;
        color: #fff;
        text-align: center;
    }
    /* Alert banners */
    .dcb-alert {
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 16px;
        line-height: 1.5;
    }

    .dcb-alert--success {
        background: rgba(139, 220, 100, 0.15);
        border: 1px solid #8BDC64;
        color: #fff;
    }

    .dcb-alert--error {
        background: rgba(220, 100, 100, 0.15);
        border: 1px solid #dc6464;
        color: #fff;
    }
    /* Form rows */
    .dcb-inquiry__form {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .dcb-inquiry__row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .dcb-inquiry__field {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .dcb-inquiry__field input {
            width: 100%;
            height: 50px;
            padding: 16px;
            background: #fff;
            border: 1px solid #CDCDCD;
            border-radius: 8px;
            font-family: 'Co Headline', sans-serif;
            font-size: 16px;
            font-weight: 400;
            color: #003B70;
            outline: none;
            transition: border-color 0.2s;
        }

            .dcb-inquiry__field input:focus {
                border-color: #8BDC64;
            }

        .dcb-inquiry__field .text-danger {
            font-size: 12px;
            color: #ff8080;
        }
    /* Submit */
    .dcb-inquiry__submit-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .dcb-inquiry__submit {
    padding: 12px 30px;
    }

        .dcb-inquiry__submit:hover {
            opacity: 0.88;
        }

        .dcb-inquiry__submit::after {
            content: "→";
    }

    .dcb-inquiry__note {
        font-size: 16px;
        font-weight: 400;
        line-height: 100%;
        color: #fff;
        text-align: center;
    }
    /* ══════════════════════════════════════════════════════════
   RTL OVERRIDES
══════════════════════════════════════════════════════════ */
    .dcb-page[dir="rtl"] .dcb-hero__overlay {
        background: linear-gradient(270deg, #003B70 0%, rgba(0, 59, 112, 0.7) 59.49%, rgba(0, 59, 112, 0) 100%);
    }

    .dcb-page[dir="rtl"] .dcb-hero__content {
        align-items: flex-end;
        text-align: right;
    }

    .dcb-page[dir="rtl"] .dcb-hero__title,
    .dcb-page[dir="rtl"] .dcb-hero__subtitle {
        text-align: right;
    }

    [dir="rtl"] .dcb-hero__actions {
        margin-left: auto;
    }
    .dcb-page[dir="rtl"] .dcb-overview__heading,
    .dcb-page[dir="rtl"] .dcb-overview__subtitle {
        text-align: right;
    }

    .dcb-page[dir="rtl"] .dcb-overview-card {
        align-items: flex-start; /* flex-start = right side in RTL */
        text-align: right;
    }

    .dcb-page[dir="rtl"] .dcb-activate-card {
        align-items: flex-start; /* flex-start = right side in RTL */
        text-align: right;
    }

    .dcb-page[dir="rtl"] .dcb-overview-card__title,
    .dcb-page[dir="rtl"] .dcb-activate-card__title {
        align-self: stretch;
        text-align: right;
    }

    .dcb-page[dir="rtl"] .dcb-bento-row__text {
        align-items: flex-start; /* flex-start = right side in RTL */
        text-align: right;
    }

    .dcb-page[dir="rtl"] .dcb-bento-row__tag {
        display: block;
        text-align: right;
        letter-spacing: 0;
        text-transform: none;
    }

    .dcb-page[dir="rtl"] .dcb-inquiry__field input {
        text-align: right;
        direction: rtl;
    }
    /* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
    @media (max-width: 1100px) {
        .dcb-bento-row {
            gap: 32px;
        }

        .dcb-bento-row__text {
            flex: 0 0 380px;
        }
    }

    @media (max-width: 900px) {
        .dcb-bento-row__image {
            height: 300px;
            object-fit: cover;
            min-height: 300px;
        }
        .dcb-overview__cards {
            grid-template-columns: 1fr;
        }

        .dcb-bento__inner {
            gap: 48px;
        }

        .dcb-bento-row,
        .dcb-bento-row--reverse {
            flex-direction: column !important;
        }

        .dcb-bento-row__text {
            flex: none;
            width: 100%;
        }

        .dcb-bento-row__image-wrap {
            width: 100%;
            min-height: 260px;
        }

        .dcb-inquiry__row {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 600px) {
        .dcb-btn {
            margin-right: auto;
            width: fit-content !important;
        }
        .dcb-inquiry__form {
            gap: 15px;
        }
            .dcb-hero {
                padding: 0 16px;
                min-height: 520px;
            }

            .dcb-hero__title, .dcb-hero__title-accent {
                font-family: Co Headline, sans-serif;
                font-weight: 400;
                font-size: 36px;
                line-height: 43.2px;
                letter-spacing: 0px;
            }

                .dcb-hero__title > span:not(.dcb-hero__title-accent):nth-of-type(2) {
                    display: inline-block;
                    max-width: 12ch;
                    white-space: normal;
                    overflow-wrap: anywhere;
                }

            .dcb-hero__title-accent {
                display: inline-block;
                max-width: 12ch;
                white-space: normal;
                overflow-wrap: anywhere;
            }

            .dcb-hero__subtitle {
                font-family: Co Headline, sans-serif;
                font-weight: 300;
                font-size: 16px;
                line-height: 24px;
                letter-spacing: 0px;
                padding-top: 18px;
                padding-bottom: 18px;
            }

            [dir="rtl"] .dcb-hero__subtitle {
                line-height: 29px;
            }

            [dir="rtl"] .dcb-overview__heading {
                font-size: 32px;
            }

            .dcb-hero__actions {
                padding-bottom: 18px;
                flex-direction: column;
                gap: 12px;
                align-items: center;
                justify-content: center;
                margin: 0 auto;
                width: calc(100% - 16px);
            }

            .dcb-btn--primary {
                width: 100%;
                font-family: Co Headline, sans-serif;
                font-weight: 700;
                font-size: 16px;
                line-height: 24px;
                letter-spacing: 0px;
                text-align: center;
            }

            .dcb-btn--outline {
                width: 100%;
                font-family: Co Headline, sans-serif;
                font-weight: 700;
                font-size: 16px;
                line-height: 24px;
                letter-spacing: 0px;
                text-align: center;
            }

        .dcb-overview-banner {
            padding: 15px 15px;

            .dcb-overview-banner__title {
                font-size: 24px;
            }

            .dcb-overview-banner__text {
                font-size: 14px;
            }
        }

        .dcb-activate {
            padding: 32px 16px;

            .dcb-activate__title {
                font-size: 24px;
            }

            .dcb-activate__grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        .dcb-overview {
            padding: 32px 16px;

            .dcb-overview__heading {
                font-size: 24px;
                text-align: center;
            }

            .dcb-overview__subtitle {
                font-family: Co Headline;
                font-weight: 400;
                font-size: 16px;
                line-height: 150%;
                letter-spacing: 0%;
                text-align: center;
            }

            .dcb-overview-card__title {
                font-family: Co Headline, sans-serif;
                font-weight: 700;
                font-size: 20px;
                line-height: 26px;
                letter-spacing: 0px;
            }

            .dcb-overview-card__desc {
                font-family: Co Headline, sans-serif;
                font-weight: 400;
                font-size: 14px;
                line-height: 22.4px;
                letter-spacing: 0px;
                color: rgba(106, 114, 130, 1);
            }
        }

        .dcb-bento {
            padding: 32px 16px;
            .dcb-bento__inner{
                gap: 24px;
            } 
            .dcb-bento-row__title {
                    font-family: Co Headline, sans-serif;
                    font-weight: 400;
                    font-size: 24px;
                    line-height: 31.2px;
                    letter-spacing: 0px;
                    color: rgba(0, 59, 112, 1);
                }

                .dcb-bento-row__desc {
                    font-family: Co Headline, sans-serif;
                    font-weight: 400;
                    font-size: 16px;
                    line-height: 25.6px;
                    letter-spacing: 0px;
                    color: rgba(106, 114, 130, 1);
                }
            }

            .dcb-inquiry {
                padding: 32px 16px;
                border-radius: 12px 12px 0 0;
            }

        .dcb-inquiry__field input {
            font-family: Co Headline;
            font-weight: 300;
            font-size: 16px;
            line-height: 150%;
            letter-spacing: 0%;
        }
        }
