:root {
    --dark: #151348;
    --deep: #0d1038;
    --green: #29238b;
    --lime: #5145db;
    --ink: #1b2141;
    --muted: #66708a;
    --soft: #f4f5fc
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    background: #fff
}

h1,
h2,
h3,
h4,
.navbar {
    font-family: Manrope, sans-serif
}

a {
    text-decoration: none
}

.topbar {
    background: var(--deep);
    color: #cde2d6;
    font-size: 11px;
    letter-spacing: .045em;
    padding: 10px 0
}

.topbar i {
    color: var(--lime)
}

.navbar {
    background: #fff;
    box-shadow: 0 4px 24px #002b1710;
    padding: 7px 0
}

.navbar-brand img {
    width: 200px;
    height: 75px;
    object-fit: contain;
    object-position: left center
}

.nav-link {
    font-weight: 700;
    font-size: 13px;
    color: #273c31 !important
}

.nav-link:hover {
    color: var(--green) !important
}

.btn {
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    padding: 13px 22px;
    transition: .25s
}

.btn-brand {
    background: var(--lime);
    color: var(--deep);
    border: 1px solid var(--lime)
}

.btn-brand:hover {
    background: #3c32bd;
    border-color: #3c32bd;
    color: var(--deep);
    transform: translateY(-2px)
}

.btn-outline-light {
    border-width: 1px
}

.hero {
    position: relative;
    background: var(--deep)
}

.carousel-item {
    height: min(690px, calc(100vh - 110px));
    min-height: 520px;
    position: relative
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: zoom 10s ease-out both
}

.carousel-item:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 12, 43, .95) 0%, rgba(19, 17, 63, .83) 45%, rgba(12, 12, 43, .34) 100%)
}

@keyframes zoom {
    from {
        transform: scale(1.06)
    }

    to {
        transform: scale(1)
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: white
}

.hero h1 {
    font-size: clamp(40px, 5.3vw, 76px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -.045em;
    margin: 20px 0
}

.hero h1 em,
.statement em,
.partnership em {
    font-style: normal;
    color: #075f42
}

.hero p {
    font-size: clamp(15px, 1.5vw, 19px);
    line-height: 1.8;
    color: #d9e8df;
    max-width: 660px
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px
}

.eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    color: var(--green);
    text-transform: uppercase
}

.eyebrow.light {
    color: var(--lime)
}

.carousel-indicators {
    bottom: 22px
}

.carousel-indicators button {
    width: 27px !important;
    height: 3px !important;
    border: 0 !important
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%
}

.hero-bottom {
    background: #161449;
    color: #e0f3e8;
    padding: 18px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em
}

.hero-bottom i {
    color: var(--lime)
}

.section-pad {
    padding: 100px 0
}

.bg-soft {
    background: var(--soft)
}

.section-title {
    font-size: clamp(32px, 3.4vw, 49px);
    line-height: 1.22;
    letter-spacing: -.045em;
    font-weight: 800;
    margin: 18px 0 26px
}

.section-title span {
    color: var(--green)
}

p {
    line-height: 1.85;
    color: #5b6a61
}

.lead-text {
    font-size: 17px;
    color: #334d3d;
    font-weight: 600
}

.about-photo {
    position: relative;
    margin-right: 28px
}

.about-photo>img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 8px
}

.photo-note {
    position: absolute;
    right: -28px;
    bottom: 35px;
    background: var(--dark);
    color: white;
    padding: 24px 28px;
    border-left: 5px solid var(--lime);
    box-shadow: 0 16px 40px #0002
}

.photo-note strong {
    font: 800 25px Manrope;
    display: block
}

.photo-note span {
    font-size: 12px;
    color: #d8e8df
}

.text-link {
    font-weight: 800;
    color: var(--green);
    border-bottom: 2px solid var(--lime);
    padding-bottom: 6px
}

.text-link i {
    margin-left: 7px
}

.muted {
    color: var(--muted)
}

.service-card {
    background: #fff;
    height: 100%;
    border: 1px solid #e4ebe4;
    border-radius: 7px;
    overflow: hidden;
    transition: .3s;
    box-shadow: 0 8px 30px #0a281009
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px #0a28101b
}

.service-img {
    height: 210px;
    background-size: cover;
    background-position: center
}

.service-body {
    padding: 27px
}

.service-num {
    font-size: 10px;
    letter-spacing: .16em;
    color: var(--green);
    font-weight: 800
}

.service-body h3 {
    font-size: 19px;
    font-weight: 800;
    margin: 13px 0
}

.service-body p {
    font-size: 14px;
    min-height: 75px
}

.service-body a {
    font-weight: 800;
    font-size: 13px;
    color: var(--green)
}

.service-body a i {
    margin-left: 6px
}

.commodity-panel {
    background: var(--soft);
    border: 1px solid #e2eae3;
    border-radius: 10px;
    padding: 35px
}

.commodity-panel h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px
}

.commodity-panel h3 i {
    color: var(--green)
}

.chips,
.partner-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.chips span {
    padding: 10px 13px;
    border-radius: 4px;
    background: white;
    border: 1px solid #dce9de;
    font-size: 12px;
    font-weight: 700;
    color: #385444
}

.commodity-panel hr {
    margin: 30px 0;
    border-color: #d7e3d8
}

.quality-note {
    display: flex;
    gap: 18px;
    background: #eeedfc;
    border-left: 4px solid var(--green);
    padding: 20px;
    margin-top: 28px
}

.quality-note i {
    font-size: 27px;
    color: var(--green)
}

.quality-note strong,
.quality-note small {
    display: block
}

.quality-note strong {
    font-size: 14px
}

.quality-note small {
    margin-top: 5px;
    color: var(--muted)
}

.statement {
    background: linear-gradient(100deg, #10113b, #30258b);
    padding: 75px 0
}

.statement h2 {
    color: white;
    font-size: clamp(28px, 3.4vw, 48px);
    font-weight: 800;
    line-height: 1.3;
    margin: 14px 0 0
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 45px
}

.vision-card {
    height: 100%;
    background: var(--dark);
    color: white;
    padding: 40px;
    border-radius: 8px
}

.vision-card>i {
    font-size: 34px;
    color: var(--lime)
}

.vision-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 20px 0
}

.vision-card p {
    color: #cde3d4;
    margin: 0
}

.roadmap {
    border-left: 2px solid #b2d8bc;
    padding-left: 25px
}

.roadmap>div {
    position: relative;
    display: grid;
    grid-template-columns: 68px 140px 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e3ece5;
    font-size: 13px
}

.roadmap>div:before {
    content: "";
    position: absolute;
    left: -32px;
    top: 21px;
    width: 12px;
    height: 12px;
    background: var(--lime);
    border: 2px solid var(--green);
    border-radius: 50%
}

.roadmap b {
    color: var(--green)
}

.roadmap strong {
    font-weight: 800
}

.roadmap span {
    color: var(--muted)
}

.mini-feature {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    padding: 16px;
    background: white;
    border: 1px solid #e2ece3;
    border-radius: 6px
}

.mini-feature i {
    font-size: 22px;
    color: var(--green)
}

.rounded-visual {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 8px
}

.partnership {
    background: linear-gradient(115deg, rgba(17, 16, 55, .96), rgba(34, 26, 92, .94)), url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1700&q=80') center/cover
}

.partnership h2 {
    font-size: clamp(33px, 4.5vw, 58px);
    line-height: 1.15;
    letter-spacing: -.04em;
    color: #fff;
    font-weight: 800;
    margin: 20px 0
}

.partnership p {
    color: #c6dfd0
}

.partner-tags span {
    font-size: 12px;
    color: #d8ebdf;
    border: 1px solid #58836b;
    padding: 8px 12px;
    border-radius: 3px
}

.contact-box {
    background: #ffffff12;
    border: 1px solid #ffffff2b;
    border-radius: 8px;
    padding: 35px;
    color: #fff;
    backdrop-filter: blur(8px)
}

.contact-box>i {
    font-size: 38px;
    color: var(--lime)
}

.contact-box h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 20px 0
}

.contact-box p {
    font-size: 14px
}

.contact-box .small {
    color: #a9cdb6
}

footer {
    background: #101037;
    color: #b8d1c2;
    padding: 40px 0
}

footer p,
footer small {
    color: #b8d1c2;
    font-size: 12px
}

.footer-logo {
    width: 175px;
    height: 75px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(1.5)
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px
}

.footer-links a {
    color: #d3e8da;
    font-size: 12px
}

.footer-links a:hover {
    color: var(--lime)
}

.back-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10;
    background: var(--lime);
    color: var(--dark);
    padding: 12px 15px;
    border-radius: 4px;
    box-shadow: 0 5px 25px #0002
}

@media(max-width:991px) {
    .navbar-brand img {
        height: 64px;
        width: 160px
    }

    .navbar-collapse {
        padding-bottom: 18px
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none
    }

    .section-pad {
        padding: 75px 0
    }

    .hero-bottom {
        font-size: 11px
    }

    .about-photo>img {
        height: 390px
    }

    .roadmap>div {
        grid-template-columns: 55px 110px 1fr
    }
}

@media(max-width:575px) {
    .topbar {
        font-size: 9px
    }

    .carousel-item {
        height: 610px;
        min-height: 610px
    }

    .hero h1 {
        font-size: 40px
    }

    .hero-content {
        padding-bottom: 45px
    }

    .hero-actions .btn {
        width: 100%
    }

    .hero-bottom .container {
        gap: 9px !important
    }

    .hero-bottom span {
        width: 46%
    }

    .section-pad {
        padding: 65px 0
    }

    .about-photo {
        margin-right: 14px
    }

    .photo-note {
        right: -14px;
        padding: 18px
    }

    .commodity-panel {
        padding: 22px
    }

    .roadmap>div {
        grid-template-columns: 45px 1fr;
        gap: 4px
    }

    .roadmap>div span {
        grid-column: 2
    }

    .vision-card {
        padding: 28px
    }

    .rounded-visual {
        height: 310px
    }
}

.inner-hero {
    min-height: 330px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff
}

.inner-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 17, 58, 0.95), rgba(7, 23, 59, 0.7))
}

.inner-hero .container {
    position: relative;
    z-index: 1
}

.inner-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.3rem);
    font-weight: 800
}

.inner-hero p {
    max-width: 700px;
    color: #d6e9dc
}

.navbar {
    background: white
}

.navbar-brand img {
    max-width: 220px;
    max-height: 60px;
    object-fit: contain
}

.navbar .nav-link.active {
    color: #05082c !important;
    font-weight: 800
}

.detail-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e0eae2;
    border-radius: 17px;
    padding: 30px;
    box-shadow: 0 10px 30px #002b1210
}

.detail-card h3 {
    font-size: 1.24rem;
    font-weight: 800;
    margin: 15px 0
}

.detail-card i {
    font-size: 2rem;
    color: #05082c
}

.detail-card p {
    color: #5d7065;
    line-height: 1.75
}

.detail-photo {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 20px
}

.badge-soft {
    display: inline-block;
    background: #e8f6e9;
    color: #05082c;
    padding: 10px 17px;
    border-radius: 40px;
    margin: 5px;
    font-size: .9rem;
    font-weight: 700
}

.page-cta {
    background: #101037;
    color: #fff;
    padding: 45px;
    border-radius: 20px
}

.page-cta p {
    color: #d0e5d8
}

.contact-form {
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 15px 50px #00000013
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 12px
}

.stat-year {
    font-size: 2.4rem;
    color: #05082c;
    font-weight: 800
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 10px;
    z-index: 9999;
    background: #fff;
    padding: 10px
}

.skip-link:focus {
    top: 10px
}

@media(max-width:767px) {
    .detail-photo {
        height: 260px
    }

    .page-cta {
        padding: 25px
    }

    .navbar-brand img {
        max-width: 180px
    }
}

/* Marketplace extensions */
.market-banner {
    background: linear-gradient(115deg, #17134f, #3126a0);
    color: #fff
}

.market-banner .eyebrow {
    color: #a9a1ff
}

.product-card {
    overflow: hidden;
    border-radius: 16px
}

.product-card .card-img-top {
    height: 220px;
    object-fit: cover
}

.product-card .card-body {
    padding: 1.35rem
}

.featured-market {
    background: #f6f6fc
}

.featured-market .carousel-item {
    padding: 8px 4px 15px
}

#detailSlides img {
    height: 440px;
    width: 100%;
    object-fit: cover;
    border-radius: 14px
}

#detailThumbs button {
    border: 2px solid transparent;
    padding: 0;
    background: none;
    border-radius: 9px;
    overflow: hidden
}

#detailThumbs button.active {
    border-color: #4435b5
}

#detailThumbs img {
    width: 92px;
    height: 70px;
    object-fit: cover
}

@media(max-width:767px) {
    #detailSlides img {
        height: 290px
    }
}

/* Services dropdown */
#mainNav .dropdown-menu {
    border-radius: 12px;
    padding: .65rem;
    min-width: 285px;
    max-height: 75vh;
    overflow-y: auto
}

#mainNav .dropdown-item {
    white-space: normal;
    padding: .65rem .85rem;
    border-radius: 7px;
    font-size: .89rem
}

#mainNav .dropdown-item:hover,
#mainNav .dropdown-item:focus {
    background: #eaf5ee;
    color: #05082c
}

#mainNav .dropdown-toggle::after {
    vertical-align: .18em
}

article[id],
h2[id],
h3[id] {
    scroll-margin-top: 115px
}

/* Central login */
.login-stage {
    background: linear-gradient(125deg, #e8f4eb, #f6faf7 52%, #e9f5ec);
    min-height: 70vh
}

.login-aside {
    background: linear-gradient(145deg, #06432c,#05082c);
    border-radius: 20px 0 0 20px;
    min-height: 570px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.login-panel {
    border-radius: 0 20px 20px 0;
    min-height: 570px
}

.login-logo {
    max-width: 175px;
    max-height: 90px;
    object-fit: contain
}

.login-panel .form-control:focus {
    border-color: #05082c;
    box-shadow: 0 0 0 .2rem rgba(44, 146, 89, .12)
}

@media(max-width:991.98px) {
    .login-panel {
        border-radius: 20px;
        min-height: auto
    }
}

/* Unified centered authentication layout */
.login-stage {
    min-height: calc(100vh - 190px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: linear-gradient(125deg, #e8f4eb, #f6faf7 52%, #e9f5ec)
}

.login-stage>.container {
    width: 100%
}

.login-panel {
    border-radius: 22px;
    min-height: 0;
    width: 100%;
    border: 1px solid rgba(4, 83, 49, .08)
}

.login-panel .login-logo {
    max-width: 190px;
    width: 100%;
    height: auto
}

#loginFeedback[hidden] {
    display: none !important
}

@media(max-width:575.98px) {
    .login-stage {
        padding: 2rem 0
    }

    .login-panel {
        border-radius: 16px
    }
}

/* Larger, consistent navigation across all pages */
#mainNav .navbar-nav .nav-link {
    font-size: 15px !important;
    font-weight: 750;
    line-height: 1.4;
    padding: 12px 10px;
}

#mainNav .dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 18px;
}

@media (min-width:1200px) and (max-width:1399px) {
    #mainNav .navbar-nav .nav-link {
        font-size: 14px !important;
        padding-inline: 7px;
    }

    #mainNav .navbar-brand img {
        max-width: 165px;
    }
}

@media (max-width:1199px) {
    #mainNav .navbar-nav .nav-link {
        font-size: 16px !important;
        padding: 12px 6px;
    }
}

/* Featured products: 4 visible desktop, one-card step carousel */
.product-slider-viewport {
    overflow: hidden;
    padding: 6px 2px 14px
}

.product-slider-track {
    display: flex;
    gap: 24px;
    will-change: transform;
    touch-action: pan-y
}

.product-slider-item {
    flex: 0 0 calc((100% - 72px)/4);
    min-width: 0;
    display: flex
}

.product-slider-item .product-card {
    width: 100%
}

.product-slider-item .product-card img {
    height: 205px;
    object-fit: cover
}

@media(max-width:991.98px) {
    .product-slider-item {
        flex-basis: calc((100% - 24px)/2)
    }
}

@media(max-width:575.98px) {
    .product-slider-item {
        flex-basis: 100%
    }
}

@media(prefers-reduced-motion:reduce) {
    .product-slider-track {
        transition: none !important
    }
}

/* Our Services: no caret; hover to open on desktop, tap to open on mobile */
#mainNav .services-nav-link::after {
    display: none !important;
    content: none !important;
}

@media (min-width:992px) {

    #mainNav .nav-item.dropdown:hover>.dropdown-menu,
    #mainNav .nav-item.dropdown:focus-within>.dropdown-menu {
        display: block;
    }

    #mainNav .nav-item.dropdown>.dropdown-menu {
        margin-top: 0;
    }
}

/* Enlarged corporate brand, responsive without hiding navigation */
#mainNav .navbar-brand img {
    width: 245px;
    max-width: 245px;
    height: 96px;
    max-height: 96px;
    object-fit: contain;
    object-position: left center
}

#mainNav .navbar-brand {
    margin-right: 1.25rem
}

@media(min-width:992px) and (max-width:1399px) {
    #mainNav .navbar-brand img {
        width: 195px;
        max-width: 195px;
        height: 82px;
        max-height: 82px
    }
}

@media(max-width:991.98px) {
    #mainNav .navbar-brand img {
        width: 200px;
        max-width: 200px;
        height: 80px;
        max-height: 80px
    }
}

@media(max-width:575px) {
    #mainNav .navbar-brand img {
        width: 170px;
        max-width: 170px;
        height: 70px;
        max-height: 70px
    }
}

.partners-section {
    padding: 72px 0;
    background: #f5f9f5;
    border-top: 1px solid #e2ede3
}

.partners-section .partners-intro {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #65766a
}

.partner-logo-card {
    min-height: 125px;
    background: #fff;
    border: 1px solid #dfeae1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: box-shadow .25s, transform .25s
}

.partner-logo-card:hover {
    box-shadow: 0 12px 30px #092c1514;
    transform: translateY(-3px)
}

.partner-logo-card img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain
}

/* Six partners, slide one logo per step */
.partners-slider-viewport {
    overflow: hidden;
    padding: 8px 2px 14px
}

.partners-slider-track {
    display: flex;
    gap: 24px;
    will-change: transform
}

.partners-slider-item {
    flex: 0 0 calc((100% - 72px)/4);
    min-width: 0
}

.partners-slider-item .partner-logo-card {
    height: 125px
}

@media(max-width:991.98px) {
    .partners-slider-item {
        flex-basis: calc((100% - 24px)/2)
    }
}

@media(max-width:575.98px) {
    .partners-slider-item {
        flex-basis: 100%
    }
}

@media(prefers-reduced-motion:reduce) {
    .partners-slider-track {
        transition: none !important
    }
}

/* Stanbic International corporate identity — applied to original Bootstrap layouts */
:root {
    --brand: #211c70;
    --brand-dark: #15114e;
    --brand-accent: #5363dc;
}

body {
    color: #252846;
}

.topbar {
    background: #17134f !important;
    color: #fff !important
}

.navbar {
    background: #fff !important
}

.navbar-brand img {
    width: 190px;
    max-height: 78px;
    object-fit: contain
}

.btn-brand,
.btn-success,
.bg-success {
    background:#9e8732 !important;
    border-color:#9e8732 !important;
    color: white !important
}

.btn-outline-success {
    border-color:#9e8732 !important;
    color:#9e8732 !important
}

.btn-outline-success:hover {
    background:#9e8732 !important;
    color: white !important
}

.eyebrow,
.section-title span,
.text-success {
    color: #9e8732 !important
}

a:hover {
    color: #5363dc
}

footer {
    background: linear-gradient(135deg, #17134f, #252080) !important;
    border-top-color: #5363dc !important
}

/* Stanbic corporate palette overrides */
:root {
    --dark: #17144f;
    --deep: #0e1038;
    --green: #29238b;
    --lime: #5145db;
    --ink: #1b2141;
    --muted: #66708a;
    --soft: #f4f5fc
}

.hero-bottom {
    background: #151348
}

.hero h1 em,
.statement em,
.partnership em {
    color:#9e8732
}

.btn-brand {
    background: #30268d;
    border-color: #30268d;
    color: #fff
}

.btn-brand:hover {
    background: #5145db;
    border-color: #5145db;
    color: #fff
}

.back-top {
    background: #5145db;
    color: #fff
}

.nav-link:hover {
    color: #29238b !important
}

.market-banner {
    background: linear-gradient(115deg, #17144f, #30268d)
}