﻿/* =====================================================================
   WEB DEVELOPMENT PAGE  -  /wwwroot/css/webdevelopment.css
   Fully separate from style.css. Every class starts with "wd-".
   Layout se sirf fixed navbar ka offset (--nav2-h, --nav-h) liya hai.
   ===================================================================== */
.wd-page {
    --wd-blue: #2f5bff;
    --wd-blue-d: #1d3fd1;
    --wd-sky: #7fa2ff;
    --wd-ink: #0a1230;
    --wd-muted: #516089;
    --wd-bg: #f6f8ff;
    --wd-tint: #e8eeff;
    --wd-line: rgba(10,18,48,.12);
    --wd-offset: calc(var(--nav2-h,42px) + var(--nav-h,100px));
    --wd-head: 'Bricolage Grotesque',system-ui,sans-serif;
    --wd-body: 'Instrument Sans',system-ui,sans-serif;
    font-family: var(--wd-body);
    color: var(--wd-ink);
    background: var(--wd-bg);
    line-height: 1.65;
    overflow-x: hidden;
}

    .wd-page *, .wd-page *::before, .wd-page *::after {
        box-sizing: border-box
    }

    .wd-page img {
        max-width: 100%;
        display: block
    }

    .wd-page a {
        text-decoration: none;
        color: inherit
    }

    .wd-page h1, .wd-page h2, .wd-page h3 {
        font-family: var(--wd-head);
        font-weight: 800;
        letter-spacing: -.03em;
        line-height: 1.1;
        margin: 0;
        color: var(--wd-ink)
    }

    .wd-page p {
        margin: 0
    }

    .wd-page :focus-visible {
        outline: 2px solid var(--wd-blue);
        outline-offset: 3px
    }

.wd-wrap {
    width: min(1180px,100% - 2.5rem);
    margin-inline: auto
}

.wd-section {
    padding: clamp(3.5rem,9vw,7rem) 0
}

    .wd-section.wd-alt {
        background: var(--wd-tint)
    }

    .wd-section.wd-white {
        background: #fff
    }

.wd-title {
    font-size: clamp(1.8rem,4.2vw,3.1rem);
    max-width: 18ch
}

.wd-lead {
    color: var(--wd-muted);
    font-size: clamp(1rem,1.4vw,1.15rem);
    max-width: 56ch;
    margin-top: 1rem
}

.wd-head {
    margin-bottom: clamp(2rem,5vw,3.5rem)
}

/* buttons */
.wd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .95rem 1.7rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    border: 1px solid var(--wd-blue);
    transition: transform .3s,background .3s,color .3s,box-shadow .3s;
    cursor: pointer
}

.wd-btn-fill {
    background: var(--wd-blue);
    color: #fff
}

    .wd-btn-fill:hover {
        background: #fff;
        color: var(--wd-blue);
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(47,91,255,.25)
    }

.wd-btn-line {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.55)
}

    .wd-btn-line:hover {
        background: #fff;
        color: var(--wd-ink);
        transform: translateY(-3px)
    }

/* ================= HERO ================= */
.wd-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    padding: calc(var(--wd-offset) + clamp(2.5rem,6vw,5rem)) 0 clamp(3.5rem,8vw,6rem);
    background: radial-gradient(900px 500px at 85% 20%,rgba(47,91,255,.55),transparent 60%),linear-gradient(160deg,#0a1230 0%,#12256e 100%);
}

    .wd-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        opacity: .5;
        background: repeating-linear-gradient(90deg,rgba(127,162,255,.10) 0 1px,transparent 1px 80px), repeating-linear-gradient(0deg,rgba(127,162,255,.10) 0 1px,transparent 1px 80px);
        mask-image: radial-gradient(circle at 70% 40%,#000,transparent 70%);
        -webkit-mask-image: radial-gradient(circle at 70% 40%,#000,transparent 70%);
    }

.wd-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2rem,5vw,4.5rem);
    align-items: center
}

.wd-hero h1 {
    color: #fff;
    font-size: clamp(2.2rem,5.6vw,4.6rem);
    line-height: 1.05
}

    .wd-hero h1 em {
        font-style: normal;
        color: var(--wd-sky)
    }

.wd-hero p.wd-hero-p {
    margin-top: 1.4rem;
    max-width: 52ch;
    color: rgba(255,255,255,.82);
    font-size: clamp(1rem,1.5vw,1.15rem)
}

.wd-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 2rem
}

.wd-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.6rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    color: rgba(255,255,255,.8);
    font-size: .92rem
}

    .wd-hero-points li::before {
        content: "\2713";
        color: var(--wd-sky);
        margin-right: .5rem;
        font-weight: 700
    }

/* browser mockup */
.wd-browser {
    position: relative;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 40px 80px rgba(0,0,0,.45);
    overflow: visible;
    transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
    transition: transform .6s
}

    .wd-browser:hover {
        transform: perspective(1400px) rotateY(0) rotateX(0)
    }

.wd-bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem .9rem;
    background: #eef1fb;
    border-radius: 14px 14px 0 0
}

    .wd-bar i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ff6b6b
    }

        .wd-bar i:nth-child(2) {
            background: #ffc14d
        }

        .wd-bar i:nth-child(3) {
            background: #4cd67a
        }

    .wd-bar span {
        margin-left: .6rem;
        flex: 1;
        background: #fff;
        border-radius: 6px;
        padding: .2rem .8rem;
        font-size: .75rem;
        color: var(--wd-muted);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

.wd-screen {
    aspect-ratio: 16/11;
    overflow: hidden;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(160deg,#9db7ff,#dbe5ff)
}

    .wd-screen img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.wd-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #fff;
    color: var(--wd-ink);
    padding: .7rem 1rem;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(10,18,48,.25);
    font-size: .82rem;
    font-weight: 600;
    animation: wdFloat 5s ease-in-out infinite
}

    .wd-chip b {
        display: block;
        font-family: var(--wd-head);
        font-size: 1.15rem;
        color: var(--wd-blue);
        line-height: 1
    }

    .wd-chip.c1 {
        left: -8%;
        bottom: 14%
    }

    .wd-chip.c2 {
        right: -5%;
        top: -6%;
        animation-delay: -2.2s
    }

@keyframes wdFloat {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

/* ================= STATS ================= */
.wd-stats {
    background: #fff;
    border-bottom: 1px solid var(--wd-line)
}

.wd-stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem
}

.wd-stat {
    padding: 2rem 1rem;
    text-align: center;
    border-right: 1px solid var(--wd-line)
}

    .wd-stat:last-child {
        border-right: 0
    }

    .wd-stat b {
        display: block;
        font-family: var(--wd-head);
        font-size: clamp(1.8rem,3.5vw,2.8rem);
        color: var(--wd-blue);
        line-height: 1
    }

    .wd-stat span {
        display: block;
        margin-top: .5rem;
        color: var(--wd-muted);
        font-size: .92rem
    }

/* ================= SERVICES ================= */
.wd-services {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.6rem
}

.wd-card {
    background: #fff;
    border: 1px solid var(--wd-line);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .4s,box-shadow .4s,border-color .4s
}

    .wd-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 44px rgba(47,91,255,.16);
        border-color: rgba(47,91,255,.4)
    }

.wd-card-img {
    height: 190px;
    overflow: hidden;
    background: linear-gradient(160deg,#9db7ff,#dbe5ff)
}

    .wd-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .7s
    }

.wd-card:hover .wd-card-img img {
    transform: scale(1.08)
}

.wd-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    flex: 1
}

.wd-card h3 {
    font-size: 1.3rem
}

.wd-card p {
    color: var(--wd-muted);
    font-size: .96rem
}

.wd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: auto;
    padding-top: .6rem
}

    .wd-tags span {
        font-size: .78rem;
        padding: .25rem .7rem;
        border-radius: 99px;
        background: var(--wd-tint);
        color: var(--wd-blue-d);
        font-weight: 600
    }

/* ================= SPLIT (why us) ================= */
.wd-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem,6vw,5rem);
    align-items: center
}

.wd-split-img {
    position: relative
}

    .wd-split-img .wd-photo {
        border-radius: 18px;
        overflow: hidden;
        aspect-ratio: 4/5;
        background: linear-gradient(160deg,#9db7ff,#dbe5ff);
        box-shadow: 0 30px 60px rgba(10,18,48,.18)
    }

        .wd-split-img .wd-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover
        }

    .wd-split-img::before {
        content: "";
        position: absolute;
        inset: auto -4% -4% auto;
        width: 55%;
        height: 55%;
        border: 2px solid var(--wd-blue);
        border-radius: 18px;
        z-index: -1
    }

.wd-list {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    gap: 1.3rem
}

    .wd-list li {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 1rem
    }

    .wd-list .ic {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: var(--wd-blue);
        color: #fff;
        display: grid;
        place-items: center
    }

        .wd-list .ic svg {
            width: 22px;
            height: 22px;
            stroke: #fff;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round
        }

    .wd-list h3 {
        font-size: 1.1rem;
        margin-bottom: .2rem
    }

    .wd-list p {
        color: var(--wd-muted);
        font-size: .95rem
    }

/* ================= TECH ================= */
.wd-tech {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.2rem
}

.wd-tech-col {
    background: var(--wd-bg);
    border: 1px solid var(--wd-line);
    border-radius: 14px;
    padding: 1.5rem
}

    .wd-tech-col h3 {
        font-size: 1.05rem;
        margin-bottom: 1rem;
        color: var(--wd-blue)
    }

    .wd-tech-col ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: .55rem;
        font-size: .95rem
    }

    .wd-tech-col li {
        display: flex;
        align-items: center;
        gap: .6rem
    }

        .wd-tech-col li::before {
            content: "";
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--wd-blue);
            flex: none
        }

/* ================= PROCESS ================= */
.wd-steps {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 1.2rem;
    counter-reset: wd;
    position: relative
}

    .wd-steps::before {
        content: "";
        position: absolute;
        left: 5%;
        right: 5%;
        top: 26px;
        height: 2px;
        background: repeating-linear-gradient(90deg,var(--wd-blue) 0 8px,transparent 8px 16px);
        opacity: .4
    }

.wd-step {
    position: relative;
    text-align: center;
    padding: 0 .4rem
}

    .wd-step::before {
        counter-increment: wd;
        content: counter(wd);
        display: grid;
        place-items: center;
        width: 54px;
        height: 54px;
        margin: 0 auto 1rem;
        border-radius: 50%;
        background: var(--wd-blue);
        color: #fff;
        font-family: var(--wd-head);
        font-weight: 800;
        font-size: 1.2rem;
        box-shadow: 0 0 0 8px var(--wd-tint)
    }

    .wd-step h3 {
        font-size: 1.08rem;
        margin-bottom: .4rem
    }

    .wd-step p {
        color: var(--wd-muted);
        font-size: .92rem
    }

/* ================= INDUSTRIES ================= */
.wd-ind {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem
}

.wd-ind-item {
    position: relative;
    height: 230px;
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    background: linear-gradient(160deg,#2f5bff,#0a1230)
}

    .wd-ind-item img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .7s
    }

    .wd-ind-item::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top,rgba(5,11,31,.88),rgba(5,11,31,.05) 65%)
    }

    .wd-ind-item:hover img {
        transform: scale(1.08)
    }

    .wd-ind-item h3 {
        position: relative;
        z-index: 2;
        color: #fff;
        font-size: 1.15rem
    }

/* ================= FAQ ================= */
.wd-faq {
    max-width: 820px;
    margin-inline: auto
}

    .wd-faq details {
        border-bottom: 1px solid var(--wd-line)
    }

    .wd-faq summary {
        list-style: none;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 1.3rem 0;
        font-family: var(--wd-head);
        font-weight: 800;
        font-size: clamp(1.02rem,2vw,1.3rem)
    }

        .wd-faq summary::-webkit-details-marker {
            display: none
        }

        .wd-faq summary::after {
            content: "+";
            font-size: 1.6rem;
            line-height: 1;
            color: var(--wd-blue);
            transition: transform .3s
        }

    .wd-faq details[open] summary::after {
        transform: rotate(45deg)
    }

    .wd-faq details p {
        padding: 0 0 1.3rem;
        color: var(--wd-muted);
        max-width: 68ch
    }

/* ================= CTA ================= */
.wd-cta {
    background: linear-gradient(135deg,#0a1230,#1d3fd1);
    color: #fff;
    border-radius: 22px;
    padding: clamp(2.2rem,6vw,4.5rem);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden
}

    .wd-cta::after {
        content: "";
        position: absolute;
        right: -80px;
        top: -80px;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        border: 2px solid rgba(127,162,255,.35)
    }

    .wd-cta h2 {
        color: #fff;
        font-size: clamp(1.6rem,3.6vw,2.7rem);
        max-width: 20ch
    }

    .wd-cta p {
        color: rgba(255,255,255,.8);
        margin-top: .8rem;
        max-width: 46ch
    }

    .wd-cta .wd-btn-fill {
        background: #fff;
        color: var(--wd-blue);
        border-color: #fff;
        position: relative;
        z-index: 2
    }

        .wd-cta .wd-btn-fill:hover {
            background: transparent;
            color: #fff
        }

/* reveal (JS adds .wd-in) */
.wd-js .wd-rv {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease,transform .8s ease
}

    .wd-js .wd-rv.wd-in {
        opacity: 1;
        transform: none
    }

/* ================= RESPONSIVE ================= */
@media (max-width:1100px) {
    .wd-services {
        grid-template-columns: repeat(2,1fr)
    }

    .wd-tech {
        grid-template-columns: repeat(2,1fr)
    }

    .wd-ind {
        grid-template-columns: repeat(2,1fr)
    }

    .wd-steps {
        grid-template-columns: repeat(3,1fr);
        row-gap: 2rem
    }

        .wd-steps::before {
            display: none
        }
}

@media (max-width:900px) {
    .wd-hero-grid, .wd-split {
        grid-template-columns: 1fr
    }

    .wd-browser {
        transform: none;
        max-width: 560px;
        margin-inline: auto
    }

    .wd-chip.c1 {
        left: -2%
    }

    .wd-chip.c2 {
        right: -2%
    }

    .wd-split-img {
        max-width: 480px;
        margin-inline: auto
    }

        .wd-split-img .wd-photo {
            aspect-ratio: 4/3
        }

    .wd-stats-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .wd-stat:nth-child(2) {
        border-right: 0
    }

    .wd-stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--wd-line)
    }
}

@media (max-width:767px) {
    .wd-page {
        --wd-offset: calc(var(--nav2-h,38px) + var(--nav-h,64px))
    }

    .wd-hero-cta .wd-btn {
        flex: 1 1 100%
    }

    .wd-services {
        grid-template-columns: 1fr
    }

    .wd-steps {
        grid-template-columns: 1fr 1fr
    }

    .wd-card-img {
        height: 170px
    }

    .wd-chip {
        font-size: .72rem;
        padding: .5rem .7rem
    }

        .wd-chip b {
            font-size: 1rem
        }

    .wd-cta {
        text-align: center;
        justify-content: center
    }

        .wd-cta .wd-btn {
            width: 100%
        }
}

@media (max-width:480px) {
    .wd-wrap {
        width: min(1180px,100% - 1.6rem)
    }

    .wd-tech, .wd-ind, .wd-steps {
        grid-template-columns: 1fr
    }

    .wd-ind-item {
        height: 190px
    }

    .wd-stat {
        padding: 1.4rem .5rem
    }

    .wd-chip.c1 {
        left: 0;
        bottom: -6%
    }

    .wd-chip.c2 {
        right: 0;
        top: -8%
    }
}

@media (prefers-reduced-motion:reduce) {
    .wd-page * {
        animation: none !important;
        transition: none !important
    }

    .wd-js .wd-rv {
        opacity: 1;
        transform: none
    }

    .wd-browser {
        transform: none
    }
}
