* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f6f9ff;
    color: #fff;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;

    background: rgba(10,14,25,0.6);
    backdrop-filter: blur(12px);

    transition: all 0.3s ease;

}

.text-fill {
    display: inline-block;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 45%,
        #d1d5db 50%,   /* light grey highlight */
        #ffffff 55%,
        #ffffff 100%
    );

    background-size: 200% auto;
    background-position: -100% 0;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: shimmerLoop 4s linear infinite;
}

/* smooth continuous loop */
@keyframes shimmerLoop {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}


h1, h2, span{
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
 
}

.cta-section h2,
.case-studies h2,
.process h2,
.credibility h2,
.faq h2 {
    font-size: clamp(30px, 3.2vw, 44px);
}
.cta-section p,
.case-studies p,
.process p,
.credibility p,
.faq p {
    font-size: clamp(15px, 1.1vw, 18px);
}
.cta-section p,
.cta-section h2,
.case-studies h2,
.process h2,
.credibility h2,
.case-studies p,
.process p,
.credibility p,
.faq h2,
.faq p {
    transition: font-size 0.25s ease;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.navbar {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo img {
    height: 50px; /* adjust as needed */
    width: auto;
    display: block;
}

/* NAV */
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links li {
    position: relative;
}

/* NAV CTA BUTTON */
.nav-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;

    background: #4f7cff;
    color: #fff !important;

    transition: all 0.25s ease;
}

/* hover polish */
.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79,124,255,0.35);
}

/* keep alignment clean */
.nav-cta {
    display: flex;
    align-items: center;
}

.nav-cta {
    margin-left: 10px;
}


/* =========================
   FIXED HOVER STABILITY SYSTEM
   ========================= */

/* invisible hover bridge (prevents dropdown disappearing) */
.nav-links li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 18px; /* KEY FIX */
}

/* links */
.nav-links a {
    text-decoration: none;
    color: #ddd;
    font-size: 14px;
    padding: 10px;
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
}

/* DROPDOWN */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;

    min-width: 240px;

    background: rgba(15, 20, 35, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all 0.22s ease;

    pointer-events: none;
    overflow: hidden;

    z-index: 9999;
}

/* stable hover activation */
.nav-links li:hover .dropdown,
.nav-links li:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* dropdown items */
.dropdown a {
    display: block;
    padding: 12px 15px;
    font-size: 13px;
    color: #ccc;
    transition: 0.2s ease;
}

.dropdown a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

/* CTA */
.cta {
    color: #4f7cff !important;
    font-weight: 600;
}

/* HERO BASE */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 90px;

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

    overflow: hidden;
    background: #0b0f1a;
}

.hero-slide.active h1 {
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* BACKGROUND ORBS */
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;

    animation: floatOrganic 18s ease-in-out infinite;
    will-change: transform;
}

/* orb variations */
.orb1 {
    width: 400px;
    height: 400px;
    background: #4f7cff;
    top: 10%;
    left: 10%;

    animation-duration: 20s;
}

.orb2 {
    width: 300px;
    height: 300px;
    background: #7c4dff;
    bottom: 10%;
    right: 15%;

    animation-duration: 24s;
    animation-delay: -5s;
}

.orb3 {
    width: 250px;
    height: 250px;
    background: #00c2ff;
    top: 50%;
    left: 60%;

    animation-duration: 28s;
    animation-delay: -10s;
}


@keyframes floatOrganic {
    0%   { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
    25%  { transform: translate3d(30px,-40px,0) scale(1.05) rotate(20deg); }
    50%  { transform: translate3d(-20px,-60px,0) scale(0.95) rotate(40deg); }
    75%  { transform: translate3d(-40px,20px,0) scale(1.03) rotate(60deg); }
    100% { transform: translate3d(0,0,0) scale(1) rotate(80deg); }
}

/* floating motion 
@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(20px); }
    100% { transform: translateY(0) translateX(0); }
}
*/

/* CONTENT */

.hero-slider {
    position: relative;
    height: 180px; /* critical fixed space */
    width: 100%;
    margin-bottom: 40px;
}

.hero-slide {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;

    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide h1 {
    font-size: 56px;
    line-height: 1.2;
}

.hero-slide h1 span {
    color: #4f7cff;
}

/* active slide */
.hero-slide.active {
    opacity: 1;
    transform: translateY(0);
}



.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
}

.wheel {
    width: 4px;
    height: 6px;
    background: #fff;
    border-radius: 2px;
    margin-top: 8px;

    animation: wheelMove 1.4s infinite ease-in-out;
}

@keyframes wheelMove {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}
.scroll-text {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
}

/* TEXT */
.hero h1 {
    font-size: 56px;
    line-height: 1.2;
}

.hero h1 span {
    color: #4f7cff;
}

.hero p {
    margin-top: 20px;
    font-size: 18px;
    color: #aaa;
}

/* BUTTONS */
.hero-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.25s ease;
}

.btn.primary {
    background: #4f7cff;
    color: #fff;
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79,124,255,0.4);
}

.btn.secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.btn.secondary:hover {
    background: rgba(255,255,255,0.05);
}


.problem-section {
    padding: 120px 0;
    background: #0b0f1a;
    position: relative;
}

.problem-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

/* label */
.problem-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4f7cff;
    margin-bottom: 20px;
}

/* headline */
.problem-inner h2 {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

/* paragraph */
.problem-inner p {
    font-size: 16px;
    color: #aaa;
    line-height: 1.7;
    max-width: 750px;
}

/* grid */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}

/* cards */
.problem-item {
    padding: 20px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-6px);
    border-color: rgba(79,124,255,0.25);
}

/* card text */
.problem-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
}

.problem-item p {
    font-size: 14px;
    color: #aaa;
}

.problem-section {
    position: relative;
    overflow: hidden;
}

/* base enhancement only (does NOT override reveal system) */
.problem-inner h2,
.problem-inner p,
.problem-item {
    will-change: transform, opacity;
}

/* subtle starting offsets ONLY for scroll system */
.problem-section .problem-label {
    transform: translateY(0px);
    opacity: 0.6;
}

/* responsive */
@media (max-width: 900px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
}

/* SERVICES */
.hero-services {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-services div {
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    font-size: 13px;
    color: #ccc;
}

/* HERO REVEAL BASE STATE (IMPORTANT) */
.reveal {
    opacity: 0;
    transform: translateY(25px) scale(0.98);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

/* ACTIVE STATE */
.problem-section .reveal,
.hero.ready .reveal,
.case-studies.active .reveal,
.process.active .reveal,
.credibility.active .reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
}



/* STAGGER CONTROL (FIXED PROPERLY) */
.hero.ready .delay-1 {
    transition-delay: 0.25s;
}

.hero.ready .delay-2 {
    transition-delay: 0.5s;
}

.hero.ready .delay-3 {
    transition-delay: 0.75s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.services {
    padding: 140px 0;
    background: #0b0f1a;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

/* LEFT SIDE */
.services-intro {
    position: sticky;
    top: 120px;
}

.services-intro h2 {
    font-size: clamp(32px, 3vw, 44px);
    margin-bottom: 20px;
}

.services-intro p {
    color: #aaa;
    line-height: 1.6;
}

/* RIGHT SIDE */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* SERVICE ITEM */
.service-item {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.service-item p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 10px;
}

.service-item span {
    font-size: 14px;
    color: #4f7cff;
}

/* subtle hover */
.service-item:hover {
    transform: translateX(6px);
}

@media (max-width: 950px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-intro {
        position: static;
    }
}
/* VIDEO SECTION */
.video-section {
    position: relative;
    height: 90vh;
    overflow: hidden;

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

   /* border-top: 1px solid rgba(255,255,255,0.04); */
   /* border-bottom: 1px solid rgba(255,255,255,0.04);*/
}

/* VIDEO */
.video-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: scale(1.08);
    transition: transform 1.5s ease;
}

/* OVERLAY */
.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    /* soft 50% dark base with depth */
    background: rgba(10, 14, 25, 0.5);

    /* adds cinematic depth instead of flat dark */
    background: linear-gradient(
        180deg,
        rgba(10, 14, 25, 0.55) 0%,
        rgba(10, 14, 25, 0.45) 40%,
        rgba(10, 14, 25, 0.6) 100%
    );
}

.video-overlay::after {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at center,
        transparent 40%,
        rgba(0,0,0,0.35) 100%
    );

    pointer-events: none;
}

/* CONTENT */
.video-section.active .video-content {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;

    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.video-left {
    flex: 1;
    text-align: left;
}

.video-left h2 {
    font-size: clamp(28px, 2.5vw, 42px);
    line-height: 1.2;
    margin-bottom: 15px;
}

.video-left p {
    color: #cfcfcf;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
}

.video-stats {
    display: flex;
    gap: 25px;
    margin-top: 25px;
}

.video-stats strong {
    display: block;
    font-size: 20px;
    color: #fff;
}

.video-stats span {
    font-size: 12px;
    color: #aaa;
}

.video-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 20px;
    background: #4f7cff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}

.video-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79,124,255,0.3);
}

.video-right {
    flex: 0.8;
}

.video-pillars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pillar {
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    cursor: pointer;
    transition: 0.3s ease;
    color: #aaa;
    border: 1px solid transparent;
}

.pillar:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.pillar.active {
    background: rgba(79,124,255,0.15);
    border-color: rgba(79,124,255,0.4);
    color: #fff;
}

.video-content h2 {
    font-size: 42px;
}

.video-content p {
    margin-top: 15px;
    color: #ccc;
    font-size: 18px;
}

/* SCROLL REVEAL */

.js-loading .video-reveal {
    opacity: 0;
}

.video-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: none; /* prevent early animation */
}

.video-section.active .video-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-section.active .video-reveal {
    opacity: 1;
    transform: translateY(0);
}

.video-section.active h2.video-reveal {
    transition-delay: 0.3s;
}

.video-section.active p.video-reveal {
    transition-delay: 0.6s;
}

.video-section.active .delay-1 {
    transition-delay: 0.2s;
}

/* SUBTLE VIDEO ZOOM ON SCROLL */
.video-section.active video {
    transform: scale(1);
}


@media (max-width: 768px) and (orientation: portrait) {

    .video-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .video-left,
    .video-right {
        width: 100%;
        flex: none;
    }

}

@media (max-width: 768px) and (orientation: portrait) {

    .video-section {
        height: auto;
        min-height: unset;
        padding: 100px 20px;
        align-items: flex-start; /* prevents cut-off */
    }

}


@media (max-width: 768px) and (orientation: portrait) {

    .video-wrapper {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .video-section {
        position: relative;
        overflow: hidden;
    }

}

/* RESPONSIVE */
@media (max-width: 950px) {
    .video-content h2 {
        font-size: 30px;
    }

    .video-content p {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 15px;
    }
}


/* =========================
   CASE STUDY PREMIUM UPGRADES
   ========================= */

/* stagger base (reuses hero system) */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-studies .reveal {
    will-change: transform, opacity;
}

.case-studies.active .reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.credibility.active .reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* stagger timing */
.case-studies.active .delay-1 { transition-delay: 0.2s; }
.case-studies.active .delay-2 { transition-delay: 0.4s; }
.case-studies.active .delay-3 { transition-delay: 0.6s; }

/* GRID */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* CARD */
.case-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 26px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

/* glow */
.case-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(79,124,255,0.18), transparent 60%);
    opacity: 0;
    transition: 0.4s ease;
}

.case-card:hover::before {
    opacity: 1;
}


/* NUMBER */
.case-card h3 {
    font-size: 28px;
    margin: 12px 0;
}

/* TOP LABELS */
.case-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
}

/* BEFORE / AFTER MINI VISUAL */
.before-after {
    margin-top: 15px;
    position: relative;
    height: 30px;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
}

.before, .after {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.4s ease;
}

/* default state */
.before {
    color: #aaa;
    transform: translateY(0);
}

.after {
    color: #4f7cff;
    transform: translateY(100%);
}

/* hover transition */
.case-card:hover .before {
    transform: translateY(-100%);
}

.case-card:hover .after {
    transform: translateY(0);
}

/* FOOTER LINK */
.case-footer {
    margin-top: 18px;
    font-size: 13px;
    color: #4f7cff;
    cursor: pointer;
    transition: 0.2s ease;
}

.case-card:hover .case-footer {
    transform: translateX(6px);
}

/* RESPONSIVE */
@media (max-width: 950px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

.case-studies {
    padding: 120px 0;
    background: #0b0f1a;
    position: relative;
}

/* HEADER */
.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-head h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-head p {
    color: #aaa;
    font-size: 16px;
    line-height: 1.6;
}

/* GRID */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* CARD */
.case-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 25px;

    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.case-image {
    width: calc(100% + 50px);
    margin: -25px -25px 20px -25px;

    display: block;
    border-radius: 16px 16px 0 0;

    object-fit: cover;
    height: 180px; /* adjust as needed */
}

/* subtle glow effect */
.case-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(79,124,255,0.15), transparent 60%);
    opacity: 0;
    transition: 0.4s ease;
}

.case-card:hover::before {
    opacity: 1;
}

/* hover lift */
/* FIXED hover lift (combines with reveal transform) */
.case-studies.active .case-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* top tags */
.case-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

/* title */
.case-card h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #fff;
}

/* text */
.case-card p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
}

/* footer link */
.case-footer {
    margin-top: 20px;
    font-size: 13px;
    color: #4f7cff;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;
}

.case-card:hover .case-footer {
    transform: translateX(5px);
}


/* =========================
   PROCESS SECTION
   ========================= */



.process {
    padding: 120px 20px;
     background: linear-gradient(
        180deg,
        #121a2c 0%,
        #0b0f1a 100%
    );
    text-align: center;
       position: relative;
}

.process-title {
    font-size: 36px;
    margin-bottom: 80px;
}

.process-steps::before {
    opacity: 0.2;
}

.process-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 30px;

    z-index: 1; /* keep low */
}

/* connecting line */
/* LINE TRACK */
.process-steps-line {
    position: absolute;
    top: 30px;
    left: 5%;
    width: 90%;
    height: 1px;

    background: rgba(255,255,255,0.08);

    transform: translateY(-50%);
    z-index: 0; /* BASE layer */
}
/* LINE FILL */
.process-line-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #4f7cff, #7c4dff);
    transition: width 0.2s ease-out;


}

/* step */
.step {
    flex: 1;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;

    z-index: 2; /* was 99 → reduce */
}

.step:hover {
    transform: translateY(-8px);
}

.step-number {
    position: relative;
    z-index: 3;
flex-shrink: 0; /* stops compression */
    width: 60px;
    height: 60px;
    margin: auto;
    border-radius: 50%;
    background: #0f204e; /* important for clean overlap */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 20px;
    color: #4f7cff;
}

.step h3 {
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: #aaa;
}


/* =========================
   CREDIBILITY SECTION
   ========================= */

.credibility {
    padding: 120px 0;
    background: #0d1220;
}

/* LOGO STRIP */
.logo-strip {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 50px 0 70px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logo-strip div {
    flex: 1;
    text-align: center;
    font-size: 18px;
    color: #aaa;
    transition: 0.3s ease;
}

.logo-strip div:hover {
    opacity: 1;
    color: #fff;
    transform: translateY(-2px);
}

/* TESTIMONIALS */
.testimonials {
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* CARD */
.testimonial-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

/* glow */
.testimonial-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(79,124,255,0.15), transparent 60%);
    opacity: 0;
    transition: 0.4s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79,124,255,0.3);
}

/* text */
.testimonial-card p {
    font-size: 15px;
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #888;
    margin-top: 40px;
}

.author-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* author */
.author {
    font-size: 13px;
    color: #888;
}

/* STATS */
.stats-bar {
    margin-top: 70px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stats-bar div {
    flex: 1;
}

.stats-bar strong {
    display: block;
    font-size: 28px;
    color: #4f7cff;
}

.stats-bar span {
    font-size: 13px;
    color: #888;
}


.faq {
    padding: 140px 0;
    background: #0b0f1a;
}
.faq.active .reveal {
    opacity: 1;
    transform: translateY(0);
}

/* LIST */
.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

/* ITEM */
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-item::after {
    content: "";
    display: block;
    height: 1px;
    width: 0;
    background: #4f7cff;
    transition: 0.4s ease;
}

.faq-item:hover::after {
    width: 100%;
}

/* QUESTION */
.faq-question {
    width: 100%;
    padding: 28px 0;

    background: none;
    border: none;
    color: #fff;

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

    font-size: 18px;
    text-align: left;
    cursor: pointer;

    transition: 0.25s ease;
}

.faq-question:hover {
    color: #4f7cff;
}

/* ICON (minimal + elegant) */
.faq-icon {
    width: 14px;
    height: 14px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: #888;
    transition: 0.3s ease;
}

/* horizontal line */
.faq-icon::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}

/* vertical line */
.faq-icon::after {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
}

/* ANSWER */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer {
    opacity: 0;
    transform: translateY(10px);
}

.faq-item.active .faq-answer {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer p {
    color: #aaa;
    padding-bottom: 25px;
    line-height: 1.6;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon::after {
    opacity: 0; /* turns + into - */
}

.faq-item.active .faq-question {
    color: #fff;
}



/* =========================
   PREMIUM DUAL MARQUEE (FIXED)
   ========================= */

.logo-marquee {
    overflow: hidden;
    position: relative;
    margin: 30px 0;
}

/* fade edges */
.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 140px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, #0d1220, transparent);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, #0d1220, transparent);
}

/* track */
.logo-track {
    display: flex;
    gap: 90px;
    width: max-content;
    animation: marquee 25s linear infinite;
    will-change: transform;
}


.cta-section {
    padding: 140px 0;
    background: #f6f9ff; /* light contrast section */
    color: #0b0f1a;
}

.cta-left,
.cta-right {
    opacity: 0;
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.15s;
    will-change: transform, opacity;
}

.cta-left {
    transform: translateX(-60px);
}

.cta-right {
    transform: translateX(60px);
}

.cta-section.active .cta-left,
.cta-section.active .cta-right {
    opacity: 1;
    transform: translateX(0);
}

.cta-left {
    transform: translateX(-60px) translateY(10px);
}

.cta-right {
    transform: translateX(60px) translateY(10px);
}

.cta-section.active .cta-left,
.cta-section.active .cta-right {
    transform: translateX(0) translateY(0);
}

/* GRID LAYOUT */
.cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

/* LEFT SIDE */
.cta-left h2 {
    font-size: clamp(34px, 3.2vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-left p {
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.6;
    color: #4b5568;
    max-width: 520px;
}

/* RIGHT SIDE */
.cta-right {
    text-align: left;
}

.cta-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}
/* bullet points */
.cta-point {
    font-size: 16px;
    color: #1b2433;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* spacing below list */
.cta-buttons {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* BUTTONS (keep your system but adapt for light bg) */
.cta-section .btn.primary {
    background: #4f7cff;
    color: #fff;
}

.cta-section .btn.secondary {
    border: 1px solid rgba(11,15,26,0.2);
    color: #0b0f1a;
}

/* hover polish */
.cta-section .btn.secondary:hover {
    background: rgba(79,124,255,0.08);
}





/* =========================
   STAIR STEP OVERLAY
   ========================= */

.footer {
    position: relative;
    background: #0f0807;
    margin-top: 120px; /* gives space for overlap */
}



/* wrapper for steps */
.footer-steps {
    position: absolute;
    top: -120px; /* pulls steps upward into CTA */
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 3;
    pointer-events: none;

   


    clip-path: polygon(
        0% 100%,
        0% 65%,

        30% 55%,   /* angled cut */
        30% 75%,

        60% 65%,   /* angled cut */
        60% 85%,

        100% 75%,  /* angled cut */
        100% 100%
    );
}



/* each step */
.footer-step {
    position: absolute;
    bottom: 0;
    background: #07090f;
}

/* STEP 1 (largest, back) */
.footer-step.step-1 {
    left: 0;
    width: 100%;
    height: 40px;
}

/* STEP 2 */
.footer-step.step-2 {
    left: 0;
    width: 75%;
    height: 80px;
}

/* STEP 3 (top step) */
.footer-step.step-3 {
    left: 0;
    width: 50%;
    height: 120px;
}

.footer .container {
    position: relative;
    z-index: 2;
}

@keyframes footerGlow {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-20px); }
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    position: relative;
    z-index: 2;
}

/* headings */
.footer-grid h4 {
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 18px;
    color: #aaa;
    text-transform: uppercase;
}

/* links */
.footer-grid a {
    display: block;
    text-decoration: none;
    color: #ddd;
    font-size: 14px;
    margin-bottom: 10px;

    transition: 0.3s ease;
}

.footer-grid a:hover {
    color: #4f7cff;
    transform: translateX(4px);
}

/* bottom bar */
.footer-bottom {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;

    font-size: 13px;
    color: #777;

    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 25px;

    position: relative;
    z-index: 2;
}


.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;

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

    border-radius: 8px;
    background: rgba(255,255,255,0.05);

    transition: all 0.25s ease;
}

.social-links img {
    width: 16px;
    height: 16px;

    filter: brightness(0) invert(1); /* keeps icons white */
    opacity: 0.7;
    transition: 0.25s ease;
}

/* hover */
.social-links a:hover {
    background: rgba(79,124,255,0.15);
    transform: translateY(-3px);
}

.social-links a:hover img {
    opacity: 1;
}

/* REVEAL BASE (you already use this system) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ACTIVE */
.footer.active .reveal {
    opacity: 1;
    transform: translateY(0);
}

/* stagger */
.footer.active .footer-grid {
    transition-delay: 0.2s;
}

.footer.active .footer-bottom {
    transition-delay: 0.5s;
}

/* RESPONSIVE */
@media (max-width: 950px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

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

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.logo-track.reverse {
    animation: marqueeReverse 30s linear infinite;
}

@keyframes marqueeReverse {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

/* items */
.logo-item {
    font-size: 18px;
    color: #aaa;
    white-space: nowrap;
    opacity: 0.75;
    transition: 0.3s ease;
     height: 40px;
    width: auto;

    transition: all 0.3s ease;

       filter: brightness(0) invert(1);
    opacity: 0.5;
}


.logo-item:hover {
    color: #fff;
    opacity: 1;
    transform: translateY(-2px);
}





/* RESPONSIVE */
@media (max-width: 950px) {
    .testimonials {
        grid-template-columns: 1fr;
    }

    .logo-strip {
        gap: 10px;
    }
}



/* RESPONSIVE */
@media (max-width: 950px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .section-head h2 {
        font-size: 32px;
    }

    .process-steps {
        flex-direction: column;
        gap: 50px;
    }

    .process-steps::before {
        display: none;
    }

    .process-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
}
.process-steps-line {
        top: 0;
        left: 30px; /* position beside numbers */
        width: 1px;
        height: 100%;

        transform: none;
    }

    .process-line-fill {
        width: 100%;
        height: 0%;
        transition: height 0.2s ease-out;
    }

    .step {
        display: flex;
        align-items: flex-start;
        gap: 18px;
        text-align: left;

        width: 100%;
    }

    .step-number {
        margin: 0;
    }

}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 950px) {

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {

    .hero {
        padding-top: 110px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-services div {
        font-size: 12px;
    }
}







/* MOBILE */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 950px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;

        left: 10px;
        right: 10px; /* 10px margin both sides */
        width: auto;

        flex-direction: column;
        display: none;

        background: rgba(10,14,25,0.98);
        padding: 20px;

        border-radius: 12px;

        border: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links li {
        width: 100%;
    }

    /* bigger mobile menu text */
    .nav-links a {
        font-size: 24px;
        padding: 14px 10px;
    }

    /* mobile dropdown */
    .dropdown {
        font-size: 16px;
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        pointer-events: auto;
        margin-top: 5px;
    }

  .dropdown {
    display: none; /* REQUIRED for slideDown to work properly */
}

    /* MAIN MOBILE MENU LINKS */
    .nav-links > li > a {
        font-size: 24px;
        padding: 14px 10px;
        display: block;
    }

    /* DROPDOWN LINKS (smaller than main menu) */
    .dropdown a {
        font-size: 16px;
        padding: 5px 30px;

    }
    
      /* PLUS / MINUS INLINE (next to text, not far right) */
    .nav-links > li > a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 6px; /* space between text and + / - */
        position: relative;
    }

    .nav-links > li.has-dropdown > a::after {
        content: "+";
        font-size: 18px;
        opacity: 0.8;
        transition: 0.2s ease;
        position: static; /* IMPORTANT: removes far-right positioning */
    }

    .nav-links > li.has-dropdown.active > a::after {
        content: "-";
    }


}


.logo-track {
    animation: none !important;
}

.logo-track.reverse {
    animation: none !important;
}