@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

:root {
    --font-family: 'Montserrat';
    --bg-dark: #0d1117;
    --accent-teal: #00d4c8;
    --accent-cyan: #00aaff;
    --accent-red: #e84545;
    --text-primary: #e8edf2;
    --text-muted: #7a8fa6;
    --tab-border: rgba(255, 255, 255, 0.2);
}


html {
    overflow-x: clip;
    max-width: 100%;
}

body {
    background: linear-gradient(81.22deg, #00B2FF -38.22%, #000000 32.12%, #000000 34.13%, #000000 72.1%, #41FFEC 141.12%);
    background-attachment: fixed;
    overflow-x: clip;
    max-width: 100%;
}

h1 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 42px;
    line-height: 52px;
    background: linear-gradient(90deg, #FFFFFF 0%, #DADADA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

h1 span {
    background: linear-gradient(90deg, #00B2FF 0%, #41FFEC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;

}

p.description {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #DADADA;
    margin: 20px 0;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1160px;
    }
}

.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: -80px;
}

.hero-section p {
    max-width: 460px;
}

.hero-section .hero-slide {
    display: flex;
    align-items: center;
}

.hero-btn {
    position: relative;
    padding: 1px;
    margin-top: 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    line-height: 23px;
    color: #FFFFFF;
    background: #000;
    border: none;
    letter-spacing: 0;
    padding: 0.5px;
    background: #000;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    transform: perspective(500px) rotateY(-32deg) skewY(1.5deg);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.animated-btn {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    border-radius: 8px;
    padding: 1px;
    isolation: isolate;
    text-decoration: none;
}

.btn-bg {
    position: absolute;
    inset: -140%;
    z-index: -1;
    background: conic-gradient(from 90deg,
            transparent 0deg,
            transparent 220deg,
            #00B2FF 280deg,
            #41FFEC 320deg,
            transparent 360deg);
    animation: rotateBorder 3s linear infinite;
}

.btn-content {
    position: relative;
    z-index: 2;
    background: #0b0b0b;
    color: #DADADA;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0;
}

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

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

.hero-section .hero-image {
    position: relative;
    text-align: right;
}

.hero-section .hero-image img {
    height: 550px;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.05);
    position: relative;
    z-index: 1;
    bottom: -20px;
}

@media (max-width: 991px) {

    .hero-section .hero-image {
        text-align: center;
        margin-top: 40px;
    }

    .hero-section .hero-image img {
        height: 450px;
    }

}

@media (max-width: 767px) {
    h1 {
        font-size: 26px;
        line-height: 40px;
    }

    h2 {
        font-size: 24px;
        line-height: 35px;
    }

    h6 {
        font-size: 18px;
    }

    p.description {
        margin: 10px 0;
        max-width: 100%;
        font-size: 14px;
    }

    .hero-section {
        margin-top: 0;
    }

    .hero-section .hero-slide {
        padding-top: 0;
    }

    .hero-section .hero-slide .hero-content {
        order: 2;
        margin-bottom: 32px;
        text-align: center;
    }

    .hero-section .hero-image img {
        bottom: 15px;
    }

    .hero-image {
        margin-top: 0;
    }

    .hero-section .hero-image img {
        width: 300px;
        height: 100%;
    }

    .hero-btn {
        font-size: 12px;
    }
}
@media (max-width: 568px){
 .hero-section .hero-image img {
        width: 270px;
        height: 100%;
    }
}

/* ------service section- */

.services-section {
    position: relative;
    z-index: 1;
    padding: 64px 0 100px;
}

.tab-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    position: relative;
    z-index: 99;
    transition: all 0.3s ease;
}

.tab-scroll-wrap::-webkit-scrollbar {
    display: none;
}

.tab-scroll-wrap.tabs-fixed {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #000;
    padding: 15px 0;
    border-top: 2px solid #134a45;
}


.tab-scroll-wrap.tabs-fixed .tab-list {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-list {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.tab-btn {
    font-size: 15px;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--tab-border);
    background: transparent;
    color: #DADADA;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.35s ease;
    outline: none;
    font-family: var(--font-family);
}

.tab-btn.active {
    background: linear-gradient(
        90deg,
        rgb(0 178 255 / 10%) 0%,
        rgb(65 255 236 / 16%) 100%
    );

    border-color: transparent;
    color: #00B2FF;
}

.tab-panel {
    display: none;
    animation: fadeUp .7s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.service-label {
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
}

.service-headline {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--accent-red);
    margin-bottom: 10px;
    font-family: var(--font-family);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tag {
    font-size: 22px;
    font-weight: 400;
    color: #DADADA;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family);
}

.tag::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #DADADA;
}

.tag:first-child::before {
    display: none;
}

.service-body p {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 300;
    color: #DADADA;
    margin-bottom: 12px;
}

.deliver-heading {
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 500;
    color: #DADADA;
}

.sticky-scroll-container {
    position: relative;
    height: 280vh;
}

.scene-wrap {
    position: sticky;
    top: 21%;
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: visible;
}

.scene-inner {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    overflow: hidden;
    z-index: 1;
}

.scene-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(8, 12, 20, 0.85) 0%,
        rgba(8, 12, 20, 0.5) 40%,
        rgba(8, 12, 20, 0.1) 70%,
        transparent 100%
    );
}

.scene-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cards-area {
    position: absolute;
    inset: 0;
    z-index: 5;
    perspective: 1800px;
    overflow: visible;
}
.dynamic-card {
    position: absolute;
    top: 52%;
    left: 6%;
    width: 100%;
    max-width: 500px;
    min-height: 200px;
    border-radius: 28px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    overflow: hidden;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow:
        0 35px 90px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.08);
    transform: translateY(120px) scale(0.75) rotate(-10deg);
    transition: transform 0.8s cubic-bezier(.22,1,.36,1), opacity 0.6s ease;
    will-change: transform, opacity;
}

.dynamic-card.color-card {
    background: var(--card-gradient);
    border: none;
}

.dynamic-card.glass-card {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.18) 0%,
        rgba(255,255,255,.06) 100%
    );
    border: none;
}

/* .dynamic-card.revealed.card-1 {
    opacity: 1;
    z-index: 1;
    transform: translate(0px, -45%) scale(1) rotate(0deg) !important;
    top: 35%;
    left: 8%;
}

.dynamic-card.revealed.card-2 {
    opacity: 1;
    z-index: 2;
    transform: translate(25px, -54%) scale(0.97) rotate(-4deg) !important;
    top: 38%;
    left: 5%;
}

.dynamic-card.revealed.card-3 {
    opacity: 1;
    z-index: 3;
    transform: translate(50px, -63%) scale(0.94) rotate(3deg) !important;
     top: 41%;
    left: 3%;
}

.dynamic-card.revealed.card-4 {
    opacity: 1;
    z-index: 4;
    transform: translate(75px, -72%) scale(0.91) rotate(0deg) !important;
     top: 49%;
    left: 0%;
} */

@media(min-width:767px){


.scene-wrap.stage-1 .card-1{
    opacity:1;
    transform:translate(0,-50%) scale(1) rotate(0deg);
}

.scene-wrap.stage-2 .card-1{
    opacity:1;
    transform:translate(25px,-55%) scale(.96) rotate(-6deg);
}

.scene-wrap.stage-2 .card-2{
    opacity:1;
    transform:translate(0,-50%) scale(1) rotate(0deg);
     left: 8%;
}

.scene-wrap.stage-3 .card-1{
    opacity:1;
    transform:translate(50px,-60%) scale(.92) rotate(-10deg);
}

.scene-wrap.stage-3 .card-2{
    opacity:1;
    /* transform:translate(25px,-55%) scale(.96) rotate(5deg); */
    transform:translate(25px,-62%) scale(.96) rotate(5deg);
}

.scene-wrap.stage-3 .card-3{
    opacity:1;
    transform:translate(0,-50%) scale(1) rotate(0deg);
    left: 8%;
}

.scene-wrap.stage-4 .card-1{
    opacity:1;
    transform:translate(75px,-65%) scale(.88) rotate(-12deg);
}

.scene-wrap.stage-4 .card-2{
    opacity:1;
    transform:translate(50px,-60%) scale(.92) rotate(8deg);
}

.scene-wrap.stage-4 .card-3{
    opacity:1;
    transform:translate(25px,-55%) scale(.96) rotate(-10deg);
    left:9%;
    top: 54%;
}

.scene-wrap.stage-4 .card-4{
    opacity:1;
    transform:translate(0,-50%) scale(1) rotate(0deg);
    left: 8%;
    top: 55%;
}
/* .scene-wrap.stage-4.active-final .card-4{
    transform: translate(0,-45%) scale(1) rotate(6deg);
} */

.dynamic-card.revealed {
    animation: floatingCard 6s ease-in-out infinite alternate;
}

.dynamic-card.revealed.card-1 { animation-delay: 0s; }
.dynamic-card.revealed.card-2 { animation-delay: 0.3s; }
.dynamic-card.revealed.card-3 { animation-delay: 0.6s; }
.dynamic-card.revealed.card-4 { animation-delay: 0.9s; }

@keyframes floatingCard {
    0% { margin-top: 0px; }
    50% { margin-top: -8px; }
    100% { margin-top: 0px; }
}

}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.card-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255,255,255,.92);
}

@media(max-width:991px) {
    .scene-wrap {
        height: 380px;
        top: 28%;
    }

    .dynamic-card {
        max-width: 380px;
        min-height: 150px;
        left: 5%;
    }
     .tab-scroll-wrap.tabs-fixed .tab-list{
        justify-content: flex-start !important;
    }
}

@media(max-width:767px) {
    .services-section {
        padding: 40px 0;
        z-index: 1111;
    }
    .tab-scroll-wrap.tabs-fixed {
        top: 59px;
    }
    .service-headline {
        font-size: 26px;
    }

    .deliver-heading {
        font-size: 24px;
    }

    .tag {
        font-size: 16px;
    }

    .service-body p {
        font-size: 14px;
    }

    .sticky-scroll-container {
        height: 200vh;
    }

    .scene-wrap {
        height: 320px;
        top: 33%;
    }

    .dynamic-card {
        max-width: 280px;
        min-height: 120px;
        padding: 16px;
        border-radius: 20px;
        left: 4%;
    }

    .card-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .card-desc {
        font-size: 11px;
    }

    .card-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
    }

    .card-icon img {
        width: 16px;
        height: 16px;
    }

}

@media(max-width:480px) {
    .scene-wrap {
        height: 280px;
    }

    .dynamic-card {
        max-width: 220px;
        min-height: 100px;
        padding: 12px;
        border-radius: 16px;
        left: 3%;
    }

    .card-title {
        font-size: 11px;
    }

    .card-desc {
        font-size: 9px;
    }
}

/* ------timeline section------- */

.timeline-section {
    position: relative;
    padding-bottom: 100px;
}

.timeline-small-title {
    color: #fff;
    font-family: var(--font-family);
    font-size: 28px;
    letter-spacing: 1px;
    font-weight: 500;
}

.timeline-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
}

.timeline-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.main-wave {
    fill: none;
    stroke: url(#timelineGradient);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 2200;
    stroke-dashoffset: 2200;

}

@keyframes drawWave {
    from {
        stroke-dashoffset: 2200;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.timeline-section.animate .main-wave {
    animation: drawWave 5s ease-in-out forwards;
}

.timeline-section.animate .step-1 {
    animation: stepPop .8s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: .8s;
}

.timeline-section.animate .step-2 {
    animation: stepPop .8s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: 1.6s;
}

.timeline-section.animate .step-3 {
    animation: stepPop .8s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: 2.4s;
}

.timeline-section.animate .step-4 {
    animation: stepPop .8s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: 3.2s;
}

.timeline-section.animate .step-5 {
    animation: stepPop .8s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: 4s;
}

.timeline-step {
    position: absolute;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-icon {
    font-size: 22px;
    position: relative;
    z-index: 3;
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}


.timeline-number {
    font-size: 92px;
    font-weight: 600;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    z-index: -1;
    font-family: var(--font-family);
    background: linear-gradient(175deg, rgb(255 255 255 / 48%) 0%, rgb(0 0 0) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.odd-number {
    bottom: -171px;
    left: 118px;
}

.even-number {
    bottom: 58px;
    left: 111px;
}

.timeline-step h4 {
    margin-top: 12px;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
    animation: pulseGlow 2.5s infinite;
}

.step-1 {
    left: 9%;
    top: 60%;
    animation-delay: 0.8s;
}

.step-2 {
    left: 28%;
    top: 53%;
    animation-delay: 1.6s;
}

.step-3 {
    left: 47%;
    top: 60%;
    animation-delay: 2.4s;
}

.step-4 {
    left: 66%;
    top: 52%;
    animation-delay: 3.2s;
}

.step-5 {
    left: 90%;
    top: 58%;
    animation-delay: 4s;
}


@keyframes stepPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.12);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.timeline-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.timeline-step.step-1.visible,
.timeline-step.step-3.visible {
    opacity: 1;
    transform: translateX(35px);
}

.timeline-step.step-2.visible,
.timeline-step.step-4.visible {
    opacity: 1;
    transform: translateX(-35px);
}

.timeline-step.step-5.visible {
    opacity: 1;
    transform: translateX(25px) !important;
}
.responsive-wave-svg path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
       transition: stroke-dashoffset 4.5s cubic-bezier(0.4, 0, 0.2, 1);

}
.timeline-section.svg-visible .responsive-wave-svg path {
    stroke-dashoffset: 0;
}
/* =============================================
   RESPONSIVE
   ============================================= */
@media(max-width:992px) {

    .timeline-section {
        padding-bottom: 60px;
    }

    .timeline-wrapper {
        height: auto;
        padding: 60px 0;
        position: relative;
        overflow: visible;
    }

    .svg-container {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
        height: 100%;
        pointer-events: none;
    }

    .responsive-wave-svg {
        width: 100%;
        height: 100%;
        overflow: visible;
    }

    .timeline-svg {
        display: none;
    }

    .timeline-step {
        position: relative;
        left: unset !important;
        top: unset !important;
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 120px;
    }

    .timeline-step:last-child {
        margin-bottom: 0;
    }

    .timeline-step.step-1,
    .timeline-step.step-3 {
        justify-content: center;
    }
    .timeline-step.step-2,
    .timeline-step.step-4 {
        justify-content: center;
        flex-direction: row-reverse;
    }
    .timeline-step.step-5 {
        justify-content: center;
    }
    .timeline-step.step-3 .timeline-icon {
        transform: translateX(-31px) !important;
    }
    .timeline-step.step-4 .timeline-icon {
        transform: translateX(43px) !important;
    }
    .timeline-step.step-5 .timeline-icon {
        transform: translateX(-62px) !important;
    }
    .timeline-icon-box {
        position: relative;
        width: 54px;
        height: 54px;
        flex-shrink: 0;
    }
    .timeline-icon {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), inset 0 0 8px rgba(255,255,255,0.2);
        font-size: 22px;
    }

    .timeline-content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        position: absolute;
        width: max-content;
    }

    .timeline-step.left .timeline-content-wrapper {
        left: 85px;
        text-align: left;
    }

    .timeline-step.right .timeline-content-wrapper {
        right: 85px;
        align-items: flex-end;
        text-align: right;
    }

    .timeline-number {
        font-size: 70px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.18);
        font-family: sans-serif;
        line-height: 1;
        padding-bottom: 32px;
    }
}

@media(max-width:768px) {
    .svg-container { width: 140px; }
    .timeline-step { margin-bottom: 100px; }

    .timeline-step.step-1.visible,
    .timeline-step.step-3.visible { transform: translateX(27px); }

    .timeline-step.step-2.visible,
    .timeline-step.step-4.visible { transform: translateX(-27px); }

    .timeline-step.step-5.visible { transform: translateX(18px) !important; }

    .timeline-step.left .timeline-content-wrapper { left: 75px; }
    .timeline-step.right .timeline-content-wrapper { right: 75px; }

    .timeline-number { font-size: 70px; }
    .timeline-step h4 { font-size: 20px; }

     .timeline-step.step-3 .timeline-icon {
        transform: translateX(-23px) !important;
    }
    .timeline-step.step-4 .timeline-icon {
        transform: translateX(33px) !important;
    }
    .timeline-step.step-5 .timeline-icon {
        transform: translateX(-54px) !important;
    }
}

@media(max-width:480px) {
    .svg-container { width: 110px; }
    .timeline-step { margin-bottom: 85px; }

    .timeline-step.step-1.visible,
    .timeline-step.step-3.visible { transform: translateX(20px) !important; }

    .timeline-step.step-2.visible,
    .timeline-step.step-4.visible { transform: translateX(-20px) !important; }

    .timeline-step.step-5.visible { transform: translateX(12px) !important; }

    .timeline-step.left .timeline-content-wrapper { left: 58px; }
    .timeline-step.right .timeline-content-wrapper { right: 58px; }

    .timeline-icon-box { width: 44px; height: 44px; }
    .timeline-number { font-size: 72px; }
    .timeline-icon { font-size: 18px; }
    .timeline-step h4 { font-size: 16px; }

    .timeline-step.step-2 .timeline-icon {
       transform: translateX(-9px) !important;
   }
    .timeline-step.step-4 .timeline-icon {
        transform: translateX(20px) !important;
    }
    .timeline-step.step-5 .timeline-icon {
        transform: translateX(-44px) !important;
    }
}
@media(max-width:450px) {
        .timeline-step.left .timeline-content-wrapper { left: 30px; }
    .timeline-step.right .timeline-content-wrapper { right: 30px; }
     .timeline-number { font-size: 62px; }
}
@media(max-width:400px) {
        .timeline-step.left .timeline-content-wrapper { left: 4px; }
    .timeline-step.right .timeline-content-wrapper { right: 4px; }
     .timeline-number { font-size: 62px; }
}

/* --------portfolio-section------- */

.portfolio-small-title {
    color: #fff;
    font-family: var(--font-family);
    font-size: 28px;
    letter-spacing: 1px;
    font-weight: 600;
}

.project-section {
    padding-bottom: 60px;
}

.project-card {
    position: relative;
    border-radius: 36px;
    background: linear-gradient(
        164deg,
        #474d55b5 0%,
        #1a2e3769 50%,
        rgba(255, 255, 255, 0) 89%
    );

    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: transform;
    backface-visibility: hidden;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--card-gradient);
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.project-card>* {
    position: relative;
    z-index: 2;
}
.project-card:hover {
    transform: translateY(-5px);
}
.project-card:hover::before {
    opacity: 1;
}

.card-title {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
    font-family: var(--font-family);
}

.card-desc {
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tags {
    display: flex;
    /* flex-wrap: wrap; */
    overflow: auto;
    scrollbar-width: thin;
    padding-bottom: 10px;
    gap: 12px;
}

.tags span {
    color: #fff;
    font-family: var(--font-family);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 10px 12px;
    border-radius: 40px;
    font-size: 12px;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.card-image {
    overflow: hidden;
    border-radius: 28px;
}

.card-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.circle-btn {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    right: 1px;
    bottom: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease;
    cursor: pointer;
    background: linear-gradient(88deg, #383b43 0%, #10161d 100%);
}

.circle-btn img {
    width: 24px;
}

.circle-btn:hover {
    transform: scale(1.08);
}
@media(max-width:1199px) and (min-width:992px){
    .circle-btn{
        right: -11px;
        bottom: 8px;
    }
}
@media(max-width:992px) {
    .card-title {
        font-size: 20px;
    }
    .card-desc {
        font-size: 13px;
    }
    .tags span{
        padding: 8px 10px;
        font-size: 11px;
    }
    .tags{
        gap: 5px;
    }
}

@media(max-width:768px) {
    .tags span {
        white-space: nowrap;
    }
    .circle-btn {
        width: 72px;
        height: 72px;
    }

@media (max-width: 767px){
    .project-card{
         background: #2b2b2b !important;
    }
        .project-section {
    padding-bottom: 0px;
}
}
}

@media(max-width:576px) {
    .project-card {
        border-radius: 28px;
    }
    .card-title {
        font-size: 16px;
    }
    .card-desc {
        font-size: 14px;
    }
    .tags {
        gap: 8px;
    }
    .tags span {
        /* font-size: 12px;
        padding: 7px 12px; */

        font-size: 11px;
        padding: 7px 10px;
    }
    .circle-btn {
        width: 62px;
        height: 62px;
        right: -12px;
        bottom: -12px;
        border: 7px solid #041414;
    }
    .circle-btn img {
        width: 20px;
    }
}

@media (min-width: 320px) and (max-width: 767px) {

    .project-card-wrapper {
        position: -webkit-sticky;
        position: sticky;
        top: 150px;
        height: 520px;
        padding-bottom: 30px;
    }

    .project-card {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transform-origin: center top;
        box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.4);
    }

    @supports (animation-timeline: view()) {
        .project-card {
            animation: cardScaleDown linear both;
            animation-timeline: view();
            animation-range: contain 0% exit 100%;
        }
    }

    @keyframes cardScaleDown {
        to {
            transform: scale(0.65);
           /* opacity: 0.75;          */
        }
    }
}

/* ----------popup card------------- */

.project-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .4s ease;
}

.project-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(8px);
}

.popup-box {
    position: relative;
    width: 92%;
    max-width: 1100px;
    background: rgb(162 161 161 / 27%);
    border-radius: 26px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 35px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(40px) scale(.9);
    transition: .4s ease;
}

.project-popup.active .popup-box {
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.popup-image {
    width: 48%;
}

.popup-image img {
    width: 100%;
    border-radius: 18px;
}

.popup-content {
    width: 52%;
}

.popup-content h2 {
    font-family: var(--font-family);
    font-size: 24px;
    margin-bottom: 18px;
    color: #fff;
}

.popup-content p {
    font-family: var(--font-family);
    line-height: 1.9;
    font-size: 18px;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 25px;
}

.popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.popup-tags span {
    font-family: var(--font-family);
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 14px;
}


@media(max-width:991px) {

    .popup-box {
        flex-direction: column;
    }

    .popup-image,
    .popup-content {
        width: 100%;
    }
}

@media(max-width:576px) {

    .popup-box {
        padding: 20px;
    }

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

    .popup-content p {
        font-size: 14px;
    }


}

/* ----------btn----- */
.cta-btn {
    margin-top: 20px;
    position: relative;
    padding: 1px;
    margin-top: 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    background: #000;
    border: none;
    padding: 1px;
    background: #000;
    transition: transform 0.3s ease;
}

.cta-btn-animated-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 50px;
}

.cta-btn-animated-btn .cta-btn-btn-bg {
    position: absolute;
    inset: -205%;
    z-index: -1;
    background: conic-gradient(from 90deg, transparent 0deg, transparent 220deg, #00B2FF 280deg, #41FFEC 320deg, transparent 360deg);
    animation: rotateBorder 3s linear infinite;
}

.cta-btn-animated-btn .cta-btn-btn-content {
    position: relative;
    z-index: 2;
    background: #01131b;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    width: 262px;
    height: 50px;
    border-radius: 50px;
    border-radius: 50px;
}

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

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

/* ------card-animation mobileview (sticky stack — same as project-section) --- */

@media (max-width: 767px) {

    .sticky-scroll-container {
        height: auto;
    }

    .scene-wrap {
        position: static;
        width: 100%;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        height: auto;
        min-height: unset;
        top: auto;
    }

    .scene-inner {
        display: none;
    }

    .cards-area {
        position: static;
        width: 100%;
        height: auto;
        overflow: visible;
        perspective: none;
    }

    .dynamic-card {
        position: sticky !important;
        top: 150px;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 160px;
        border-radius: 18px;
        padding: 24px 20px;
        margin: 0;
        margin-bottom: 20px;
        opacity: 1 !important;
        transform: none !important;
        transform-origin: center top;
        box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.4);
        transition: none !important;
        will-change: transform;
    }

    .dynamic-card.glass-card {
        background: var(--card-gradient) !important;
    }

    @keyframes cardScaleDown {
        to { transform: scale(0.65); }
    }

    @supports (animation-timeline: view()) {
        .dynamic-card {
            animation: cardScaleDown linear both;
            animation-timeline: view();
            animation-range: contain 0% exit 100%;
        }
    }
}

/* ============================================================
   OUR PROJECTS — pin-scroll section reused inside every tab
   ============================================================ */

.op-tabs-section {
    overflow-x: hidden;
    max-width: 100vw;
}

.op-section {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 100vh;
    overflow: hidden;
}

.op-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(35px) brightness(0.5) saturate(2.4);
    opacity: 0;
    transition: opacity 1.1s ease;
    z-index: 0;
    pointer-events: none;
}

.op-bg.op-bg--on {
    opacity: 1;
}

.op-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 1;
    pointer-events: none;
}

.op-heading {
    position: absolute;
    top: 150px;
    left: 60px;
    z-index: 20;
    pointer-events: none;
    line-height: 1;
}

.op-heading h6 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.op-heading h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 54px;
    line-height: 1.05;
    background: linear-gradient(90deg, #00B2FF 0%, #41FFEC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.op-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    will-change: transform;
    z-index: 5;
}

.op-slide {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 260px 80px 80px;
    box-sizing: border-box;
    position: relative;
}

.op-watermark {
    position: absolute;
    bottom: 0;
    left: 40px;
    z-index: 2;
    pointer-events: none;
}

.op-watermark img {
    height: 180px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.055;
    display: block;
}

.op-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 22px 20px 0;
    width: 100%;
}

.op-tag {
    font-family: var(--font-family);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #00B2FF;
}

.op-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.op-desc {
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    max-width: 560px;
}

.op-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-family);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    margin-top: 6px;
    width: fit-content;
    transition: color 0.3s ease;
}

.op-cta::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='10' viewBox='0 0 40 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5H38M38 5L34 1M38 5L34 9' stroke='rgba(255,255,255,0.4)' stroke-width='1.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.op-cta:hover {
    color: rgba(255, 255, 255, 0.8);
}

.op-cta:hover::after {
    transform: translateX(6px);
    opacity: 0.9;
}

.op-browser-wrap {
    width: 100%;
    max-width: 860px;
    z-index: 4;
}

.op-frame {
    position: relative;
    width: 100%;
    overflow: visible;
}

.op-browser {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #1c1c1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.5),
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 60px 140px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 4;
}

.op-chrome {
    background: linear-gradient(180deg, #3d3d3f 0%, #2c2c2e 100%);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.45);
}

.op-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.op-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.op-dots .rd { background: #ff5f57; }
.op-dots .yw { background: #ffbd2e; }
.op-dots .gn { background: #28ca41; }

.op-urlbar {
    flex: 1;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 7px;
    padding: 5px 14px;
    font-family: var(--font-family);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    letter-spacing: 0.5px;
}

.op-chrome-r {
    flex-shrink: 0;
    width: 54px;
}

.op-screen {
    position: relative;
    width: 100%;
    height: clamp(260px, 42vh, 400px);
    overflow: hidden;
    background: #111;
    display: block;
}

.op-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.op-logo {
    position: absolute;
    bottom: -10px;
    left: 0;
    transform: translateX(-50%);
    z-index: 6;
}

.op-logo img {
    height: 80px;
    width: auto;
    max-width: 240px;
    filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(0,0,0,0.9));
    opacity: 0.92;
    display: block;
    object-fit: contain;
}

.op-progress {
    display: none;
}

.op-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    transition: all 0.4s ease;
    cursor: pointer;
}

.op-dot.active {
    background: #00B2FF;
    width: 22px;
    border-radius: 4px;
}

/* ---- Project Modal ---- */

.op-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.op-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.op-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
}

.op-modal-box {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 900px;
    min-height: 380px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
    transform: scale(0.93) translateY(16px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.op-modal.is-open .op-modal-box {
    transform: scale(1) translateY(0);
}

.op-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.op-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.op-modal-img {
    flex: 0 0 55%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 20px 20px;
}

.op-modal-img img {
    width: 100%;
    height: auto;
    display: block;
}

.op-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 36px;
    gap: 16px;
}

.op-modal-tag {
    font-family: var(--font-family);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #00B2FF;
}

.op-modal-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
}

.op-modal-desc {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

@media (max-width: 767px) {
    .op-modal-box {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }
    .op-modal-img {
        flex: 0 0 220px;
        height: 220px;
    }
    .op-modal-info {
        padding: 28px 24px;
    }
    .op-modal-title { font-size: 22px; }
}

@media (max-width: 1280px) {
    .op-heading h2 { font-size: 46px; }
    .op-slide { padding: 250px 60px 70px; }
}

@media (max-width: 991px) {
    .op-heading { top: 140px; left: 30px; }
    .op-heading h2 { font-size: 34px; }
    .op-slide { padding: 230px 30px 60px; }
    .op-browser-wrap { max-width: 100%; }
}

@media (max-width: 767px) {
    .op-section {
        height: auto;
        overflow-x: hidden;
        overflow-y: visible;
    }

    .op-bg {
        position: absolute;
        top: -20px;
        left: -20px;
        width: calc(100% + 40px);
        height: calc(100% + 40px);
        transition: opacity 0.35s ease;
    }

    .op-heading {
        position: relative;
        top: auto;
        left: auto;
        padding: 30px 20px 16px;
        text-align: center;
    }

    .op-track {
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        flex-direction: column;
        overflow: visible;
        padding: 0 0 20px;
    }

    .op-slide {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        padding: 20px 20px 40px;
        margin-left: 0;
        align-items: flex-start;
        overflow: hidden;
    }

    .op-slide:last-child { margin-right: 0; padding-bottom: 20px; }

    .op-browser-wrap { max-width: 100%; }

    .op-content { padding: 36px 18px 18px; gap: 6px; }

    .op-title { font-size: 17px; }

    .op-desc { font-size: 11px; }

    .op-watermark { display: none; }

    .op-logo { display: none; }
}
