

/* ═══════════════════════════════════
   RESET / BASE
═══════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7ff;
    color: #1a1c52;
    line-height: 1.65;
    overflow-x: hidden;
    font-size: 15px;
}

a {
    text-decoration: none;
    color: inherit
}

img {
    display: block;
    max-width: 100%
}

/* ═══════════════════════════════════
   SCROLL PROGRESS
═══════════════════════════════════ */
#spb {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(135deg, #3e4095 0%, #00afef 100%);
    z-index: 9999;
    transition: width .1s linear;
}

/* ═══════════════════════════════════
   REVEAL
═══════════════════════════════════ */
.rv {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}

.rv.in {
    opacity: 1;
    transform: none
}

.d1 {
    transition-delay: .10s !important
}

.d2 {
    transition-delay: .20s !important
}

.d3 {
    transition-delay: .30s !important
}

/* ═══════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════ */
.page-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

.section-header-title {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px 64px;
    align-items: end;
    margin-bottom: 56px;
}

.sh-left {
    min-width: 220px
}

.sh-tag {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #00afef;
    margin-bottom: 12px;
}

.sh-h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: #1a1c52;
}

.sh-desc {
    font-size: .95rem;
    font-weight: 300;
    color: #6b6f90;
    line-height: 1.85;
    align-self: end;
    padding-bottom: 4px;
}

.c-grad {
    background: linear-gradient(135deg, #3e4095 0%, #00afef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════
   HERO — dark full-bleed
═══════════════════════════════════ */
.hero-slider {
    position: relative;
    background: #1a1c52;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* angled stripe */
.hero-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.hb-stripe {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    background: linear-gradient(180deg, #2e3490 0%, #252c85 100%);
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.hb-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hb-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.g1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 175, 239, .35), transparent 70%);
    top: -200px;
    left: -100px;
}

.g2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 175, 239, .2), transparent 70%);
    bottom: -150px;
    right: 5%;
}

.hb-circle-deco {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .06);
}

.hbc1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px
}

.hbc2 {
    width: 320px;
    height: 320px;
    bottom: 80px;
    right: 15%
}

/* hero container */
.hero-container {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

/* hero body */
.hero-body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 80px 0 60px;
}

/* copy */
.hero-copy {
    max-width: 600px
}

.hc-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #00afef;
    background: rgba(0, 175, 239, .1);
    border: 1px solid rgba(0, 175, 239, .2);
    border-radius: 50px;
    padding: 7px 16px;
    margin-bottom: 28px;
}

.hc-tag i {
    font-size: 12px
}

.hc-h1 {
    font-size: clamp(2.8rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -.04em;
    color: #fff;
    margin-bottom: 24px;
}

.hc-h1 span {
    display: block
}

.hc-h1-accent {
    background: linear-gradient(135deg, #3e4095 0%, #00afef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hc-desc {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, .65);
    line-height: 1.85;
    max-width: 480px;
    margin-bottom: 32px;
}

.hc-services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hc-services span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    padding: 6px 14px;
}

.hc-services i {
    color: #00afef;
    font-size: .9rem
}

/* stat cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 140px);
    grid-template-rows: repeat(2, 140px);
    gap: 14px;
}

.hst-card {
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
}

.hst-card:hover {
    transform: translateY(-4px)
}

.hst-primary {
    background: linear-gradient(135deg, #3e4095 0%, #00afef 100%);
    box-shadow: 0 8px 32px rgba(62, 64, 149, .45);
}

.hst-secondary {
    background: linear-gradient(135deg, #00afef, #0095cc);
    box-shadow: 0 8px 32px rgba(0, 175, 239, .35);
}

.hst-outline {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
}

.hst-card strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
    color: #fff;
    margin-bottom: 6px;
}

.hst-card span {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(255, 255, 255, .7);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* TICKER */
.hero-ticker {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #3e4095, #00afef);
    overflow: hidden;
    padding: 13px 0;
    flex-shrink: 0;
}

.ticker-wrap {
    overflow: hidden
}

.ticker-inner {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: tickmove 30s linear infinite;
    width: max-content;
}

.ticker-inner span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    padding: 0 28px;
}

.ticker-inner i {
    color: rgba(255, 255, 255, .5);
    font-size: 8px;
    flex-shrink: 0;
}

@keyframes tickmove {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ═══════════════════════════════════
   SERVICES — numbered list
═══════════════════════════════════ */
.services {
    background: #f5f7ff;
    padding: 96px 0
}

.svc-list {
    display: flex;
    flex-direction: column
}

.svc-row {
    display: grid;
    grid-template-columns: 56px 64px 1fr auto;
    gap: 0 28px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid #e2e5f2;
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
}

.svc-row:first-child {
    border-top: 1px solid #e2e5f2
}

.svc-row:hover {
    background: rgba(62, 64, 149, .03);
    padding-left: 12px;
    border-radius: 12px
}

.sr-index {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #8589b0;
    text-align: right;
    padding-right: 12px;
    border-right: 1px solid #e2e5f2;
}

.sr-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--ic) 10%, white);
    color: var(--ic);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
    flex-shrink: 0;
}

.svc-row:hover .sr-icon {
    transform: rotate(-8deg) scale(1.1)
}

.sr-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1c52;
    margin-bottom: 4px;
    letter-spacing: -.01em;
}

.sr-body p {
    font-size: .85rem;
    color: #6b6f90;
    line-height: 1.7;
    max-width: 480px;
}

.sr-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.sr-tags span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    background: #ecedf8;
    color: #3e4095;
    border-radius: 50px;
    padding: 4px 10px;
    border: 1px solid rgba(62, 64, 149, .15);
}

/* ═══════════════════════════════════
   TECH STACK
═══════════════════════════════════ */
.techstack {
    background: #fff;
    padding: 96px 0
}

.tech-cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tc-full {
    grid-column: 1/-1
}

.tc-block {
    background: #f5f7ff;
    border: 1px solid #e2e5f2;
    border-radius: 16px;
    padding: 22px 22px 18px;
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
}

.tc-block:hover {
    border-color: #00afef;
    box-shadow: 0 6px 28px rgba(0, 175, 239, .1);
    transform: translateY(-3px);
}

.tcb-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
    color: var(--lc);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.tcb-label i {
    font-size: 1rem
}

.tcb-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.tcb-pills span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .77rem;
    font-weight: 500;
    color: #444;
    background: #fff;
    border: 1px solid #e2e5f2;
    border-radius: 8px;
    padding: 6px 12px;
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
    cursor: default;
}

.tcb-pills span img {
    width: 18px;
    height: 18px;
    object-fit: contain
}

.tcb-pills span i {
    font-size: .95rem
}

.tcb-pills span:hover {
    border-color: #00afef;
    color: #3e4095;
    background: #dff4fd;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════
   PROJECTS — 3-col cards
═══════════════════════════════════ */
.projects {
    background: #f5f7ff;
    padding: 96px 0
}

.proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pc-large {
    grid-column: span 1;
    grid-row: span 2
}

.pc-large .pcard-visual {
    height: 240px
}

.proj-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e5f2;
    box-shadow: 0 2px 10px rgba(62, 64, 149, .06);
    display: flex;
    flex-direction: column;
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
}

.proj-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(62, 64, 149, .16);
    border-color: transparent;
}

.pcard-visual {
    height: 240px;
    background: linear-gradient(145deg, var(--ca), var(--cb));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.pcard-visual::before {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
}

.pcard-visual i {
    font-size: 3rem;
    color: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
}

.proj-card:hover .pcard-visual i {
    transform: scale(1.1) rotate(-5deg)
}

.pv-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #3e4095;
    background: rgba(255, 255, 255, .9);
    padding: 4px 10px;
    border-radius: 50px;
}

.pcard-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.pb-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #00afef;
    margin-bottom: 8px;
    display: block;
}

.pcard-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1c52;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}

.pcard-body p {
    font-size: .855rem;
    color: #6b6f90;
    line-height: 1.75;
    flex: 1;
    margin-bottom: 16px;
}

.pb-foot {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.pb-foot span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: #9196b8;
}

.pb-foot i {
    font-size: .8rem;
    color: #3e4095
}

/* ═══════════════════════════════════
   CONTACT
═══════════════════════════════════ */
.contact {
    background: #21256b;
    padding: 96px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.cg-left {
    color: #fff
}

.cg-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.cg-h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 16px;
}

.cg-desc {
    font-size: .9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, .55);
    line-height: 1.85;
    margin-bottom: 36px;
}

.cg-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.ci {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .875rem;
    color: rgba(255, 255, 255, .7);
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
}

.ci:hover {
    color: #fff;
    transform: translateX(4px)
}

.ci i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #00afef;
    flex-shrink: 0;
}

.cgs {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, .6);
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
}

.cgs:hover {
    background: linear-gradient(135deg, #3e4095 0%, #00afef 100%);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
}

/* CTA card */
.cta-card {
    position: relative;
    background: #272c7a;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .24), 0 2px 8px rgba(0, 0, 0, .12);
}

.cta-card-bg {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.ccbg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.o1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(62, 64, 149, .5), transparent 70%);
    top: -100px;
    right: -80px;
}

.o2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 175, 239, .3), transparent 70%);
    bottom: -60px;
    left: 0;
}

.ccbg-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-card-inner {
    position: relative;
    z-index: 1;
    padding: 52px 48px;
    text-align: center;
}

/* animated rings */
.cta-icon-ring {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cir-outer,
.cir-inner {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
}

.cir-outer {
    width: 100px;
    height: 100px;
    animation: rspin 14s linear infinite
}

.cir-inner {
    width: 66px;
    height: 66px;
    border-color: rgba(0, 175, 239, .25);
    animation: rspin 9s linear infinite reverse;
}

@keyframes rspin {
    to {
        transform: rotate(360deg)
    }
}

.cir-icon {
    position: relative;
    z-index: 1;
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, #3e4095 0%, #00afef 100%);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(62, 64, 149, .4);
}

.cta-card-inner h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: 12px;
}

.cta-card-inner p {
    font-size: .9rem;
    color: rgba(255, 255, 255, .55);
    line-height: 1.75;
    margin-bottom: 32px;
}

.cta-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3e4095 0%, #00afef 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 15px 32px;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(62, 64, 149, .45);
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
    letter-spacing: .01em;
}

.cta-main-btn:hover {
    background: linear-gradient(135deg, #2d2f6e 0%, #0095cc 100%);
    box-shadow: 0 8px 36px rgba(62, 64, 149, .6);
    transform: translateY(-2px);
    color: #fff;
}

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media(max-width:1024px) {
    .hero-body {
        grid-template-columns: 1fr
    }

    .hero-stats {
        display: none
    }

    .section-header-title {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .sh-desc {
        padding-bottom: 0
    }
}

@media(max-width:991px) {

    .services,
    .techstack,
    .projects,
    .contact {
        padding: 72px 0
    }

    .svc-row {
        grid-template-columns: 40px 52px 1fr;
        gap: 0 20px
    }

    .sr-tags {
        display: none
    }

    .tech-cats {
        grid-template-columns: repeat(2, 1fr)
    }

    .tc-full {
        grid-column: 1/-1
    }

    .proj-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .pc-large {
        grid-column: span 1;
        grid-row: span 1
    }

    .pc-large .pcard-visual {
        height: 160px
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }
}

@media(max-width:575px) {
    .hc-h1 {
        font-size: clamp(2.2rem, 9vw, 3.2rem)
    }

    .tech-cats {
        grid-template-columns: 1fr
    }

    .proj-grid {
        grid-template-columns: 1fr
    }

    .cta-card-inner {
        padding: 36px 28px
    }

    .svc-row {
        grid-template-columns: 40px 1fr
    }

    .sr-icon {
        display: none
    }
}