/* ==========================================================================
   About Page Style
   ========================================================================== */

/* Hero Section  */
.sc-hero-about {
    padding: 180px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 42px;
    text-transform: uppercase;
    line-height: 0.9;

}

.sc-hero-bg {
    position: absolute;
    right: -30%;
    bottom: 0;
    right: 0;
    width: 40%;
    opacity: .8;
}

.sinc {
    display: flex;
    align-items: stretch;
    gap: 4px;
    margin-top: 52px;
}

.sinc .sc-years {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background-color: var(--color-bg-secondary);
    border-radius: 8px;
}

.sinc .sc-years img {
    width: 100%;
    max-width: 30px;
    height: auto;
}

.sinc .sc-years span {
    font-size: 14px;
    color: var(--color-text-paragraph);
}

.y-text {
    background-color: var(--color-bg-secondary);
    font-size: 14px;
    color: var(--color-text-paragraph);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 300;
}

.state {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.sc-video video {
    border-radius: 24px;
}

.sc-video {
    position: relative;
}

.floating-video-controls {
    position: absolute;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    z-index: 10;
    opacity: 0;
}

.floating-video-controls.is-fixed {
    position: fixed;
    bottom: 20px;
    transform: translateX(50%);
    z-index: 999;
    opacity: 1;
}

.video-fab {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border: none;
    border-radius: 999px;
    background: rgba(30, 30, 30, .85);
    backdrop-filter: blur(20px);
    color: #fff;
    cursor: pointer;
}

.video-fab i {
    font-size: 22px;
}

.cards-grid {
    display: flex;
    gap: 0px;
    flex-direction: column;
    perspective: 1400px;
}

.li-card {
    padding: 42px 0;
    border-bottom: 1px solid var(--stroke-color);
    display: flex;
    gap: 52px;
    justify-content: space-between;
    transform-origin: 50% 0%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity, filter;
}

.li-card .left span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--color-text-paragraph);
}

.li-card .right {
    max-width: 60%;
    color: var(--color-text-paragraph);
}

.li-card .right p {
    color: var(--color-text-paragraph);
}

.li-card .right span {
    margin-bottom: 12px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 12px;
}

.li-card .right .pills {
    width: fit-content;
    color: var(--color-text-paragraph);
    margin: 16px 0 0 0;
    background-color: #3D065F;
    padding: 6px 12px 6px 24px;
    border-radius: 6px;
    font-size: 14px;
    position: relative;
}

.li-card .right .pills::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
}

.pin-heading {
    will-change: transform;
}

.sc-text {
    overflow: hidden;
    /* fallback, SplitText khud bhi handle karta */
}

.sc-text .lines {
    display: inline-block;
    will-change: transform, opacity;
}

.sc-reveal .word {
    opacity: .1;
    display: inline-block;
    will-change: transform, opacity;
}

.abt-hero-row {
    margin-bottom: 80px;
}

@media (max-width: 767px) {
    .sc-video video {
        border-radius: 16px;
    }

    .video-fab {
        gap: 12px;
        padding: 10px 16px;

    }

    .video-fab i {
        font-size: 16px;
    }

    .floating-video-controls {
        opacity: 1;
    }
}

/* Story Section */

.story-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-y: hidden;
}

.story-title {
    font-size: 72px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: .9;
    letter-spacing: -3px;
    width: 65%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
}

.story-title-line {
    display: block;
    overflow: hidden;
}

.story-title-line span {
    display: block;
}

.video-placeholder {
    display: block;
    width: 20%;
    height: 90px;
    margin: 0 auto;
    border-radius: 12px;
}

.story-video {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-video video {
    /*width: fit-content;*/
    /*height: 600px;*/
    width: 100%;
    object-fit: cover;
}

.video-control {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    display: flex;
    gap: 8px;
}

.story-play-btn {
    height: 36px;
    padding: 0 12px;
    gap: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.story-play-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.story-sound-btn {
    width: 36px;
    padding: 0;
    justify-content: center;
}

/* what we are learning Ssection  */

.l-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.learning .l-li-card {
    padding: 12px;
    display: flex;
    gap: 12px;
    background-color: var(--color-bg-secondary);
    border-radius: 24px;
}

.learning .l-li-card h3 {
    font-size: 24px;
    margin: 24px 0 16px;
}

.learning .l-li-card .left,
.learning .l-li-card .right {
    width: 50%;
    border-radius: 12px;
    padding: 42px;
}

.learning .l-li-card .left {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.learning .l-li-card .left .num {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.learning .l-li-card .left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    opacity: 0.1;
    background: url(../images/vectors/sm-gradient-bg.webp) center / cover no-repeat;
    z-index: -1;
}

.learning .l-li-card .right {
    border: 1px solid var(--stroke-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.learning .l-li-card .right .pills {
    margin: 0px;
    width: fit-content;
}

/* Our Journey Timline  */

.journey-head {
    text-align: center;
    margin-bottom: 48px;
}

.journey-head p {
    color: #888;
    max-width: 500px;
    margin: 14px auto 0;
    font-size: 15px;
    line-height: 1.65;
}

.journey-tabs {
    display: flex;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    gap: 0px;
}

.journey-tab {
    flex: 0 0 100px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 18px;
    transition: flex .65s cubic-bezier(0.23, 1, 0.32, 1);
    margin-right: -32px;
}

.journey-tab.is-active {
    flex: 1;
    cursor: default;
}

.tab-label {
    position: absolute;
    top: 28px;
    left: 20px;
    right: 0;
    display: flex;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    letter-spacing: .04em;
    transition: opacity .2s ease;
    pointer-events: none;
}

.journey-tab.is-active .tab-label {
    opacity: 0;
}

.tab-body {
    position: absolute;
    inset: 0;
    padding: 36px 90px 36px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    min-width: 320px;
}

.journey-tab.is-active .tab-body {
    opacity: 1;
    pointer-events: auto;
    transition-delay: .4s;
}

.tab-year-big {
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -.04em;
    align-self: flex-end;
}

.tab-milestone h4 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tab-milestone p {
    margin: 0;
    line-height: 1.3;
    max-width: 360px;
}

@media (max-width: 1199px) {
    .journey-tabs {
        height: 430px;
    }

    .journey-tab {
        flex-basis: 84px;
        margin-right: -24px;
    }

    .tab-body {
        padding: 28px 70px 28px 24px;
        min-width: 280px;
    }

    .tab-year-big {
        font-size: 58px;
    }

    .tab-milestone h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }
}

@media (max-width: 991px) {
    .journey-tabs {
        height: 390px;
        border-radius: 16px;
    }

    .journey-tab {
        flex-basis: 68px;
        margin-right: -14px;
        border-radius: 12px;
    }

    .tab-label {
        top: 18px;
        left: 10px;
        font-size: 18px;
    }

    .tab-body {
        padding: 20px;
        min-width: 220px;
    }

    .tab-year-big {
        font-size: 46px;
    }

    .tab-milestone h4 {
        font-size: 15px;
        letter-spacing: 0.06em;
    }

    .tab-milestone p {
        font-size: 14px;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .journey-tabs {
        flex-direction: column;
        height: auto;
        overflow: visible;
        gap: 0px;
    }

    .journey-tab {
        flex: 0 0 80px;
        width: 100%;
        margin-right: 0;
        border-radius: 14px;
        margin-top: -22px;
    }

    .journey-tab.is-active {
        flex: 0 0 340px;
    }

    .tab-label {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        padding: 0 20px;
        justify-content: flex-start;
        align-items: center;
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 18px;
    }

    .tab-body {
        padding: 24px 24px 42px 24px;
        min-width: 0;
    }

    .tab-year-big {
        font-size: 44px;
    }

    .tab-milestone h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .tab-milestone p {
        font-size: 13px;
        line-height: 1.4;
        max-width: 100%;
    }
}

/* Our Service Section  */
.work-loop-section {
    padding-top: 10px;
    padding-bottom: 110px;
    background: #0f0f0f;
}

.work-loop-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: center;
}

.work-loop-content {
    width: 100%;
    max-width: none;
    height: 100%;
    background-color: #1e1e1e;
    padding: 50px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-loop-kicker {
    margin-bottom: 14px;
    color: #b7b7b7;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.work-loop-title {
    font-size: 32px;
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin-bottom: 18px;
}

.work-loop-desc {
    max-width: 50ch;
    line-height: 1.55;
}

.work-loop-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 22px;
    will-change: transform, opacity;
    width: max-content;
}

.work-loop-orbit-area {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: clamp(320px, 44vw, 520px);
    background-color: #1e1e1e;
    padding: 50px;
    border-radius: 24px;
}

.work-loop-orbit-shell {
    width: min(100%, 480px);
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.work-loop-orbit-core {
    position: absolute;
    inset: 19%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #d6d6d6;
    font-size: 14px;
    line-height: 1.45;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-direction: column;
    gap: 10px;
}

.work-loop-core-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    font-size: 28px;
    color: #ffffff;
}

.work-loop-core-label {
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    color: #d6d6d6;
}

.work-loop-orbit-pills {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.work-loop-pill {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 152px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 11px 18px;
    background: #1a1a1a;
    color: #f2f2f2;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
    white-space: nowrap;
}

.work-loop-pill.is-active {
    background: #931ee2;
    border-color: #a84cee;
    color: #ffffff;
}

@media (max-width: 992px) {
    .work-loop-layout {
        grid-template-columns: 1fr;
    }

    .work-loop-content {
        text-align: center;
        margin: 0 auto;
    }

    .work-loop-desc {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .work-loop-orbit-shell {
        max-width: 340px;
    }

    .work-loop-pill {
        min-width: 136px;
        padding: 9px 14px;
        font-size: 12px;
    }
}

/* what will never change section  */
.never-change .content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.never-change .content p {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.never-change .content p .highlight {
    color: var(--color-text-white);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-weight: 400;
    font-style: normal;
}

/* Making Intelligence Work section   */
.miw-title {
    font-size: 82px;
    line-height: 0.9;
    text-align: center;
}

@property --a {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.miw-card {
    overflow: hidden;
    position: relative;
    border-radius: 32px;
    padding: 150px 20px;
    text-align: center;
}

.miw-card::before {
    position: absolute;
    z-index: -1;
    inset: -1.3em;
    border: solid 2em;
    border-image: conic-gradient(from var(--a),
            #931ee2,
            #b362eb,
            #808080,
            #808080,
            #e9d2f9,
            #931ee2,
            #e9d2f9,
            #808080,
            #808080,
            #b362eb,
            #931ee2) 1;
    filter: blur(1.1em);
    animation: a 4s linear infinite;
    content: "";
    opacity: 0.7;
}

@keyframes a {
    to {
        --a: 1turn;
    }
}

/* ==========================================
   SUMCIRCLE AT A GLANCE
========================================== */

.sc-glance {
    background: #111111;
    color: #ffffff;
}


/* ==========================================
   GRID
========================================== */

.glance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


/* ==========================================
   CARD
========================================== */

.glance-card {
    position: relative;

    min-height: 665px;

    background: #1e1e1e;

    border-radius: 24px;

    overflow: hidden;
}


/* ==========================================
   LEFT CONTENT
========================================== */

.glance-content {
    display: flex;
    flex-direction: column;

    padding: 50px;
}


/* ==========================================
   EYEBROW
========================================== */

.glance-eyebrow {
    display: inline-flex;

    width: fit-content;

    padding: 8px 12px;

    margin-bottom: 20px;

    background: #111111;

    border-radius: 6px;

    color: rgba(255, 255, 255, 0.8);

    font-size: 13px;

    line-height: 1;
}


/* ==========================================
   TITLE
========================================== */

.glance-title {
    margin: 0;

    max-width: 620px;

    font-size: clamp(36px, 3.2vw, 52px);

    line-height: 0.92;

    letter-spacing: -0.045em;

    font-weight: 600;
}


/* ==========================================
   DESCRIPTION
========================================== */

.glance-description {
    max-width: 500px;

    margin: 38px 0 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 17px;

    line-height: 1.45;
}


/* ==========================================
   STATS
========================================== */

.glance-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    margin-top: auto;

    margin-bottom: 55px;
}


/* Individual stat */

.glance-stat {
    min-height: 75px;

    padding: 0 20px;

    border-left: 1px solid rgba(255, 255, 255, 0.08);
}


/* Remove first border */

.glance-stat:first-child {
    padding-left: 0;

    border-left: 0;
}


.glance-stat strong {
    display: block;

    margin-bottom: 10px;

    font-size: 27px;

    line-height: 1;

    font-weight: 500;

    letter-spacing: -0.04em;
}


.glance-stat span {
    display: block;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;

    line-height: 1.35;
}


/* Second row */

.glance-stat:nth-child(4) {
    margin-top: 35px;

    padding-left: 0;

    border-left: 0;
}


.glance-stat:nth-child(5) {
    margin-top: 35px;
}


/* ==========================================
   BOTTOM
========================================== */

.glance-bottom {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;
}


.glance-bottom p {
    max-width: 300px;

    margin: 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;

    line-height: 1.35;
}


/* ==========================================
   BUTTON
========================================== */

.glance-bottom .sc-btn-primary {
    flex-shrink: 0;
}


/* ==========================================
   RIGHT VISUAL
========================================== */

.glance-visual {
    display: flex;

    align-items: center;
    justify-content: center;

    background: #1e1e1e;
}


/* SVG wrapper */

.globe-wrapper {
    position: relative;

    width: 90%;
    height: 90%;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* SVG */

.globe-svg {
    width: 100%;
    height: 100%;

    object-fit: contain;

    opacity: 0.8;

    transform: scale(.9);
    transform-origin: bottom right;

    transition:
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.6s ease;
}


/* Hover */

.glance-visual:hover .globe-svg {
    opacity: 1;
    transform: scale(.95);
}

/* ==========================================
   RESPONSIVE TUNING (ABOUT PAGE)
========================================== */

@media (max-width: 1199px) {
    .sc-hero-about {
        padding: 150px 16px 80px;
    }

    .abt-hero-row {
        margin-bottom: 54px;
    }

    .story-title {
        width: 78%;
        font-size: 58px;
        letter-spacing: -2px;
    }

    .miw-title {
        font-size: clamp(56px, 6.6vw, 72px);
    }

    .miw-card {
        padding: 120px 20px;
    }

    .glance-content {
        padding: 36px;
    }

    .glance-stats {
        margin-bottom: 36px;
    }
}

@media (max-width: 991px) {
    .abt-hero-row {
        row-gap: 28px;
    }

    .story-section {
        height: auto;
        min-height: 90svh;
        padding: 70px 0;
    }

    .story-title {
        width: 92%;
        font-size: 46px;
        line-height: 1;
    }

    .li-card {
        flex-direction: column;
        gap: 18px;
        padding: 28px 0;
    }

    .li-card .right {
        max-width: 100%;
    }

    .learning .l-li-card {
        flex-direction: column;
        gap: 10px;
        border-radius: 18px;
    }

    .learning .l-li-card .left,
    .learning .l-li-card .right {
        width: 100%;
        padding: 28px;
    }

    .work-loop-content,
    .work-loop-orbit-area {
        padding: 30px;
        border-radius: 18px;
    }

    .work-loop-title {
        font-size: 28px;
    }

    .never-change .content {
        gap: 16px;
    }

    .never-change .content p {
        font-size: 20px;
    }

    .miw-card {
        padding: 90px 16px;
    }

    .glance-grid {
        grid-template-columns: 1fr;
    }

    .glance-card {
        min-height: auto;
    }

    .glance-content {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .sc-hero-about {
        padding: 120px 12px 56px;
    }

    .story-section {
        min-height: 80svh;
        padding: 56px 0;
    }

    .story-title {
        width: 100%;
        font-size: clamp(32px, 9vw, 42px);
        letter-spacing: -1px;
    }

    .li-card .left h3,
    .l-li-card .left h3 {
        font-size: 24px;
    }

    .learning .l-li-card {
        padding: 10px;
        border-radius: 14px;
    }

    .learning .l-li-card .left,
    .learning .l-li-card .right {
        padding: 20px;
        border-radius: 10px;
    }

    .learning .l-li-card h3 {
        margin: 16px 0 10px;
    }

    .work-loop-orbit-area,
    .work-loop-content {
        padding: 22px;
    }

    .work-loop-kicker {
        font-size: 12px;
    }

    .work-loop-title {
        font-size: 24px;
    }

    .work-loop-desc {
        font-size: 14px;
    }

    .work-loop-core {
        inset: 22%;
        padding: 14px;
        font-size: 12px;
    }

    .work-loop-core-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .work-loop-pill {
        min-width: 126px;
        padding: 8px 12px;
        font-size: 11px;
    }

    .never-change .content p {
        font-size: 17px;
    }

    .miw-title {
        font-size: clamp(40px, 10vw, 54px);
    }

    .miw-card {
        border-radius: 22px;
        padding: 200
        
        px 14px;
    }

    .glance-content {
        padding: 24px;
    }

    .glance-description {
        margin-top: 24px;
        font-size: 15px;
    }

    .glance-stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 18px;
        margin-top: 28px;
        margin-bottom: 28px;
    }

    .glance-stat {
        min-height: auto;
        border-left: 0;
        padding: 0;
    }

    .glance-stat:nth-child(4),
    .glance-stat:nth-child(5) {
        margin-top: 0;
    }

    .glance-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .glance-bottom p {
        max-width: 100%;
    }
}