﻿/* DotNet Expert | Maintenance & Support
   Page-only styles. The shell, header, sections and hero image come from site.css.
*/

#ms-page {
    --maintenance-cyan-soft: #e9fafd;
    --maintenance-shadow-hover: 0 22px 48px rgba(38, 54, 58, .13);
}

    #ms-page a {
        color: var(--site-primary-dark);
    }

    #ms-page .ms-hero-tag {
        box-shadow: 0 5px 15px rgba(21, 159, 202, .06);
        animation: msTextIn .7s .08s var(--site-ease) both;
    }

    #ms-page .ms-hero p {
        animation: msTextIn .7s .12s var(--site-ease) both;
    }

    #ms-page .ms-cta {
        margin-top: 22px;
        animation: msTextIn .7s .2s var(--site-ease) both;
    }

        #ms-page .ms-cta a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            padding: 10px 16px;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--site-primary), var(--site-primary-dark));
            color: #ffffff;
            font-size: 13px;
            font-weight: 750;
            text-decoration: none;
            box-shadow: 0 10px 22px rgba(21, 159, 202, .18);
            transition: transform .25s var(--site-ease), box-shadow .25s ease;
        }

            #ms-page .ms-cta a:hover {
                transform: translateY(-2px);
                box-shadow: 0 14px 28px rgba(21, 159, 202, .24);
            }

    /* Match Web Development feature-section spacing without changing the page shell. */
    #ms-page .ms-section {
        padding: 40px 42px;
    }

@media (max-width: 1180px) {
    #ms-page .ms-section {
        padding-left: 32px;
        padding-right: 32px;
    }
}

#ms-page .ms-section h2 {
    margin: 0 0 18px;
    font-size: clamp(25px, 2.4vw, 34px);
}

#ms-page .ms-section h3 {
    margin: 0 0 10px;
    color: var(--site-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

#ms-page .ms-section p {
    margin: 0 0 15px;
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.78;
}

    #ms-page .ms-section p:last-child {
        margin-bottom: 0;
    }

#ms-page .ms-overview {
    background: radial-gradient(circle at 92% 14%, rgba(34,201,223,.11), transparent 24%), linear-gradient(135deg, #f3fbfc 0%, #ffffff 74%);
}

#ms-page .ms-overview-body {
    position: relative;
    max-width: 920px;
}

#ms-page .ms-visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 32%;
    background: linear-gradient(180deg, transparent, rgba(47,54,56,.08));
    pointer-events: none;
}

#ms-page .ms-visual img {
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}

#ms-page .ms-perf {
    background: radial-gradient(circle at 94% 6%, rgba(34,201,223,.10), transparent 24%), linear-gradient(180deg, #ffffff 0%, #f9fcfd 100%);
}

#ms-page .ms-perf-head {
    max-width: 880px;
    margin-bottom: 28px;
}

#ms-page .ms-perf-tag {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--site-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.3;
}

#ms-page .ms-perf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

#ms-page .ms-perf-card {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 100%;
    padding: 22px 20px 20px 66px;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 24px rgba(38,54,58,.04);
    transition: transform .25s var(--site-ease), box-shadow .25s ease, border-color .25s ease;
}

    #ms-page .ms-perf-card:hover {
        transform: translateY(-5px);
        border-color: #b9dfe6;
        box-shadow: var(--maintenance-shadow-hover);
    }

#ms-page .ms-perf-num {
    position: absolute;
    top: 20px;
    left: 18px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
    color: #ffffff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .04em;
    box-shadow: 0 8px 18px rgba(21,159,202,.18);
}

#ms-page .ms-perf-body h3 {
    margin: 0 0 9px;
    color: var(--site-heading);
    font-size: 18px;
    font-weight: 720;
    line-height: 1.35;
}

#ms-page .ms-perf-body p {
    margin: 0;
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.72;
}

#ms-page .ms-perf-card:last-child {
    grid-column: 1 / -1;
}

#ms-page .ms-reliable {
    background: linear-gradient(135deg, #eefbfd 0%, #ffffff 80%);
}

#ms-page .ms-rel-head {
    max-width: 900px;
    margin-bottom: 26px;
}

    #ms-page .ms-rel-head h2 {
        margin: 8px 0 12px;
    }

    #ms-page .ms-rel-head p {
        margin: 0;
    }

#ms-page .ms-rel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

#ms-page .ms-rel-card {
    position: relative;
    padding: 22px 22px 20px;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #f7fbfc);
    box-shadow: 0 8px 24px rgba(38,54,58,.04);
    transition: opacity .55s var(--site-ease), transform .55s var(--site-ease), border-color .3s ease, box-shadow .3s ease;
    transition-delay: var(--animation-delay, 0ms);
}

    #ms-page .ms-rel-card:hover {
        transform: translateY(-5px);
        border-color: #c2dfe5;
        box-shadow: 0 22px 48px rgba(38,54,58,.13);
    }

#ms-page .ms-rel-body h3 {
    margin: 0 0 10px;
    color: var(--site-heading);
    font-size: 18px;
    font-weight: 720;
    line-height: 1.35;
}

#ms-page .ms-rel-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
}

#ms-page .ms-rel-card::before,
#ms-page .ms-why-card::before {
    content: "";
    display: block;
    width: 34px;
    height: 4px;
    margin-bottom: 16px;
    border-radius: 4px;
    background: var(--site-accent);
}

#ms-page .ms-why {
    background: linear-gradient(135deg, #f2fafc 0%, #eaf7fa 100%);
}

#ms-page .ms-why-head {
    max-width: 920px;
    margin-bottom: 26px;
}

#ms-page .ms-tag {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--site-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.3;
}

#ms-page .ms-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

#ms-page .ms-why-card {
    position: relative;
    min-height: 100%;
    padding: 22px 20px 20px 66px;
    border: 1px solid var(--site-border);
    border-radius: 16px;
    background: rgba(255,255,255,.90);
    box-shadow: 0 8px 24px rgba(38,54,58,.04);
    opacity: 1;
    transform: translateY(0);
    transition: opacity .55s var(--site-ease), transform .55s var(--site-ease), border-color .3s ease, box-shadow .3s ease;
    transition-delay: var(--animation-delay, 0ms);
}

    #ms-page .ms-why-card:hover {
        transform: translateY(-5px);
        border-color: #c4e2e8;
        box-shadow: var(--maintenance-shadow-hover);
    }

#ms-page .ms-why-num {
    position: absolute;
    top: 21px;
    left: 18px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--site-primary-dark), var(--site-accent));
    color: #ffffff;
    font-size: 11px;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(21,159,202,.18);
    transition: transform .3s var(--site-ease), box-shadow .3s ease;
}

#ms-page .ms-why-card:hover .ms-why-num {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 11px 24px rgba(21,159,202,.24);
}

#ms-page .ms-why-body h3 {
    margin: 0 0 9px;
    color: var(--site-heading);
    font-size: 18px;
    font-weight: 720;
    line-height: 1.35;
}

#ms-page .ms-why-body p {
    margin: 0;
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.72;
}

#ms-page .ms-scope {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
    gap: 28px;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 92% 15%, rgba(34,201,223,.18), transparent 25%), linear-gradient(135deg, #eaf9fc 0%, #f8fcfd 100%);
}

#ms-page .ms-modern {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--site-border);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #f7fbfc);
    box-shadow: 0 8px 24px rgba(38,54,58,.04);
    transition: opacity .55s var(--site-ease), transform .55s var(--site-ease), border-color .3s ease, box-shadow .3s ease;
    transition-delay: var(--animation-delay, 0ms);
}

    #ms-page .ms-modern:hover {
        transform: translateY(-5px);
        border-color: #c2dfe5;
        box-shadow: 0 22px 48px rgba(38,54,58,.13);
    }

    #ms-page .ms-modern::after {
        content: "";
        position: absolute;
        width: 145px;
        height: 145px;
        right: -66px;
        bottom: -80px;
        border: 1px solid rgba(21,159,202,.15);
        border-radius: 50%;
        box-shadow: 0 0 0 20px rgba(21,159,202,.025);
        pointer-events: none;
        transition: transform .55s var(--site-ease);
    }

    #ms-page .ms-modern:hover::after {
        transform: scale(1.12);
    }

    #ms-page .ms-modern > span {
        position: relative;
        z-index: 1;
        display: block;
        margin-bottom: 7px;
        color: var(--site-primary);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    #ms-page .ms-modern h3 {
        position: relative;
        z-index: 1;
        margin: 0 0 10px;
        color: var(--site-heading);
        font-size: 20px;
        font-weight: 740;
        line-height: 1.35;
    }

    #ms-page .ms-modern p {
        position: relative;
        z-index: 1;
        margin: 0 0 14px;
        color: var(--site-text);
        font-size: 14px;
        line-height: 1.8;
    }

    #ms-page .ms-modern a {
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: var(--site-primary-dark);
        font-size: 13px;
        font-weight: 750;
        text-decoration: none;
    }

        #ms-page .ms-modern a span {
            transition: transform .28s var(--site-ease);
        }

        #ms-page .ms-modern a:hover span {
            transform: translateX(2px);
        }

#ms-page .ms-side {
    position: sticky;
    top: 105px;
    z-index: 10;
    align-self: start;
    overflow: visible;
    max-height: none;
    border: 1px solid #d5e3e7;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(38,54,58,.09);
}

#ms-page .ms-hire {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    border-bottom: 1px solid #d7e8eb;
    background: #ffffff;
}

    #ms-page .ms-hire::before {
        content: "";
        position: absolute;
        z-index: 5;
        top: 0;
        left: -55%;
        width: 32%;
        height: 115px;
        pointer-events: none;
        opacity: 0;
        transform: skewX(-20deg);
        background: linear-gradient( 90deg, transparent 0%, rgba(255,255,255,.04) 18%, rgba(255,255,255,.28) 50%, rgba(255,255,255,.05) 82%, transparent 100% );
    }

#ms-page .ms-side:hover .ms-hire::before {
    opacity: 1;
    animation: msHireShine .85s var(--site-ease) forwards;
}

#ms-page .ms-hire-top {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 19px 22px 21px;
    background: radial-gradient(circle at 86% 8%, rgba(34,201,223,.20), transparent 32%), linear-gradient(135deg, #30383a 0%, #145f73 52%, #159fca 100%);
    color: #ffffff;
}

    #ms-page .ms-hire-top::before {
        content: "";
        position: absolute;
        z-index: 2;
        top: 0;
        left: 22px;
        width: 64px;
        height: 4px;
        border-radius: 0 0 6px 6px;
        background: var(--site-accent);
    }

    #ms-page .ms-hire-top::after {
        content: "";
        position: absolute;
        z-index: 0;
        width: 180px;
        height: 180px;
        right: -72px;
        bottom: -115px;
        border: 1px solid rgba(255,255,255,.13);
        border-radius: 50%;
        box-shadow: 0 0 0 22px rgba(255,255,255,.025), 0 0 0 44px rgba(34,201,223,.035);
        pointer-events: none;
    }

#ms-page .ms-hire-label {
    position: relative;
    z-index: 3;
    display: block;
    margin: 0 0 6px;
    color: rgba(255,255,255,.94);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

#ms-page .ms-hire-row {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

#ms-page .ms-hire-price {
    color: #ffffff;
    font-size: 44px;
    font-weight: 850;
    line-height: .9;
    letter-spacing: -.05em;
}

#ms-page .ms-hire-unit {
    padding-bottom: 5px;
    color: rgba(255,255,255,.92);
    font-size: 10px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
}

#ms-page .ms-hire-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: radial-gradient(circle at 100% 0%, rgba(34,201,223,.09), transparent 35%), #ffffff;
}

#ms-page .ms-hire-item {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 6px;
    text-align: center;
}

    #ms-page .ms-hire-item +
    .ms-hire-item::before {
        content: "";
        position: absolute;
        top: 20%;
        bottom: 20%;
        left: 0;
        width: 1px;
        background: #dce7ea;
    }

#ms-page .ms-hire-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #ccebf0;
    border-radius: 10px;
    background: #e9fafd;
    color: #087aa1;
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    transition: transform .25s var(--site-ease), border-color .25s ease, box-shadow .25s ease;
}

#ms-page .ms-hire-item:hover
.ms-hire-icon {
    transform: translateY(-2px);
    border-color: #a9dce5;
    box-shadow: 0 7px 16px rgba(21,159,202,.10);
}

#ms-page .ms-hire-item > span {
    color: #39484d;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

@keyframes msHireShine {
    from {
        left: -55%;
    }

    to {
        left: 125%;
    }
}

#ms-page .ms-side-section {
    padding: 20px 24px;
    border-bottom: 1px solid #e6eef0;
}

    #ms-page .ms-side-section h2,
    #ms-page .ms-side-contact h2 {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 0 0 12px;
        color: var(--site-heading);
        font-size: 16px;
        font-weight: 750;
        line-height: 1.4;
    }

        #ms-page .ms-side-section h2::before,
        #ms-page .ms-side-contact h2::before {
            content: "";
            width: 5px;
            height: 22px;
            flex: 0 0 5px;
            border-radius: 99px;
            background: var(--site-accent);
        }

#ms-page .ms-side-links {
    display: grid;
    gap: 3px;
}

    #ms-page .ms-side-links a {
        position: relative;
        padding: 7px 18px 7px 0;
        color: var(--site-text);
        font-size: 13px;
        font-weight: 650;
        line-height: 1.45;
        text-decoration: none;
        transition: color .2s ease, transform .2s var(--site-ease);
    }

        #ms-page .ms-side-links a::after {
            content: "→";
            position: absolute;
            right: 0;
            color: var(--site-primary);
            transition: transform .2s var(--site-ease);
        }

        #ms-page .ms-side-links a:hover {
            color: var(--site-primary-dark);
            transform: translateX(2px);
        }

            #ms-page .ms-side-links a:hover::after {
                transform: translateX(3px);
            }

#ms-page .ms-side-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    #ms-page .ms-side-tags span {
        padding: 6px 10px;
        border: 1px solid #cfe7ec;
        border-radius: 999px;
        background: #eef9fb;
        color: #36636f;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.35;
        transition: transform .22s var(--site-ease), border-color .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
    }

        #ms-page .ms-side-tags span:hover {
            transform: translateY(-2px);
            border-color: #a9dce5;
            background: #e4f6f9;
            color: #087aa1;
            box-shadow: 0 7px 16px rgba(21,159,202,.08);
        }

#ms-page .ms-side-contact {
    position: relative;
    overflow: hidden;
    padding: 21px 24px 24px;
}

    #ms-page .ms-side-contact::after {
        content: "";
        position: absolute;
        right: -42px;
        bottom: -48px;
        width: 120px;
        height: 120px;
        border: 1px solid rgba(34,201,223,.16);
        border-radius: 50%;
        box-shadow: 0 0 0 18px rgba(34,201,223,.025);
        pointer-events: none;
    }

    #ms-page .ms-side-contact p {
        position: relative;
        z-index: 1;
        margin: 0 0 11px;
        color: var(--site-text);
        font-size: 12px;
        line-height: 1.6;
    }

    #ms-page .ms-side-contact > a:not(.ms-side-btn) {
        position: relative;
        z-index: 1;
        display: block;
        width: fit-content;
        margin: 6px 0;
        color: var(--site-primary-dark);
        font-size: 12px;
        font-weight: 650;
        line-height: 1.45;
        text-decoration: none;
    }

#ms-page .ms-side-btn {
    position: relative;
    display: inline-flex;
    width: 100%;
    min-height: 40px;
    overflow: hidden;
    isolation: isolate;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 11px;
    padding: 9px 14px;
    border: 1px solid var(--site-primary);
    border-radius: 9px;
    background: linear-gradient(135deg, #159fca, #087aa1);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(21,159,202,.14);
    transition: transform .28s var(--site-ease), box-shadow .28s ease;
}

    #ms-page .ms-side-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 70%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
        transform: skewX(-18deg);
        transition: left .65s var(--site-ease);
        pointer-events: none;
    }

    #ms-page .ms-side-btn:hover::before {
        left: 135%;
    }

    #ms-page .ms-side-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 28px rgba(21,159,202,.22);
    }

    #ms-page .ms-side-btn > span {
        position: relative;
        z-index: 1;
        transition: transform .28s var(--site-ease);
    }

    #ms-page .ms-side-btn:hover > span {
        transform: translateX(2px);
    }

#ms-page.ms-animate .ms-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .66s var(--site-ease) var(--animation-delay, 0ms), transform .66s var(--site-ease) var(--animation-delay, 0ms), border-color .25s ease, box-shadow .25s ease;
    will-change: opacity, transform;
}

    #ms-page.ms-animate .ms-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

#ms-page.ms-animate
.ms-perf-card.ms-reveal.is-visible:hover,
#ms-page.ms-animate
.ms-rel-card.ms-reveal.is-visible:hover,
#ms-page.ms-animate
.ms-why-card.ms-reveal.is-visible:hover {
    transform: translateY(-5px);
}

@keyframes msTextIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    #ms-page .ms-side {
        position: relative;
        top: auto;
        z-index: 1;
        max-height: none;
        order: 2;
    }

    #ms-page .ms-rel-grid,
    #ms-page .ms-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #ms-page .ms-scope {
        grid-template-columns: 1fr;
    }

    #ms-page .ms-perf-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    #ms-page .ms-visual img {
        max-height: none;
    }

    #ms-page .ms-section {
        padding: 30px 22px;
    }

    #ms-page .ms-rel-grid,
    #ms-page .ms-why-grid,
    #ms-page .ms-perf-grid {
        grid-template-columns: 1fr;
    }

    #ms-page .ms-perf-card:last-child {
        grid-column: auto;
    }

    #ms-page .ms-scope {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    #ms-page .ms-main,
    #ms-page .ms-side {
        border-radius: 18px;
    }

    #ms-page .ms-section {
        padding: 30px 16px;
    }

    #ms-page .ms-perf-card {
        padding: 18px;
        padding-left: 58px;
    }

    #ms-page .ms-perf-num {
        top: 18px;
        left: 15px;
        width: 32px;
        height: 32px;
    }

    #ms-page .ms-rel-card,
    #ms-page .ms-why-card,
    #ms-page .ms-modern {
        padding: 18px;
    }

    #ms-page .ms-why-card {
        padding-left: 60px;
    }

    #ms-page .ms-hire {
        border-radius: 18px 18px 0 0;
    }

    #ms-page .ms-hire-top {
        padding: 18px 17px 20px;
    }

        #ms-page .ms-hire-top::before {
            left: 17px;
        }

    #ms-page .ms-hire-price {
        font-size: 40px;
    }

    #ms-page .ms-hire-item {
        padding: 10px 4px;
    }

        #ms-page .ms-hire-item > span {
            font-size: 10px;
        }

    #ms-page .ms-side-section,
    #ms-page .ms-side-details,
    #ms-page .ms-side-contact {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #ms-page.ms-animate .ms-reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    #ms-page *,
    #ms-page *::before,
    #ms-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
