
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Main Content Styles */
.text-center.stack {
    position: relative;
    z-index: 1;
    background: transparent;
}


/* Header Section */
.header-hero-svg {
    position: relative;
    width: 100%;
    padding: 50px 0;
    overflow: hidden;
    margin-top: -5rem;
}

/* Button Styles */
.rounded-button-jl {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(20px, 2.5vw, 28px);
    color: black;
    border: 3px solid black;
    border-radius: 9999px;
    padding: clamp(8px, 1.5vw, 12px) clamp(16px, 3vw, 24px);
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 16px);
    cursor: pointer;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-decoration: none;
}

.rounded-button-jl:hover {
    background-color: black;
    color: white !important;
    transform: translateY(-2px);
    text-decoration: none;
}

.rounded-button-jl:hover svg {
    fill: white;
}

.rounded-button-jl:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.overlay-text .rounded-button-jl {
    scale: 60%;
    color: white;
    margin-top: 1rem;
    border: white solid 3px;
    background: transparent;
}

/* Services Section */
.services-section {
    position: relative;
    margin-top: 5rem;
    padding: 0 clamp(2%, 5%, 5%);
}
.jl-text, .studios-text {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 900;
    margin: 0;
    color: black;
}

.about_us {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 900;
    margin: 0;
    color: white;
}

#about_us_2 {
    margin-top: clamp(-5rem, -30vh, -30vh);
    margin-left: clamp(10%, 20%, 20%);
}

.studios-text {
    margin-top: clamp(-3rem, -15vh, -15vh);
    margin-left: clamp(10%, 20%, 20%);
}

.jl-text {
    margin-left: clamp(2%, 5%, 5%);
}

.rotating-arrow {
    position: absolute;
    right: 25%;
    top: 67%;
    transform: translateY(-50%) rotate(180deg);
    width: clamp(80px, 10vw, 140px);
    height: clamp(80px, 10vw, 140px);
    transition: transform 0.3s ease;
    z-index: 10;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.rotating-arrow svg {
    width: 100%;
    height: 100%;
}

#about_us_3:hover {
    border: white solid 3px;
}

/* Scroll Reveal Sections */
.revealing-boxes {
    position: relative;
    height: 400vh;
    background: transparent;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-section {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: clamp(30px, 5vw, 60px);
    width: clamp(90%, 85%, 85%);
    min-height: clamp(500px, 60vh, 730px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    overflow: hidden;
    will-change: transform, opacity;
    contain: layout style;
}

.horizontal-section{
        position: absolute;
    top: 50%;
    left: 50%;
    border-radius: clamp(30px, 5vw, 60px);
    width: clamp(90%, 85%, 85%);
    min-height: clamp(500px, 60vh, 730px);
    background: rgba(255, 255, 255, 0.95)!important;
    backdrop-filter: blur(10px);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    overflow: hidden;
    will-change: transform, opacity;
    contain: layout style;
}

#card-1{
        transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 1;
    z-index: 10;

    max-width: clamp(90%, 70%, 30%)!important;
}
#card-2{
        transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 1;
    z-index: 10;

}
#card-3{
        transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 1;
    z-index: 10;

}

#wegengineering {
    transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 1;
    z-index: 10;
}

#seo, #hosting {
    transform: translate3d(-50%, 150%, 0) scale(0.7);
    opacity: 0;
    z-index: 1;
}

.service-section.active {
    z-index: 10;
}
.text-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 45% !important;
}

.text-column h1 {
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 8rem);
    letter-spacing: 0.02em;
    color: black;
    margin: clamp(2rem, 5vw, 5rem) 0 0 0;
    line-height: 1.2;
    width: 90% !important;
    contain: style;
}

.text-column p {
    font-family: 'Helvetica Neue', sans-serif;
    margin-top: clamp(1.5rem, 3vw, 3rem);
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    margin-left: .5rem;
    width: 90% !important;
    contain: style;
}

.text-column a {
    justify-self: end;
    margin-top: clamp(3rem, 6vw, 6rem) !important;
}
.video-boxes {
    background: white;
    width: 45% !important;
    border-radius: 0 150px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    contain: layout;
    will-change: contents;
}

.video-boxes video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 150px 0 0;
    will-change: auto;
}


/* Enhanced Content Section with Responsive Design */
.content-section {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
    position: relative;
    background-color: black;
    padding: clamp(2rem, 5vw, 4rem) clamp(2%, 5%, 5%);
}

.content-section .left-column {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.content-section .right-column {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    text-align: justify;
    color: white;
    align-items: center;
}

.content-section p {
    font-family: 'Arial', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    font-weight: bold;
}



.horizontal-section.text-column h1 {
    font-weight: 900;
    font-size: clamp(1.5rem, 5vw, 5rem);
    letter-spacing: 0.02em;
    color: black;
    margin: clamp(2rem, 5vw, 5rem) 0 0 0;
    line-height: 1.2;
    width: 90% !important;
    contain: style;
}

.horizontal-section.text-column p {
    font-family: 'Helvetica Neue', sans-serif;
    margin-top: clamp(1.5rem, 3vw, 3rem);
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    margin-left: .5rem;
    width: 90% !important;
    contain: style;
}


/* Enhanced Grid with Responsive Design and Minimum Widths - PRESERVING ORIGINAL RELATIONSHIPS */
.parent div {
    border-radius: 0px;
    position: relative;
    contain: layout style paint;
    min-height: 150px; /* Ensure minimum height for all grid items */
}

.parent {
    display: grid;
    grid-template-columns: repeat(10, 1fr); /* ORIGINAL: Preserve exact 10-column layout */
    grid-template-rows: repeat(12, 1fr);    /* ORIGINAL: Preserve exact 12-row layout */
    gap: clamp(8px, 2vw, 14px);
    min-height: 85vh;
    margin: 0 clamp(2%, 3%, 3%);
    justify-content: center;
    margin-top: clamp(-5rem, -10rem, -10rem);
    /* Prevent over-stretching by limiting container width */

}

/* ORIGINAL GRID POSITIONING - PRESERVED EXACTLY */
.div1 {
    grid-column: span 3 / span 3;      /* ORIGINAL: 3 columns wide */
    grid-row: span 9 / span 9;         /* ORIGINAL: 9 rows tall */
    grid-column-start: 1;              /* ORIGINAL: starts at column 1 */
    grid-row-start: 4;                 /* ORIGINAL: starts at row 4 */
}

.div2 {
    grid-column: span 7 / span 7;      /* ORIGINAL: 7 columns wide */
    grid-row: span 3 / span 3;         /* ORIGINAL: 3 rows tall */
    grid-column-start: 4;              /* ORIGINAL: starts at column 4 */
    grid-row-start: 10;                /* ORIGINAL: starts at row 10 */
}

.div5 {
    grid-column: span 6 / span 6;      /* ORIGINAL: 6 columns wide */
    grid-row: span 3 / span 3;         /* ORIGINAL: 3 rows tall */
    grid-column-start: 1;              /* ORIGINAL: starts at column 1 */
    grid-row-start: 1;                 /* ORIGINAL: starts at row 1 */
}

.div6 {
    grid-column: span 4 / span 4;      /* ORIGINAL: 4 columns wide */
    grid-row: span 3 / span 3;         /* ORIGINAL: 3 rows tall */
    grid-column-start: 7;              /* ORIGINAL: starts at column 7 */
    grid-row-start: 1;                 /* ORIGINAL: starts at row 1 */
}

.div7 {
    grid-column: span 4 / span 4;      /* ORIGINAL: 4 columns wide */
    grid-row: span 6 / span 6;         /* ORIGINAL: 6 rows tall */
    grid-column-start: 4;              /* ORIGINAL: starts at column 4 */
    grid-row-start: 4;                 /* ORIGINAL: starts at row 4 */
}

.div8 {
    grid-column: span 3 / span 3;      /* ORIGINAL: 3 columns wide */
    grid-row: span 6 / span 6;         /* ORIGINAL: 6 rows tall */
    grid-column-start: 8;              /* ORIGINAL: starts at column 8 */
    grid-row-start: 4;                 /* ORIGINAL: starts at row 4 */
}

/* Overlay pseudo-elements with unique colors for each div */
.div1::before,
.div2::before,
.div5::before,
.div6::before,
.div7::before,
.div8::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
    border-radius: 0px;
    background-color: rgba(58, 23, 147, 0.45);
}

/* Show overlay on hover */
.div1:hover::before,
.div2:hover::before,
.div5:hover::before,
.div6:hover::before,
.div7:hover::before,
.div8:hover::before {
    opacity: 1;
}

/* Style for text content inside the divs */
.parent div .overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    color: white;
    font-family: "Bebas Neue", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(1rem, 2vw, 1.5rem);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.parent div .overlay-text h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.parent div .overlay-text p {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
    opacity: 0.9;
}

/* Show text on hover */
.div1:hover .overlay-text,
.div2:hover .overlay-text,
.div5:hover .overlay-text,
.div6:hover .overlay-text,
.div7:hover .overlay-text,
.div8:hover .overlay-text {
    opacity: 1 !important;
}

.div1:hover #div1,
.div2:hover #div2,
.div5:hover #div5,
.div6:hover #div6,
.div7:hover #div7,
.div8:hover #div8 {
    opacity: 0 !important;
}


/* Enhanced FAQ with Responsive Design */
.faq_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(20px, 5vw, 40px) clamp(2%, 5%, 5%);
    min-height: 800px;
    background:black!important;
    margin-top:0!important;
}
faq_h1 {
    font-size: clamp(3rem, 8vw, 84px);
    margin-bottom: clamp(20px, 4vw, 40px);
    text-align: center;
    width: 100%;
    max-width: 820px;
}

.faq {
    border-top: 1px solid white;
    width: 100%;
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid white;
    cursor: pointer;
    padding: clamp(15px, 2vw, 20px) 0;
}

.faq-question {
    display: flex;
    align-items: center;
    font-size: clamp(18px, 3vw, 28px);
    text-transform: uppercase;
}

.faq-icon {
    font-size: clamp(30px, 5vw, 45px);
    line-height: 20px;
    margin-right: clamp(10px, 2vw, 20px);
    font-weight: bold;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 clamp(20px, 5vw, 48px);
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.6;
    font-family: sans-serif;
    color: white;
    transition: max-height 0.25s ease-out, opacity 0.2s ease-out, padding 0.25s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding: 15px clamp(20px, 5vw, 48px);
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in, padding 0.4s ease-in-out;
}

.faq-item.active .faq-icon {
    content: "×";
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in, padding 0.4s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

.long-text:hover {
    border: 2px solid white;
}
.rounded-button-jl {
    /* Ensure the link behaves like a button */
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rounded-button-jl:hover {
    /* Add hover effects */
    transform: translateY(-2px);
    text-decoration: none;
}
.rounded-button-jl:hover svg{
    /* Add hover effects */
    fill: white;
}

.rounded-button-jl:focus {
    /* Add focus styles for accessibility */
    outline: 2px solid #007bff;
    outline-offset: 2px;
}


.head p {
    color: black;
    font-size: clamp(3rem, 12vw, 170px);
    line-height: 1.2;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 500;
    margin: 0;
}
.small-text {
    position: absolute;
    font-size: clamp(16px, 2.5vw, 33px) !important;
    text-align: justify !important;
    font-family: 'Inter', sans-serif !important;
    width: clamp(200px, 30%, 400px) !important;
    font-weight: 350 !important;
    margin-left: clamp(50%, 63%, 70%) !important;
    margin-top: clamp(-8rem, -20vw, -25rem) !important; /* Changed from -5rem, -12vw, -18rem */
    line-height: 1.4 !important;
}

#head-1{
    margin-left: 10%;
}
#head-2{
    margin-left: 18%;
}
#head-3{
    margin-left: 23%;
}
#head-4{
    margin-left: 11%;
}

#arrowdiv {
    position: absolute;
    top: clamp(120px, 15vw, 190px);
    right: clamp(50px, 15vw, 200px);
    width: clamp(60px, 12vw, 175px);
    height: clamp(60px, 12vw, 175px);
    z-index: 1000;
    transition: transform 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@media (max-width: 1640px) {
    .head p {
        font-size: 8.5rem;
    }
    .small-text{font-size: 25px!important;
    margin-left: 63%;
    width: 20%;
        margin-top: -7rem;
    }
    #arrowdiv{
        top: 160px;
    right: 220px;
    width: 125px;
    height: 125px;
    }
}

/* Small Desktop */
@media (max-width: 1200px) {
    .head p {
        font-size: 7.5rem;
    }
    .small-text{ font-size: 23px!important;
    margin-left: 73%;

    }
    #arrowdiv{
        top: 180px;
    right: 130px;
    width: 110px;
    height: 110px;
    }
}

/* Narrow Desktop / Large Tablet */
@media (max-width: 992px) {
    .head p {
        font-size: 6.5rem;
    }
    .small-text{ font-size: 18px!important;
    margin-left: 73%;}
    #arrowdiv{
        top: 170px;
    right: 100px;
    width: 90px;
    height: 90px;
    }
}

.natgeo-highlight {
    color: black;
    text-decoration: none;
    background-position-y: 0%;
    background-image: linear-gradient(rgba(255, 255, 255, 0) 50%, #FFD700 50%);
    transition: background 500ms ease;
    background-size: auto 175%;
    font-weight: inherit;
    cursor: pointer;
    display: inline;
}

.natgeo-highlight:hover {
    background-position-y: 100%;
}

/* Color variations */
.natgeo-blue {
    background-image: linear-gradient(rgba(255, 255, 255, 0) 50%, #87CEEB 50%);
}

.natgeo-green {
    background-image: linear-gradient(rgba(255, 255, 255, 0) 50%, #90EE90 50%);
}

.natgeo-orange {
    background-image: linear-gradient(rgba(255, 255, 255, 0) 50%, #FFA500 50%);
}

.natgeo-red {
    background-image: linear-gradient(rgba(255, 255, 255, 0) 50%, #FF6B6B 50%);
}

.natgeo-purple {
    background-image: linear-gradient(rgba(255, 255, 255, 0) 50%, #d285d2 50%);
}
.natgeo-white {
    background-image: linear-gradient(rgba(255, 255, 255, 0) 50%, #ffffff 50%);
}


.your-container-with-background {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 2/3;
    margin: 0 auto;
}

.your-container-with-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-mask-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    text-align: end;
}

.text-mask-svg {
    width: 100%;
    height: 100%;
    display: block;
    transform: rotate(270deg) scale(154%) translate(0,16%);
    transform-origin: center;
    text-align: end;
}
@media (min-width: 1441px) {
    .content-section {
        flex-direction: row;
        align-items: flex-start;
    }

    .content-section .left-column {
        flex: 1;
        max-width: 30%;
        margin-left: 6rem;
        margin: 0;
    }

    .content-section .right-column {
        flex: 1.5;
        margin: 3rem 5% 0 15%;
    }
}

/* Desktop */
@media (min-width: 992px) and (max-width: 1440px) {
    .content-section {
        flex-direction: row;
        align-items: flex-start;
    }

    .content-section .left-column {
        flex: 1;
        max-width: 35%;
        margin-left: 4rem;
    }

    .content-section .right-column {
        flex: 1.5;
        margin: 2rem 3% 0 10%;
    }

    .parent {
        grid-template-columns: repeat(10, 1fr);
        grid-template-rows: repeat(12, 1fr);
    }
}

/* Tablet and below */
@media (max-width: 992px) {
    .service-section {
        flex-direction: column !important;
        gap: 1.5rem !important;
        min-height: 500px !important;
    }

    .text-column, .video-boxes {
        width: 100% !important;
    }

    .text-column h1 {
        text-align: center !important;
        margin-top: 1rem !important;
    }

    .video-boxes {
        height: 250px !important;
        border-radius: 30px !important;
    }

    .video-boxes video {
        border-radius: 30px !important;
    }

    .parent {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        margin-top: -5rem !important;
    }
}

/* Mobile tablets */
@media (max-width: 768px) {
    .parent {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: -3rem !important;
    }

    .parent div {
        min-height: 200px !important;
        margin-bottom: 1rem !important;
    }

    .head {
        height: auto !important;
        min-height: 60vh !important;
        padding: 2rem 0 !important;
    }

    .small-text {
        position: static !important;
        width: 90% !important;
        margin: 2rem auto 0 !important;
        text-align: left !important;
        font-size: 18px !important;
    }

    #arrowdiv {
        position: static !important;
        margin: 2rem auto !important;
        width: 80px !important;
        height: 80px !important;
    }

    .head p {
        text-align: center !important;
        margin: 0.5rem 0 !important;
    }

    .services-section {
        padding: 0 5% !important;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .parent {
        margin-top: -2rem !important;
    }

    .your-container-with-background {
        max-width: 300px !important;
    }

    .dietary-toggle-btn {
        font-size: 18px !important;
        padding: 8px 16px !important;
    }
}

/* === ACCESSIBILITY & PERFORMANCE === */

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .dietary-toggle-btn {
        border: 2px solid ButtonText !important;
        background: ButtonFace !important;
        color: ButtonText !important;
    }
}

/* Print styles */
@media print {
    .gradient-container,
    .dietary-toggle-btn,


    .service-section {
        position: static !important;
        transform: none !important;
        page-break-inside: avoid !important;
    }
}
@media (max-width: 1640px) {
    .small-text {
        font-size: 25px!important;
        margin-left: 63%;
        width: 20%;
        margin-top: -12rem; /* Changed from -7rem */
    }
}

@media (max-width: 1200px) {
    .small-text {
        font-size: 23px!important;
        margin-left: 73%;
        margin-top: -10rem; /* Add this line */
    }
}

@media (max-width: 992px) {
    .small-text {
        font-size: 18px!important;
        margin-left: 73%;
        margin-top: -8rem; /* Add this line */
    }
}
#about_us_2 {
    margin-top: clamp(-12rem, -50vh, -50vh); /* Changed from -5rem, -30vh, -30vh */
    margin-left: clamp(10%, 20%, 20%);
}
 .kpi-section {
            background: #000;
            color: #fff;
            width: 100%;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            padding: 40px 20px;
        }

        .kpi-container {
            width: 100%;
            height: 100%;
            max-width: 100rem;
            padding: 60px 20px;
            text-align: crente;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: grab;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
        }

        .kpi-container:active {
            cursor: grabbing;
        }

        .kpi-card {
            position: absolute;
            top: 30%;
            left: 58%;
            width: 70%;
            height: 550px;
            background: rgba(20, 20, 20, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            backdrop-filter: blur(10px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 50px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            cursor: pointer;
        }

        .kpi-card.active {
            width: 70%;
            height: 550px;
        }

        .kpi-card:nth-child(1) {
            transform: translate(-65%, -50%) scale(1) translateZ(0);
            z-index: 3;
            opacity: 1;
        }

        .kpi-card:nth-child(2) {
            transform: translate(-55%, -50%) scale(0.95) translateZ(0);
            z-index: 2;
            opacity: 0.8;
        }

        .kpi-card:nth-child(3) {
            transform: translate(-45%, -50%) scale(0.9) translateZ(0);
            z-index: 1;
            opacity: 0.6;
        }

        .kpi-card.active {
            transform: translate(-65%, -50%) scale(1) translateZ(0);
            z-index: 3;
            opacity: 1;
        }

        .kpi-card.next {
            transform: translate(-55%, -50%) scale(0.95) translateZ(0);
            z-index: 2;
            opacity: 0.8;
        }

        .kpi-card.far {
            transform: translate(-45%, -50%) scale(0.9) translateZ(0);
            z-index: 1;
            opacity: 0.6;
        }

        .kpi-card.slide-out-right {
            transform: translate(120%, -50%) scale(0.8) translateZ(0);
            opacity: 0;
            z-index: 0;
        }

        .kpi-card.slide-in-left {
            transform: translate(-120%, -50%) scale(0.8) translateZ(0);
            opacity: 0;
            z-index: 0;
        }

       .kpi-stat {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #9333EA 0%, #2563EB 50%, #DB2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

        .kpi-title {
            font-size: clamp(1.5rem, 4vw, 2.2rem);
            font-weight: 700;
            margin-bottom: 25px;
            color: #fff;
            letter-spacing: -0.01em;
        }

        .kpi-description {
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            line-height: 1.6;
            color: #b0b0b0;
            margin-bottom: 40px;
        }

        .navigation-button {
            background: transparent;
            border: 2px solid #fff;
            color: #fff;
            padding: 15px 30px;
            font-size: 16px;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            position: relative;
            overflow: hidden;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
        }

        .navigation-button:hover {
            background: #fff;
            color: #000;
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
        }

        .navigation-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .navigation-button:hover::before {
            left: 100%;
        }

        .arrow-icon {
            width: 16px;
            height: 16px;
            transition: transform 0.3s ease;
        }

        .navigation-button:hover .arrow-icon {
            transform: rotate(90deg);
        }

        .progress-dots {
            display: none;
        }

        .swipe-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 8px;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            pointer-events: none;
        }

        .swipe-icon {
            width: 20px;
            height: 20px;
            opacity: 0.7;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .kpi-section {
                padding: 20px 10px;
            }

            .kpi-container {
                padding: 40px 20px;
            }

            .kpi-card {
                width: 350px;
                height: 480px;
                padding: 40px 30px;

            }

            .kpi-card:nth-child(2) {
                transform: translate(-50%, -50%) scale(0.9) translateZ(0);
            }

            .kpi-card:nth-child(3) {
                transform: translate(-40%, -50%) scale(0.8) translateZ(0);
            }

            .kpi-card.next {
                transform: translate(-50%, -50%) scale(0.9) translateZ(0);
            }

            .kpi-card.far {
                transform: translate(-40%, -50%) scale(0.8) translateZ(0);
            }

            .navigation-button {
                padding: 12px 24px;
                font-size: 14px;
            }

            .swipe-indicator {
                bottom: 20px;
                font-size: 12px;
            }
        }