/* ***************** */
/* JOURNEY SECTION */
/* ***************** */
.journey-section {
    overflow: hidden;
}

.journey-wrap {
    position: relative;
    width: 100%;
}


.journey-pin-spacer {
    max-height: 5100px;
}

@media (min-width: 992px) {

    .journey-pin-spacer {
        max-height: 4050px;
    }
}

.journey-heading {
    position: absolute;
    top: -120px;
}

/* ── SVGs ── */
.journey-svg {
    pointer-events: none;
}

.journey-svg--desktop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
}


.journey-svg--mobile {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 100%;
    display: block;
}

@media (min-width: 992px) {
    .journey-svg--desktop { display: block; }
    .journey-svg--mobile  { display: none;  }
}


.j-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #c026d3;
    transform: translate(-50%, -50%);
    display: none;
}


.j-step {
    position: absolute;
    width: 350px;
}

@media (min-width: 992px) {
    .j-left   { left: 8%; }
    .j-center { left: 63%; } 
}

/* ── Number ── */
.j-num {
    display: block;
    font-size: clamp(80px, 28vw, 180px);
    font-weight: 700;
    color: #d8d8e0;
    line-height: 1;
    margin-bottom: -4px;
}

@media (min-width: 992px) {
    .j-num {
        font-size: 180px;
        margin-bottom: -6px;
    }
}

@media (min-width: 992px) {
    .journey-wrap { height: 150vh; }
    .j-step       { width: clamp(220px, 28vw, 350px); }
    .j-num        { font-size: clamp(80px, 11vw, 180px); margin-bottom: -6px; }
}


/* ── CTA ── */
.j-cta {
    position: absolute;
    bottom: 1%;        
    left: 60px !important;
    transform: translateX(0) !important;
}

@media (min-width: 992px) {
    .j-cta {
        position: absolute;
        bottom: 1%;        
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

.j-cta a {
    display: inline-block;
    padding: 12px 28px;
    background: #e53935;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}






/*******************************
   OUR WORK SECTION
*******************************/
.our-work .section-wrapper {
    padding-bottom: 80px;
}

@media (min-width: 768px) {
    .our-work .section-wrapper {
        padding-bottom: 95px;
    }
}

@media (min-width: 992px) {
    .our-work .section-wrapper {
        padding-bottom: 140px;
    }
}

/* ── SPLIDE ── */
#worksSlider .splide__track {
    overflow: visible !important;
}

#worksSlider .splide__slide {
	width: 320px;
	transition: width 0.4s cubic-bezier(.25,1,.5,1),
	will-change: width;
}

#worksSlider .splide__slide.is-w-active {
	width: 700px;
}

@media (max-width: 991px) {
    #worksSlider .splide__slide {
        width: 300px;
    }

    #worksSlider .splide__slide.is-w-active {
        width: 550px;
    }
}


#worksSlider .splide__slide--clone.is-w-active {
	width: 260px !important;
}

@media (max-width: 767px) {
    #worksSlider .splide__slide {
		width: 100% !important;
	}

	#worksSlider .splide__slide.is-w-active {
		width: 100% !important;
	}
}

/* ── CARD: fixed height, relative container ── */
.pf-card {
    width: 100%;
    position: relative;
    min-height: 650px;
    border-right: 1px solid var(--light-line);
    border-top: 1px solid var(--light-line);
    border-bottom: 1px solid var(--light-line);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .4s ease;
}


/* ── IMAGE: absolute, full card (inactive) → top 290px (active) ── */
.pf-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* inactive: fills whole card */
    transition: bottom .4s cubic-bezier(.25, 1, .5, 1);
}

#worksSlider .splide__slide:not(.splide__slide--clone).is-upcoming .pf-img {
    bottom: 270px;
}

/* active: shrinks, makes room for body */

.pf-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.07) opacity(0.05);
    transition: filter .4s ease;
}

#worksSlider .splide__slide:not(.splide__slide--clone).is-upcoming .pf-img img {
    filter: saturate(1) opacity(1);
}


/* Project name label — only on inactive */
.pf-img-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 54px 18px 18px;
    background: linear-gradient(to top, rgba(246, 246, 249, .97) 25%, transparent);
    transition: opacity .38s ease;
}

#worksSlider .splide__slide:not(.splide__slide--clone).is-upcoming .pf-img-label {
    opacity: 0;
    pointer-events: none;
}

.pf-img-label-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── BODY PANEL: slides up from below card ── */
.pf-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -270px;
    /* inactive: hidden below card */
    height: 270px;
    background: #fff;
    transition: bottom .4s cubic-bezier(.25, 1, .5, 1);
}

#worksSlider .splide__slide:not(.splide__slide--clone).is-upcoming .pf-body {
    bottom: 0;
}

/* Content inside body fades in with slight delay */
.pf-body-inner {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    height: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .34s ease .22s, transform .34s ease .22s;
}

#worksSlider .splide__slide:not(.splide__slide--clone).is-upcoming .pf-body-inner {
    opacity: 1;
    transform: translateY(0);
}

.pf-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pf-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 20px;
}


.pf-meta a {
    color: #7c3aed;
    text-decoration: none;
}

.pf-meta a:hover {
    text-decoration: underline;
}

.our-work .splide__arrow {
    top: auto !important;
    bottom: -50px !important;
    background-color: transparent !important;
    width: auto !important;
}

.our-work .splide__arrow svg {
    width: 48px !important;
    height: 48px !important;
}

.our-work .splide__arrow--next {
    right: 30% !important;
    transform: translateX(-50%) !important;
    left: auto !important;
}

.our-work .splide__arrow--prev {
    left: 40% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
}

@media (min-width: 768px) {   

    .our-work .splide__arrow--next {
        right: 35% !important;
    }

    .our-work .splide__arrow--prev {
        left: 43% !important;
    }
    
}

@media (min-width: 992px) {
    .our-work .splide__arrow {
        bottom: -80px !important;
    }
    
    .our-work .splide__arrow--next {
        right: 40% !important;
    }

    .our-work .splide__arrow--prev {
        left: 45% !important;
    }
    
}

@media (min-width: 1200px) {
    
    .our-work .splide__arrow--next {
        right: 43% !important;
    }

    .our-work .splide__arrow--prev {
        left: 48% !important;
    }
    
}

/* ─────────────────────────────
   MOBILE OVERRIDE (CLEAN MODE)
───────────────────────────── */

@media (max-width: 767px) {

	.pf-card {
		min-height: auto;
		height: auto !important;
        border: 1px solid var(--light-line);
	}

	/* IMAGE becomes normal block */
	.pf-img {
		position: relative !important;
		height: 200px !important;
		bottom: auto !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		transition: none !important;
	}

	.pf-img img {
        filter: saturate(1) opacity(1);
		height: 100% !important;
		object-fit: cover;
	}

	/* BODY becomes static */
	.pf-body {
		position: relative !important;
		bottom: 0 !important;
		height: auto !important;
		transition: none !important;
	}

	.pf-body-inner {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.pf-img-label {
        display: none;
	}
}

/*******************************
   OUR CLIENTS SECTION
*******************************/
.our-clients .section-wrapper {
    min-height: 700px;
    padding-top: 120px;
    padding-bottom: 120px;
}

.our-clients .clients-img-holder {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 300px;
}

@media(min-width: 768px) {
    .our-clients .clients-img-holder {
        width: 300px;
        height: 400px;
    }

    .our-clients .section-wrapper {
        min-height: 870px;
        padding-top: 200px;
        padding-bottom: 200px;
    }
}

@media(min-width: 992px) {
    .our-clients .section-wrapper {
        min-height: 1000px;
    }

    .our-clients .clients-img-holder {
        width: 400px;
        height: 500px;
    }
}

@media(min-width: 1200px) {
    .our-clients .section-wrapper {
        min-height: 900px;
    }
}

.section-title-holder {
    position: relative;
    padding: 16px 16px;
}

@media (min-width: 992px) {
    .section-title-holder {
        position: relative;
        padding: 30px 30px;
    }
}


@media (max-width: 540px) {
    .our-clients .h1 {
        font-size: 30px;
    }
}

.title-square {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--red);
}

.title-square:nth-of-type(1) {
    top: 0;
    left: 0;
}
.title-square:nth-of-type(2) {
    top: 0;
    right: 0;
}
.title-square:nth-of-type(3) {
    bottom: 0;
    left: 0;
}
.title-square:nth-of-type(4) {
    bottom: 0;
    right: 0;
}

.client-logos-holder img {
    position: absolute;
    width: 200px;
    height: auto;
    object-fit: contain;
}


/*******************************
   TESTIMONIALS SPREAD SECTION
*******************************/
.tm-section {
    position: relative;
}

.tm-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* ── Logo ─────────────────────────────────────────────────────── */

.tm-logo {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    pointer-events: none;
}

.tm-google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 18px;
    opacity: 0.6;
    margin: 0 0 10px;
    color: var(--text-light);
}

.tm-google-rating svg path {
    fill: var(--text-light);
}

.tm-logo-mark {
    width: clamp(150px, 14.32vw + 96.3px, 288px);
    font-weight: 700;
    filter: invert();
    letter-spacing: -0.02em;
    line-height: 1;
}

/* ── Cards (shared) ───────────────────────────────────────────── */

.tm-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    color: #fff;
}

.tm-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tm-stars {
    font-size: 15px;
    color: var(--text-light);
}

.tm-date {
    font-size: 15px;
    opacity: 0.5;
}

.tm-text {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0 0 16px;
    color: var(--white);
}

.tm-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-img-holder {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
}

.tm-author img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-author {
    font-weight: 500;
    color: var(--white);
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.tm-author span {
    font-size: 16px;
    color: var(--text-light);
}

/* ── Desktop: sticky stage, no pin ───────────────────────────── */
@media (min-width: 992px) {
    .tm-stage {
        position: sticky;
        top: 0;
        height: 100vh;
        min-height: 600px;
        overflow: hidden;
    }


    .tm-card {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 440px;
        padding: 32px;
        background: rgba(63, 63, 63, 0.18);
        backdrop-filter: blur(8px);
        /* transform handled fully by GSAP */
    }

    .author-img-holder {
        width: 46px;
        height: 46px;
    }
}

/* ── Mobile: stacked cards, solid background ─────────────────── */
@media (max-width: 991px) {
    .tm-stage {
        height: 100vh;
        overflow: hidden;
    }

    .tm-card {
        position: absolute;
        top: 50%;
        left: 50%;
        width: calc(100% - 48px);
        max-width: 420px;
        /* Solid background — no transparency so text is readable */
        background: rgba(7, 9, 25, 0.4);
        backdrop-filter: blur(25px);
        border-color: rgba(255, 255, 255, 0.12);
    }

    /* Logo sits just below the card stack */
    .tm-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
        text-align: center;
    }
}


/*******************************
    TESTIMONIALS SECTION
*******************************/

.testimonials-section {
    display: block;
    position: relative;
    min-height: 90vh;
    overflow: hidden;
}

.testimonials-section::before,
.testimonials-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(50px);
    z-index: -1;
}

.testimonials-section::before {
    width: 90%;
    height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(201, 169, 252, 1) 0%, rgba(201, 169, 252, 0) 50%);
    animation: blobPurple 100s ease-in-out infinite;
}

.testimonials-section::after {
    width: 90%;
    height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(240, 180, 222, 1) 0%, rgba(240, 180, 222, 0) 50%);
    animation: blobPink 120s ease-in-out infinite;
}

@media (min-width: 768px) {
    .testimonials-section::before,
    .testimonials-section::after {
        filter: blur(80px);
    }

    .testimonials-section::before {
        width: 80%;
        height: 80%;
    }

    .testimonials-section::after {
        width: 80%;
        height: 80%;
    }
}

@media (min-width: 992px) {
    .testimonials-section {
        overflow: visible;
    }

}

@media (min-width: 1200px) {

    .testimonials-section::before,
    .testimonials-section::after {
        filter: blur(120px);
    }

}

.testimonial-grid .masonry-item {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(30px);
}

.testimonial-card {
    background: rgba(246, 246, 249, 0.3);
    /* backdrop-filter: blur(16px); */
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.t-card-footer .avatar-placeholder {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

@media (min-width: 992px) {
    .testimonial-card {
        padding: 32px;
    }
}

/* MASONRY GRID */
.grid-wrapper {
    padding-top: 100px;
    padding-bottom: 50px;
    max-width: 1650px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.masonry-grid {
    columns: 1;
    column-gap: 24px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .masonry-grid {
        columns: 2;
    }
}

@media (min-width: 1200px) {
    .masonry-grid {
        columns: 3;
    }
}

@keyframes blobPurple {
    0% {
        transform: translate(-70%, -60%);
    }

    15% {
        transform: translate(-30%, -45%);
    }

    28% {
        transform: translate(-55%, -30%);
    }

    42% {
        transform: translate(-20%, -65%);
    }

    57% {
        transform: translate(-65%, -50%);
    }

    71% {
        transform: translate(-35%, -70%);
    }

    85% {
        transform: translate(-50%, -35%);
    }

    100% {
        transform: translate(-70%, -60%);
    }
}

@keyframes blobPink {
    0% {
        transform: translate(-30%, -50%);
    }

    12% {
        transform: translate(-65%, -35%);
    }

    25% {
        transform: translate(-40%, -70%);
    }

    38% {
        transform: translate(-70%, -55%);
    }

    52% {
        transform: translate(-25%, -40%);
    }

    65% {
        transform: translate(-55%, -65%);
    }

    78% {
        transform: translate(-45%, -30%);
    }

    90% {
        transform: translate(-60%, -45%);
    }

    100% {
        transform: translate(-30%, -50%);
    }
}



/*******************************
        CONTACT SECTION
*******************************/
.contact-section {
    background-color: var(--dark-section-bg);
    border-radius: 20px;
    width: calc(100% - 16px);
    margin-inline: auto;
    margin-top: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .contact-section {
        width: calc(100% - 32px);
    }
}

.contact-section-wrapper {
    max-width: 1620px;
    width: 100%;
    margin: 0 auto;
    padding-top: 48px;
    padding-bottom: 48px;
}

@media (min-width: 768px) {
    .contact-section-wrapper {
        padding-top: 100px;
        padding-bottom: 100px;
        max-width: calc(1620px + 96px);
        padding-left: 48px !important;
        padding-right: 48px !important;

    }
}

@media (min-width: 992px) {
    .contact-section-wrapper {
        padding-top: 160px;
        padding-bottom: 160px;
    }

    
}

/* default - single top light */
.particles-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(63.94% 63.94% at 50% 0%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.00) 100%);
    pointer-events: none;
    z-index: 0;
    border-radius: 20px;
}

/* moved left */
.particles-section-overlay.overlay-left {
    background: radial-gradient(63.94% 63.94% at 20% 0%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.00) 100%);
}

/* moved right */
.particles-section-overlay.overlay-right {
    background: radial-gradient(63.94% 63.94% at 80% 0%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.00) 100%);
}

/* 3 streaks */
/* .particles-section-overlay.overlay-streaks {
    background: linear-gradient(
        -65deg,
        transparent 48%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.45) 55%,
        rgba(255, 255, 255, 0.2) 60%,
        rgba(255, 255, 255, 0.6) 65%,
        rgba(255, 255, 255, 0.2) 70%,
        rgba(255, 255, 255, 0.6) 75%,
        rgba(255, 255, 255, 0.2) 80%,
        transparent 83%
    );
    -webkit-mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 80%);
    mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 80%);
} */

/* bottom light */
.particles-section-overlay.overlay-bottom {
    background: radial-gradient(63.94% 63.94% at 50% 100%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.00) 100%);
}


.particles-parallax {
    position: absolute;
    inset: -90%;
    border-radius: 20px;
    pointer-events: none;
}

.particles-container {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.contact-section .contact-map-img {
    max-width: 80%;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    opacity: 0.15;
}




/* ************************ */
/* STRATEGY ROADMAP SECTION  */
/* *********************** */


.marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    will-change: transform;
    z-index: -1;
}

.marquee-track span {
    font-size: 36px;
    font-weight: 600;
    background: linear-gradient(125deg, #DC2626 8.09%, #581C87 92.87%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 8px;
    user-select: none;
}

.marquee-wrap .maquee-img-holder {
    width: calc(100% - 60px);
    height: 350px;
    margin: 0 auto;
    overflow: hidden;
}

@media (min-width: 600px) {
    .marquee-wrap .maquee-img-holder {
        width: 3590px;
        height: 300px;
    }
}

@media (min-width: 768px) {
    .marquee-track span {
        font-size: 48px;
    }

    .marquee-wrap .maquee-img-holder {
        width: 400px;
        height: 500px;
    }
}

@media (min-width: 992px) {
    .marquee-track span {
        font-size: 64px;
    }

    .marquee-wrap .maquee-img-holder {
        width: 500px;
        height: 600px;
    }
}

.marquee-track .sep {
    display: inline-flex;
    align-items: center;
    padding: 0 24px;
}

.marquee-track .sep svg {
    display: block;
}

@media (min-width: 768px) {
    .edge-image-section .section-wrapper {
        padding-right: 0;
    }
}


.gradient-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--gradient-background);
    color: var(--white);
}

@media (min-width: 992px) {
    .gradient-icon {
        width: 72px;
        height: 72px;
    }
}