﻿
/* ════════════════════════════════════════
           ROOT VARIABLES
        ════════════════════════════════════════ */
:root {
    --Personal-Segment-BgMain: #ffffff;
    --Personal-Segment-BgHero: #0d1f2d;
    --Personal-Segment-BgCTAGradient: linear-gradient(to right, #1C398E, #00C4B3);
    --Personal-Segment-AccentGreen: #00C4B3;
    --Personal-Segment-AccentGreenDark: #00a882;
    --Personal-Segment-TextWhite: #ffffff;
    --Personal-Segment-TextDark: #003B70;
    --Personal-Segment-TextDark-Active: #00C4B3;
    --Personal-Segment-TextLight: rgba(255,255,255,0.82);
    --Personal-Segment-TagBg: rgba(255,255,255,0.14);
    --Personal-Segment-TagBorder: rgba(255,255,255,0.28);
    --Personal-Segment-TabActiveBorder: #00C4B3;
    --Personal-Segment-TabInactiveText: #003B70;
    --Personal-Segment-TabsBorderBottom: #e0e8ef;
    --Personal-Segment-TagPillBg: rgba(0,200,160,0.1);
    --Personal-Segment-TagPillText: #00a882;
    --Personal-Segment-BtnBg: #00C4B3;
    --Personal-Segment-BtnHoverBg: #00a882;
    --Personal-Segment-ImgBg: #c8d8e8;
}

/* ════════════════════════════════════════
           BASE
        ════════════════════════════════════════ */
.Personal_Segment_PageBody {
    background: var(--Personal-Segment-BgMain);
    color: var(--Personal-Segment-TextDark);
}

/* ════════════════════════════════════════
           HERO
        ════════════════════════════════════════ */
.Personal_Segment_Hero {
    height: 85vh;
    min-height: 380px;
    position: relative;
    width: 100%;
    background: var(--Personal-Segment-BgHero);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 48px 64px;
}

.Personal_Segment_Hero_ImgWrapper {
    position: absolute;
    inset: 0;
}

    .Personal_Segment_Hero_ImgWrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right center;
        opacity: 0.6;
    }

.Personal_Segment_Hero_Overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13,31,45,0.93) 0%, rgba(13,31,45,0.5) 55%, transparent 100%);
}

.Personal_Segment_Hero_Content {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.Personal_Segment_Hero_Tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--Personal-Segment-TagBg);
    border: 1px solid var(--Personal-Segment-TagBorder);
    border-radius: 20px;
    padding: 4px 14px 4px 10px;
    margin-bottom: 20px;
}

.Personal_Segment_Hero_Tag_Text {
    font-size: 11px;
    font-weight: 600;
    color: var(--Personal-Segment-TextWhite);
    letter-spacing: 0.5px;
}

.Personal_Segment_Hero_Title {
    font-size: 42px;
    font-weight: 900;
    color: var(--Personal-Segment-TextWhite);
    line-height: 1.12;
}

.Personal_Segment_Hero_TitleAccent {
    color: var(--Personal-Segment-AccentGreen);
    display: block;
}

.Personal_Segment_Hero_Desc {
    font-size: 14px;
    font-weight: 400;
    color: var(--Personal-Segment-TextLight);
    line-height: 1.65;
    margin-top: 14px;
    max-width: 380px;
}

/* ════════════════════════════════════════
           TABS BAR
           - always in flow (not fixed/sticky)
           - JS clones it as a fixed copy when needed
        ════════════════════════════════════════ */
.Personal_Segment_TabsBar {
    position: relative;
    z-index: 10;
    background: var(--Personal-Segment-BgMain);
    border-bottom: 2px solid var(--Personal-Segment-TabsBorderBottom);
    display: flex;
    align-items: stretch;
    width: 100%;
    padding: 0 30px;
    box-shadow: 0 2px 8px rgba(13,31,45,0.05);
}

/* The fixed clone — hidden by default, JS controls it */
.Personal_Segment_TabsBar--fixed {
    position: fixed !important;
    top: 70px !important; /* exact header height */
    left: 0 !important;
    width: 100% !important;
    z-index: 900 !important;
    display: none;
}

    .Personal_Segment_TabsBar--fixed.is-visible {
        display: flex !important;
    }

.Personal_Segment_TabBtn {
    position: relative;
    padding: 16px 22px 14px;
    font-size: 16px;
    font-weight: 400;
    color: var(--Personal-Segment-TabInactiveText);
    cursor: pointer;
    white-space: nowrap;
    border: none;
    background: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    letter-spacing: 0.1px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

    .Personal_Segment_TabBtn:hover {
        color: var(--Personal-Segment-AccentGreen);
    }

.Personal_Segment_TabBtn--active {
    color: var(--Personal-Segment-TextDark-Active);
    border-bottom-color: var(--Personal-Segment-TabActiveBorder);
}

/* ════════════════════════════════════════
           SEGMENT BLOCKS
        ════════════════════════════════════════ */
.Personal_Segment_AllSections {
    background: var(--Personal-Segment-BgMain);
}

/*.Personal_Segment_Block {
    padding: 35px 30px;
   /* border-bottom: 1px solid #f0f5f9;*/
}

.Personal_Segment_Block_Header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 24px;
}

.Personal_Segment_Block_HeaderLeft {
    flex: 1;
}

.Personal_Segment_Block_Title {
    font-size: 28px;
    font-weight: 500;
    color: var(--Personal-Segment-TextDark);
    line-height: 1.22;
    max-width: 500px;
}

.Personal_Segment_Block_ShowMore {
    flex-shrink: 0;
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    background: var(--Personal-Segment-BtnBg);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 22px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.4px;
    text-decoration: none;
    transition: background 0.18s, transform 0.15s;
    white-space: nowrap;
}

    .Personal_Segment_Block_ShowMore:hover {
        background: var(--Personal-Segment-BtnHoverBg);
        transform: translateY(-1px);
    }

*/
/* ─── IMAGE GRIDS ─────────────────────── */
/*.Personal_Segment_ImgGrid {
    display: grid;
    grid-template-columns: 60fr 40fr;
    gap: 16px;
    width: 100%;
}

.Personal_Segment_ImgGrid--flipped {
    grid-template-columns: 40fr 60fr;
}

.Personal_Segment_ImgCard {
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: var(--Personal-Segment-ImgBg);
    width: 100%;
}

.Personal_Segment_ImgGrid .Personal_Segment_ImgCard:first-child {
    aspect-ratio: 4 / 3;
}

.Personal_Segment_ImgGrid .Personal_Segment_ImgCard:last-child {
    aspect-ratio: 3 / 3;
}

.Personal_Segment_ImgGrid--flipped .Personal_Segment_ImgCard:first-child {
    aspect-ratio: 3 / 3;
}

.Personal_Segment_ImgGrid--flipped .Personal_Segment_ImgCard:last-child {
    aspect-ratio: 4 / 3;
}

.Personal_Segment_ImgCard img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    transition: transform 0.4s ease;
}

.Personal_Segment_ImgCard:hover img {
    transform: scale(1.04);
}*/
/* ════════════════════════════════════════
           CTA
        ════════════════════════════════════════ */
/*.Personal_Segment_CTA {
    opacity: 95%;
    background: var(--Personal-Segment-BgCTAGradient);
    padding: 72px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.Dot {
    border-radius: 50%;
    height: 5px;
    width: 5px;
    background-color: white;
    display: none !important;
}

.Personal_Segment_CTA_TagWrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.Personal_Segment_CTA_Title {
    margin: auto;
    max-width: 100%;
    font-size: 48px;
    font-weight: 400;
    color: var(--Personal-Segment-TextWhite);
    margin-bottom: 14px;
    line-height: 1.18;
    position: relative;
    z-index: 1;
}

.Personal_Segment_CTA_Desc {
    font-weight: 400;
    font-size: 16px;
    color: rgba(255,255,255,0.90);
    margin-bottom: 36px;
    line-height: 1.65;
    max-width: 40%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.Personal_Segment_CTA_Buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.Personal_Segment_CTA_BtnContact {
    text-transform: uppercase;
    justify-content: center;
    text-align: center;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    background: #00C4B3;
    color: #fff;
    border: none;
    border-radius: 26px;
    padding: 13px 32px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, transform 0.15s;
    letter-spacing: 0.4px;
}

    .Personal_Segment_CTA_BtnContact:hover {
        transform: translateY(-1px);
    }

.Personal_Segment_CTA_BtnBranches {
    text-transform: uppercase;
    justify-content: center;
    text-align: center;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.55);
    border-radius: 26px;
    padding: 11px 32px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.18s, background 0.18s, transform 0.15s;
    letter-spacing: 0.4px;
}

    .Personal_Segment_CTA_BtnBranches:hover {
        border-color: #fff;
        background: rgba(255,255,255,0.1);
        transform: translateY(-1px);
    }*/

/* ════════════════════════════════════════
           RESPONSIVE
        ════════════════════════════════════════ */
@media (max-width: 900px) {
    /*.Personal_Segment_CTA_Desc {
        font-size: 14px !important;
        max-width: 100%;
    }*/

    .Sentense-Res {
        text-align: center;
        margin: auto;
    }

    /*.Personal_Segment_Block_ShowMore {
        margin: auto;
    }

    .Personal_Segment_Block_Title {
        text-align: center;
    }

    .Personal_Segment_Block_HeaderLeft {
        width: 100%;
        justify-content: center;
        flex: 1;
        align-items: center;
        display: flex;
        flex-direction: column;
    }*/

    .Personal_Segment_Hero {
        min-height: 280px;
        padding: 36px 24px;
    }

    .Personal_Segment_Hero_Title {
        font-size: 28px;
    }

    .Personal_Segment_TabsBar {
        padding: 0 15px;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .Personal_Segment_TabsBar::-webkit-scrollbar {
            display: none;
        }

    .Personal_Segment_TabBtn {
        padding: 14px 14px 12px;
        font-size: 12px;
    }

    /*.Personal_Segment_Block {
        padding: 32px 15px;
    }

    .Personal_Segment_Block_Header {
        flex-direction: column;
        gap: 14px;
    }

    .Personal_Segment_Block_Title {
        font-size: 22px;
    }

    .Personal_Segment_ImgGrid,
    .Personal_Segment_ImgGrid--flipped {
        grid-template-columns: 1fr;
    }

        .Personal_Segment_ImgGrid .Personal_Segment_ImgCard:first-child,
        .Personal_Segment_ImgGrid .Personal_Segment_ImgCard:last-child,
        .Personal_Segment_ImgGrid--flipped .Personal_Segment_ImgCard:first-child,
        .Personal_Segment_ImgGrid--flipped .Personal_Segment_ImgCard:last-child {
            aspect-ratio: 16 / 21;
        }*/

    /*.Personal_Segment_CTA {
        padding: 48px 15px;
    }

    .Personal_Segment_CTA_Title {
        max-width: 100%;
        font-size: 24px;
    }*/
}



@media (max-width: 500px) {
    /*.Personal_Segment_CTA_Desc {
        max-width: 100%;
    }*/
}

/* .Bluetitle margin-top moved to General.css with the rest of the title: this
   sheet is loaded on every page, so styling a shared heading from here reached
   pages that have nothing to do with segments. */
























@media (max-width: 900px) {
    .d-noneRes {
        display: none;
    }

    nav#Personal_Segment_TabsBar_Fixed {
        display: none !important;
    }
    /* hide the original horizontal bar */
    .Personal_Segment_TabsBar,
    .Personal_Segment_TabsBar--fixed {
        display: none !important;
    }

    /* show the mobile accordion */
    .Personal_Segment_TabsMobile {
        padding: 0px;
        display: block;
        background: #fff;
        border-bottom: 2px solid #e0e8ef;
        box-shadow: 0 2px 8px rgba(13,31,45,0.05);
        position: relative;
        z-index: 10;
    }

    .Personal_Segment_TabsMobile--fixed {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        z-index: 900;
        display: none;
    }

        .Personal_Segment_TabsMobile--fixed.is-visible {
            display: block;
        }
}

@media (min-width: 901px) {
    .Personal_Segment_TabsMobile {
        display: none;
    }
}

/* Mobile accordion styles (always defined, shown/hidden via media query above) */
.Personal_Segment_TabsMobile_Trigger {
    flex-direction: row-reverse;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: right;
}

.Personal_Segment_TabsMobile_TriggerText {
    font-size: 16px;
    font-weight: 500;
    color: #00C4B3;
}

.Personal_Segment_TabsMobile_Chevron {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #e0e8ef;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.Personal_Segment_TabsMobile[data-open="true"] .Personal_Segment_TabsMobile_Chevron {
    transform: rotate(180deg);
}

.Personal_Segment_TabsMobile_Dropdown {
    display: none;
    border-top: 0.5px solid #e0e8ef;
}

.Personal_Segment_TabsMobile[data-open="true"] .Personal_Segment_TabsMobile_Dropdown {
    display: block;
}

.Personal_Segment_TabsMobile_Item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 13px 16px;
    font-size: 14px;
    color: #003B70;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 0.5px solid #f0f5f9;
    transition: background 0.15s;
}

    .Personal_Segment_TabsMobile_Item:last-child {
        border-bottom: none;
    }

    .Personal_Segment_TabsMobile_Item:hover {
        background: #f5fbf9;
    }

.Personal_Segment_TabsMobile_Item--active {
    color: #00C4B3;
    font-weight: 500;
}

.Personal_Segment_TabsMobile_Item_Dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00C4B3;
    margin-left: 8px;
    display: none;
    flex-shrink: 0;
}

.Personal_Segment_TabsMobile_Item--active .Personal_Segment_TabsMobile_Item_Dot {
    display: block;
}

/* ============================================================
   SEGMENT NAV — Private / Prime / Advance / MINT
   Rendered by Views/Partials/_SegmentTabs.cshtml on all four segment pages.

   These are four separate pages, so the items are real links rather than
   in-page anchors — nothing scrolls and no script is involved. Unrelated to
   .Personal_Segment_Tabs*, which is the scroll-spy bar the About Us page uses.

   Values mirror .channels-tabs on the Accounts and Cards pages, restated here
   because PersonalSegment.css is already loaded on every page while accounts.css
   carries a global reset that would repaint the header and footer.

   Row height, font size and weight live in GeneralStyle.css under "TAB BAR
   ROW", shared with .channels-tabs, .loans-tabs and .fi-tabs, so those cannot
   drift even if this positioning/color block does.
   ============================================================ */
.segment-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 32px;
    background: #FFFFFF;
    position: sticky;
    top: 62px;
    scroll-margin-top: 70px;
    z-index: 50;
    border-bottom: 1px solid #EBEBEB;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .segment-tabs::-webkit-scrollbar {
        display: none;
    }

.segment-tabs__item {
    font-family: 'Co Headline', sans-serif;
    text-transform: capitalize;
    color: #003B70;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}

    .segment-tabs__item:hover {
        color: #00C4B3;
    }

.segment-tabs__item--active {
    color: #00C4B3;
    border-bottom-color: #00C4B3;
}

@media (max-width: 768px) {
    .segment-tabs {
        gap: 16px;
        padding: 0 15px;
        top: 56px;
    }
}
