:root {
    --bg: #0f1724;
    --card: #0b1220;
    --muted: #94a3b8;
    --accent: #06b6d4;
    --accent-2: #7c3aed;
    --glass: rgba(255, 255, 255, 0.04);
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Inter, system-ui;
    background: linear-gradient(180deg, #071024 0%, #081426 60%);
    color: #e6eef6;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 28px
}

a {
    text-decoration: none;
    color: inherit
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center
}

.logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800
}

.btn {
    background: var(--accent);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    color: #042b33
}

.muted {
    color: var(--muted)
}

.small-text {
    font-size: 12px
}

.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    padding: 36px 0
}

.hero-card {
    background: var(--card);
    padding: 28px;
    border-radius: 20px
}

.stat-row {
    display: flex;
    gap: 14px;
    margin-top: 18px
}

.stat {
    background: var(--glass);
    padding: 10px 12px;
    border-radius: 10px;
    color: #94a3b8;
    font-weight: 600;

}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    padding: 18px;
    border-radius: 12px;
}

.card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.approach {
    display: flex;
    gap: 14px;
    margin-top: 28px
}

.step {
    background: var(--card);
    padding: 14px;
    border-radius: 12px;
}

.step {
    background: var(--card);
    padding: 14px;
    border-radius: 12px
}

.step h4 {
    margin: 0 0 6px;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.t {
    background: var(--card);
    padding: 16px;
    border-radius: 12px
}

.form {
    display: flex;
    gap: 8px
}

.form input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #333;
    background: transparent;
    color: white
}

footer {
    margin-top: 46px;
    padding: 28px 0;
    color: var(--muted);
    font-size: 13px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap
}

.cta {
    margin: 44px 0 0 0;
}

.cta .pill {
    margin: 0 0 0 30px;
}

.navlinks .muted {
    margin: 0 0 0 20px;
}

.navlinks .btn {
    margin: -10px 0 0 10px;
}

/* Testimonials */
.testimonials {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.t {
    background: var(--card);
    padding: 16px;
    border-radius: 12px
}

.muted {
    color: var(--muted)
}

/* Clients slider */
.clients-section {
    margin-top: 40px
}

.clients-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.logo-slider {
    margin-top: 18px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--card);
    padding: 16px 0;
    position: relative
}

.logo-track {
    display: flex;
    gap: 48px;
    animation: scroll-logos 25s linear infinite;
    will-change: transform
}

.logo-item {
    flex: 0 0 auto;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity .2s, transform .2s
}

.logo-item img {
    width: 130px;
    height: 132px;
    filter: grayscale(100%);
    object-fit: contain
}

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

.logo-item:hover img {
    filter: grayscale(0%)
}

.logo-slider:hover .logo-track {
    animation-play-state: paused
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-100%)
    }
}

footer {
    margin-top: 46px;
    padding: 28px 0;
    color: var(--muted);
    font-size: 13px
}


/* =========================
   MOBILE OPTIMIZATION ONLY
   ========================= */
@media (max-width: 768px) {

    /* Container padding fix */
    .container {
        padding: 14px;
    }

    /* Navbar mobile layout */
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .navlinks {
        margin: 20px 0 0 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    .navlinks a {
        font-size: 14px;
    }

   

    /* Hero section stacking */
    .hero {
        flex-direction: column;
        gap: 18px;
    }

    .hero-card h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .lead {
        font-size: 15px;
        line-height: 1.6;
    }

    .stat-row {
        flex-direction: column;
        gap: 8px;
    }

    .cta {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .cta .btn,
    .cta .pill {
        width: 100%;
        text-align: center;
    }

    .cta .pill {
        margin: unset;
    }

    .service-div {
        flex-direction: column;
    }

    /* Sidebar cards full width */
    aside {
        width: 100%;
    }

    /* Services grid 1 column */
    .grid {
        grid-template-columns: 1fr !important;
    }

    /* Approach section stack */
    .approach {
        flex-direction: column;
        gap: 18px;
    }

    .approach>div {
        width: 100% !important;
    }

    /* Testimonials stack */
    .testimonials {
        flex-direction: column;
        gap: 14px;
    }

    /* Contact section center */
    #contact {
        text-align: center;
    }

    #contact .btn {
        width: 100%;
    }

    /* Client logos */
    .clients-header {
        text-align: center;
    }

    .logo-item img {
        width: 118px;
        height: 118px;
    }

    /* Footer mobile layout */
    footer>div:first-child {
        flex-direction: column;
        gap: 20px;
    }

    footer ul {
        padding-left: 0;
    }

    footer .muted {
        font-size: 13px;
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
}






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

    .grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .testimonials {
        grid-template-columns: 1fr
    }

    .nav {
        flex-wrap: wrap
    }
}

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

    .brand span {
        display: none
    }

    h1 {
        font-size: 22px
    }

    .logo-track {
        gap: 32px
    }
}

/* tiny form */
.form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.form input {
    flex: 1 1 160px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    color: inherit
}

.pill {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 12px;
    border-radius: 999px
}

@media(max-width:900px) {
    .hero {
        grid-template-columns: 1fr
    }

    .grid {
        grid-template-columns: 1fr 1fr
    }
}

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