/* ==================================================
   RESET
================================================== */

* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;

    padding: 0;

    color: #090d17;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* body {
    background:
        linear-gradient(
            100deg,
            #f9e4d7 0%,
            #f5e9e5 42%,
            #f2f5ff 100%
        );
} */



/* ==================================================
   MAIN PROCESS SECTION
================================================== */

.process {
    position: relative;
    background:
        linear-gradient(
            100deg,
            #f9e4d7 0%,
            #f5e9e5 42%,
            #f2f5ff 100%
        );
    height: 500vh;
}



/* ==================================================
   STICKY SCREEN
================================================== */

.sticky {
    position: sticky;

    top: 0;

    width: 100%;

    height: 100vh;

    min-height: 650px;

    overflow: hidden;
}



/* ==================================================
   SECTION HEADING
================================================== */

.head {
    position: absolute;

    left: 5vw;

    top: 10.5vh;

    z-index: 20;
}


.head .twodots {
    display: flex;

    gap: 6px;

    margin-bottom: 18px;
}


.head .twodots i {
    width: 8px;

    height: 8px;

    background: #ff963d;

    border-radius: 50%;
}


.head b {
    font-family:
        'Poppins',
        sans-serif;

    font-size: 18px;

    font-weight: 600;

    letter-spacing: 1.45px;
}



/* ==================================================
   MAIN LAYOUT
================================================== */

.layout {
    width: 100%;

    height: 100%;

    display: grid;

    grid-template-columns:
        48%
        52%;

    align-items: center;
}



/* ==================================================
   LEFT SIDE
================================================== */

.left {
    position: relative;

    height: 100%;
}



/* ==================================================
   CONTENT
================================================== */

.copy {
    position: absolute;

    left: 5vw;

    top: 31.5%;

    width: 500px;

    max-width: 80%;
}



/* ==================================================
   ICON
================================================== */

/* .icon {
    width: 50px;

    height: 50px;

    margin-bottom: 25px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #0b2b67;

    border:
        9px solid
        #f5b27d;

    color: #ffffff;

    font-size: 19px;
}
.icon img{
    width:24px;
    height:24px;
    object-fit:contain;
    display:block;
    margin:auto;
} */
.bg-icon{
    position:relative;
    width:50px;
    height:50px;
    margin-bottom:25px;

    display:grid;
    place-items:center;

    border-radius:50%;

    background:#0b2b67;
    border:9px solid #f5b27d;

    overflow:hidden;
}

.bg-icon img{
    position:absolute;
    inset:0;

    width:22px;
    height:22px;

    margin:auto;

    object-fit:contain;

    opacity:0;
    visibility:hidden;

    transition:.45s;
}

.bg-icon img.active{
    opacity:1;
    visibility:visible;
}


/* ==================================================
   CONTENT HEADING
================================================== */

.copy h2 {
    margin:
        0
        0
        14px;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 28px;

    font-weight: 600;

    line-height: 1.25;

    letter-spacing: -0.5px;
}



/* ==================================================
   DESCRIPTION
================================================== */

.copy p {
    margin:
        0
        0
        20px;

    font-family:
        'DM Sans',
        sans-serif;

    font-size: 18px;

    font-weight: 400;

    line-height: 1.55;
}



/* ==================================================
   LARGE STEP NUMBER
================================================== */

.big-num {
    position: absolute;

    left: 80%;

    top: 20%;

    color: #ffffff;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 138px;

    font-weight: 400;

    line-height: 1;
}



/* ==================================================
   BOTTOM STEP NUMBERS
================================================== */

.steps {
    position: absolute;

    left: 5vw;

    bottom: 10.5vh;

    display: flex;

    align-items: center;

    gap: 22px;

    font-family:
        'DM Sans',
        sans-serif;

    font-size: 18px;

    font-weight: 700;
}


.steps span {
    color: #ffff;

    transition:
        color 0.3s ease;
}


.steps span.active {
    color: #08265e;
}



/* ==================================================
   ARROW BUTTONS
================================================== */

.arrows {
    position: absolute;

    left: 85%;

    bottom: 9.7vh;

    display: flex;

    gap: 10px;
}


.arrows button {
    width: 48px;

    height: 48px;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: #ff963d;

    color: #090d17;

    font-size: 22px;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.arrows button:hover {
    transform: scale(1.08);

    background: #ff8725;
}



/* ==================================================
   RIGHT SIDE
================================================== */

.right {
    position: relative;

    width: 100%;

    height: 100%;

    display: grid;

    place-items: center;
}



/* ==================================================
   FULL VISUAL SIZE

   Increase 850px if you want even bigger.
================================================== */

.scene {
    position: relative;

    width:
        min(
            850px,
            60vw
        );

    aspect-ratio:
        1 / 1;
}



/* ==================================================
   SVG LAYER
================================================== */

.path {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    overflow: visible;

    z-index: 2;

    pointer-events: none;
}


/* ==================================================
   PLACEHOLDER TRACK RING
================================================== */

.path .track {
    fill: none;

    stroke: #e8e8e6;

    stroke-width: 2;
}



/* ==================================================
   ORANGE PROGRESS (fills on scroll)
================================================== */

.path .link {
    fill: none;

    stroke: #ff963d;

    stroke-width: 2.6;

    stroke-linecap: round;

    stroke-linejoin: round;

    stroke-dasharray: 100;

    stroke-dashoffset: 100;

    transition:
        stroke-dashoffset
        0.5s
        ease;
}



/* ==================================================
   DOTS (gray placeholder, orange when active)
================================================== */

.path .dot {
    fill: #d9d9d7;

    transition:
        fill 0.45s ease;
}


.path .dot.on {
    fill: #08265e;
}


.path .dot.orange.on {
    fill: #ff963d;
}



/* ==================================================
   ORANGE CIRCLE
================================================== */

.orange {
    position: absolute;

    width: 66%;

    height: 66%;

    left: 17%;

    top: 17%;

    border:
        1px solid
        #ff9f43;

    border-radius: 50%;

    z-index: 1;
}



/* ==================================================
   CENTER IMAGE CIRCLE
================================================== */

.photo {
    position: absolute;

    width: 56%;

    height: 56%;

    left: 22%;

    top: 22%;

    overflow: hidden;

    border-radius: 50%;

    background: #dddddd;

    z-index: 3;
}


.photo img {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    opacity: 0;

    visibility: hidden;

    transform:
        scale(1.08);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease,
        visibility 0.65s ease;
}


.photo img.active {
    opacity: 1;

    visibility: visible;

    transform:
        scale(1);
}

@media (max-width:1440px){

    .layout{
        grid-template-columns:46% 54%;
    }

    .copy{
        width:420px;
        top:28%;
    }

    .copy h2{
        font-size:24px;
    }

    .copy p{
        font-size:16px;
    }

    .scene{
        width:clamp(420px,42vw,620px);
    }

    .big-num{
        font-size:105px;
    }

    .steps{
        font-size:16px;
    }

    .arrows button{
        width:44px;
        height:44px;
    }
}

/* ==================================================
   TABLET
================================================== */

@media (
    max-width: 1200px
) {

    .scene {
        width:
            min(
                720px,
                58vw
            );
    }


    .copy {
        width: 430px;
    }


    .copy p {
        font-size: 16px;
    }


    .big-num {
        left: 75%;

        font-size: 110px;
    }


    .arrows {
        left: 78%;
    }

}

@media (max-width:1024px){

    .layout{
        grid-template-columns:1fr;
        gap:40px;
    }

    .left,
    .right{
        width:100%;
    }

    .copy{
        position:relative;
        top:0;
        left:0;
        margin:auto;
    }

    .scene{
        width:min(500px,90vw);
    }

    .big-num{
        right:30px;
        top:20px;
        font-size:90px;
    }

    .steps{
        left:30px;
    }

    .arrows{
        right:30px;
    }
}


/* ==================================================
   MOBILE
================================================== */
/* ==================================================
   MOBILE — FIGMA DESIGN
================================================== */

@media (max-width: 768px) {

    .process {
        height: auto;
        background: #f3f6fc;
    }

    .sticky {
        position: relative;
        height: auto;
        min-height: 0;
        overflow: visible;
        padding: 55px 21px 30px;
    }


    /* =========================
       SECTION HEADING
    ========================= */

    .head {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 0 38px;
    }

    .head .twodots {
        gap: 5px;
        margin-bottom: 14px;
    }

    .head .twodots i {
        width: 8px;
        height: 8px;
    }

    .head b {
        font-size: 13px;
        line-height: 1.2;
        letter-spacing: 1.2px;
    }


    /* =========================
       MAIN LAYOUT
    ========================= */

    .layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }


    /* =========================
       IMAGE / ORBIT
    ========================= */

    .right {
        order: 1;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        margin: 0 0 40px;
    }

    .scene {
        width: 280px;
        max-width: 82vw;
        aspect-ratio: 1 / 1;
    }


    /* =========================
       ORBIT
    ========================= */

    .path .track {
        stroke-width: 2;
    }

    .path .link {
        stroke-width: 2.6;
    }

    .path .dot {
        r: 2.3;
    }


    /* =========================
       CENTER IMAGE
    ========================= */

    .orange {
        width: 66%;
        height: 66%;
        left: 17%;
        top: 17%;
    }

    .photo {
        width: 56%;
        height: 56%;
        left: 22%;
        top: 22%;
    }


    /* =========================
       LEFT CONTENT
    ========================= */

    .left {
        order: 2;
        width: 100%;
        height: 390px;
        position: relative;
    }

    .copy {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 100%;
    }


    /* =========================
       ICON
    ========================= */

    .bg-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 25px;
        border: 9px solid #f5b27d;
    }

    .bg-icon img {
        width: 23px;
        height: 23px;
    }


    /* =========================
       TITLE
    ========================= */

    .copy h2 {
        margin: 0 0 12px;
        font-size: 24px;
        line-height: 1.25;
        letter-spacing: -0.4px;
    }


    /* =========================
       DESCRIPTION
    ========================= */

    .copy p {
        margin: 0 0 20px;
        font-size: 15px;
        line-height: 1.65;
    }


    /* =========================
       STEP NUMBERS
    ========================= */

    .steps {
        position: absolute;
        left: 0;
        bottom: 0;

        width: 100%;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 0;

        font-size: 16px;
        line-height: 1;
    }

    .steps span {
        color: #c8c8c8;
    }

    .steps span.active {
        color: #08265e;
    }


    /* =========================
       ARROWS
    ========================= */

    .arrows {
        display: none;
    }
}


/* ==================================================
   SMALL MOBILE
   375px / 390px FIGMA RANGE
================================================== */

@media (max-width: 480px) {

    .sticky {
        padding: 55px 21px 28px;
    }

    .head {
        margin-bottom: 38px;
    }

    .head b {
        font-size: 13px;
    }

    .scene {
        width: 280px;
        max-width: 82vw;
    }

    .right {
        margin-bottom: 40px;
    }

    .left {
        height: 390px;
    }

    .bg-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 25px;
    }

    .copy h2 {
        font-size: 24px;
        line-height: 1.25;
    }

    .copy p {
        font-size: 16px;
        line-height: 1.65;
    }

    .steps {
        font-size: 20px;
    }
}


/* ==================================================
   VERY SMALL MOBILE
   320px – 360px
================================================== */

@media (max-width: 360px) {

    .sticky {
        padding-left: 18px;
        padding-right: 18px;
    }

    .head {
        margin-bottom: 32px;
    }

    .scene {
        width: 250px;
    }

    .right {
        margin-bottom: 32px;
    }

    .left {
        height: 390px;
    }

    .copy h2 {
        font-size: 22px;
    }

    .copy p {
        font-size: 14px;
        line-height: 1.6;
    }

    .steps {
        font-size: 14px;
    }
}
/* ==================================================
   MOBILE ONLY - STEP ARROWS
================================================== */

@media (max-width: 768px) {

    .steps {
        width: 90%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .steps span {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #c8c8c8;
        font-size: 15px;
        font-weight: 700;
    }

    .steps span.active {
        color: #08265e;
    }

    /* Add arrow between every step */
    .steps span:not(:last-child)::after {
        content: "→";
        color: #ff963d;
        font-size: 13px;
        font-weight: 400;

        margin-left: 18px;
        margin-right: 18px;
    }
}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {

    .steps span:not(:last-child)::after {
        margin-left: 10px;
        margin-right: 10px;
        font-size: 20px;
    }

    .steps span {
        font-size: 14px;
    }
}