/* =====================================================
   ROI TRADING COMPANY
   ABOUT PAGE
===================================================== */


/* =====================================================
   PAGE
===================================================== */

.about-page {
    background: #ffffff;
    color: #18324a;
}


/* =====================================================
   NAVIGATION
===================================================== */

.about-page .navbar {
    min-height: 76px;
    border-bottom: 1px solid #edf1f3;
}

.about-page .navbar .nav-link.active {
    color: #0b7661;
    font-weight: 700;
}


/* =====================================================
   ABOUT HERO
===================================================== */

.about-hero {
    position: relative;
    overflow: hidden;

    padding: 105px 0 115px;

    background:
        linear-gradient(
            120deg,
            #f7fafb 0%,
            #ffffff 60%,
            #edf7f4 100%
        );
}

.about-hero::before {
    content: "";

    position: absolute;

    width: 460px;
    height: 460px;

    top: -220px;
    left: -180px;

    border-radius: 50%;

    background: rgba(11, 118, 97, 0.045);
}

.about-hero-content {
    position: relative;
    z-index: 2;

    max-width: 620px;
}

.about-eyebrow,
.about-section-label {
    margin: 0 0 16px;

    color: #0b7661;

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 0.16em;
}

.about-hero h1 {
    margin: 0;

    color: #102f4a;

    font-size: clamp(2.7rem, 4.8vw, 4.45rem);
    font-weight: 750;

    line-height: 1.08;

    letter-spacing: -0.045em;
}

.about-hero h1 span {
    color: #0b7661;
}

.about-hero-intro {
    max-width: 590px;

    margin: 28px 0 0;

    color: #304b60;

    font-size: 1.08rem;
    font-weight: 600;

    line-height: 1.78;
}

.about-hero-description {
    max-width: 590px;

    margin: 17px 0 0;

    color: #687b8c;

    font-size: 0.97rem;

    line-height: 1.8;
}


/* =====================================================
   HERO FEATURES
===================================================== */

.about-hero-features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px 20px;

    margin-top: 30px;
}

.about-hero-features > div {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    color: #29465c;

    font-size: 0.87rem;
    font-weight: 600;

    line-height: 1.45;
}

.about-hero-features i {
    margin-top: 2px;

    color: #0b7661;
}


/* =====================================================
   HERO BUTTON
===================================================== */

.about-primary-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 35px;

    padding: 14px 22px;

    border-radius: 5px;

    background: #0b7661;

    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.about-primary-button:hover {
    transform: translateY(-2px);

    background: #085d4d;

    color: #ffffff;
}


/* =====================================================
   NEW IMAGE PRESENTATION
===================================================== */

.about-visual {
    position: relative;

    max-width: 520px;

    margin-left: auto;

    padding:
        22px
        26px
        38px
        35px;
}

.about-image-frame {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 610px;

    overflow: hidden;

    border-radius: 5px;

    box-shadow:
        0 25px 55px
        rgba(12, 42, 63, 0.17);
}

.about-new-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.5s ease;
}

.about-visual:hover .about-new-image {
    transform: scale(1.025);
}


/* Green background accent */

.about-image-accent {
    position: absolute;

    z-index: 1;

    right: 0;
    bottom: 0;

    width: 66%;
    height: 68%;

    border-radius: 5px;

    background: #0b7661;
}


/* =====================================================
   FLOATING CARDS
===================================================== */

.about-floating-card {
    position: absolute;

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 13px;

    min-width: 215px;

    padding: 15px 18px;

    border: 1px solid #e2eaee;
    border-radius: 5px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 12px 30px
        rgba(13, 43, 65, 0.14);
}

.about-card-global {
    left: 0;
    bottom: 82px;
}

.about-card-local {
    right: -15px;
    top: 75px;
}

.about-floating-icon {
    display: flex;

    flex: 0 0 43px;

    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    border-radius: 50%;

    background: #e8f5f1;

    color: #0b7661;

    font-size: 1.05rem;
}

.about-floating-card strong {
    display: block;

    margin-bottom: 2px;

    color: #17364f;

    font-size: 0.83rem;
    font-weight: 750;
}

.about-floating-card span {
    display: block;

    color: #71808d;

    font-size: 0.69rem;
}


/* =====================================================
   OUR ROLE
===================================================== */

.about-role-section {
    padding: 105px 0 110px;

    background: #ffffff;
}

.about-role-heading h2,
.about-approach-heading h2 {
    margin: 0;

    color: #102f4a;

    font-size: clamp(2.1rem, 3.5vw, 3.15rem);
    font-weight: 750;

    line-height: 1.14;

    letter-spacing: -0.035em;
}

.about-role-heading h2 span,
.about-approach-heading h2 span {
    color: #0b7661;
}

.about-role-copy {
    max-width: 700px;
}

.about-role-copy p {
    margin: 0;

    color: #667a8c;

    font-size: 0.96rem;

    line-height: 1.8;
}

.about-role-copy p + p {
    margin-top: 18px;
}

.about-role-copy .about-role-lead {
    color: #304b60;

    font-size: 1.04rem;
    font-weight: 600;
}


/* =====================================================
   ROLE GRID
===================================================== */

.about-role-grid {
    margin-top: 58px;
}

.about-role-card {
    position: relative;

    height: 100%;
    min-height: 245px;

    overflow: hidden;

    padding: 32px 25px;

    border: 1px solid #e1e8ec;
    border-radius: 6px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.about-role-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(11, 118, 97, 0.3);

    box-shadow:
        0 15px 35px
        rgba(15, 47, 74, 0.09);
}

.about-role-number {
    position: absolute;

    top: 17px;
    right: 19px;

    color: #e7ecef;

    font-size: 2.6rem;
    font-weight: 800;

    line-height: 1;
}

.about-role-icon {
    position: relative;
    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 27px;

    border-radius: 5px;

    background: #e8f5f1;

    color: #0b7661;

    font-size: 1.18rem;
}

.about-role-card h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 12px;

    color: #153550;

    font-size: 1.1rem;
    font-weight: 750;
}

.about-role-card p {
    position: relative;
    z-index: 2;

    margin: 0;

    color: #697c8d;

    font-size: 0.88rem;

    line-height: 1.7;
}


/* =====================================================
   APPROACH SECTION
===================================================== */

.about-approach-section {
    padding: 102px 0 108px;

    background: #f5f8fa;
}

.about-approach-heading {
    max-width: 760px;

    margin-bottom: 52px;
}

.about-approach-heading > p:last-child {
    max-width: 680px;

    margin: 20px 0 0;

    color: #667a8c;

    line-height: 1.78;
}


/* =====================================================
   APPROACH CARDS
===================================================== */

.approach-card {
    height: 100%;

    padding: 36px 31px 35px;

    border-top: 3px solid #0b7661;
    border-radius: 4px;

    background: #ffffff;

    box-shadow:
        0 8px 25px
        rgba(16, 47, 74, 0.055);
}

.approach-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 25px;

    border-radius: 50%;

    background: #e9f5f1;

    color: #0b7661;

    font-size: 1.2rem;
}

.approach-card h3 {
    margin: 0 0 14px;

    color: #153550;

    font-size: 1.15rem;
    font-weight: 750;
}

.approach-card p {
    margin: 0;

    color: #697b8c;

    font-size: 0.9rem;

    line-height: 1.72;
}


/* =====================================================
   CTA
===================================================== */

.about-cta {
    padding: 90px 0;

    background: #ffffff;
}

.about-cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;

    padding: 52px 55px;

    border-radius: 8px;

    background:
        linear-gradient(
            110deg,
            #092a45 0%,
            #0b3d57 64%,
            #096454 100%
        );
}

.about-cta-inner > div {
    max-width: 720px;
}

.about-cta-inner p {
    margin: 0 0 11px;

    color: #79d4bd;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.15em;
}

.about-cta-inner h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 750;

    letter-spacing: -0.03em;
}

.about-cta-inner span {
    display: block;

    margin-top: 15px;

    color: rgba(255, 255, 255, 0.72);

    line-height: 1.7;
}

.about-cta-inner > a {
    display: inline-flex;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 52px;

    padding: 14px 23px;

    border-radius: 5px;

    background: #ffffff;

    color: #0b3d57;

    font-size: 0.88rem;
    font-weight: 750;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.about-cta-inner > a:hover {
    transform: translateY(-2px);

    background: #79d4bd;

    color: #092a45;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {

    .about-hero {
        padding: 82px 0 95px;
    }

    .about-visual {
        max-width: 600px;

        margin: 25px auto 0;
    }

    .about-image-frame {
        height: 560px;
    }

    .about-role-section,
    .about-approach-section {
        padding-top: 80px;
        padding-bottom: 85px;
    }

    .about-cta-inner {
        flex-direction: column;

        align-items: flex-start;

        padding: 44px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767.98px) {

    .about-hero {
        padding: 65px 0 75px;
    }

    .about-hero h1 {
        font-size: 2.45rem;
    }

    .about-hero-features {
        grid-template-columns: 1fr;
    }

    .about-primary-button {
        width: 100%;

        justify-content: center;
    }

    .about-visual {
        padding:
            15px
            12px
            35px
            20px;
    }

    .about-image-frame {
        height: 500px;
    }

    .about-card-local {
        right: 0;
        top: 45px;
    }

    .about-card-global {
        left: 0;
        bottom: 67px;
    }

    .about-floating-card {
        min-width: 195px;

        padding: 12px 14px;
    }

    .about-role-section {
        padding: 70px 0 75px;
    }

    .about-role-grid {
        margin-top: 40px;
    }

    .about-approach-section {
        padding: 70px 0 75px;
    }

    .about-cta {
        padding: 62px 0;
    }

    .about-cta-inner {
        padding: 35px 26px;
    }

    .about-cta-inner > a {
        width: 100%;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 479.98px) {

    .about-hero h1 {
        font-size: 2.1rem;
    }

    .about-image-frame {
        height: 440px;
    }

    .about-floating-card {
        position: relative;

        left: auto;
        right: auto;
        top: auto;
        bottom: auto;

        width: 100%;

        margin-top: 12px;
    }

    .about-image-accent {
        width: 72%;
        height: 58%;
    }

    .about-cta-inner {
        padding: 31px 21px;
    }

}