* {
    box-sizing: border-box;
}

:root {
    --navy: #071d49;
    --blue: #146cff;
    --yellow: #f3c969;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    width: 100%;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img,
svg,
video {
    max-width: 100%;
}

section {
    scroll-margin-top: 72px;
}

header {
    height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 24px rgba(5, 27, 68, 0.08);
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    z-index: 1000;
}

.logo {
    margin-left: clamp(20px, 4vw, 64px);
}

.logo img {
    display: block;
    width: 190px;
}

nav {
    margin-right: clamp(20px, 4vw, 64px);
}

.nav-toggle {
    display: none;
}

nav ul {
    display: flex;
    gap: clamp(12px, 1.5vw, 26px);
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
    position: relative;
}

nav ul li::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 0;
    background: var(--blue);
    border-radius: 3px;
    bottom: -10px;
    left: 0;
    transition: width 180ms ease;
}

nav ul li:hover::after,
nav ul .active::after {
    width: 100%;
}

nav ul li a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    transition: color 180ms ease;
}

nav ul li:hover a,
nav ul .active a {
    color: var(--blue);
}

#home {
    min-height: 820px;
    position: relative;
    width: 100%;
    background:
        linear-gradient(90deg, rgba(4, 24, 63, 0.94) 0%, rgba(7, 30, 79, 0.82) 48%, rgba(7, 30, 79, 0.38) 100%),
        url(IMAGES/bg-home.jpg) center/cover no-repeat;
}

#home .container {
    min-height: 820px;
    width: min(1440px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 118px clamp(24px, 6vw, 88px) 190px;
    gap: clamp(30px, 5vw, 80px);
}

#home .container .content {
    color: var(--white);
    max-width: 680px;
    position: relative;
    z-index: 2;
}

#home .content h1 {
    max-width: 690px;
    font-size: clamp(48px, 5.2vw, 76px);
    line-height: 1.02;
    letter-spacing: -3.2px;
    margin: 18px 0 24px;
}

#home .content h2 {
    display: inline-block;
    font-size: 14px;
    color: var(--yellow);
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin: 0;
    padding-left: 62px;
    position: relative;
}

#home .content h2::before {
    content: '';
    width: 48px;
    height: 2px;
    background: var(--yellow);
    position: absolute;
    left: 0;
    top: 50%;
}

#home .content > p:not(.tagline) {
    max-width: 650px;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 34px;
}

#home .content .btn {
    display: flex;
    align-items: center;
    gap: 14px;
}

#home .content .btn a {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 2px solid transparent;
    border-radius: 6px;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

#home .content .btn a:hover {
    transform: translateY(-3px);
}

#home .content .btn-primary {
    background: var(--blue);
    box-shadow: 0 12px 28px rgba(20, 108, 255, 0.28);
}

#home .content .btn-primary:hover {
    background: #397fff;
}

#home .content .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.62) !important;
    backdrop-filter: blur(8px);
}

#home .content .btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

#home .tagline {
    font-size: 13px;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.7);
    margin: 26px 0 0;
}

#home .hero-proof {
    display: flex;
    gap: 0;
    margin-top: 34px;
    max-width: 620px;
}

#home .hero-proof div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

#home .hero-proof div:first-child {
    padding-left: 0;
    border-left: 0;
}

#home .hero-proof strong {
    font-size: 14px;
    color: var(--white);
}

#home .hero-proof span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 900px) {
    header {
        height: 72px;
    }

    .logo img {
        width: 150px;
    }

    #home .container {
        width: 100%;
        min-height: 820px;
        padding: 110px 28px 170px;
        background: linear-gradient(90deg, rgba(4, 24, 63, 0.2), transparent);
    }

    #home .content h1 {
        letter-spacing: -1.5px;
    }
}

@media (max-width: 560px) {
    .logo {
        margin-left: 18px;
    }

    .logo img {
        width: 145px;
    }

    #home {
        background:
            linear-gradient(90deg, rgba(4, 24, 63, 0.94), rgba(7, 30, 79, 0.72)),
            url(IMAGES/bg-home.jpg) 58% center/cover no-repeat;
    }

    #home .container {
        width: 100%;
    }

    #home .content h2 {
        letter-spacing: 2.5px;
        padding-left: 48px;
    }

    #home .content h2::before {
        width: 36px;
    }

    #home .content h1 {
        font-size: clamp(38px, 12vw, 52px);
        margin: 14px 0 20px;
    }

    #home .content > p:not(.tagline) {
        line-height: 1.55;
    }

    #home .content .btn {
        align-items: stretch;
        flex-direction: column;
        max-width: 280px;
    }

    #home .content .btn a {
        width: 100%;
    }

    #home .tagline {
        max-width: 300px;
        line-height: 1.5;
    }
}
#home .deco {
    position: relative;
    z-index: 0;
    pointer-events: none;
    width: min(520px, 43%);
    height: 480px;
    flex-shrink: 0;
}

#home .deco .visual-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    right: -80px;
    top: 20px;
    border-radius: 50%;
    background: rgba(50, 124, 255, 0.2);
    filter: blur(70px);
}

#home .deco .code {
    background: linear-gradient(145deg, rgba(27, 45, 78, 0.96), rgba(8, 26, 58, 0.98));
    height: 390px;
    width: 100%;
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(2, 12, 35, 0.45);
    animation: hero-enter 700ms cubic-bezier(.2, .75, .25, 1) 180ms both,
               dashboard-float 5s ease-in-out 900ms infinite;
}
#home .deco .code .header {
    background: rgba(255, 255, 255, 0.055);
    height: 48px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#home .window-controls {
    display: flex;
    gap: 6px;
}

#home .window-controls span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
}

#home .window-controls span:first-child { background: #f5a962; }
#home .window-controls span:nth-child(2) { background: #f3c969; }
#home .window-controls span:last-child { background: #58c99c; }

#home .window-title {
    font-size: 10px;
    letter-spacing: 1.2px;
    font-weight: 800;
}
#home .deco .code .code-container {
    padding: 28px;
    color: #dbe7ff;
}

#home .deco .code .code-container p {
    margin: 0;
}

#home .deco .code .typed-prefix,
#home .deco .code #typed-text {
    color: var(--white);
}

#home .deco .code .typing-cursor {
    color: #d8d8d8;
    animation: typing-cursor 700ms steps(1, end) infinite;
}

@keyframes typing-cursor {
    0%, 49% {
        opacity: 1;
    }
}
    #home .project-status,
    #home .progress-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #home .project-status {
        color: rgba(255, 255, 255, 0.58);
        font-size: 12px;
    }

    #home .project-status strong {
        display: flex;
        align-items: center;
        gap: 7px;
        color: #78dab1;
        font-size: 11px;
    }

    #home .project-status strong i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #58c99c;
        box-shadow: 0 0 12px #58c99c;
    }

    #home .project-name {
        font-size: clamp(20px, 2vw, 27px);
        font-weight: 700;
        margin: 26px 0 28px !important;
    }

    #home .progress-row {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.58);
    }

    #home .progress-row strong {
        color: var(--white);
        font-size: 12px;
    }

    #home .progress-track {
        height: 5px;
        border-radius: 999px;
        margin: 9px 0 22px;
        background: rgba(255, 255, 255, 0.09);
        overflow: hidden;
    }

    #home .progress-track span {
        display: block;
        width: 84%;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--blue), #69a1ff);
    }

    #home .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    #home .dashboard-grid div {
        min-width: 0;
        min-height: 106px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.045);
    }

    #home .dashboard-grid i {
        color: #79aaff;
        font-size: 14px;
        margin-bottom: 16px;
    }

    #home .dashboard-grid span {
        color: rgba(255, 255, 255, 0.52);
        font-size: 9px;
        margin-bottom: 4px;
    }

    #home .dashboard-grid strong {
        color: var(--white);
        font-size: 12px;
    }

    #home .floating-badge {
        position: absolute;
        z-index: 3;
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 190px;
        padding: 12px 14px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.96);
        color: var(--navy);
        box-shadow: 0 18px 40px rgba(3, 18, 48, 0.24);
    }

    #home .floating-badge i {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border-radius: 9px;
        background: #edf4ff;
        color: var(--blue);
    }

    #home .floating-badge span {
        display: flex;
        flex-direction: column;
        font-size: 9px;
        color: #77849a;
    }

    #home .floating-badge strong {
        font-size: 11px;
        color: var(--navy);
        margin-bottom: 2px;
    }

    #home .badge-top {
        top: 16px;
        right: -32px;
        animation: badge-enter 650ms cubic-bezier(.2, .75, .25, 1) 650ms both,
                   badge-float 4.6s ease-in-out 1.3s infinite;
    }

    #home .badge-bottom {
        bottom: 10px;
        left: -42px;
        animation: badge-enter 650ms cubic-bezier(.2, .75, .25, 1) 850ms both,
                   badge-float 5.2s ease-in-out 1.5s infinite reverse;
    }

@keyframes hero-enter {
    from {
        opacity: 0;
        translate: 0 24px;
        filter: blur(8px);
    }
    to {
        opacity: 1;
        translate: 0 0;
        filter: blur(0);
    }
}

@keyframes dashboard-float {
    0%, 100% {
        translate: 0 -4px;
    }
    50% {
        translate: 0 8px;
    }
}

@keyframes badge-enter {
    from {
        opacity: 0;
        translate: 0 14px;
    }
    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes badge-float {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -9px;
    }
}
  

@media (prefers-reduced-motion: reduce) {
    #home .deco .code .typing-cursor {
        animation: none;
    }

    #home .deco .code,
    #home .floating-badge {
        animation: none;
    }
}
#home .short-services {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1264px;
    display: flex;
    justify-content: space-between;
    padding: 0 clamp(24px, 6vw, 88px);
    gap: 10px;
    height: 112px;
}
#home .short-services .service {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 14px 36px rgba(3, 20, 55, 0.16);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
#home .short-services .service i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #edf4ff;
    color: var(--blue);
    font-size: 16px;
    margin-bottom: 8px;
}
#home .short-services .service:hover{
    background-color: var(--blue);
    color: var(--white);
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(20, 108, 255, 0.32);
}
#home .short-services .service:hover i {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}
#home .short-services .service p {
    margin: 0;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
}

@media (max-width: 1100px) {
    #home .container {
        gap: 20px;
    }

    #home .container .content {
        max-width: 58%;
    }

    #home .deco {
        width: 40%;
    }

    #home .badge-top {
        right: -10px;
    }

    #home .badge-bottom {
        left: -15px;
    }
}

@media (max-width: 900px) {
    #home,
    #home .container {
        min-height: 760px;
    }

    #home .container {
        align-items: center;
    }

    #home .container .content {
        max-width: 620px;
    }

    #home .deco {
        display: none;
    }

    #home .short-services {
        max-width: 720px;
        height: 104px;
    }

    #home .short-services .service {
        min-width: 0;
    }

    #home .short-services .service p {
        font-size: 11px;
    }
}

@media (max-width: 560px) {
    #home,
    #home .container {
        min-height: 780px;
    }

    #home .container {
        align-items: flex-start;
        padding: 130px 20px 150px;
    }

    #home .container .content {
        max-width: 100%;
    }

    #home .content h1 {
        max-width: 440px;
    }

    #home .content > p:not(.tagline) {
        max-width: 470px;
        font-size: 15px;
    }

    #home .hero-proof {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 28px;
    }

    #home .hero-proof div {
        padding: 0 10px;
    }

    #home .hero-proof strong {
        font-size: 12px;
    }

    #home .hero-proof span {
        font-size: 9px;
    }

    #home .short-services {
        bottom: 18px;
        height: 96px;
        padding: 0 12px;
        gap: 6px;
    }

    #home .short-services .service {
        padding: 8px 4px;
    }

    #home .short-services .service i {
        width: 32px;
        height: 32px;
        font-size: 13px;
        margin-bottom: 5px;
    }

    #home .short-services .service p {
        font-size: 9px;
    }
}
#about {
    min-height: 760px;
    width: 100%;
    background:
        radial-gradient(circle at 88% 18%, rgba(20, 108, 255, 0.07), transparent 20%),
        #fff;
    overflow: hidden;
}
#about .container {
    width: min(1440px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 110px clamp(24px, 6vw, 88px);
    gap: clamp(40px, 7vw, 100px);
}
#about .container .content {
    color: var(--navy);
    max-width: 650px;
    position: relative;
    z-index: 2;
}
#about .section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: var(--blue);
    letter-spacing: 3.5px;
    text-transform: uppercase;
    font-weight: 800;
}
#about .section-label::before {
    content: '';
    width: 42px;
    height: 2px;
    background: var(--blue);
}
#about .about-heading h1 {
    margin: 18px 0 24px;
    color: var(--navy);
    font-size: clamp(42px, 4.6vw, 64px);
    line-height: 1.04;
    letter-spacing: -2.5px;
}
#about .about-heading h1 span {
    color: var(--blue);
}
#about .content > p {
    max-width: 650px;
    margin: 0 0 14px;
    color: #61708a;
    font-size: 16px;
    line-height: 1.75;
}
#about .content .about-intro {
    color: #263b61;
    font-size: 18px;
    font-weight: 600;
}
#about .about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
}
#about .about-values article {
    display: flex;
    gap: 12px;
    min-height: 142px;
    padding: 18px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(7, 29, 73, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
#about .about-values article:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 108, 255, 0.24);
    box-shadow: 0 16px 36px rgba(7, 29, 73, 0.11);
}
#about .about-values article > i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #edf4ff;
    color: var(--blue);
}
#about .about-values h3 {
    margin: 2px 0 8px;
    color: var(--navy);
    font-size: 15px;
}
#about .about-values p {
    margin: 0;
    color: #728098;
    font-size: 12px;
    line-height: 1.55;
}
#about .image {
    position: relative;
    z-index: 0;
    width: min(500px, 43%);
    height: 520px;
    flex-shrink: 0;
}
#about .image img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(7, 29, 73, 0.16);
}
#about .image::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 72%;
    height: 72%;
    left: -24px;
    bottom: -24px;
    border: 2px solid rgba(20, 108, 255, 0.16);
    border-radius: 18px;
}
#about .guarantee {
    position: absolute;
    top: 28px;
    left: -28px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--yellow);
    color: var(--navy);
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(7, 29, 73, 0.16);
}
#about .guarantee i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--yellow);
}
#about .guarantee div {
    display: flex;
    flex-direction: column;
}
#about .guarantee strong {
    font-size: 21px;
    line-height: 1;
}
#about .guarantee span {
    margin-top: 4px;
    font-size: 10px;
}
#about .experience-card {
    position: absolute;
    right: -24px;
    bottom: 28px;
    display: flex;
    flex-direction: column;
    min-width: 205px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(7, 29, 73, 0.94);
    color: var(--white);
    box-shadow: 0 18px 40px rgba(7, 29, 73, 0.22);
}
#about .experience-card strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}
#about .experience-card strong i {
    color: #79aaff;
}
#about .experience-card span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 10px;
}

#about.reveal-ready .content,
#about.reveal-ready .image {
    opacity: 0;
    transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .75, .25, 1);
}

#about.reveal-ready .content {
    transform: translateX(-32px);
}

#about.reveal-ready .image {
    transform: translateX(32px);
}

#about.reveal-ready.is-visible .content,
#about.reveal-ready.is-visible .image {
    opacity: 1;
    transform: translateX(0);
}

#about.reveal-ready.is-visible .image {
    animation: about-image-float 5s ease-in-out 800ms infinite;
}

#about.reveal-ready.is-visible .guarantee {
    animation: about-badge-float 4.2s ease-in-out 900ms infinite;
}

#about.reveal-ready.is-visible .experience-card {
    animation: about-badge-float 4.8s ease-in-out 1.1s infinite reverse;
}

@keyframes about-image-float {
    0%, 100% { translate: 0 -3px; }
    50% { translate: 0 7px; }
}

@keyframes about-badge-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
}

@media (max-width: 900px) {
    #about .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 84px 28px;
    }

    #about .container .content {
        max-width: 700px;
    }

    #about .image {
        width: 100%;
        max-width: 620px;
        height: 480px;
        margin: 10px auto 0;
    }

    #about.reveal-ready .content,
    #about.reveal-ready .image {
        transform: translateY(24px);
    }

    #about.reveal-ready.is-visible .content,
    #about.reveal-ready.is-visible .image {
        transform: translateY(0);
    }
}

@media (max-width: 560px) {
    #about .container {
        padding: 72px 20px;
        gap: 42px;
    }

    #about .about-heading h1 {
        font-size: 40px;
        letter-spacing: -1.8px;
    }

    #about .content .about-intro {
        font-size: 16px;
    }

    #about .about-values {
        grid-template-columns: 1fr;
    }

    #about .about-values article {
        min-height: 118px;
    }

    #about .image {
        height: 390px;
    }

    #about .image::before {
        display: none;
    }

    #about .guarantee {
        top: 14px;
        left: 10px;
    }

    #about .experience-card {
        right: 10px;
        bottom: 14px;
        min-width: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #about.reveal-ready .content,
    #about.reveal-ready .image {
        opacity: 1;
        transform: none;
        transition: none;
    }

    #about.reveal-ready.is-visible .image,
    #about.reveal-ready.is-visible .guarantee,
    #about.reveal-ready.is-visible .experience-card {
        animation: none;
    }
}

#services {
    min-height: 760px;
    background: #f5f7fb;
    overflow: hidden;
}

#services .services-container {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 100px clamp(24px, 6vw, 88px);
}

#services .services-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

#services .services-heading h1 {
    margin: 16px 0 0;
    color: var(--navy);
    font-size: clamp(42px, 4.6vw, 64px);
    line-height: 1.04;
    letter-spacing: -2.5px;
}

#services .services-heading h1 span {
    color: var(--blue);
}

#services .services-heading > p {
    max-width: 390px;
    margin: 0 0 8px;
    color: #64728a;
    font-size: 15px;
    line-height: 1.7;
}

#services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

#services .service-card {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid #e7ecf4;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 12px 34px rgba(7, 29, 73, 0.055);
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

#services .service-card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    right: -90px;
    bottom: -90px;
    border-radius: 50%;
    background: rgba(20, 108, 255, 0.08);
    transition: transform 260ms ease;
}

#services .service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(20, 108, 255, 0.24);
    box-shadow: 0 20px 44px rgba(7, 29, 73, 0.12);
}

#services .service-card:hover::after {
    transform: scale(1.8);
}

#services .service-number {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #bdc6d5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

#services .service-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 12px;
    background: #edf4ff;
    color: var(--blue);
    font-size: 20px;
    transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

#services .service-card:hover .service-icon {
    transform: rotate(-5deg) scale(1.06);
    background: var(--blue);
    color: var(--white);
}

#services .service-card h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 20px;
}

#services .service-card p {
    margin: 0 0 22px;
    color: #718099;
    font-size: 14px;
    line-height: 1.65;
}

#services .service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    color: var(--blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

#services .service-card a i {
    transition: transform 180ms ease;
}

#services .service-card a:hover i {
    transform: translateX(5px);
}

#services.reveal-ready .services-heading,
#services.reveal-ready .service-card {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .75, .25, 1);
}

#services.reveal-ready.is-visible .services-heading,
#services.reveal-ready.is-visible .service-card {
    opacity: 1;
    transform: translateY(0);
}

#services.reveal-ready.is-visible .service-card:nth-child(2) { transition-delay: 80ms; }
#services.reveal-ready.is-visible .service-card:nth-child(3) { transition-delay: 160ms; }
#services.reveal-ready.is-visible .service-card:nth-child(4) { transition-delay: 240ms; }
#services.reveal-ready.is-visible .service-card:nth-child(5) { transition-delay: 320ms; }
#services.reveal-ready.is-visible .service-card:nth-child(6) { transition-delay: 400ms; }

@media (max-width: 900px) {
    #services .services-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

@media (max-width: 560px) {
    #services .services-container {
        padding: 72px 20px;
    }

    #services .services-heading {
        gap: 18px;
        margin-bottom: 34px;
    }

    #services .services-heading h1 {
        font-size: 40px;
        letter-spacing: -1.8px;
    }

    #services .services-heading > p {
        font-size: 14px;
    }

    #services .services-grid {
        grid-template-columns: 1fr;
    }

    #services .service-card {
        min-height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #services.reveal-ready .services-heading,
    #services.reveal-ready .service-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

#projects {
    min-height: 820px;
    background: var(--white);
    overflow: hidden;
}

#projects .projects-container {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 100px clamp(24px, 6vw, 88px);
}

#projects .projects-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

#projects .projects-heading h1 {
    margin: 16px 0 0;
    color: var(--navy);
    font-size: clamp(42px, 4.6vw, 64px);
    line-height: 1.04;
    letter-spacing: -2.5px;
}

#projects .projects-heading h1 span {
    color: var(--blue);
}

#projects .projects-heading > p {
    max-width: 390px;
    margin: 0 0 8px;
    color: #64728a;
    font-size: 15px;
    line-height: 1.7;
}

#projects .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

#projects .project-card {
    min-width: 0;
    border: 1px solid #e7ecf4;
    border-radius: 16px;
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(7, 29, 73, 0.07);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

#projects .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(7, 29, 73, 0.13);
}

#projects .project-preview {
    position: relative;
    height: 250px;
    background: linear-gradient(145deg, #102d63, #071d49);
    overflow: hidden;
}

#projects .preview-toolbar {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
}

#projects .preview-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
}

#projects .preview-brand i {
    color: #79aaff;
}

#projects .status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(88, 201, 156, 0.12);
    color: #78dab1;
    font-size: 9px;
    font-weight: 800;
}

#projects .status-badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #58c99c;
    box-shadow: 0 0 8px #58c99c;
}

#projects .status-badge.upcoming {
    background: rgba(243, 201, 105, 0.12);
    color: #f5d58e;
}

#projects .status-badge.upcoming i {
    background: var(--yellow);
    box-shadow: 0 0 8px var(--yellow);
}

#projects .preview-content {
    height: calc(100% - 48px);
    display: grid;
    grid-template-columns: 52px 1fr;
}

#projects .preview-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

#projects .preview-sidebar span {
    width: 16px;
    height: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
}

#projects .preview-sidebar span.active {
    height: 16px;
    background: var(--blue);
}

#projects .preview-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 58px 1fr;
    gap: 10px;
    padding: 18px;
}

#projects .preview-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
}

#projects .preview-stat span {
    color: rgba(255, 255, 255, 0.48);
    font-size: 8px;
}

#projects .preview-stat strong {
    margin-top: 5px;
    color: var(--white);
    font-size: 17px;
}

#projects .preview-chart {
    grid-column: 1 / -1;
    display: flex;
    align-items: end;
    gap: 12px;
    padding: 12px 18px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
}

#projects .preview-chart span {
    flex: 1;
    height: 35%;
    border-radius: 4px 4px 0 0;
    background: #397fff;
}

#projects .preview-chart span:nth-child(2) { height: 52%; }
#projects .preview-chart span:nth-child(3) { height: 44%; }
#projects .preview-chart span:nth-child(4) { height: 72%; }
#projects .preview-chart span:nth-child(5) { height: 62%; }

#projects .school-preview {
    background: linear-gradient(145deg, #18375f, #0c244d);
}

#projects .school-board {
    height: calc(100% - 48px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 24px 16px 16px;
}

#projects .school-board div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--white);
}

#projects .school-board i {
    margin-bottom: 16px;
    color: #79aaff;
}

#projects .school-board span {
    color: rgba(255, 255, 255, 0.48);
    font-size: 8px;
}

#projects .school-board strong {
    margin-top: 5px;
    font-size: 14px;
}

#projects .internet-preview {
    background:
        radial-gradient(circle at 50% 50%, rgba(60, 143, 255, 0.22), transparent 38%),
        linear-gradient(145deg, #102d63, #071d49);
}

#projects .network-rings {
    position: absolute;
    inset: 0;
}

#projects .ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(121, 170, 255, 0.28);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

#projects .ring-one {
    width: 150px;
    height: 150px;
}

#projects .ring-two {
    width: 230px;
    height: 230px;
}

#projects .network-node {
    position: absolute;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue);
    box-shadow: 0 10px 24px rgba(2, 14, 38, 0.32);
}

#projects .node-one {
    left: calc(50% - 21px);
    top: calc(50% - 21px);
}

#projects .node-two {
    left: 28px;
    bottom: 34px;
}

#projects .node-three {
    right: 28px;
    bottom: 34px;
}

#projects .launch-date {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

#projects .launch-date strong {
    font-size: 12px;
}

#projects .launch-date span {
    margin-top: 2px;
    color: #79aaff;
    font-size: 9px;
}

#projects .project-info {
    min-height: 225px;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

#projects .project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8a96a8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

#projects .project-meta span:first-child {
    color: var(--blue);
}

#projects .project-info h2 {
    margin: 16px 0 10px;
    color: var(--navy);
    font-size: 21px;
}

#projects .project-info > p {
    margin: 0 0 18px;
    color: #718099;
    font-size: 13px;
    line-height: 1.65;
}

#projects .project-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

#projects .project-progress > span {
    position: relative;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 4px solid #eaf1ff;
    border-top-color: var(--blue);
    border-radius: 50%;
}

#projects .project-progress > span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}

#projects .project-progress > span.queued {
    border-color: #edf0f5;
    border-top-color: var(--yellow);
}

#projects .project-progress > span.queued i {
    background: #d7a83b;
}

#projects .project-progress > span.scheduled {
    border-color: #edf0f5;
    border-top-color: #58c99c;
}

#projects .project-progress > span.scheduled i {
    background: #58c99c;
}

#projects .project-progress strong {
    color: var(--navy);
    font-size: 11px;
}

#projects.reveal-ready .projects-heading,
#projects.reveal-ready .project-card {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .75, .25, 1);
}

#projects.reveal-ready.is-visible .projects-heading,
#projects.reveal-ready.is-visible .project-card {
    opacity: 1;
    transform: translateY(0);
}

#projects.reveal-ready.is-visible .project-card:nth-child(2) { transition-delay: 100ms; }
#projects.reveal-ready.is-visible .project-card:nth-child(3) { transition-delay: 200ms; }

#projects.reveal-ready.is-visible .project-featured .preview-chart span {
    animation: chart-rise 800ms ease 700ms both;
}

#projects.reveal-ready.is-visible .network-node {
    animation: node-pulse 2.4s ease-in-out infinite;
}

#projects.reveal-ready.is-visible .node-two,
#projects.reveal-ready.is-visible .node-three {
    animation-delay: 700ms;
}

@keyframes chart-rise {
    from { transform: scaleY(0.15); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
}

@keyframes node-pulse {
    0%, 100% { box-shadow: 0 10px 24px rgba(2, 14, 38, 0.32); }
    50% { box-shadow: 0 10px 30px rgba(121, 170, 255, 0.55); }
}

@media (max-width: 900px) {
    #projects .projects-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    #projects .project-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 9px);
    }
}

@media (max-width: 560px) {
    #projects .projects-container {
        padding: 72px 20px;
    }

    #projects .projects-heading {
        gap: 18px;
        margin-bottom: 34px;
    }

    #projects .projects-heading h1 {
        font-size: 40px;
        letter-spacing: -1.8px;
    }

    #projects .projects-heading > p {
        font-size: 14px;
    }

    #projects .projects-grid {
        grid-template-columns: 1fr;
    }

    #projects .project-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    #projects .project-preview {
        height: 230px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #projects.reveal-ready .projects-heading,
    #projects.reveal-ready .project-card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    #projects.reveal-ready.is-visible .preview-chart span,
    #projects.reveal-ready.is-visible .network-node {
        animation: none;
    }
}

#why-us {
    min-height: 680px;
    background:
        radial-gradient(circle at 12% 18%, rgba(20, 108, 255, 0.08), transparent 24%),
        linear-gradient(135deg, #071d49 0%, #0b2a64 100%);
    color: var(--white);
    overflow: hidden;
}

#why-us .why-container {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 100px clamp(24px, 6vw, 88px);
}

#why-us .why-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

#why-us .section-label {
    color: #79aaff;
}

#why-us .section-label::before {
    background: #79aaff;
}

#why-us .why-heading h1 {
    margin: 16px 0 0;
    color: var(--white);
    font-size: clamp(42px, 4.6vw, 64px);
    line-height: 1.04;
    letter-spacing: -2.5px;
}

#why-us .why-heading h1 span {
    color: #79aaff;
}

#why-us .why-heading > p {
    max-width: 390px;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.7;
}

#why-us .values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

#why-us .value-card {
    position: relative;
    min-height: 280px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    overflow: hidden;
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

#why-us .value-card::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    right: -100px;
    bottom: -100px;
    border: 1px solid rgba(121, 170, 255, 0.18);
    border-radius: 50%;
    transition: transform 260ms ease;
}

#why-us .value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(121, 170, 255, 0.35);
    background: rgba(255, 255, 255, 0.09);
}

#why-us .value-card:hover::after {
    transform: scale(1.8);
}

#why-us .value-number {
    position: absolute;
    top: 24px;
    right: 24px;
    color: rgba(255, 255, 255, 0.28);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

#why-us .value-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 38px;
    border-radius: 12px;
    background: rgba(121, 170, 255, 0.12);
    color: #79aaff;
    font-size: 19px;
    transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

#why-us .value-card:hover .value-icon {
    transform: rotate(-5deg) scale(1.07);
    background: var(--yellow);
    color: var(--navy);
}

#why-us .value-card h2 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 19px;
}

#why-us .value-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.65;
}

#why-us .why-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
}

#why-us .why-banner-copy {
    display: flex;
    align-items: center;
    gap: 12px;
}

#why-us .why-banner-copy > i {
    color: #58c99c;
    font-size: 18px;
}

#why-us .why-banner-copy div {
    display: flex;
    flex-direction: column;
}

#why-us .why-banner-copy strong {
    font-size: 13px;
}

#why-us .why-banner-copy span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
}

#why-us .why-banner a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

#why-us .why-banner a i {
    transition: transform 180ms ease;
}

#why-us .why-banner a:hover i {
    transform: translateX(5px);
}

#why-us.reveal-ready .why-heading,
#why-us.reveal-ready .value-card,
#why-us.reveal-ready .why-banner {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .75, .25, 1);
}

#why-us.reveal-ready.is-visible .why-heading,
#why-us.reveal-ready.is-visible .value-card,
#why-us.reveal-ready.is-visible .why-banner {
    opacity: 1;
    transform: translateY(0);
}

#why-us.reveal-ready.is-visible .value-card:nth-child(2) { transition-delay: 100ms; }
#why-us.reveal-ready.is-visible .value-card:nth-child(3) { transition-delay: 200ms; }
#why-us.reveal-ready.is-visible .value-card:nth-child(4) { transition-delay: 300ms; }
#why-us.reveal-ready.is-visible .why-banner { transition-delay: 380ms; }

#why-us.reveal-ready.is-visible .value-card .value-icon {
    animation: value-icon-breathe 3.6s ease-in-out infinite;
}

#why-us.reveal-ready.is-visible .value-card:nth-child(2) .value-icon { animation-delay: 600ms; }
#why-us.reveal-ready.is-visible .value-card:nth-child(3) .value-icon { animation-delay: 900ms; }
#why-us.reveal-ready.is-visible .value-card:nth-child(4) .value-icon { animation-delay: 1200ms; }

@keyframes value-icon-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@media (max-width: 900px) {
    #why-us .why-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    #why-us .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    #why-us .why-container {
        padding: 72px 20px;
    }

    #why-us .why-heading {
        gap: 18px;
        margin-bottom: 34px;
    }

    #why-us .why-heading h1 {
        font-size: 40px;
        letter-spacing: -1.8px;
    }

    #why-us .why-heading > p {
        font-size: 14px;
    }

    #why-us .values-grid {
        grid-template-columns: 1fr;
    }

    #why-us .value-card {
        min-height: 240px;
    }

    #why-us .value-icon {
        margin-bottom: 28px;
    }

    #why-us .why-banner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    #why-us.reveal-ready .why-heading,
    #why-us.reveal-ready .value-card,
    #why-us.reveal-ready .why-banner {
        opacity: 1;
        transform: none;
        transition: none;
    }

    #why-us.reveal-ready.is-visible .value-card .value-icon {
        animation: none;
    }
}

#contacts {
    min-height: 720px;
    background:
        linear-gradient(90deg, rgba(7, 29, 73, 0.98) 0%, rgba(7, 29, 73, 0.94) 48%, rgba(7, 29, 73, 0.82) 100%),
        url(IMAGES/bg-home.jpg) center/cover no-repeat;
    background-position: center calc(50% + var(--contact-bg-offset, 0px));
    background-size: cover;
    will-change: background-position;
    color: var(--white);
    overflow: hidden;
}

#contacts .contacts-container {
    width: min(1440px, 100%);
    min-height: 620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    align-items: center;
    gap: clamp(40px, 7vw, 90px);
    padding: 90px clamp(24px, 6vw, 88px);
}

#contacts .contact-heading {
    max-width: 620px;
}

#contacts .section-label {
    color: #79aaff;
}

#contacts .section-label::before {
    background: #79aaff;
}

#contacts .contact-heading h1 {
    margin: 16px 0 20px;
    color: var(--white);
    font-size: clamp(42px, 4.6vw, 64px);
    line-height: 1.04;
    letter-spacing: -2.5px;
}

#contacts .contact-heading h1 span {
    color: #79aaff;
}

#contacts .contact-heading > p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.7;
}

#contacts .contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

#contacts .contact-details a {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
}

#contacts .contact-details a > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: #79aaff;
}

#contacts .contact-details a span {
    display: flex;
    flex-direction: column;
}

#contacts .contact-details small {
    color: rgba(255, 255, 255, 0.48);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#contacts .contact-details strong {
    margin-top: 4px;
    font-size: 13px;
}

#contacts .social-links {
    display: flex;
    gap: 8px;
    margin-top: 28px;
}

#contacts .social-links a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

#contacts .social-links a:hover {
    transform: translateY(-5px);
    background: var(--white);
    color: var(--blue);
}

#contacts .contact-form {
    width: 100%;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--navy);
    box-shadow: 0 24px 60px rgba(2, 14, 38, 0.24);
}

#contacts .form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8edf5;
    font-size: 13px;
    font-weight: 800;
}

#contacts .form-heading i {
    color: var(--blue);
}

#contacts .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

#contacts .contact-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
}

#contacts .contact-form label > span {
    color: #3e4d66;
    font-size: 11px;
    font-weight: 800;
}

#contacts .contact-form label small {
    margin-left: 4px;
    color: #9aa4b4;
    font-weight: 600;
}

#contacts .contact-form input,
#contacts .contact-form select,
#contacts .contact-form textarea {
    width: 100%;
    border: 1px solid #dde4ef;
    border-radius: 8px;
    outline: none;
    background: #f8fafe;
    color: var(--navy);
    font: inherit;
    font-size: 13px;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

#contacts .contact-form input,
#contacts .contact-form select {
    height: 44px;
    padding: 0 12px;
}

#contacts .contact-form textarea {
    resize: vertical;
    min-height: 102px;
    padding: 12px;
}

#contacts .contact-form input:focus,
#contacts .contact-form select:focus,
#contacts .contact-form textarea:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(20, 108, 255, 0.09);
}

#contacts .contact-form button {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    color: var(--white);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(20, 108, 255, 0.22);
    transition: transform 180ms ease, background 180ms ease;
}

#contacts .contact-form button:hover {
    transform: translateY(-3px);
    background: #397fff;
}

#contacts .form-status {
    min-height: 16px;
    margin: 8px 0 -8px;
    color: #3c9b72;
    text-align: center;
    font-size: 11px;
}

#contacts footer {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px clamp(24px, 6vw, 88px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(4, 20, 50, 0.55);
}

#contacts footer img {
    width: 150px;
    height: auto;
    display: block;
}

#contacts footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
}

#contacts .back-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
}

#contacts.reveal-ready .contact-heading,
#contacts.reveal-ready .contact-form,
#contacts.reveal-ready footer {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .75, .25, 1);
}

#contacts.reveal-ready.is-visible .contact-heading,
#contacts.reveal-ready.is-visible .contact-form,
#contacts.reveal-ready.is-visible footer {
    opacity: 1;
    transform: translateY(0);
}

#contacts.reveal-ready.is-visible .contact-form {
    transition-delay: 120ms;
}

#contacts.reveal-ready.is-visible .social-links a {
    animation: social-pop 650ms cubic-bezier(.2, .75, .25, 1) both;
}

#contacts.reveal-ready.is-visible .social-links a:nth-child(2) { animation-delay: 180ms; }
#contacts.reveal-ready.is-visible .social-links a:nth-child(3) { animation-delay: 260ms; }
#contacts.reveal-ready.is-visible .social-links a:nth-child(4) { animation-delay: 340ms; }

@keyframes social-pop {
    from {
        opacity: 0;
        transform: scale(0.6) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 900px) {
    #contacts .contacts-container {
        grid-template-columns: 1fr;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    #contacts .contact-heading {
        max-width: 700px;
    }

    #contacts .contact-form {
        max-width: 620px;
    }
}

@media (max-width: 560px) {
    #contacts .contacts-container {
        padding: 72px 20px 54px;
    }

    #contacts .contact-heading h1 {
        font-size: 40px;
        letter-spacing: -1.8px;
    }

    #contacts .contact-heading > p {
        font-size: 14px;
    }

    #contacts .contact-details strong {
        font-size: 11px;
        overflow-wrap: anywhere;
    }

    #contacts .contact-form {
        padding: 20px;
    }

    #contacts .form-grid {
        grid-template-columns: 1fr;
    }

    #contacts footer {
        min-height: 140px;
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 20px;
    }

    #contacts footer img {
        width: 140px;
    }

    #contacts .back-top {
        align-self: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {
    #contacts.reveal-ready .contact-heading,
    #contacts.reveal-ready .contact-form,
    #contacts.reveal-ready footer {
        opacity: 1;
        transform: none;
        transition: none;
    }

    #contacts.reveal-ready.is-visible .social-links a {
        animation: none;
    }
}

.floating-whatsapp,
.floating-ai-button {
    position: fixed;
    z-index: 1200;
    bottom: 24px;
    box-shadow: 0 12px 30px rgba(4, 20, 50, 0.24);
}

.floating-whatsapp {
    left: 24px;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    animation: floating-control-enter 600ms cubic-bezier(.2, .75, .25, 1) 500ms both,
               floating-control-pulse 3.8s ease-in-out 1.2s infinite;
}

.floating-whatsapp i {
    font-size: 21px;
}

.floating-ai-button {
    right: 24px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    animation: floating-control-enter 600ms cubic-bezier(.2, .75, .25, 1) 650ms both,
               floating-control-pulse 3.8s ease-in-out 1.35s infinite;
}

.floating-whatsapp:hover,
.floating-ai-button:hover {
    animation-play-state: paused;
    transform: translateY(-4px);
}

.ai-assistant {
    position: fixed;
    z-index: 1199;
    right: 24px;
    bottom: 86px;
    width: min(360px, calc(100vw - 40px));
    border: 1px solid #e4eaf3;
    border-radius: 16px;
    background: #fff;
    color: var(--navy);
    box-shadow: 0 24px 60px rgba(4, 20, 50, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 180ms ease, visibility 180ms ease, transform 220ms cubic-bezier(.2, .75, .25, 1);
}

.ai-assistant.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ai-header {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px 16px 0 0;
    background: var(--navy);
    color: #fff;
}

.ai-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--blue);
}

.ai-header > div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.ai-header strong {
    font-size: 13px;
}

.ai-header span {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 9px;
}

.ai-header span i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #58c99c;
}

.ai-close {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    margin-left: auto;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.ai-messages {
    height: 220px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    padding: 14px;
    background: #f7f9fd;
}

.ai-message {
    max-width: 82%;
    width: fit-content;
    padding: 9px 11px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.45;
}

.ai-message.bot {
    align-self: flex-start;
    border-bottom-left-radius: 3px;
    background: #eaf1ff;
    color: #35465f;
}

.ai-message.user {
    align-self: flex-end;
    border-bottom-right-radius: 3px;
    background: var(--blue);
    color: #fff;
}

.ai-suggestions {
    display: flex;
    gap: 6px;
    padding: 8px 14px 0;
}

.ai-suggestions button {
    border: 1px solid #dde5f1;
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    padding: 6px 9px;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.ai-chat-form {
    display: grid;
    grid-template-columns: 1fr 40px;
    gap: 8px;
    padding: 10px 14px 14px;
}

.ai-chat-form input {
    min-width: 0;
    height: 40px;
    border: 1px solid #dde4ef;
    border-radius: 8px;
    outline: none;
    padding: 0 11px;
    color: var(--navy);
    font: inherit;
    font-size: 12px;
}

.ai-chat-form input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(20, 108, 255, 0.08);
}

.ai-chat-form button {
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes floating-control-enter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes floating-control-pulse {
    0%, 100% { box-shadow: 0 12px 30px rgba(4, 20, 50, 0.24); }
    50% { box-shadow: 0 12px 34px rgba(20, 108, 255, 0.38); }
}

@media (max-width: 560px) {
    .floating-whatsapp,
    .floating-ai-button {
        bottom: 16px;
    }

    .floating-whatsapp {
        left: 16px;
        width: 48px;
        height: 48px;
        justify-content: center;
        padding: 0;
    }

    .floating-whatsapp span {
        display: none;
    }

    .floating-ai-button {
        right: 16px;
        width: 48px;
        height: 48px;
    }

    .ai-assistant {
        right: 12px;
        bottom: 74px;
        width: calc(100vw - 24px);
    }

    .ai-messages {
        height: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-whatsapp,
    .floating-ai-button {
        animation: none;
    }

    .ai-assistant {
        transition: none;
    }
}

@media (max-width: 1000px) {
    header {
        height: 72px;
        padding-right: 20px;
    }

    .logo {
        margin-left: 20px;
    }

    .logo img {
        width: 150px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid #e1e8f2;
        border-radius: 9px;
        background: var(--white);
        cursor: pointer;
    }

    .nav-toggle span {
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--navy);
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .nav-open .nav-toggle span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav-open .nav-toggle span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        margin: 0;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        padding: 8px 20px 18px;
        border-top: 1px solid #edf0f5;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 16px 24px rgba(5, 27, 68, 0.1);
    }

    .nav-open nav {
        display: block;
    }

    nav ul {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    nav ul li a {
        display: block;
        padding: 12px 4px;
        font-size: 14px;
    }

    nav ul li::after {
        display: none;
    }

    #home .short-services {
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.45) transparent;
    }

    #home .short-services .service {
        flex: 0 0 150px;
    }
}

@media (max-width: 560px) {
    html {
        scroll-padding-top: 72px;
    }

    header {
        padding-right: 12px;
    }

    #home,
    #home .container {
        min-height: 820px;
    }

    #home .container {
        padding: 126px 20px 160px;
    }

    #home .content h1 {
        font-size: clamp(36px, 10.8vw, 46px);
        letter-spacing: -1.6px;
    }

    #home .content h2 {
        font-size: 11px;
        letter-spacing: 2px;
    }

    #home .hero-proof {
        gap: 8px;
    }

    #home .hero-proof div {
        padding: 0 8px;
    }

    #home .short-services {
        bottom: 14px;
        height: 104px;
        padding: 0 16px 8px;
        gap: 8px;
    }

    #home .short-services .service {
        flex-basis: 118px;
        min-width: 118px;
    }

    #home .short-services .service p {
        font-size: 10px;
    }

    #projects .project-card,
    #services .service-card,
    #why-us .value-card {
        min-width: 0;
    }

    #contacts .contact-form {
        min-width: 0;
    }

    #about .content,
    #services .services-container,
    #projects .projects-container,
    #why-us .why-container,
    #contacts .contacts-container {
        min-width: 0;
    }

    #about .about-values article,
    #services .service-card,
    #projects .project-card,
    #why-us .value-card {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .logo img {
        width: 132px;
    }

    .logo {
        margin-left: 14px;
    }

    header {
        padding-right: 14px;
    }

    #home .hero-proof strong {
        font-size: 10px;
    }

    #home .hero-proof span {
        font-size: 8px;
    }

    #about .about-heading h1,
    #services .services-heading h1,
    #projects .projects-heading h1,
    #why-us .why-heading h1,
    #contacts .contact-heading h1 {
        font-size: 36px;
    }

    #contacts .contact-form {
        padding: 16px;
    }
}