/* ==========================================================================
   FORTRADEX THEME - OFFICIAL TRADING PLATFORM STYLING
   Exact Match to https://azim.hostlin.com/Fortradex/index.html
   ========================================================================== */

:root {
    --theme-color: #00c076;
    --theme-color-hover: #00a866;
    --secondary-color: #0f172a;
    --ft-primary-green: #00c076;
    --ft-primary-green-hover: #00a866;
    --title-color: #0f172a;
    --text-color: #64748b;
    --bg-light: #F7F7F7;
    --border-color: #E5E5E5;
    --title-font: 'Ubuntu', sans-serif;
    --text-font: 'IBM Plex Sans', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--text-font);
    color: var(--text-color);
    background-color: #ffffff;
    font-size: 16px;
    line-height: 28px;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--title-font);
    color: var(--title-color);
    font-weight: 700;
}

/* ==========================================================================
   CONTAINERS (Exact Fortradex Dimensions & Overflow Prevention)
   ========================================================================== */
.large-container, .auto-container {
    position: relative;
    box-sizing: border-box !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.large-container {
    max-width: 1720px;
}

.auto-container {
    max-width: 1320px;
}

/* ==========================================================================
   SECTION SPACING & COMMON UTILITIES (Exact Fortradex Spacings)
   ========================================================================== */
.pt_20 { padding-top: 20px !important; }
.pt_40 { padding-top: 40px !important; }
.pb_40 { padding-bottom: 40px !important; }
.pt_70 { padding-top: 70px !important; }
.pb_70 { padding-bottom: 70px !important; }
.pb_80 { padding-bottom: 80px !important; }
.pt_100 { padding-top: 100px !important; }
.pb_100 { padding-bottom: 100px !important; }
.pb_90 { padding-bottom: 90px !important; }
.pb_60 { padding-bottom: 60px !important; }
.mb_14 { margin-bottom: 14px !important; }
.mb_30 { margin-bottom: 30px !important; }
.centred { text-align: center !important; }
.p_relative { position: relative !important; }

/* Section Title Block */
.sec-title {
    position: relative;
    display: block;
    margin-bottom: 60px;
}

.sec-title .sub-title {
    position: relative;
    display: inline-block;
    font-size: 12px;
    line-height: 20px;
    font-family: var(--text-font);
    font-weight: 600;
    padding: 4px 21px 2px 21px;
    border-radius: 40px;
    text-transform: uppercase;
    color: var(--ft-primary-green);
    background: rgba(0, 192, 118, 0.1);
    border: 1px solid rgba(0, 192, 118, 0.25);
    margin-bottom: 14px;
}

.sec-title h2 {
    font-size: 40px;
    line-height: 48px;
    font-weight: 700;
    margin: 0;
}

/* Buttons */
.theme-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 26px;
    font-family: var(--text-font);
    font-weight: 600;
    text-align: center;
    padding: 12px 35px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 300ms ease;
    cursor: pointer;
    border: none;
    gap: 8px;
}

.theme-btn.btn-one {
    background: var(--ft-primary-green);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 192, 118, 0.35);
}

.theme-btn.btn-one:hover {
    background: var(--ft-primary-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 192, 118, 0.5);
}

.theme-btn.btn-two {
    background: #161f30;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5px 20px;
    border-radius: 6px;
    font-size: 13px;
}

.theme-btn.btn-two:hover {
    background: #222f46;
    border-color: #ffffff;
}

/* ==========================================================================
   1. HEADER (Top Bar & Lower Navigation)
   ========================================================================== */
.header-top {
    position: relative;
    background: #131615;
    padding: 9px 0px;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100% !important;
    max-width: 100% !important;
}

.header-top .support-box a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-top .support-box a:hover {
    color: var(--ft-primary-green);
}

.header-top .theme-btn.btn-one {
    padding: 4px 18px 5px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.ft-flag-selector {
    color: #ffffff;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
}

.main-header {
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
}

.header-lower {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1020;
    width: 100% !important;
    max-width: 100% !important;
}

.header-lower .navbar {
    width: 100% !important;
}

.ft-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.ft-logo-symbol {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ft-primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 192, 118, 0.4);
}

.ft-brand-title {
    font-family: var(--title-font);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a;
}

.ft-nav-pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ft-nav-pill-item {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 40px;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    background-color: transparent;
}

.ft-nav-pill-item:hover,
.ft-nav-pill-item.active {
    background-color: var(--ft-primary-green);
    border-color: var(--ft-primary-green);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 192, 118, 0.3);
}

.ft-search-btn {
    background: transparent;
    border: none;
    color: #0f172a;
    font-size: 16px;
    padding: 6px 12px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.ft-search-btn:hover {
    color: var(--ft-primary-green);
}

/* Responsive Navbar Controls */
@media (max-width: 991.98px) {
    .header-lower .navbar-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .header-lower .navbar-collapse {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    .header-lower .navbar-collapse:not(.show) {
        display: none !important;
    }

    .header-lower .navbar-collapse.show {
        display: block !important;
        padding: 16px 0 10px 0;
        margin-top: 12px;
        border-top: 1px solid #edf2f7;
    }

    .ft-nav-pills {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .ft-nav-pill-item {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        padding: 10px 18px !important;
    }

    .header-top .top-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .header-top .support-box a {
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    .header-top .theme-btn.btn-one,
    .header-top .theme-btn.btn-two {
        padding: 4px 12px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
}

@media (min-width: 992px) {
    .header-lower .navbar-toggler {
        display: none !important;
    }
    .header-lower .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
    }
    .ft-nav-pills {
        flex-direction: row !important;
    }
}

/* ==========================================================================
   TICKER BAR (Header Bottom Rounded Pill Marquee with Side Gaps)
   ========================================================================== */
.ft-ticker-bar {
    background-color: #ffffff;
    padding: 12px 0 20px 0;
    position: relative;
    width: 100% !important;
}

.ft-ticker-bar .bottom-inner {
    position: relative;
    display: block;
    background: #0f1624;
    border-radius: 12px;
    overflow: hidden !important;
    padding: 8px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ft-ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: ftTickerScroll 35s linear infinite;
    will-change: transform;
}

.ft-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ftTickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ft-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 48px;
    color: #ffffff;
    font-weight: 600;
    font-size: 13.5px;
}

.ft-rate-up {
    color: #00c076;
    font-size: 12.5px;
    font-weight: 700;
}

.ft-rate-down {
    color: #ef4444;
    font-size: 12.5px;
    font-weight: 700;
}

/* ==========================================================================
   2. BANNER SECTION (Hero Section with Rounded Corners & Side Margins)
   ========================================================================== */
.banner-section {
    position: relative;
    padding: 0px 0px 50px 0px;
    background: #ffffff;
    width: 100% !important;
}

.banner-section .slide-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 125px 60px 140px 60px;
    background-image: linear-gradient(90deg, rgba(7, 10, 18, 0.95) 0%, rgba(7, 10, 18, 0.8) 45%, rgba(7, 10, 18, 0.2) 100%), url('../images/banner/banner-1.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.15);
}

.banner-section .content-box {
    position: relative;
    max-width: 620px;
    z-index: 2;
}

.banner-section .content-box h2 {
    font-size: 58px;
    line-height: 66px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.banner-section .content-box p {
    font-size: 19px;
    line-height: 32px;
    color: #cbd5e1;
    margin-bottom: 34px;
}

@media (max-width: 991px) {
    .banner-section .slide-item {
        padding: 70px 30px 80px 30px;
        border-radius: 16px;
        background-position: center;
    }

    .banner-section .content-box h2 {
        font-size: 38px;
        line-height: 46px;
    }

    .banner-section .content-box p {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 25px;
    }
}

@media (max-width: 576px) {
    .banner-section .slide-item {
        padding: 50px 20px 60px 20px;
    }

    .banner-section .content-box h2 {
        font-size: 30px;
        line-height: 38px;
    }
}

/* ==========================================================================
   3. CLIENTS SECTION (Partners Ribbon)
   ========================================================================== */
/* ==========================================================================
   3. CLIENTS SECTION (Exact Fortradex Partners Ribbon)
   ========================================================================== */
.clients-section {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid #edf2f7;
    width: 100% !important;
    overflow: hidden;
    padding: 35px 0;
}

.clients-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.clients-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.clients-list li {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.clients-list li a {
    display: inline-block;
    padding: 4px 10px;
}

.clients-list li img {
    max-height: 38px;
    width: auto;
    max-width: 135px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: all 350ms ease;
}

.clients-list li:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/* Mobile & Tablet Auto-Scrolling Continuous Ribbon */
@media (max-width: 991px) {
    .clients-section {
        padding: 25px 0;
    }

    .clients-wrap {
        overflow: hidden;
        white-space: nowrap;
        width: 100%;
    }

    .clients-list {
        display: inline-flex !important;
        align-items: center;
        width: max-content;
        animation: ftClientsMarquee 25s linear infinite;
        justify-content: flex-start;
        padding-left: 0;
    }

    .clients-list:hover {
        animation-play-state: paused;
    }

    .clients-list li {
        margin: 0 24px;
        flex-shrink: 0;
    }

    .clients-list li img {
        max-height: 28px;
        opacity: 0.75;
    }
}

@keyframes ftClientsMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   4. TRADING ACCOUNTS SECTION (Exact Fortradex Account Cards)
   ========================================================================== */
.account-section {
    position: relative;
    background-color: #fbfcfe;
    width: 100% !important;
    overflow: hidden;
}

.account-block-one .inner-box {
    position: relative;
    display: block;
    background: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    padding: 45px 30px 42px 30px;
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 30px;
    transition: all 500ms ease;
    height: 100%;
}

.account-block-one .inner-box:hover {
    box-shadow: 0px 20px 70px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
    border-color: rgba(0, 192, 118, 0.3);
}

.account-block-one .icon-box {
    width: 54px;
    height: 54px;
    line-height: 54px;
    text-align: center;
    border-radius: 10px;
    margin: 0 auto 23px auto;
    font-size: 24px;
    color: #ffffff;
    background: var(--ft-primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 192, 118, 0.3);
}

.account-block-one h3 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    margin-bottom: 14px;
}

.account-block-one p {
    font-size: 15px;
    line-height: 25px;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   5. MARKET SPREADS AND SWAPS (Trading Style Two)
   ========================================================================== */
.trading-style-two {
    position: relative;
    background: #111726;
    width: 100% !important;
    overflow: hidden;
}

.trading-style-two .sec-title h2 {
    color: #ffffff;
}

.trading-style-two .sec-title .sub-title {
    background: rgba(0, 192, 118, 0.15);
    color: var(--ft-primary-green);
}

.ft-market-filter-bar {
    display: inline-flex;
    background: #0b0f19;
    border: 1px solid #1e293b;
    border-radius: 40px;
    padding: 6px;
    margin-bottom: 50px;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

.ft-filter-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ft-filter-btn:hover {
    color: #ffffff;
}

.ft-filter-btn.active {
    background: var(--ft-primary-green);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 192, 118, 0.35);
}

.ft-pair-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 26px 20px;
    text-align: center;
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ft-pair-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0, 192, 118, 0.25);
}

.ft-pair-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.ft-pair-flags {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.ft-flag-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-left: -8px;
    background: #f1f5f9;
}
.ft-flag-circle:first-child {
    margin-left: 0;
    z-index: 2;
}

.ft-pair-metrics {
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 14px 0;
    margin-bottom: 18px;
}

.ft-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    margin-bottom: 6px;
}
.ft-metric-row:last-child {
    margin-bottom: 0;
}

.ft-metric-label {
    color: #64748b;
    font-weight: 500;
}

.ft-metric-value {
    color: #0f172a;
    font-weight: 700;
    font-family: monospace;
    font-size: 14px;
}

.ft-btn-trade {
    background: var(--ft-primary-green);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 9px 0;
    border-radius: 6px;
    text-decoration: none;
    display: block;
    width: 100%;
    transition: all 0.2s ease;
    border: none;
}
.ft-btn-trade:hover {
    background: var(--ft-primary-green-hover);
    box-shadow: 0 4px 12px rgba(0, 192, 118, 0.4);
}

.ft-pagination-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.ft-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ft-dot.active {
    background: var(--ft-primary-green);
    width: 26px;
    border-radius: 20px;
}

/* ==========================================================================
   6. HOW IT WORKS (Process Section)
   ========================================================================== */
.process-section {
    position: relative;
    background: #ffffff;
    width: 100% !important;
    overflow: hidden;
}

.process-block-one .inner-box {
    position: relative;
    background: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    padding: 32px 35px 30px 35px;
    margin-bottom: 30px;
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.05);
    transition: all 400ms ease;
}

.process-block-one .inner-box:hover {
    transform: translateY(-4px);
    box-shadow: 0px 16px 50px 0px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 192, 118, 0.3);
}

.process-block-one .count-text {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 32px;
    border: 2px solid var(--ft-primary-green);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 800;
    color: var(--ft-primary-green);
    text-align: center;
    margin-bottom: 14px;
}

.process-block-one h3 {
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-block-one p {
    font-size: 15px;
    line-height: 25px;
    color: #64748b;
    margin: 0;
}

.process-section .image-box {
    position: relative;
    margin-left: 20px;
}

.process-section .image-box img {
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* ==========================================================================
   7. GLOBALLY AWARDED (Award Section - Exact Fortradex Responsive Table)
   ========================================================================== */
.award-section {
    position: relative;
    background: #fbfcfe;
    border-top: 1px solid #eef1f5;
    width: 100% !important;
    overflow: hidden;
}

.award-section .table-outer {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
}

.award-table {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    border-collapse: collapse;
}

.award-table tr {
    border-bottom: 1px solid #eef1f5;
    transition: all 300ms ease;
}

.award-table tr:hover {
    background: rgba(0, 192, 118, 0.03);
}

.award-table td {
    padding: 22px 16px;
    vertical-align: middle;
}

.award-table .award-num {
    font-family: var(--title-font);
    font-size: 18px;
    font-weight: 700;
    color: #94a3b8;
    width: 45px;
}

.award-table .award-title {
    font-size: 17.5px;
    font-weight: 700;
    color: #0f172a;
}

.award-table .award-count {
    font-size: 15px;
    font-weight: 700;
    color: var(--ft-primary-green);
    width: 50px;
}

.award-table .award-seal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

.award-table .award-year {
    font-family: monospace;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
    width: 70px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .award-table {
        min-width: 650px;
    }
}

@media (max-width: 576px) {
    .award-table {
        min-width: 560px;
    }
    .award-table td {
        padding: 16px 10px;
    }
    .award-table .award-title {
        font-size: 15px;
    }
}

/* ==========================================================================
   8. SUBSCRIBE SECTION (Floating Green Card Overlapping Footer)
   ========================================================================== */
.subscribe-section {
    position: relative;
    margin-bottom: -65px;
    z-index: 10;
    width: 100% !important;
}

.subscribe-section .bg-color {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 50%;
    background: var(--bg-light);
}

.subscribe-section .inner-container {
    position: relative;
    background: linear-gradient(135deg, #137943 0%, #0d5e33 100%);
    border-radius: 12px;
    padding: 40px 50px;
    box-shadow: 0px 20px 50px 0px rgba(19, 121, 67, 0.25);
    width: 100% !important;
}

.subscribe-section h2 {
    font-size: 32px;
    line-height: 42px;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
}

.subscribe-section .form-inner .form-group {
    position: relative;
    margin-bottom: 0px;
    padding-right: 170px;
}

.subscribe-section .form-inner .form-group input[type='email'] {
    width: 100%;
    height: 52px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14.5px;
    border-radius: 8px;
    padding: 10px 20px;
    border: none;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.subscribe-section .form-inner .form-group button[type='submit'] {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 160px;
    height: 52px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.subscribe-section .form-inner .form-group button[type='submit']:hover {
    background: #1e293b;
}

@media (max-width: 991px) {
    .subscribe-section {
        margin-bottom: 0px;
        padding-bottom: 40px;
    }
    .subscribe-section .bg-color {
        display: none;
    }
    .subscribe-section .inner-container {
        padding: 30px 24px;
    }
    .subscribe-section .form-inner .form-group {
        padding-right: 0px !important;
    }
    .subscribe-section .form-inner .form-group button[type='submit'] {
        position: relative !important;
        width: 100% !important;
        margin-top: 12px;
    }
    .subscribe-section h2 {
        text-align: center;
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   9. MAIN FOOTER (Exact Fortradex Spacings & Layout)
   ========================================================================== */
.main-footer {
    position: relative;
    background: var(--bg-light);
    width: 100% !important;
    overflow: hidden;
}

.main-footer .widget-section {
    padding-top: 135px;
    padding-bottom: 70px;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 991px) {
    .main-footer .widget-section {
        padding-top: 60px;
        padding-bottom: 40px;
    }
}

.main-footer .widget-title h3 {
    font-size: 19px;
    line-height: 30px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 22px;
}

.main-footer .links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.main-footer .links-list li a {
    color: #64748b;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}

.main-footer .links-list li a:hover {
    color: var(--ft-primary-green);
    transform: translateX(3px);
}

/* Logo Widget (Right App Card) */
.main-footer .logo-widget {
    margin-left: 30px;
}

.main-footer .logo-widget .widget-content {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 25px 25px 25px;
    text-align: center;
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.04);
}

.main-footer .logo-widget .widget-content p {
    font-size: 14px;
    line-height: 24px;
    color: #64748b;
    margin-bottom: 18px;
}

.main-footer .logo-widget .scanner-box {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 20px 15px;
    margin-bottom: 22px;
}

.main-footer .logo-widget .scanner-box img {
    max-width: 120px;
    height: auto;
}

.main-footer .download-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.main-footer .download-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 46px;
    background: #0f172a;
    border-radius: 8px;
    font-size: 22px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.main-footer .download-list li:nth-child(2) a {
    background: #ffffff;
    color: #0284c7;
    border: 1px solid var(--border-color);
}

.main-footer .download-list li:nth-child(3) a {
    background: #84cc16;
    color: #ffffff;
}

.main-footer .download-list li a:hover {
    transform: translateY(-2px);
}

/* Footer Lower: Payment Cards Strip */
.main-footer .footer-lower {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.main-footer .footer-card {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.main-footer .footer-card h4 {
    font-size: 15px;
    line-height: 26px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 6px 0 0;
}

.ft-payment-badge {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.ft-payment-amex { background: #006fcf; color: #ffffff; border-color: #006fcf; font-style: italic; }
.ft-payment-visa { color: #1a1f71; font-style: italic; }
.ft-payment-paypal { color: #003087; font-style: italic; }
.ft-payment-discover { color: #ff6000; }
.ft-payment-gpay { color: #5f6368; }

/* Footer Bottom: Copyright & Socials */
.footer-bottom {
    padding: 22px 0px;
    background: var(--bg-light);
    width: 100% !important;
}

.footer-bottom .bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom .bottom-inner p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.footer-bottom .bottom-inner p span {
    color: var(--ft-primary-green);
    font-weight: 700;
}

.main-footer .social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-footer .social-links h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 6px 0 0;
}

.main-footer .social-links li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-align: center;
    border-radius: 50%;
    font-size: 15px;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.2s ease;
}

.main-footer .social-links li a:hover {
    background: var(--ft-primary-green);
    color: #ffffff;
    border-color: var(--ft-primary-green);
    transform: translateY(-2px);
}

/* Floating Accessories */
.ft-scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: var(--ft-primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 999;
    transition: all 0.25s ease;
}
.ft-scroll-top:hover {
    background: var(--ft-primary-green);
    color: #ffffff !important;
    border-color: var(--ft-primary-green);
    transform: translateY(-3px);
}

.ft-rtl-badge {
    position: fixed;
    left: 0;
    top: 45%;
    transform: translateY(-50%);
    background: var(--ft-primary-green);
    color: #ffffff;
    font-weight: 800;
    font-size: 11px;
    padding: 8px 10px;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 4px 12px rgba(0, 192, 118, 0.4);
    z-index: 999;
    cursor: pointer;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .banner-section .content-box h2 {
        font-size: 38px;
        line-height: 46px;
    }
    .banner-section .image-box {
        margin-top: 30px;
    }
    .process-section .image-box {
        margin-left: 0px;
        margin-top: 30px;
        text-align: center;
    }
    .main-footer .logo-widget {
        margin-left: 0px;
        margin-top: 30px;
    }
    .footer-bottom .bottom-inner,
    .main-footer .footer-lower {
        flex-direction: column;
        text-align: center;
    }
}
