/* ---------------------------------------------------Banner------------------------------------------ */

.container-home {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
}

.camera {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

@media (max-width: 576px) {
    .camera {
        height: 96%;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .camera {
        height: 88%;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .camera {
        height: 92%;
    }
}

@media (min-width: 1200px) {
    .camera {
        height: 93%;
    }
}

.wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center;
}

.dot .dot-text {
    display: block;
    transform: rotate(-90deg);
    transform-origin: center center;
    color: black;
    font-size: 6px;
    font-weight: 500;
    padding: 10px;
    opacity: 0;
    transition:
        opacity 0.6s,
        transform 0.6s;
}

@media screen and (max-width: 768px) {
    .dot .dot-text {
        font-size: 4px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 5%;
    }
}

.dot {
    width: 4px;
    height: 4px;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    z-index: 1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse {
    animation: dot 0.8s linear forwards;
}

@keyframes dot {
    0% {
        box-shadow:
            0 0 0 0 #00000098,
            0 0 0 0 #fff;
    }

    40% {
        box-shadow:
            0 0 0 4px #00000098,
            0 0 0 5px #ffffff8f;
    }

    80% {
        box-shadow:
            0 0 0 9px #00000098,
            0 0 0 10px #ffffff4f;
    }

    90% {
        box-shadow:
            0 0 0 12px #00000098,
            0 0 0 12px #00000000;
    }

    100% {
        box-shadow: none;
    }
}

.pulse-reverse {
    animation: dotReverse 1s linear forwards;
}

@keyframes dotReverse {
    0% {
        background: transparent;
        box-shadow:
            0 0 0 12px #000,
            0 0 0 12px #000;
    }

    40% {
        box-shadow:
            0 0 0 9px #000,
            0 0 0 10px #ffffff4f;
    }

    80% {
        box-shadow:
            0 0 0 4px #000,
            0 0 0 5px #ffffff8f;
    }

    99% {
        background: transparent;
        box-shadow:
            0 0 0 0 #000,
            0 0 0 0 #fff;
    }

    100% {
        background: white;
        box-shadow: none;
    }
}

/* Banner Section styles*/
.bannerSec {
    position: relative;
    height: auto;
    z-index: 1;
}

.bannerSec::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.7;
}

.bannerSec video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

.boxesColRow {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.boxesColRow .col {
    color: transparent;
    scale: 0;
    aspect-ratio: 1/1;
}

.whiteBox {
    background: var(--white);

    display: flex;
    align-items: center;
    position: relative;
    font-weight: 700;
    width: 100%;
    height: 100%;
}

/* Labeled boxes: big keyword on top, small line below */
.whiteBox.subheading {
    flex-direction: column;
    justify-content: end;
    align-items: start;
    line-height: 1.15;
    gap: 0.15em;
    padding: 20px 10px;
    margin-bottom: 0;
    font-size: calc(1.25rem + 0.4vw);

}

.whiteBox .boxHead {
    display: inline;
    font-size: 1.2em;
    font-style: italic !important;
    line-height: 1.15;
    /*color:coral !important;*/
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.whiteBox .boxTail {
    display: block;
    font-weight: 800;
    font-size: 0.95em;
    color: #000;

}

@media (width < 1200px) {
    .bannerSec {
        padding: 50px 0 20px 0;
    }

    .whiteBox {
        border-radius: 10px;
        font-size: 8px;
        line-height: 1.3;
    }
}

@media (width < 575px) {
    .bannerSec {
        padding: 70px 0 20px 0;
    }
}

@media (width > 1200px) {
    .bannerSec {
        padding-top: 4vw;
        padding-bottom: 1vw;
    }

    .whiteBox {
        border-radius: 1vw;
        padding: 1vw;
    }

    .whiteBox.subheading {
        font-size: 1.9vw;
    }

    .boxesColRow .col {
        transform: scale(0);
    }
}

/*------------------------------------------ Intro Section styles--------------------------------------- */
.introSec {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    font-size: 18px;
    overflow: hidden;

    height: 100vh;
    display: flex;
    align-items: center;
}

.introSec:before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.5;
    z-index: -2;
}

@media (min-width: 768.99px) {
    .introSec {
        height: 100vh;
        display: flex;
        align-items: center;
    }
}




/*@media (max-width: 768.99px) {*/
/*    .introSec {*/
/*        margin-bottom: 0;*/
/*        height: 80vh;*/
/*    }*/

/*    .circleAnim img {*/
/*        width: 150% !important;*/
/*    }*/
/*}*/

/*.circleAnim {*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    z-index: -1;*/
/*}*/

@media (max-width: 768.99px) {
    .introSec {
        margin-bottom: 0;
        height: 100vh;
        height: 100svh;
    }

    .circleAnim img {
        width: 150% !important;
    }
}

.circleAnim {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media (max-width: 992px) {
.circleAnim img {

    width: 80%;
}
}

.circleAnim img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0;
}

/* ----------------------------------------DOLAT EDGE SECTION--------------------------------------------- */

.dolatEdgeSec {
    position: relative;
}

.dolatEdgeBorder {
    width: 100%;
    background: #000;
    border-radius: 30px;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.dolatEdgeMainWrp {
    display: flex;
    align-items: center;
    position: relative;
}

.dolatEdgeBorder::before {
    content: "";
    position: absolute;
    width: calc(100% + 3px);
    height: calc(100% + 3px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    background: linear-gradient(130deg, transparent 5%, #d4d4d4, #d4d4d4, transparent 95%);
    border-radius: 30px;
}

.dolatEdgeWrp {
    position: relative;
    padding: 45px 35px 80px;
    border-radius: 30px;
    background: linear-gradient(to bottom, #000000, #000000f0, #000000);
    z-index: 1;
    box-shadow:
        -1px 0 10px rgba(255, 255, 255, 0.05),
        0 0 18px rgba(255, 255, 255, 0.15),
        inset 1px 0 12px rgba(255, 255, 255, 0.08),
        inset 1px 0 2px rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.dolatEdgeWrp::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse 100px 20px at 80% 0%,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.35) 30%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 75%),
        radial-gradient(ellipse 150px 20px at 35% 100%,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.4) 20%,
            rgba(255, 255, 255, 0.2) 40%,
            rgba(255, 255, 255, 0) 80%);
}

.dolatEdgeWrp h3 {
    font-weight: 600;
    /*color: #e3644b;*/
    /*margin-bottom: 25px;*/
}

.deCard {
    padding-bottom: 20px;
}

.deCard h5 {
    color: #fff;
    font-weight: 500;
}

.deCard .title {
    font-size: 35px;
    font-weight: 700;
    color: #E3644B;
}

@media (max-width:576px){
    .productCard .deCard p{
        margin-bottom: 0;
    }
    .deCard .title {
        /*font-size: 28px;*/
        font-size: 25px;
    }
    
    .deCard p{
    font-size:14px;
    margin-bottom: 0;
}
.productCard .deCard {
    padding: 15px 15px;
    margin-bottom: 15px;
}
    
}

/* Last Dolat Edge Section Cards */


.productCard .deCard {
    padding: 20px 20px;
    margin-bottom: 20px;
    border: 1px solid #464646;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.027);
    transition: all 0.3s ease;
}


/* Optional Hover Effect */
.productCard .deCard:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

@media (min-width:1200px) {

    .productCard .dolatEdgeWrp {
        padding: 3.906vw 3.255vw;
    }

    .deCard .title {
        font-size: 2.562vw;
    }
}

@media (max-width: 768px) {
    .dolatEdgeWrp {
        border-radius: 25px;
        padding: 25px 25px 35px;

    }

    .dolatEdgeBorder::before {
        border-radius: 25px;
    }

    .dolatEdgeWrp h3 {
        /*margin-bottom: 15px;*/
    }

    .simulatorSwiper .swiper-button-prev,
    .simulatorSwiper .swiper-button-next {
        top: 60% !important;
    }
}

@media (min-width: 1200.99px) {
    .dolatEdgeBorder::before {
        width: calc(100% + 0.22vw);
        height: calc(100% + 0.22vw);
        border-radius: 3vw !important;
    }

    .dolatEdgeBorder {
        border-radius: 3vw;

    }

    .dolatEdgeWrp {
        padding: 3.906vw 3.255vw 6.857vw;
        border-radius: 3vw;
        box-shadow:
            -0.073vw 0 0.732vw rgba(255, 255, 255, 0.05),
            0 0 1.318vw rgba(255, 255, 255, 0.15),
            inset 0.073vw 0 0.878vw rgba(255, 255, 255, 0.08),
            inset 0.073vw 0 0.146vw rgba(255, 255, 255, 0.6);
    }

    .dolatEdgeWrp::after {
        border-radius: 1.098vw;
        background: radial-gradient(ellipse 6.51vw 1.302vw at 80% 0%,
                rgba(255, 255, 255, 0.6) 0%,
                rgba(255, 255, 255, 0.35) 30%,
                rgba(255, 255, 255, 0.15) 50%,
                transparent 75%),
            radial-gradient(ellipse 9.766vw 1.302vw at 35% 100%,
                rgba(255, 255, 255, 0.6) 0%,
                rgba(255, 255, 255, 0.4) 20%,
                rgba(255, 255, 255, 0.2) 40%,
                rgba(255, 255, 255, 0) 80%);
    }

    .deCard {
        margin-bottom: 2vw;
    }

    .dolatEdgeWrp h3 {
        /*margin-bottom: 1.83vw;*/
    }


}

/* -------------------------------------SIMULATOR SECTION------------------------------------- */
.simulatorSwiper {
    padding: 5% 0 12% 0;
    margin-bottom: 20px;
    position: relative;
}

.simulatorSwiper .swiper-slide {
    width: 100%;
}

.simulatorSwiper .swiper-slide img {
    transition:
        box-shadow 0.5s ease,
        transform 0.5s ease,
        filter 0.5s ease;
    width: 100%;
    object-fit: cover;
    height:300px;
    object-position: top;
}

.simulatorSwiper .swiper-slide:not(.swiper-slide-active) img {
    filter: blur(3px);
}

.simulatorSwiper .swiper-button-prev {
    left: 0;
}

.simulatorSwiper .swiper-button-next {
    right: 0;
}

.simulatorSwiper .swiper-button-prev,
.simulatorSwiper .swiper-button-next {
    top: 50%;
    bottom: 50%;
}

.simulatorSwiper .swiper-button-prev,
.simulatorSwiper .swiper-button-next {
    width: 25px;
    aspect-ratio: 1/1;
    height: auto;
}

@media (max-width: 768px) {

    .simulatorSwiper .swiper-button-prev,
    .simulatorSwiper .swiper-button-next {
        top: 100% !important;
    }

    .simulatorSwiper .swiper-button-prev {
        left: 35%;
    }

    .simulatorSwiper .swiper-button-next {
        right: 35%;
    }
}


@media (min-width: 1200.99px) {
    .simulatorSwiper {
        margin-bottom: 2vw;
    }

    .simulatorSwiper .swiper-button-prev,
    .simulatorSwiper .swiper-button-next {
        width: 1.563vw;
        top: 50%;
        bottom: 50%;
    }

    .simulatorSwiper .swiper-slide,
    .simulatorSwiper .swiper-slide-active,
    .simulatorSwiper .swiper-slide img {
        border-radius:0.732vw ;
    }

    .simulatorSwiper .swiper-slide img {
        height:21.962vw;
    }
}

@media (min-width: 991.99px) {
    .simulatorSwiper .swiper-button-prev {
        left: 7vw;
    }

    .simulatorSwiper .swiper-button-next {
        right: 7vw;
    }
}

.simulatorSwiper .swiper-slide-active {
    box-shadow: 0 0 7.766vw 1.604vw rgba(255, 255, 255, 0.2);
    border-radius:10px;
    z-index: 10;
}

@media (max-width: 991.99px) {

    .simulatorSwiper .swiper-slide-active,
    .simulatorSwiper .swiper-slide-active img {
        box-shadow: 0 0 30px 0px rgba(255, 255, 255, 0.2);
    border-radius:10px;

    }
}
@media (max-width:768px){
    
    .simulatorSwiper .swiper-slide img {
        height:200px;
    }
}
/*---------------------------------------- SCALABLE SECTION---------------------------------------- */
.scalableSec {
    position: relative;
    overflow: hidden;
}

.scalableCard {
    text-align: center;
    transform-origin: center;
    will-change: transform;
}

.scalableCard img {
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-name: clockwiseSpin;
    animation-timing-function: linear;
    will-change: transform;
    width: 180px;
    margin: 0 auto;
}

.scalableCard .desc {
    color:teal;
    font-weight: bold;
    margin-bottom: 0;
}

.scalableCard p {
    color: #fff;
}

@keyframes clockwiseSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.scalableCard .imgCard {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1200.98px) {
    .scalableCard>* {
        margin-bottom: 15px;
    }
}

@media (max-width: 768.99px) {
    .scalableSec .row {
        --bs-gutter-x: 20px;
        --bs-gutter-y: 20px;
    }

    .scalableCard img {
        width: 150px;
    }
}

@media (max-width: 991.98px) {
    .scalableCard img {
        width: 150px;
    }
}

@media (min-width: 1200.99px) {
    .scalableSec .row {
        --bs-gutter-x: 3vw;
    }

    .scalableCard>* {
        margin-bottom: 1vw;
    }

    .scalableCard .imgCard {
        height: 13.021vw;
    }

    .scalableCard img {
        width: 11.719vw;
    }
}

/* ------------------------------------------------------------------------------ */

.navigation {
    position: fixed;
    top: 35%;
    right: 0%;
    z-index: 1;
    display: none !important;
}

.navigation svg {
    display: block;
}

.navigation .active-ring {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid #ffffffbe;
    border-radius: 50%;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transition:
        top 0.3s,
        left 0.3s;
    transform: translate(-50%, -50%);
    box-shadow: 1px 1px 10px rgba(255, 255, 255, 0.8);
}

.navigation .nav-tooltip {
    position: absolute;
    left: -60px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition:
        top 0.3s,
        opacity 0.3s;
}

@media (min-width: 1200.99px) {
    .navigation .active-ring {
        width: 0.938vw;
        height: 0.938vw;
    }

    .navigation .nav-tooltip {
        font-size: 1.042vw;
        left: -4.167vw;
        padding: 0.333vw 0.667vw;
    }

    .navigation svg {
        width: 5.646vw;
        height: 17.458vw;
    }
}

/* ------------------------------------------------------------------------- */


.investmentChartSec {
    overflow: hidden;
    position: relative;
}

.chart-panel {
    overflow: hidden;
}

.bar-body,
.bar-body-neg {
    will-change: height;
}

#invest {
    contain: layout paint;
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 150;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }

    .tab {
        padding: 5px 0px !important;
    }

    .tabs-bar {
        column-gap: 10px !important;
    }

    .legend-item {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* The label lives in a <p> inside .legend-item, and common.css's
       `p { font-size: 16px }` outranks a size merely inherited from the
       parent - which is why the old `.legend-item { font-size: 12px }` here
       had no effect and both labels ("Dolat Quantum Leap", "NIFTY 500 TRI" /
       "S&P BSE 500 TRI") broke onto two lines each. Set it on the <p> and
       keep each label on one line. */
    .legend-item p {
        font-size: 12px;
        white-space: nowrap;
    }

    .legend-items {
        gap: 12px;
        flex-wrap: nowrap;
    }

    .legend-swatch {
        width: 12px;
        height: 12px;
    }
}

@media screen and (max-width: 576px) {
    .tabs-bar {
        padding: 6px 20px !important;
        column-gap: 10px;
    }
}

.chart-panel {
    background: linear-gradient(to bottom, rgba(38, 38, 38, 0) 0%, #262626 100%);
    border-radius: 16px;
    padding: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: column;
}

.chart-panel h5 {
    margin-bottom: 10px;
}

.bars-wrapper-positive {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 26px;
    height: 250px;
    position: relative;
}

.bars-wrapper-negative {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    height: 0px;
    overflow: visible;
    position: relative;
    transition: height 0.5s ease;
}

.baseline {
    width: 100%;
    height: 1.5px;
    background: #444;
    flex-shrink: 0;
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
}

.bar-value {
    font-weight: 500;
}

.bar-col-neg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    position: relative;
}

.bar-value-neg {
    color: #f08080;
    margin-top: 8px;
}

.bar-body {
    width: 80px;
    border-radius: 5px 5px 0 0;
    height: 0px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.bar-body-neg {
    width: 80px;
    border-radius: 0 0 5px 5px;
    height: 0px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.bar-body.teal {
    /*background: linear-gradient(180deg, #0f6469 0%, #005D61 100%);*/
    background: linear-gradient(180deg, #17959d 0%, #128089 100%);
}

.bar-body.coral {
    background: linear-gradient(180deg, #E3644B 0%, #c8533b 100%);
}

.bar-body.silver {
    background: linear-gradient(180deg, #b8b8b0 0%, #787870 100%);
}

.bar-body-neg.teal-neg {
    /*background: linear-gradient(180deg, #005D61 0%, #005D61 100%);*/
    background: linear-gradient(180deg, #128089 0%, #128089 100%);
}

.bar-body-neg.silver-neg {
    background: linear-gradient(180deg, #b8b8b0 0%, #787870 100%);

}

.bar-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    box-shadow:
        inset 5px 0 10px rgba(255, 255, 255, 0.12),
        inset -5px 0 10px rgba(0, 0, 0, 0.35),
        inset 0 5px 10px rgba(255, 255, 255, 0.08),
        inset 0 -5px 10px rgba(0, 0, 0, 0.2),
        8px 6px 14px rgba(0, 0, 0, 0.45);
}

.tabs-bar {
    background: #262626;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    margin-top: 14px;
    gap: 2px;
    flex-wrap: wrap;
    column-gap: 20px;
}

.tab {
    color: white;
    cursor: pointer;
    transition:
        color 0.2s,
        background 0.2s;
    user-select: none;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 0;
}

.tab:hover {
    color: #aaa;
}

.tab.active {
    color: #e8e2d8;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.legend-bar {
    background: #262626;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 12px 24px;
    margin-top: 12px;
}

.legend-items {
    display: flex;
    gap: 18px;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c0bbb4;
}

.legend-swatch {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}

.swatch-teal {
    /*background: #005D61;*/
    background: #128089;
}

.swatch-silver {
    background: #a0a09a;
}

.legend-date {
    font-size: 14px;
    color: #ccc;
}

.legend-bar p {
    margin-bottom: 0;
}

@media (min-width: 1200.99px) {
    .charts-grid {
        gap: 10.981vw;
    }

    .chart-panel {
        border-radius: 1.042vw;
        padding: 1.823vw;
    }

    .chart-panel h5 {
        margin-bottom: 1.098vw;
    }

    .bars-wrapper-positive {
        gap: 1.693vw;
        height: 16.276vw;
    }

    .bars-wrapper-negative {
        gap: 1.693vw;
        height: 16.276vw;
    }

    .baseline {
        height: 0.098vw;
    }

    .bar-value {
        margin-bottom: 0.521vw;
    }

    .bar-value-neg {
        margin-top: 0.586vw;
    }

    .bar-body {
        width: 5.857vw;
        border-radius: 0.326vw 0.326vw 0 0;
    }

    .bar-body-neg {
        width: 5.208vw;
        border-radius: 0 0 0.326vw 0.326vw;
    }

    .tabs-bar {
        margin-top: 0.781vw;
        border-radius: 0.977vw;
        padding: 0.781vw 1.563vw;
        column-gap: 1.302vw;
    }

    .legend-bar {
        margin-top: 0.781vw;
        border-radius: 0.977vw;
        padding: 0.781vw 1.563vw;
    }

    .legend-items {
        gap: 0.651vw;
    }

    .legend-date,
    .legend-date span {
        font-size: 0.911vw;
        gap: 0.521vw;
    }

    .legend-swatch {
        width: 1.172vw;
        height: 1.172vw;
        border-radius: 0.195vw;
    }
}


/* --------------------------------------------------------------------------- */

/* Overlay */
.custom-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;

    opacity: 0;
    visibility: hidden;
    transition: .35s ease;
}

/* Active State */
.custom-popup.active {
    opacity: 1;
    visibility: visible;
}

/* Lock background page scroll while any popup is open */
body.popup-open {
    overflow: hidden;
}

/* Popup Box */
.popup-box {
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    background: #111;
    border-radius: 24px;
    padding: 35px 30px;
    position: relative;
    transition: .35s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}

.custom-popup.active .popup-box {
    transform: translateY(0);
}

/* Close Button */
.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.SignIn .border-bottom-only {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #666;
    border-radius: 0;
    padding: 18px 0;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.SignIn .border-bottom-only::placeholder {
    color: rgba(255, 255, 255, .7);
}

.SignIn .border-bottom-only:focus {
    border-bottom: 1px solid #E3644B;
    box-shadow: none;
}

/* Button */
.popup-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 50px;
    background: #E3644B;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.popup-btn:hover {
    background: #cf5239;
}

/* Mobile */
@media (max-width: 576px) {

    .popup-box {
        width: calc(100% - 30px);
        padding: 30px 20px;
        border-radius: 18px;
    }

    .popup-header h2 {
        font-size: 26px;
    }

    .popup-btn {
        height: 48px;
    }
}

@media (min-width:1200px) {

    /* Popup Box */
    .popup-box {
        max-width: 30.747vw;
        border-radius: 1.757vw;
        padding: 2.562vw 2.196vw;
        transform: translateY(2.196vw);
        box-shadow: 0 1.464vw 3.66vw rgba(0, 0, 0, .4);
    }


    /* Close Button */
    .close-popup {
        top: 1.098vw;
        right: 1.464vw;
        font-size: 2.05vw;
    }

    .SignIn .border-bottom-only {
        padding: 1.318vw 0;
        font-size: 1.098vw;
    }

    /* Button */
    .popup-btn {
        height: 3.807vw;
        border-radius: 3.66vw;
        font-size: 1.171vw;
    }
}

/* --------------------------------------------------- */

.otp-check {
    width: 70px;
    height: 70px;
    background: #E3644B;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.otp-boxes {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.otp-input {
    width: 55px;
    height: 55px;
    border: 1px solid #444;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    font-size: 24px;
    border-radius: 12px;
    outline: none;
    transition: .3s;
}

.otp-input:focus {
    border-color: #E3644B;
    box-shadow: 0 0 15px rgba(227, 100, 75, .3);
}

.otp-resend {
    margin-top: 15px;
    color: #999;
    font-size: 14px;
}

.otp-resend a {
    color: #E3644B;
    text-decoration: none;
}

@media(max-width:576px) {

    .otp-input {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .otp-boxes {
        gap: 8px;
    }
}

@media (min-width:1200px) {

    .otp-check {
        width: 5.124vw;
        height: 5.124vw;
        font-size: 2.196vw;
        margin: 0 auto 1.464vw;
    }

    .otp-boxes {
        gap: 0.878vw;
    }

    .otp-input {
        width: 4.026vw;
        height: 4.026vw;
        font-size: 1.757vw;
        border-radius: 0.878vw;
    }

    .otp-input:focus {
        box-shadow: 0 0 1.098vw rgba(227, 100, 75, .3);
    }

    .otp-resend {
        margin-top: 1.098vw;
        font-size: 1.025vw;
    }

}



/* -------------------------------------------------------- */


.InvestmentPopup-box {
    width: 100%;
    max-width: 600px;
    height:fit-content;
    max-height: 80vh;
    background: #111;
    border-radius: 24px;
    padding: 35px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}


#step1,
#step2,
#investmentStep1,
#investmentStep2,
#investmentStep3 {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 10px;
}

/* Optional: Nice scrollbar */
#step1::-webkit-scrollbar,
#step2::-webkit-scrollbar,
#investmentStep1::-webkit-scrollbar,
#investmentStep2::-webkit-scrollbar,
#investmentStep3::-webkit-scrollbar {
    width: 6px;
}

#step1::-webkit-scrollbar-thumb,
#step2::-webkit-scrollbar-thumb,
#investmentStep1::-webkit-scrollbar-thumb,
#investmentStep2::-webkit-scrollbar-thumb,
#investmentStep3::-webkit-scrollbar-thumb {
    background: #E3644B;
    border-radius: 10px;
}

#step1::-webkit-scrollbar-track,
#step2::-webkit-scrollbar-track,
#investmentStep1::-webkit-scrollbar-track,
#investmentStep2::-webkit-scrollbar-track,
#investmentStep3::-webkit-scrollbar-track {
    background: #222;
}


.cta.active {
    background: #E3644B;
    color: #fff;
}

.form-group p {
    margin-bottom: 0;
}


.InvestmentPopup-box .text-danger {
    color: #ff6b5c;
}

/*.InvestmentPopup-box .popup-btn,*/
/*.InvestmentPopup-box .cta.active {*/
/*    background: #b8503a;*/
/*}*/

.InvestmentPopup-box .popup-btn,
.InvestmentPopup-box .cta.active,
#otpPopup .popup-btn {
    background: #b8503a;
}

.InvestmentPopup-box .form-check-input:focus {
    box-shadow: none;
    outline: 2px solid #ff6b5c;
    outline-offset: 2px;
}



.popup-progress {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #555;
    background: #222;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: .35s;
}

.progress-step span {
    margin-top: 10px;
    color: #777;
    font-size: 12px;
    line-height: 1.3;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #333;
    margin: 20px 0px 0;
}

/* Active */

.progress-step.active .step-circle {
    background: #E3644B;
    border-color: #E3644B;
    color: #fff;
}

.progress-step.active span {
    color: #fff;
}

/* Completed */

.progress-step.completed .step-circle {
    background: #E3644B;
    border-color: #E3644B;
    color: #fff;
}

.progress-step.completed+.step-line {
    background: #E3644B;
}

#jointFields .holding-content {
    padding: 20px 10px;
    border: 1px solid #464646;
    border-radius: 12px;
    margin-bottom: 12px;
}

#jointFields .holding-content:last-child {
    margin-bottom: 0;
}

.otp-fields {
    padding:10px 0px;
}

@media (min-width:1200px) {
    .InvestmentPopup-box {
        max-width: 43.924vw;
        border-radius: 1.757vw;
        padding: 2.562vw 2.196vw;
        box-shadow: 0 1.464vw 3.66vw rgba(0, 0, 0, .4);
    }

    #step1,
    #step2,
    #investmentStep1,
    #investmentStep2,
    #investmentStep3 {
        padding-right: 0.732vw;
    }

    /* Optional: Nice scrollbar */
    #step1::-webkit-scrollbar,
    #step2::-webkit-scrollbar,
    #investmentStep1::-webkit-scrollbar,
    #investmentStep2::-webkit-scrollbar,
    #investmentStep3::-webkit-scrollbar {
        width: 0.439vw;
    }

    #step1::-webkit-scrollbar-thumb,
    #step2::-webkit-scrollbar-thumb,
    #investmentStep1::-webkit-scrollbar-thumb,
    #investmentStep2::-webkit-scrollbar-thumb,
    #investmentStep3::-webkit-scrollbar-thumb {
        border-radius: 0.732vw;
    }

    .step-circle {
        width: 3.075vw;
        height: 3.075vw;
        border-radius: 50%;
        border: 0.146vw solid #555;
        font-size: 1.171vw;
    }

    .progress-step span {
        margin-top: 0.732vw;
        font-size: 0.878vw;
    }

    .step-line {
        height: 0.146vw;
        margin: 1.464vw 0.878vw 0;
    }

    #jointFields .holding-content {
        padding: 1.464vw 0.732vw;
        border-radius: 0.878vw;
        margin-bottom: 0.878vw;
    }

    .otp-fields {
    padding:0.732vw 0px;
}
}

@media (max-width: 768px) {
    .InvestmentPopup-box {
        max-width: 90%;
        max-height: 90vh;
        padding: 30px 20px;
    }

    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .close-popup {
    top: 10px;
}

    .popup-progress {
        width: 90%;
    }
    .progress-step p{
        font-size: 12px;
        max-width: 80px;
}

    .step-circle {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

        #step1,
    #step2,
    #investmentStep1,
    #investmentStep2,
    #investmentStep3 {
        padding-right: 0px;
    }

        /* Optional: Nice scrollbar */
    #step1::-webkit-scrollbar,
    #step2::-webkit-scrollbar,
    #investmentStep1::-webkit-scrollbar,
    #investmentStep2::-webkit-scrollbar,
    #investmentStep3::-webkit-scrollbar {
        width:0px;
      color:transparent;
    }
    .otp-fields .otp-input {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 8px;
    }

}

/* ===== Moved from index.html's inline <style> block ===== */
        .bannerSec {
            position: relative;
            z-index: 1;
            height: 100vh;
            /*padding: 0 !important;*/
            display:flex;
            align-items:center;
            justify-content:center;
            overflow: hidden;
        }

        /* ================= GREY BLOB ANIMATED BACKGROUND =================
           Ambient drifting/breathing blobs + slow rotating conic sweep.
           Sits behind the banner content (.boxesRow) — the white boxes are
           untouched. Source component: new/grey-blob-background.html */
        .bannerSec .heroAbstract {
            position: absolute;
            inset: 0;
            overflow: hidden;
            z-index: 0;
            background: #0a0b0c;
            pointer-events: none;
            /* Keep the blob repaints from invalidating the rest of this heavy
               page — without this the drift/sweep stutters. */
            contain: paint;
        }
        /* The banner's old black 0.7 overlay is a leftover from the video
           background. It sits under the blobs now and only costs an extra
           full-screen composited layer, so switch it off for this banner. */
        .bannerSec::before {
            display: none;
        }
        .bannerSec .heroAbstract::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent 0%, transparent 40%, #000 92%);
            pointer-events: none;
            z-index: 2;
        }
        .heroAbstract .blob {
            position: absolute;
            filter: blur(35px);
            transform-origin: center center;
            will-change: transform, opacity;
            mix-blend-mode: screen;
            backface-visibility: hidden;
        }
        /* Same brightness the JS applies. Declaring it in CSS too means the
           first paint already looks right — otherwise blob-1/blob-2 flash
           bright until the script runs (on this page that is a long wait). */
        .heroAbstract .blob-1,
        .heroAbstract .blob-2 {
            filter: blur(35px) brightness(0.35);
        }
        .heroAbstract .blob-1 {
            width: 85vw; height: 60vw; left: -25vw; bottom: -30vw;
            border-radius: 42% 58% 65% 35% / 55% 45% 55% 45%;
            background: radial-gradient(ellipse at 40% 35%, #e2e6ea 0%, #9aa0a6 30%, #3c4043 55%, transparent 76%);
            opacity: 0.7;
        }
        .heroAbstract .blob-2 {
            width: 65vw; height: 50vw; right: -20vw; top: -20vw;
            border-radius: 60% 40% 45% 55% / 40% 55% 45% 60%;
            background: radial-gradient(ellipse at 55% 45%, #b9bec4 0%, #565b60 35%, #24272a 60%, transparent 78%);
            opacity: 0.65;
        }
        .heroAbstract .blob-3 {
            width: 52vw; height: 52vw; left: 50%; top: 50%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            background: radial-gradient(circle, #f0f3f6 0%, #b0b6bc 28%, #4a4e52 52%, transparent 72%);
            opacity: 0;
        }
        .heroAbstract .sweep {
            position: absolute;
            inset: -20%;
            background: conic-gradient(from 0deg at 50% 50%,
                transparent 0deg,
                rgba(200,205,210,0.14) 60deg,
                transparent 140deg,
                transparent 220deg,
                rgba(150,156,162,0.20) 300deg,
                transparent 360deg);
            mix-blend-mode: screen;
            will-change: transform;
            transform: translateZ(0);
        }
        @media (prefers-reduced-motion: reduce) {
            .heroAbstract .blob,
            .heroAbstract .sweep {
                will-change: auto;
            }
        }
        /* Banner content must stay above the animated background. */
        .bannerSec .boxesRow {
            position: relative;
            z-index: 2;
        }
        /* =============== END GREY BLOB BACKGROUND =============== */

        .bannerSec::before {
            content: "";
            position: absolute;
            inset: 0;
            background: #000;
            opacity: 0.7;
        }

        .bannerSec video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            object-fit: cover;
        }

        .boxesColRow {
            --bs-gutter-x: 0;
            --bs-gutter-y: 0;
        }

        .boxesColRow .col {
            color: transparent;
            scale: 0;
        }

.boxesRow{
    width:100%;
    /* min-height:100vh; */
    /*height:90vh;*/

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

    padding:20px;
    box-sizing:border-box;
}

.boxesColRow{

    --size: 20vw;
    --gap:clamp(10px,2vw,20px);
    /* breathing room between the frame and the boxes */
    --frame-pad:clamp(14px,1.8vw,30px);

    display:grid;

    grid-template-columns:repeat(4,var(--size));
    grid-template-rows:repeat(2,var(--size));

    gap:var(--gap);

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

    /* glowing glass frame removed — keep only spacing around the box grid */
    padding:var(--frame-pad);
}

@media (min-width:1200px){
    .boxesColRow{
    --size: 16vw;
    grid-template-columns:repeat(4,var(--size));
    grid-template-rows:repeat(2,var(--size));
        gap:2.196vw;
}
}
@media (max-width:576px){

    .boxesColRow{

        /* --size:min(27vw); */
        --size:min(140px);

        grid-template-columns:repeat(2, var(--size));
        grid-template-rows:repeat(4, var(--size));
        gap:20px;
    }
    
        .whiteBox.subheading {
        font-size: 18px !important;
        padding: 8px;
        gap: 0.1em;
        line-height: 1.1;
    }


}


@media (max-width:450px){

    .boxesColRow{

        /* --size:min(27vw); */
        --size:min(130px);

        grid-template-columns:repeat(2, var(--size));
        grid-template-rows:repeat(4, var(--size));
        gap:20px;
    }
    
        .whiteBox.subheading {
        font-size: 16px !important;
    }


}



    .title-cycle {
      position: relative;
      display: block;
      min-height: 2.4em;
    }
    .title-item {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      margin: 0;
      opacity: 0;
      transform: translateY(40px);
      pointer-events: none;

      /* Glow Effect */
      color: #fff;
      text-shadow:
        0 0 5px rgba(255, 255, 255, 0.7),
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 15px rgba(255, 255, 255, 0.2);
    }

    .msg-cycle {
  position: relative;
  min-height: 3em; /* increase if lines wrap */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.msg-item {
  position: absolute;
  width: 100%;          /* take full parent width */
  left: 0;
  right: 0;
  margin: 0;
  font-size: inherit;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  text-shadow: none;
  pointer-events: none;

  /* Allow wrapping */
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  text-align: center;
}





/* ---------------------------------------------------------------------------
   Home banner white boxes - mobile/tablet tuning (<768px)
   The label boxes shrink to ~100px square below 576px, but .whiteBox.subheading
   kept the desktop type scale (calc(1.25rem + 0.4vw) = ~21.5px at 390px) and a
   20px/10px padding, so "DATA is Insight" broke onto three lines and filled the
   box edge to edge. The .whiteBox { font-size: 8px } in the <1200px block above
   never applied to these - .whiteBox.subheading outranks it.
   The banner is height:100vh with `padding: 0 !important`, hence the
   !important on the top padding here; it lifts the grid clear of the fixed
   header, which was overlapping the top row on small screens.
   --------------------------------------------------------------------------- */
@media (width < 768px) {
    .bannerSec {
        /*padding-top: 70px !important;*/
    }

    .whiteBox.subheading {
        font-size: calc(0.5rem + 1vw);
        padding: 8px;
        gap: 0.1em;
        line-height: 1.1;
    }

    .whiteBox .boxHead {
        line-height: 1.1;
        letter-spacing: 0.2px;
    }
}



