/* =============================================
   FINANCE PAGE - Allied CAT Style
   ============================================= */

.finance-page-container {
    padding: 0 !important;
    margin: 0 !important;
    background: #F5F6F7;
}

/* --- Banner  --- */
.finance-page-BannerCont {
    background-image: url('/allied_website/static/src/img/services_page/trade_page/trade_page_banner.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    height: 66vh;
    width: 100%;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*.finance-page-BannerCont {*/
/*    background-image: url('/allied_website/static/src/img/services_page/finance_page/icon/finance_page_banner.png');*/
/*    background-size: 100% 100%;*/
/*    background-repeat: no-repeat;*/
/*    background-position: center bottom;*/
/*    height: 60vh;*/
/*    width: 100%;*/
/*    margin-bottom: 50px;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/

.finance-page-bannerHeadingCont {
    height: 118px;
    width: 247px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.finance-page-bannerHeadingCont h1 {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 69px;
}

/* --- EWR Info Section --- */
.finance-page-infoSection {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: left;
}

.finance-page-infoSection h3 {
    color: #C8A800;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.finance-page-infoSection p {
    color: #555555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
    max-width: 780px;
}

/* --- Login Button --- */
.finance-login-btn {
    display: inline-block;
    background-color: #F6D23C;
    color: #000000;
    padding: 12px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    margin-top: 24px;
    box-shadow: 0 4px 16px rgba(246, 210, 60, 0.35);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.finance-login-btn:hover {
    transform: translateY(-3px);
    background-color: #e5c12b;
    color: #000000;
    text-decoration: none;
}

/* --- Tabs Main Section --- */
.finance-page-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

/* --- Tabs White Card --- */
.finance-page-tabsSection {
    width: 75%;
    height: auto;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    margin-bottom: 80px;
    border-radius: 0 0 12px 12px;
    border-top: 3px solid #F6D23C;
    overflow: hidden;
}

.finance-page-tabsSectionFinance {
    width: 100%;
    display: block;
    transition: opacity 0.3s ease;
    padding: 0 30px 30px 30px;
}

/* --- Active Tab Style --- */
.finance-page-tab.active {
    background-color: #F6D23C !important;
    transition: background-color 0.3s ease;
    font-weight: 700;
}

.finance-page-tab span {
    color: #333333;
    font-weight: 400;
    font-size: 16px;
}

/* =============================================
   RESPONSIVE - Mobile
   ============================================= */
@media (max-width: 768px) {
    .finance-page-BannerCont {
        height: 40vh;
    }

    .finance-page-bannerHeadingCont h1 {
        font-size: 40px;
    }

    .finance-page-infoSection {
        margin: 30px auto 40px auto;
        padding: 0 20px;
    }

    .finance-page-infoSection h3 {
        font-size: 22px;
    }

    .finance-page-infoSection p {
        font-size: 15px;
    }

    .finance-page-tabsSection {
        width: 92%;
    }

    .finance-page-tabsSectionFinance {
        padding: 0 15px 20px 15px;
    }
}