/* Fonts */
@import "./../fonts/onest/onest.css";
@import "./../fonts/sourcecodepro/sourcecodepro.css";
@import "./../fonts/ptsans/ptsans.css";
@import "./../fonts/librefranklin/librefranklin.css";
@import "./../fonts/lato/lato.css";

/* Reset */
@import "./reset.css";

:root {
    --primary: #2c93e2;
    --dark-accent: #134071;
    --light-accent: #e1e8f0;

    --background: #F5F5F5;
    --text-primary: #1F1F1F;
    --text-secondary: #54595F;
    --text-light: #FFFFFF;
    --text-dark: #051229;

    --border: #E0E0E0;

    --font-base: 'PT Sans';
    --font-accent: 'Onest';
}

/*.row,*/
/*.col-md-3 {*/
/*    display: flex;*/
/*}*/

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--background);
    font-size: 16px;
}

a {
    color: var(--dark-accent);
    text-decoration: none;
    transition: ease color .3s;
}

a:hover {
    color: var(--text-primary);
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.text-light {
    color: var(--text-light);
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px 0 30px;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    color: var(--text-secondary);
    text-align: center;
}

.text-light .section-title {
    color: var(--text-light);
}

.text-light .section-subtitle {
    color: #a9b0b8;
}

.logo-image {
    width: 200px;
}

.nav {
    display: flex;
    flex: 1;
    height: 100%;
    justify-content: space-between;
}

.nav-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
    justify-items: center;
}

.nav-link {
    font-family: 'PT Sans', sans-serif;
}

/* BANNER */
.hero {
    background-color: var(--light-accent);
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero:before {
    position: absolute;
    content: "";
    bottom: -1px;
    left: 0px;
    width: 100%;
    height: 40px;
    mask-image: url(../images/hero/h1-hero-shapes.svg);
    mask-repeat: no-repeat;
    mask-size: contain;
    z-index: 2;
    mask-position: center bottom;
    background-color: var(--background);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
}

.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-title {
    font-size: 2rem;
    color: #051229;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-family: 'PT Sans', sans-serif;
}

.hero-shapes-1 {
    position: absolute;
    top: -30px;
    left: -25%;
    z-index: -1;
    max-width: 265px;
    width: 100%;
    opacity: 0.4;
}

.hero-images-box {
    position: relative;
}

.hero-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    max-width: 70%;
}

.images-shapes {
    position: absolute;
    top: -30px;
    right: -78px;
    z-index: -1;
    opacity: 0.3;
}

/* ENTERPRISE ASSEST MANAGENT */
.enterprise {
    padding-top: 60px;
    background-color: var(--background);
}

.big-icon-cards .card {
    background-color: white;
    border-radius: 4px;
    padding: 30px 15px;
    font-weight: 500;
    border: 1px solid var(--light-accent);
    position: relative;
    z-index: 1;
}

/*.card:before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    width: calc(100% - 20px);*/
/*    height: 65%;*/
/*    background: linear-gradient(180deg, rgba(225, 232, 240, 0) 0%, rgb(225, 232, 240) 100%);*/
/*    bottom: 10px;*/
/*    left: 10px;*/
/*    z-index: -1;*/
/*}*/

.big-icon-cards .card-icon-wrapper {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.big-icon-cards .card-icon {
    max-height: 120px;
}

.big-icon-cards .cart-text {
    text-align: center;
}

.teaming {
    padding-top: 20px;
    padding-bottom: 60px;
}

/* ARTIFICIAL INTELLIGENCE  */

.artificial {
    padding: 60px 0;
    background-color: var(--dark-accent);
}

.small-icon-cards .card {
    background-color: white;
    padding: 30px 15px;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.small-icon-cards .card-title {
    font-weight: 600;
}

.small-icon-cards .card-title,
.small-icon-cards .card-description {
    color: var(--text-dark);
}

.small-icon-cards .card-icon {
    max-height: 120px;
}

.small-icon-cards .card-icon-wrapper {
    padding: 10px;
    border-radius: 4px;
    background-color: var(--light-accent);
    margin-bottom: 15px;
}

.cards-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.horizontal-cards .card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border-radius: 4px;
    border: 1px solid var(--light-accent);
    padding: 15px;
    margin: 5px 0;
}

.horizontal-cards .card-icon-wrapper {
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horizontal-cards .card-title{
    font-weight: 600;
}

.horizontal-cards .card-icon {
    max-width: 120px;
    max-height: 120px;
}

.developers {
    padding: 60px;
}

.implement {
    padding-bottom: 60px;
}

.developers-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 4px;
    border: 1px solid var(--light-accent);
    padding: 30px;
    height: calc(100% - 5px);
}

.developers-image {
    max-height: 260px;
}

.title-image-cards .card {
    background-color: white;
    border-radius: 4px;
    padding: 15px;
    font-weight: 500;
    border: 1px solid var(--light-accent);
}

.title-image-cards .card-icon-wrapper {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-image-cards .card-icon {
    max-height: 160px;
}

.title-image-cards .cart-text {
    font-weight: 600;
    text-align: center;
}

.line {
    background-color: var(--dark-accent);
    padding: 60px 0;
}

.line-content {
    display: flex;
    align-items: center;
    /*justify-content: space-around;*/
    flex: 1 0 33%;
}

.line-item {
    width: calc(100% / 3);
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.4rem;
    border-right: 3px solid var(--text-light);
    text-align: center;
}

.line-item:last-child {
    border: none;
}

.services {
    padding: 60px 0;
}

.services .card {
    height: 100%;
}

.services .card-icon-wrapper {
    padding: 10px;
    border-radius: 4px;
    background-color: var(--light-accent);
    width: fit-content;
    margin: 0 auto 15px;
}

.services .card-icon{
    height: 120px;
}

.info{
    padding: 60px 0;
    background-color: var(--light-accent);
    position: relative;
    z-index: 2;
}

.info .section-title {
    font-size: 2rem;
}

.info .section-subtitle{
    font-size: 1.2rem;
    text-align: center;
}


.footer {
    background-color: var(--dark-accent);
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.footer:before {
    position: absolute;
    content: "";
    top: -1px;
    left: 0;
    width: 100%;
    object-fit: cover;
    height: 37px;
    mask-image: url(../images/svg/brand-shapes.svg);
    background: var(--light-accent);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: cover;
    z-index: 2;
}

.footer-logo-wrapper{
    margin-bottom: 30px;
}

.footer-logo {
    width: 200px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-info-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.footer-info-icon {
    flex-basis: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.footer-info-text a {
    color: var(--text-light);
}

.footer-info-text a:hover {
    color: var(--primary);
}

.footer-copyright {
    padding-left: 10px;
    margin-top: 30px;
}

.footer-nav {
    height: 100%;
    display: flex;
    align-items: center;
}

@media (max-width: 1200px) {
    .enterprise .card {
        height: 250px;
    }

    .artificial .card {
        height: 263px;
    }

    .horizontal-cards .card {
        margin: 5px 0;
    }

    .implement .card {
        height: 260px;
    }
}


@media (max-width: 992px) {


    .section-title,
    .section-subtitle {
        text-align: center;
    }

    .logo-image {
        margin: 0 auto;
    }

    .hero-title,
    .hero-title-wrapper {
        margin: 0 auto;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        color: var(--text-primary);
        text-align: center;
    }

    .hero-image-wrapper {
        margin-top: 20px;
    }


    .card {
        margin: 10px 0;
    }

    .services .card {
        margin: 10px 0;
        height: 288px;
    }

    .artificial .card {
        height: 212px;
    }

    .horizontal-cards .card {
        flex-direction: column;
    }

    .horizontal-cards .card-icon-wrapper{
        margin-bottom: 15px;
    }

    .line {
        padding: 30px 0;
    }

    .line-content {
        flex-direction: column;
    }

    .line-item{
        border-right: none;
        width: 100%;
        padding: 15px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        border-bottom: 3px solid white;
    }

}

/* OUTSTAFF STRIP – Made by Dima */
.outstaff-strip {
    background: var(--dark-accent);
    color: #fff;
    padding: 16px 0;
    position: relative;
    z-index: 5;
}

.outstaff-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.outstaff-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.outstaff-number {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    min-width: 56px;
    text-align: center;
}

/* Адаптив */
@media (min-width: 768px) {
    .outstaff-text {
        font-size: 1rem;
    }
    .outstaff-number {
        font-size: 1.4rem;
        min-width: 26px;
    }
}
@media (max-width: 575.98px) {
    .outstaff-strip {
        padding: 6px 0;
    }

    .outstaff-content {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .outstaff-text {
        display: block;
        line-height: 1.2;
        font-size: 0.8rem;
    }

    .outstaff-number {
        min-width: 38px;
        padding: 2px 7px;
        font-size: 1.1rem;
        align-self: center;
    }
}