/* =========================================================
   MIDCAP DOCTOR - ABOUT PAGE
   ========================================================= */

:root {

    --md-bg: #020a14;
    --md-bg-two: #031321;

    --md-card: rgba(5, 22, 39, 0.72);

    --md-cyan: #08d9ff;
    --md-blue: #008cff;

    --md-white: #ffffff;
    --md-text: #d7e4ee;
    --md-muted: #8fa5b7;

    --md-border: rgba(0, 204, 255, 0.18);

    --md-radius: 22px;

}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(0, 155, 255, 0.08),
            transparent 30%
        ),
        #020a14;

    color: var(--md-white);

    font-family:
        'Inter',
        sans-serif;

}


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

.about-page {

    min-height: 100vh;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #020b16 0%,
            #031321 45%,
            #020913 100%
        );

}


/* =========================================================
   MARKET GRID
   ========================================================= */

.market-grid {

    position: fixed;

    inset: 0;

    pointer-events: none;

    opacity: .22;

    background-image:

        linear-gradient(
            rgba(0, 174, 255, .08) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(0, 174, 255, .08) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );

}


.glow {

    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(100px);

    opacity: .12;

}


.glow-one {

    background: #00bfff;

    top: 100px;
    right: -200px;

}


.glow-two {

    background: #006eff;

    bottom: 100px;
    left: -250px;

}


/* =========================================================
   NAVBAR
   ========================================================= */

.about-navbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(2, 12, 24, .90);

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(0, 212, 255, .12);

}


.about-nav-container {

    max-width: 1500px;

    margin: auto;

    height: 100px;

    padding:
        0 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.brand {

    display: flex;

    align-items: center;

}


.brand-logo {

    width: 75px;

    height: auto;

}


.desktop-menu {

    display: flex;

    align-items: center;

    gap: 48px;

}


.desktop-menu a {

    position: relative;

    color: #d8e4ed;

    text-decoration: none;

    font-size: 16px;

    font-weight: 500;

    transition: .3s ease;

}


.desktop-menu a:hover,
.desktop-menu a.active {

    color: var(--md-cyan);

}


.desktop-menu a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -10px;

    width: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--md-cyan),
            var(--md-blue)
        );

    transition: .3s ease;

}


.desktop-menu a:hover::after,
.desktop-menu a.active::after {

    width: 100%;

}


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

.mobile-menu-btn {

    display: none;

    background: transparent;

    border: 0;

    color: white;

    font-size: 24px;

}


.mobile-menu {

    display: none;

}


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

.about-hero {

    min-height: 720px;

    max-width: 1500px;

    margin: auto;

    padding:
        110px 70px 120px;

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    align-items: center;

    position: relative;

}


.hero-content {

    position: relative;

    z-index: 3;

}


.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding:
        9px 16px;

    border:
        1px solid
        rgba(0, 220, 255, .25);

    border-radius: 100px;

    color: var(--md-cyan);

    background:
        rgba(0, 200, 255, .06);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.badge-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--md-cyan);

    box-shadow:
        0 0 15px
        var(--md-cyan);

}


.hero-content h1 {

    margin:
        30px 0 25px;

    font-size:
        clamp(55px, 6vw, 94px);

    line-height: .98;

    letter-spacing: -4px;

    font-weight: 900;

    max-width: 850px;

}


.hero-content h1 span {

    color: var(--md-cyan);

}


.hero-content h1 strong {

    display: block;

    color: transparent;

    -webkit-text-stroke:
        1px rgba(255,255,255,.7);

}


.hero-description {

    max-width: 650px;

    color: var(--md-muted);

    font-size: 18px;

    line-height: 1.8;

}


.hero-actions {

    display: flex;

    gap: 16px;

    margin-top: 40px;

    flex-wrap: wrap;

}


.primary-btn,
.secondary-btn {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding:
        15px 24px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition: .3s ease;

}


.primary-btn {

    color: #001018;

    background:
        linear-gradient(
            135deg,
            #14e5ff,
            #00a8ff
        );

    box-shadow:
        0 10px 35px
        rgba(0, 191, 255, .22);

}


.primary-btn:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 45px
        rgba(0, 191, 255, .35);

}


.secondary-btn {

    color: #dcebf5;

    border:
        1px solid
        rgba(0, 220, 255, .25);

    background:
        rgba(255,255,255,.03);

}


.secondary-btn:hover {

    border-color:
        var(--md-cyan);

    color:
        var(--md-cyan);

}


/* =========================================================
   HERO MARKET GRAPHIC
   ========================================================= */

.hero-market {

    height: 500px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

}


.market-circle {

    position: absolute;

    border:
        1px solid
        rgba(0, 204, 255, .2);

    border-radius: 50%;

}


.circle-one {

    width: 390px;
    height: 390px;

}


.circle-two {

    width: 520px;
    height: 520px;

    opacity: .35;

}


.hero-symbol {

    width: 170px;
    height: 170px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    z-index: 2;

    background:
        radial-gradient(
            circle,
            rgba(0, 201, 255, .35),
            rgba(0, 48, 86, .25)
        );

    border:
        1px solid
        rgba(0, 215, 255, .45);

    box-shadow:

        0 0 40px
        rgba(0, 195, 255, .25),

        inset 0 0 40px
        rgba(0, 195, 255, .1);

}


.hero-symbol i {

    font-size: 75px;

    color: var(--md-cyan);

    filter:
        drop-shadow(
            0 0 15px
            rgba(0, 215, 255, .6)
        );

}


/* =========================================================
   CANDLES
   ========================================================= */

.candles {

    position: absolute;

    inset: 0;

}


.candle {

    position: absolute;

    width: 10px;

    height: 80px;

    border-radius: 2px;

    background:
        #09c8ef;

    box-shadow:
        0 0 15px
        rgba(0, 210, 255, .3);

    transform:
        rotate(-25deg);

}


.candle::before,
.candle::after {

    content: "";

    position: absolute;

    left: 4px;

    width: 2px;

    background: currentColor;

}


.candle::before {

    height: 20px;

    top: -20px;

}


.candle::after {

    height: 20px;

    bottom: -20px;

}


.candle-red {

    background: #b84a93;

    color: #b84a93;

}


.candle-blue {

    color: #09c8ef;

}


.candle:nth-child(1) {

    left: 8%;

    top: 48%;

}


.candle:nth-child(2) {

    left: 25%;

    top: 28%;

}


.candle:nth-child(3) {

    left: 42%;

    top: 12%;

}


.candle:nth-child(4) {

    right: 25%;

    top: 30%;

}


.candle:nth-child(5) {

    right: 10%;

    top: 20%;

}


.candle:nth-child(6) {

    right: 30%;

    bottom: 15%;

}


.candle:nth-child(7) {

    left: 30%;

    bottom: 15%;

}


/* =========================================================
   GENERAL SECTION
   ========================================================= */

.section {

    max-width: 1450px;

    margin: auto;

    padding:
        120px 60px;

    position: relative;

}


.section-heading {

    max-width: 850px;

    margin-bottom: 65px;

}


.section-heading.center {

    text-align: center;

    margin-left: auto;
    margin-right: auto;

}


.section-label {

    display: inline-block;

    color: var(--md-cyan);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.section-heading h2 {

    margin:
        16px 0;

    font-size:
        clamp(38px, 4vw, 60px);

    line-height: 1.05;

    letter-spacing: -2px;

}


.section-heading h2 span,
.community-content h2 span,
.final-content h2 span {

    color: var(--md-cyan);

}


.section-heading p {

    color: var(--md-muted);

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================================
   MISSION
   ========================================================= */

.mission-grid {

    display: grid;

    grid-template-columns:
        1.2fr .8fr;

    gap: 70px;

    align-items: start;

}


.mission-content {

    opacity: 0;

    transform:
        translateY(30px);

    transition:
        .8s ease;

}


.mission-content.visible {

    opacity: 1;

    transform:
        translateY(0);

}


.mission-content p {

    color: #aebfcd;

    font-size: 18px;

    line-height: 1.9;

    margin-bottom: 25px;

}


.mission-content strong {

    color: white;

}


/* =========================================================
   STAT CARDS
   ========================================================= */

.mission-stats {

    display: flex;

    flex-direction: column;

    gap: 16px;

}


.stat-card {

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 22px;

    border:
        1px solid
        var(--md-border);

    background:
        linear-gradient(
            145deg,
            rgba(7, 29, 49, .8),
            rgba(3, 16, 29, .7)
        );

    border-radius:
        var(--md-radius);

    backdrop-filter:
        blur(15px);

    opacity: 0;

    transform:
        translateX(30px);

    transition:
        .7s ease;

}


.stat-card.visible {

    opacity: 1;

    transform:
        translateX(0);

}


.stat-card:hover {

    border-color:
        rgba(0, 220, 255, .5);

    transform:
        translateX(5px);

}


.stat-icon {

    min-width: 52px;

    height: 52px;

    border-radius: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(0, 205, 255, .09);

    color:
        var(--md-cyan);

    font-size: 20px;

}


.stat-card strong {

    display: block;

    font-size: 22px;

    margin-bottom: 5px;

}


.stat-card span {

    color:
        var(--md-muted);

    font-size: 13px;

}


/* =========================================================
   PILLARS
   ========================================================= */

.pillars-section {

    max-width: 1550px;

}


.pillar-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


.pillar-card {

    position: relative;

    overflow: hidden;

    min-height: 390px;

    padding: 32px;

    border:
        1px solid
        rgba(0, 212, 255, .13);

    border-radius:
        var(--md-radius);

    background:
        linear-gradient(
            150deg,
            rgba(6, 29, 49, .88),
            rgba(2, 13, 24, .9)
        );

    transition:
        .4s ease;

    opacity: 0;

    transform:
        translateY(40px);

}


.pillar-card.visible {

    opacity: 1;

    transform:
        translateY(0);

}


.pillar-card:hover {

    transform:
        translateY(-10px);

    border-color:
        rgba(0, 220, 255, .45);

    box-shadow:
        0 20px 60px
        rgba(0, 130, 255, .12);

}


.pillar-number {

    position: absolute;

    top: 25px;

    right: 25px;

    color:
        rgba(255,255,255,.15);

    font-size: 13px;

    font-weight: 800;

}


.pillar-icon {

    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    margin-bottom: 55px;

    color:
        var(--md-cyan);

    background:
        rgba(0, 205, 255, .08);

    border:
        1px solid
        rgba(0, 205, 255, .14);

    font-size: 25px;

}


.pillar-card h3 {

    font-size: 21px;

    margin-bottom: 15px;

}


.pillar-card p {

    color:
        var(--md-muted);

    line-height: 1.7;

    font-size: 14px;

}


.pillar-line {

    position: absolute;

    bottom: 0;

    left: 0;

    height: 3px;

    width: 0;

    background:
        linear-gradient(
            90deg,
            var(--md-cyan),
            var(--md-blue)
        );

    transition:
        .5s ease;

}


.pillar-card:hover .pillar-line {

    width: 100%;

}


/* =========================================================
   LEARNING
   ========================================================= */

.learning-section {

    position: relative;

    overflow: hidden;

    padding:
        130px 30px;

    background:

        linear-gradient(
            90deg,
            rgba(0, 7, 15, .97),
            rgba(0, 16, 30, .88)
        ),

        url('/images/market-bg.jpg')
        center/cover;

}


.learning-section::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(0, 202, 255, .08) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(0, 202, 255, .08) 1px,
            transparent 1px
        );

    background-size:
        60px 60px;

    opacity: .25;

}


.learning-content {

    position: relative;

    z-index: 2;

    max-width: 1000px;

    margin: auto;

    text-align: center;

}


.learning-content h2 {

    font-size:
        clamp(40px, 5vw, 68px);

    letter-spacing:
        -2px;

    line-height: 1.05;

    margin:
        18px 0 25px;

}


.learning-content h2 span {

    color:
        var(--md-cyan);

}


.learning-content p {

    max-width: 800px;

    margin:
        0 auto;

    color:
        #a9bbc9;

    line-height: 1.9;

    font-size: 17px;

}


.learning-content strong {

    color:
        white;

}


.learning-items {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    margin-top: 55px;

}


.learning-items div {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

    padding:
        25px 15px;

    border:
        1px solid
        rgba(0, 210, 255, .15);

    background:
        rgba(1, 15, 28, .65);

    border-radius: 16px;

}


.learning-items i {

    color:
        var(--md-cyan);

    font-size: 25px;

}


.learning-items span {

    color:
        #d8e4ed;

    font-size: 13px;

    line-height: 1.5;

}


/* =========================================================
   COMMUNITY
   ========================================================= */

.community-section {

    padding-top:
        100px;

    padding-bottom:
        100px;

}


.community-card {

    position: relative;

    overflow: hidden;

    display: grid;

    grid-template-columns:
        1fr 350px;

    align-items: center;

    padding:
        70px;

    border:
        1px solid
        rgba(0, 210, 255, .2);

    border-radius:
        30px;

    background:
        radial-gradient(
            circle at 90% 50%,
            rgba(0, 186, 255, .15),
            transparent 40%
        ),
        linear-gradient(
            130deg,
            #061a2d,
            #03101d
        );

}


.community-content {

    max-width: 750px;

}


.community-content h2 {

    font-size:
        clamp(38px, 4vw, 58px);

    line-height: 1.1;

    margin:
        15px 0 20px;

}


.community-content p {

    color:
        var(--md-muted);

    line-height: 1.8;

    font-size: 16px;

}


.community-number {

    text-align: center;

}


.community-number strong {

    display: block;

    font-size:
        100px;

    line-height: 1;

    color:
        var(--md-cyan);

    text-shadow:
        0 0 40px
        rgba(0, 214, 255, .25);

}


.community-number span {

    color:
        #b5c6d2;

    font-size: 14px;

}


/* =========================================================
   FINAL SECTION
   ========================================================= */

.final-section {

    position: relative;

    overflow: hidden;

    text-align: center;

    padding:
        150px 30px;

    background:
        #010811;

}


.final-section::before {

    content: "";

    position: absolute;

    left: 50%;

    top: 50%;

    width: 700px;

    height: 400px;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(
            ellipse,
            rgba(0, 196, 255, .16),
            transparent 70%
        );

    filter:
        blur(30px);

}


.final-content {

    position: relative;

    z-index: 2;

}


.final-content h2 {

    margin:
        20px auto;

    font-size:
        clamp(42px, 6vw, 78px);

    line-height: 1.05;

    letter-spacing:
        -3px;

}


.final-content p {

    color:
        var(--md-muted);

    font-size:
        17px;

}


.goal-points {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 35px;

}


.goal-points span {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        11px 18px;

    border:
        1px solid
        rgba(0, 215, 255, .2);

    border-radius: 100px;

    color:
        #d9e7ef;

    background:
        rgba(0, 210, 255, .04);

    font-size: 13px;

}


.goal-points i {

    color:
        var(--md-cyan);

}


/* =========================================================
   FOOTER
   ========================================================= */

.about-footer {

    max-width: 1450px;

    margin: auto;

    padding:
        45px 60px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top:
        1px solid
        rgba(255,255,255,.08);

}


.about-footer img {

    width: 70px;

}


.about-footer p {

    color:
        var(--md-muted);

    margin:
        8px 0 0;

    font-size: 12px;

}


.footer-copy {

    color:
        #718695;

    font-size: 12px;

}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-top {

    position: fixed;

    right: 30px;

    bottom: 30px;

    width: 55px;
    height: 55px;

    border: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #14e5ff,
            #00a8ff
        );

    color:
        #001018;

    font-size: 18px;

    cursor: pointer;

    z-index: 999;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(20px);

    transition:
        .3s ease;

    box-shadow:
        0 10px 30px
        rgba(0, 180, 255, .25);

}


.back-top.show {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .about-hero {

        grid-template-columns: 1fr;

        padding:
            90px 50px;

    }


    .hero-market {

        height: 350px;

        margin-top: 20px;

    }


    .pillar-grid {

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

    }


    .mission-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 768px) {

    .about-nav-container {

        height: 75px;

        padding:
            0 20px;

    }


    .brand-logo {

        width: 60px;

    }


    .desktop-menu {

        display: none;

    }


    .mobile-menu-btn {

        display: block;

    }


    .mobile-menu {

        padding:
            10px 20px 25px;

        background:
            rgba(2, 12, 24, .98);

    }


    .mobile-menu.show {

        display: flex;

        flex-direction: column;

    }


    .mobile-menu a {

        color:
            #dce7ee;

        text-decoration: none;

        padding:
            15px 0;

        border-bottom:
            1px solid
            rgba(255,255,255,.06);

    }


    .about-hero {

        padding:
            75px 25px;

        min-height:
            auto;

    }


    .hero-content h1 {

        font-size:
            clamp(48px, 14vw, 70px);

        letter-spacing:
            -3px;

    }


    .hero-description {

        font-size:
            15px;

    }


    .hero-market {

        height: 300px;

    }


    .circle-one {

        width: 250px;
        height: 250px;

    }


    .circle-two {

        width: 330px;
        height: 330px;

    }


    .hero-symbol {

        width: 110px;
        height: 110px;

    }


    .hero-symbol i {

        font-size: 48px;

    }


    .section {

        padding:
            80px 25px;

    }


    .section-heading {

        margin-bottom:
            40px;

    }


    .section-heading h2 {

        font-size:
            38px;

    }


    .pillar-grid {

        grid-template-columns:
            1fr;

    }


    .pillar-card {

        min-height:
            auto;

    }


    .pillar-icon {

        margin-bottom:
            35px;

    }


    .learning-section {

        padding:
            90px 25px;

    }


    .learning-items {

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

    }


    .community-card {

        grid-template-columns:
            1fr;

        padding:
            40px 25px;

        text-align:
            center;

    }


    .community-number {

        margin-top:
            40px;

    }


    .community-number strong {

        font-size:
            80px;

    }


    .final-section {

        padding:
            100px 25px;

    }


    .final-content h2 {

        font-size:
            44px;

    }


    .about-footer {

        padding:
            35px 25px;

        flex-direction:
            column;

        gap: 25px;

        text-align:
            center;

    }


    .back-top {

        right: 20px;

        bottom: 20px;

        width: 48px;
        height: 48px;

    }

}


@media (max-width: 480px) {

    .hero-actions {

        flex-direction:
            column;

    }


    .primary-btn,
    .secondary-btn {

        justify-content:
            center;

        width: 100%;

    }


    .learning-items {

        grid-template-columns:
            1fr;

    }


    .final-content h2 {

        font-size:
            38px;

    }

}