/* =========================================================
   DEVART
   Main stylesheet
========================================================= */

:root {

    --devart-blue: #193b63;
    --devart-blue-dark: #0d2948;
    --devart-blue-light: #315c8b;
    --devart-accent: #4c9aff;

    --devart-light: #f5f8fc;

    --devart-text: #172b3f;
    --devart-muted: #66788a;

    --devart-border: #e4eaf0;

    --white: #ffffff;

    --shadow:
        0 15px 45px rgba(17, 42, 68, 0.10);

    --radius: 18px;

}


/* =========================================================
   BASE
========================================================= */

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Inter', sans-serif;

    color: var(--devart-text);

    background: #ffffff;

    line-height: 1.7;

    overflow-x: hidden;

}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* =========================================================
   GENERIC SECTIONS
========================================================= */

.section-padding {
    padding: 100px 0;
}

.section-light {
    background: var(--devart-light);
}

.section-title {

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 800;

    line-height: 1.15;

    color: var(--devart-blue-dark);

    margin-bottom: 20px;

}

.section-subtitle {

    color: var(--devart-muted);

    max-width: 700px;

    font-size: 1.08rem;

}

.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--devart-accent);

    font-size: .82rem;

    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;

    margin-bottom: 18px;

}

.eyebrow::before {

    content: "";

    width: 28px;

    height: 2px;

    background: var(--devart-accent);

}


/* =========================================================
   NAVBAR
========================================================= */

.devart-navbar {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    padding: 12px 0;

    background: rgba(255, 255, 255, 0.97);

    border-bottom:
        1px solid rgba(13, 41, 72, 0.08);

    box-shadow:
        0 4px 20px rgba(13, 41, 72, 0.06);

    backdrop-filter: blur(12px);

    transition: all .3s ease;

}

.devart-navbar.scrolled {

    background: rgba(255, 255, 255, 0.98);

    padding: 7px 0;

    box-shadow:
        0 6px 25px rgba(13, 41, 72, 0.12);

}

.navbar-brand img {

    height: 54px;

    width: auto;

    object-fit: contain;

    transition: all .3s ease;

}

.devart-navbar.scrolled
.navbar-brand img {

    height: 48px;

}

.devart-nav-link {

    color: var(--devart-blue-dark) !important;

    font-size: .92rem;

    font-weight: 600;

    padding: 10px 15px !important;

    opacity: .9;

    transition:
        color .2s ease,
        transform .2s ease;

}

.devart-nav-link:hover {

    color: var(--devart-accent) !important;

    opacity: 1;

    transform: translateY(-1px);

}

.nav-contact {

    color: var(--devart-blue) !important;

    border:
        1px solid var(--devart-blue);

    border-radius: 50px;

    padding: 8px 19px !important;

    margin-left: 8px;

    transition: all .25s ease;

}

.nav-contact:hover {

    color: #ffffff !important;

    background: var(--devart-blue);

    border-color: var(--devart-blue);

    transform: translateY(-1px);

}

.navbar-toggler {

    border:
        1px solid rgba(25, 59, 99, .25);

    padding: 7px 10px;

    border-radius: 10px;

}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {

    filter:
        brightness(0)
        saturate(100%)
        invert(20%)
        sepia(20%)
        saturate(1100%)
        hue-rotate(175deg)
        brightness(80%);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 780px;

    height: 100vh;

    max-height: 950px;

    display: flex;

    align-items: center;

    background-image:
        var(--hero-image);

    background-size: cover;

    background-position:
        center center;

    overflow: hidden;

}

.hero::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 35, 61, .82) 0%,
            rgba(20, 58, 93, .66) 42%,
            rgba(20, 58, 93, .15) 100%
        );

}

.hero-content {

    position: relative;

    z-index: 2;

    color: #ffffff;

    padding-top: 60px;

}

.hero-kicker {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 7px 14px;

    border:
        1px solid rgba(255,255,255,.35);

    border-radius: 50px;

    background:
        rgba(255,255,255,.08);

    backdrop-filter: blur(6px);

    font-size: .82rem;

    font-weight: 600;

    margin-bottom: 25px;

}

.hero-kicker i {
    color: #7db9ff;
}

.hero h1 {

    font-size:
        clamp(2.7rem, 6vw, 5.7rem);

    line-height: 1.02;

    font-weight: 800;

    letter-spacing: -0.045em;

    max-width: 900px;

    margin-bottom: 28px;

}

.hero h1 span {
    color: #8ec4ff;
}

.hero-text {

    font-size:
        clamp(1rem, 2vw, 1.25rem);

    max-width: 680px;

    color:
        rgba(255,255,255,.88);

    margin-bottom: 38px;

}

.hero-buttons {

    display: flex;

    gap: 14px;

    flex-wrap: wrap;

}

.btn-devart {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 14px 25px;

    border-radius: 50px;

    font-weight: 700;

    transition: all .25s ease;

}

.btn-primary-devart {

    color: #ffffff;

    background:
        var(--devart-accent);

    border:
        1px solid var(--devart-accent);

}

.btn-primary-devart:hover {

    color: #ffffff;

    background: #3888ed;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.18);

}

.btn-outline-devart {

    color: #ffffff;

    border:
        1px solid rgba(255,255,255,.55);

    background:
        rgba(255,255,255,.04);

}

.btn-outline-devart:hover {

    color: var(--devart-blue);

    background: #ffffff;

    transform: translateY(-2px);

}

.hero-bottom {

    position: absolute;

    z-index: 3;

    bottom: 28px;

    left: 0;
    right: 0;

}

.hero-scroll {

    color:
        rgba(255,255,255,.7);

    font-size: .78rem;

    text-transform: uppercase;

    letter-spacing: .15em;

}

.hero-scroll i {

    display: block;

    margin-top: 5px;

    font-size: 1.3rem;

}


/* =========================================================
   INTRO
========================================================= */

.intro {
    padding: 90px 0;
}

.intro-number {

    font-size: 6rem;

    font-weight: 800;

    color:
        rgba(25,59,99,.08);

    line-height: .8;

}

.intro-text {

    font-size: 1.18rem;

    color: var(--devart-muted);

}


/* =========================================================
   SERVICES
========================================================= */

.service-card {

    height: 100%;

    padding: 36px;

    background: #ffffff;

    border:
        1px solid var(--devart-border);

    border-radius: var(--radius);

    transition: all .3s ease;

    position: relative;

    overflow: hidden;

}

.service-card::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background:
        var(--devart-accent);

    transform:
        scaleX(0);

    transform-origin: left;

    transition:
        transform .3s ease;

}

.service-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(76,154,255,.35);

    box-shadow:
        var(--shadow);

}

.service-card:hover::after {

    transform:
        scaleX(1);

}

.service-icon {

    width: 58px;
    height: 58px;

    border-radius: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #edf5ff;

    color: var(--devart-blue);

    font-size: 1.6rem;

    margin-bottom: 25px;

}

.service-card h3 {

    font-size: 1.35rem;

    font-weight: 750;

    margin-bottom: 13px;

    color: var(--devart-blue-dark);

}

.service-card p {

    color: var(--devart-muted);

    margin-bottom: 20px;

}

.service-list {

    padding: 0;

    margin: 0;

    list-style: none;

}

.service-list li {

    color: #506579;

    font-size: .92rem;

    margin-bottom: 7px;

}

.service-list li i {

    color: var(--devart-accent);

    margin-right: 7px;

}


/* =========================================================
   AI
========================================================= */

.ai-section {

    position: relative;

    background:
        linear-gradient(
            135deg,
            var(--devart-blue-dark),
            var(--devart-blue)
        );

    color: #ffffff;

    overflow: hidden;

}

.ai-section::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        rgba(76,154,255,.12);

    right: -180px;

    top: -180px;

}

.ai-section .section-title {
    color: #ffffff;
}

.ai-section .section-subtitle {

    color:
        rgba(255,255,255,.72);

}

.ai-feature {

    position: relative;

    z-index: 2;

    padding: 25px 0;

    border-bottom:
        1px solid rgba(255,255,255,.12);

}

.ai-feature:last-child {
    border-bottom: 0;
}

.ai-feature-icon {

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        rgba(255,255,255,.1);

    color: #8ec4ff;

    font-size: 1.25rem;

    flex-shrink: 0;

}

.ai-feature h4 {

    font-size: 1.05rem;

    font-weight: 700;

    margin: 0 0 5px;

}

.ai-feature p {

    margin: 0;

    color:
        rgba(255,255,255,.68);

    font-size: .92rem;

}

.ai-panel {

    position: relative;

    z-index: 2;

    padding: 35px;

    border-radius: 24px;

    border:
        1px solid rgba(255,255,255,.16);

    background:
        rgba(255,255,255,.07);

    backdrop-filter: blur(10px);

}

.ai-panel-label {

    color: #8ec4ff;

    font-size: .75rem;

    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;

}

.ai-panel h3 {

    font-size: 2rem;

    font-weight: 800;

    margin: 12px 0 18px;

}

.ai-panel p {

    color:
        rgba(255,255,255,.7);

}

.ai-pill {

    display: inline-block;

    padding: 7px 12px;

    margin: 4px 3px;

    border:
        1px solid rgba(255,255,255,.16);

    border-radius: 50px;

    font-size: .78rem;

    color:
        rgba(255,255,255,.85);

    background:
        rgba(255,255,255,.05);

}


/* =========================================================
   PROJECTS
========================================================= */

.project-card {

    position: relative;

    height: 100%;

    min-height: 300px;

    border-radius: var(--radius);

    overflow: hidden;

    background:
        var(--devart-blue);

    color: #ffffff;

    box-shadow:
        var(--shadow);

}

.project-content {

    position: absolute;

    inset: 0;

    padding: 30px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    background:
        linear-gradient(
            180deg,
            transparent 20%,
            rgba(8,25,43,.92) 100%
        );

}

.project-number {

    font-size: .75rem;

    letter-spacing: .15em;

    text-transform: uppercase;

    color: #8ec4ff;

    font-weight: 700;

    margin-bottom: 10px;

}

.project-card h3 {

    font-size: 1.55rem;

    font-weight: 800;

    margin-bottom: 8px;

}

.project-card p {

    color:
        rgba(255,255,255,.72);

    font-size: .9rem;

    margin: 0;

}

.project-bg-1 {

    background:
        radial-gradient(
            circle at 20% 20%,
            #4c9aff 0,
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #0d2948,
            #193b63
        );

}

.project-bg-2 {

    background:
        radial-gradient(
            circle at 80% 20%,
            #6bb6ff 0,
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #173d62,
            #0c223c
        );

}

.project-bg-3 {

    background:
        radial-gradient(
            circle at 60% 30%,
            #82c7ff 0,
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #0b2945,
            #315c8b
        );

}


/* =========================================================
   TECHNOLOGIES
========================================================= */

.tech-box {

    padding: 30px 20px;

    text-align: center;

    border:
        1px solid var(--devart-border);

    border-radius: 15px;

    background: #ffffff;

    transition: all .25s ease;

    height: 100%;

}

.tech-box:hover {

    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow);

    border-color:
        rgba(76,154,255,.35);

}

.tech-box i {

    font-size: 2rem;

    color: var(--devart-blue);

    margin-bottom: 12px;

}

.tech-box strong {

    display: block;

    font-size: .9rem;

}


/* =========================================================
   PROCESS
========================================================= */

.process-step {

    position: relative;

    text-align: center;

    padding: 25px 20px;

}

.process-number {

    width: 58px;
    height: 58px;

    margin:
        0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--devart-blue);

    color: #ffffff;

    font-weight: 800;

    font-size: 1.05rem;

}

.process-step h4 {

    font-size: 1.05rem;

    font-weight: 750;

    color:
        var(--devart-blue-dark);

}

.process-step p {

    color:
        var(--devart-muted);

    font-size: .9rem;

}

.process-line {

    position: absolute;

    top: 54px;

    left: 75%;

    width: 50%;

    height: 1px;

    background:
        var(--devart-border);

}

.process-step:last-child
.process-line {

    display: none;

}


/* =========================================================
   CTA
========================================================= */

.cta-section {

    padding: 90px 0;

    background:
        var(--devart-light);

}

.cta-box {

    position: relative;

    overflow: hidden;

    padding: 65px;

    border-radius: 25px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--devart-blue-dark),
            var(--devart-blue)
        );

}

.cta-box::after {

    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -120px;
    top: -180px;

    border-radius: 50%;

    background:
        rgba(76,154,255,.18);

}

.cta-box h2 {

    position: relative;

    z-index: 2;

    font-size:
        clamp(2rem, 4vw, 3.3rem);

    font-weight: 800;

    line-height: 1.1;

}

.cta-box p {

    position: relative;

    z-index: 2;

    color:
        rgba(255,255,255,.72);

    max-width: 650px;

}

.cta-box .btn {

    position: relative;

    z-index: 2;

}


/* =========================================================
   CONTACT
========================================================= */

.contact-card {

    padding: 30px;

    border-radius: var(--radius);

    background: #ffffff;

    border:
        1px solid var(--devart-border);

    height: 100%;

}

.contact-icon {

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #edf5ff;

    color: var(--devart-blue);

    font-size: 1.25rem;

    margin-bottom: 18px;

}

.contact-card h4 {

    font-size: 1rem;

    font-weight: 750;

}

.contact-card p {

    margin: 0;

    color:
        var(--devart-muted);

}

.contact-card a {

    color:
        var(--devart-blue);

    font-weight: 600;

}

/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    padding: 110px 0;
    background: #f5f8fc;
}

.contact-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--devart-blue-dark);
    margin-bottom: 25px;
}

.contact-intro {
    color: var(--devart-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 18px;
}


/* INFO */

.contact-info-list {
    margin-top: 38px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #ffffff;

    color: var(--devart-blue);

    box-shadow:
        0 5px 20px rgba(17,42,68,.07);

    font-size: 1.1rem;
}

.contact-info-item span {
    display: block;
    color: #8190a0;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item strong {
    display: block;
    color: var(--devart-blue-dark);
    font-size: .95rem;
    font-weight: 600;
}

.contact-info-item a:hover {
    color: var(--devart-accent);
}


/* FORM CARD */

.contact-form-card {
    background: #ffffff;

    border:
        1px solid var(--devart-border);

    border-radius: 24px;

    padding: 38px;

    box-shadow:
        0 20px 60px rgba(17,42,68,.09);
}

.contact-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 30px;

    padding-bottom: 20px;

    border-bottom:
        1px solid var(--devart-border);

    color: var(--devart-blue-dark);

    font-size: 1.15rem;
    font-weight: 750;
}

.contact-form-header i {
    color: var(--devart-accent);
    font-size: 1.25rem;
}


/* LABEL */

.devart-contact-form .form-label {
    display: block;

    color: var(--devart-blue-dark);

    font-size: .82rem;

    font-weight: 700;

    margin-bottom: 8px;
}

.devart-contact-form .form-label span {
    color: #9aa7b4;
    font-weight: 400;
}


/* INPUT */

.modern-input {
    position: relative;
}

.modern-input > i {
    position: absolute;

    left: 16px;
    top: 16px;

    color: #91a0af;

    z-index: 2;

    transition: color .2s ease;
}

.modern-input .form-control {
    min-height: 54px;

    padding:
        13px 16px 13px 46px;

    border:
        1px solid #dfe6ed;

    border-radius: 12px;

    background: #fbfcfe;

    color: var(--devart-text);

    font-size: .92rem;

    box-shadow: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.modern-input textarea.form-control {
    min-height: 140px;
    resize: vertical;
    padding-top: 15px;
}

.modern-input .form-control::placeholder {
    color: #a7b2bd;
}

.modern-input .form-control:focus {

    background: #ffffff;

    border-color:
        var(--devart-accent);

    box-shadow:
        0 0 0 4px rgba(76,154,255,.10);

}

.modern-input:focus-within > i {
    color: var(--devart-accent);
}


/* RECAPTCHA */

.recaptcha-wrapper {
    padding-top: 5px;
}


/* PRIVACY */

.devart-contact-form .form-check {
    margin-top: 4px;
}

.devart-contact-form .form-check-input {
    margin-top: .3em;
}

.devart-contact-form .form-check-input:checked {
    background-color: var(--devart-blue);
    border-color: var(--devart-blue);
}

.devart-contact-form .form-check-label {
    color: #748495;
    font-size: .78rem;
    line-height: 1.5;
}


/* BUTTON */

.btn-submit {

    width: 100%;

    min-height: 56px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    border: 0;

    border-radius: 12px;

    background:
        var(--devart-blue);

    color: #ffffff;

    font-size: .95rem;

    font-weight: 700;

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.btn-submit:hover {

    background:
        var(--devart-blue-dark);

    color: #ffffff;

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px rgba(13,41,72,.18);

}

.btn-submit i {
    transition: transform .25s ease;
}

.btn-submit:hover i {
    transform: translateX(4px);
}


/* MOBILE */

@media (max-width: 767.98px) {

    .contact-section {
        padding: 75px 0;
    }

    .contact-form-card {
        padding: 25px 20px;
        border-radius: 18px;
    }

    .contact-title {
        font-size: 2.6rem;
    }

}

/* =========================================================
   FOOTER
========================================================= */

footer {

    background:
        #081d32;

    color:
        rgba(255,255,255,.7);

    padding:
        65px 0 25px;

}

.footer-logo {

    height: 48px;

    width: auto;

    margin-bottom: 20px;

}

.footer-text {

    max-width: 400px;

    font-size: .9rem;

}

footer h5 {

    color: #ffffff;

    font-size: .9rem;

    font-weight: 750;

    margin-bottom: 18px;

}

.footer-links {

    list-style: none;

    padding: 0;

    margin: 0;

}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {

    color:
        rgba(255,255,255,.62);

    font-size: .88rem;

    transition:
        color .2s ease;

}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {

    margin-top: 50px;

    padding-top: 22px;

    border-top:
        1px solid rgba(255,255,255,.1);

    font-size: .78rem;

}

.social-link {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,.18);

    color: #ffffff;

    margin-right: 6px;

    transition: all .2s ease;

}

.social-link:hover {

    background: #ffffff;

    color: var(--devart-blue);

}


/* =========================================================
   SCROLL ANIMATION
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;

}

.reveal.visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   BACK TO TOP
========================================================= */

#backToTop {

    position: fixed;

    z-index: 999;

    right: 22px;
    bottom: 22px;

    width: 45px;
    height: 45px;

    border: 0;

    border-radius: 50%;

    background:
        var(--devart-blue);

    color: #ffffff;

    display: none;

    align-items: center;
    justify-content: center;

    box-shadow:
        0 8px 25px rgba(0,0,0,.18);

    transition:
        all .2s ease;

}

#backToTop:hover {

    transform:
        translateY(-3px);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .devart-navbar {
        padding: 12px 0;
    }

    .navbar-collapse {

        margin-top: 12px;

        padding: 15px;

        border-radius: 15px;

        background: #ffffff;

        border:
            1px solid rgba(13, 41, 72, .08);

        box-shadow:
            0 15px 35px rgba(13, 41, 72, .12);

    }

    .nav-contact {

        margin-left: 0;

        margin-top: 5px;

        display: inline-block;

    }

    .hero {

        min-height: 720px;

        background-position:
            58% center;

    }

    .hero::after {

        background:
            linear-gradient(
                90deg,
                rgba(10,35,61,.84),
                rgba(20,58,93,.55)
            );

    }

    .process-line {
        display: none;
    }

    .cta-box {
        padding: 45px 30px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .section-padding {
        padding: 75px 0;
    }

    .navbar-brand img {
        height: 45px;
    }

    .hero {

        min-height: 680px;

        height: auto;

        padding:
            150px 0 100px;

        background-position:
            62% center;

    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;

    }

    .hero-buttons .btn-devart {

        width: 100%;

        max-width: 310px;

    }

    .intro {
        padding: 70px 0;
    }

    .intro-number {
        font-size: 4rem;
    }

    .service-card {
        padding: 28px;
    }

    .ai-panel {
        margin-top: 30px;
    }

    .cta-box {
        padding: 40px 25px;
    }

    .project-card {
        min-height: 260px;
    }

    .process-step {
        padding:
            15px 20px 30px;
    }

}