/* PLACE YOU CUSTOM STYLES IN THIS FILE */

.maxko-tech-hero-bg {
    position: absolute;
    inset: 0;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .82)),
        radial-gradient(circle at 16% 42%, rgba(28, 148, 174, .38), transparent 30%),
        radial-gradient(circle at 82% 36%, rgba(224, 136, 33, .34), transparent 32%),
        linear-gradient(100deg, #071116 0%, #030608 48%, #15100a 100%);
    overflow: hidden;
}

.maxko-tech-hero-bg:before,
.maxko-tech-hero-bg:after {
    content: "";
    position: absolute;
    inset: -20%;
    pointer-events: none;
}

.maxko-tech-hero-bg:before {
    background:
        radial-gradient(circle at 20% 46%, rgba(63, 210, 230, .2), transparent 24%),
        radial-gradient(circle at 80% 42%, rgba(224, 136, 33, .22), transparent 26%),
        linear-gradient(90deg, transparent 0 12%, rgba(255, 255, 255, .055) 12% 12.1%, transparent 12.1% 31%, rgba(255, 255, 255, .04) 31% 31.1%, transparent 31.1% 67%, rgba(224, 136, 33, .12) 67% 67.1%, transparent 67.1% 88%, rgba(63, 210, 230, .08) 88% 88.1%, transparent 88.1%);
    opacity: .9;
    z-index: 0;
}

.maxko-tech-hero-bg:after {
    background:
        repeating-linear-gradient(90deg, transparent 0 155px, rgba(63, 210, 230, .08) 155px 157px, transparent 157px 310px),
        linear-gradient(90deg, transparent 0 46%, rgba(255, 255, 255, .08) 49%, transparent 52%),
        radial-gradient(ellipse at center, rgba(0, 0, 0, .06) 0 36%, rgba(0, 0, 0, .58) 78%),
        linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .68));
    opacity: .8;
    z-index: 2;
    animation: maxkoScan 12s ease-in-out infinite;
}

.maxko-tech-hero-bg canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.nk-header-title .nk-header-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 3px 20px rgba(0, 0, 0, .85);
}

.maxko-x-icon {
    width: 13px;
    height: 13px;
    fill: currentColor;
    vertical-align: -1px;
}

.nk-navbar .maxko-main-nav {
    text-align: left;
    padding-left: 42px;
}

.nk-navbar .maxko-main-nav>li>a {
    padding-left: 42px;
    padding-right: 42px;
}

.maxko-services-grid .nk-ibox {
    height: 100%;
}

.maxko-home-carousel-section {
    position: relative;
    z-index: 2;
    margin-top: -34px;
    padding: 56px 0 34px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(3, 6, 8, 0), rgba(3, 6, 8, .42) 22%, rgba(3, 6, 8, .28) 74%, rgba(3, 6, 8, 0)),
        radial-gradient(ellipse at 50% 52%, rgba(224, 136, 33, .1), transparent 42%),
        radial-gradient(ellipse at 18% 52%, rgba(64, 202, 220, .06), transparent 30%);
}

.maxko-home-carousel-section:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50px;
    width: min(800px, calc(100% - 42px));
    height: calc(100% - 72px);
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, .1);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .006)),
        rgba(2, 5, 7, .28);
    box-shadow: 0 18px 54px rgba(0, 0, 0, .28);
    pointer-events: none;
}

.maxko-home-carousel-section:after {
    content: "Featured Work";
    position: absolute;
    left: 50%;
    top: 45px;
    transform: translateX(-50%);
    padding: 0 18px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1;
    color: #e08821;
    text-transform: uppercase;
    background: #05080a;
}

.maxko-work-carousel {
    position: relative;
    z-index: 1;
    width: min(940px, calc(100% - 34px));
    margin: 0 auto;
    padding: 8px 0 24px;
}

.maxko-work-carousel .flickity-viewport {
    overflow: visible;
}

.maxko-work-carousel .flickity-slider>div {
    width: 56%;
    max-width: 560px;
    margin: 0 14px;
    opacity: .34;
    transform: scale(.82);
    transition: opacity .28s ease, transform .28s ease;
}

.maxko-work-carousel .flickity-slider>div.is-selected {
    opacity: 1;
    transform: scale(1);
}

.maxko-work-slide {
    position: relative;
    height: clamp(190px, 22vw, 300px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    background: #07090b;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .42);
}

.maxko-work-slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .1) 48%, rgba(0, 0, 0, .78)),
        linear-gradient(90deg, rgba(0, 0, 0, .36), rgba(0, 0, 0, 0) 42%);
    pointer-events: none;
}

.maxko-work-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.maxko-work-slide>div {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 1;
}

.maxko-work-slide span {
    display: block;
    margin-bottom: 6px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    color: #e08821;
    text-transform: uppercase;
}

.maxko-work-slide h2 {
    margin: 0;
    font-family: "Marcellus SC", serif;
    font-size: clamp(1.15rem, 1.75vw, 1.65rem);
    line-height: 1.08;
    color: #fff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .92);
}

.maxko-work-carousel .flickity-page-dots {
    display: none;
}

.maxko-work-carousel .flickity-page-dots .dot {
    width: 18px;
    height: 3px;
    margin: 0 4px;
    border-radius: 0;
    background: rgba(255, 255, 255, .32);
    opacity: 1;
}

.maxko-work-carousel .flickity-page-dots .dot.is-selected {
    background: #e08821;
}

.maxko-web-portfolio .nk-image-box-1-a {
    overflow: hidden;
}

.maxko-portfolio-copy {
    padding: 18px 4px 4px;
}

.maxko-portfolio-copy h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.maxko-portfolio-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .74);
    line-height: 1.55;
}

.maxko-web-development-band {
    position: relative;
    overflow: hidden;
}

.maxko-web-development-band:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 24%, rgba(82, 202, 220, .14), transparent 28%),
        radial-gradient(circle at 82% 76%, rgba(224, 136, 33, .18), transparent 30%),
        linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, .035) 48.2%, transparent 48.4%);
}

.maxko-web-quote {
    position: relative;
    z-index: 1;
    padding: 18px 0;
}

.maxko-web-quote .nk-title-back {
    margin-bottom: -20px;
    text-align: left;
}

.maxko-web-quote .lead {
    margin: 18px 0 12px;
    color: rgba(255, 255, 255, .88);
}

.maxko-web-quote p:not(.lead) {
    max-width: 700px;
    color: rgba(255, 255, 255, .66);
}

.maxko-web-capabilities>div>div {
    height: 100%;
    padding: 26px 22px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
}

.maxko-web-capabilities span {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 2rem;
    color: #e08821;
    text-shadow: 0 0 22px rgba(224, 136, 33, .35);
}

.maxko-web-capabilities h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.maxko-web-capabilities p {
    margin: 0;
    color: rgba(255, 255, 255, .67);
    line-height: 1.55;
}

.maxko-contact-page {
    position: relative;
    padding-bottom: 34px;
    color: #fff;
}

.maxko-contact-page:before {
    content: "";
    position: absolute;
    inset: 0 15px;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 18%, rgba(82, 202, 220, .14), transparent 28%),
        radial-gradient(circle at 82% 82%, rgba(224, 136, 33, .2), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 48%, rgba(255, 255, 255, .035) 48.2%, transparent 48.4%),
        linear-gradient(135deg, rgba(4, 9, 12, .92), rgba(9, 12, 14, .96) 48%, rgba(21, 16, 9, .92));
    z-index: -1;
}

.maxko-contact-page a {
    color: #e08821;
}

.maxko-contact-page>.row.vertical-gap {
    margin-top: 0;
}

.maxko-contact-page>.row.vertical-gap>[class*=col-] {
    padding-top: 0;
}

.maxko-contact-info,
.maxko-contact-form,
.maxko-locations {
    border: 1px solid rgba(255, 255, 255, .12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022)),
        rgba(5, 8, 10, .78);
    color: #fff;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .28);
    backdrop-filter: blur(2px);
}

.maxko-contact-info {
    height: 100%;
    padding: 34px 32px;
}

.maxko-contact-info section+section {
    margin-top: 48px;
}

.maxko-contact-info h2,
.maxko-locations h2 {
    margin: 0 0 14px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.2;
    color: #e08821;
    text-transform: uppercase;
}

.maxko-contact-info p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.55;
}

.maxko-contact-form {
    padding: 34px 38px;
}

.maxko-contact-form h1 {
    margin: 0 0 34px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 2.7rem;
    font-weight: 300;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
}

.maxko-contact-form .form-control {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06) !important;
}

.maxko-contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, .58);
}

.maxko-contact-form textarea.form-control {
    min-height: 200px;
}

.maxko-contact-form .nk-btn+.nk-btn {
    margin-left: 14px;
}

.maxko-locations {
    padding: 34px 32px;
}

.maxko-location-card {
    display: grid;
    grid-template-columns: minmax(230px, 1.1fr) minmax(190px, .9fr);
    gap: 18px;
    align-items: stretch;
    height: 100%;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .045);
}

.maxko-location-map iframe {
    width: 100%;
    height: 210px;
    border: 0;
    filter: saturate(.82) contrast(.96);
}

.maxko-location-details {
    padding: 4px 0;
    font-style: italic;
    color: #fff;
}

.maxko-location-details h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
}

.maxko-location-details p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.5;
}

.maxko-services-grid .nk-ibox-cont {
    font-size: 1.05rem;
    line-height: 1.55;
}

.maxko-stat .nk-count:after {
    content: "+";
}

.maxko-about-page {
    position: relative;
    color: #fff;
}

.maxko-about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 34px;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, .12);
    background:
        radial-gradient(circle at 18% 18%, rgba(82, 202, 220, .14), transparent 30%),
        radial-gradient(circle at 82% 82%, rgba(224, 136, 33, .18), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
    box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.maxko-about-copy {
    padding: 38px 40px;
}

.maxko-about-copy>span,
.maxko-section-heading>span,
.maxko-dc-region,
.maxko-office-card>div>span,
.maxko-dc-card>div>span {
    display: inline-block;
    font-family: "Roboto Condensed", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: #e08821;
    text-transform: uppercase;
}

.maxko-about-copy h1,
.maxko-section-heading h2 {
    margin: 10px 0 24px;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 300;
    line-height: 1.08;
    text-transform: uppercase;
}

.maxko-about-copy h1 {
    font-size: 3.2rem;
}

.maxko-section-heading h2 {
    font-size: 2.25rem;
}

.maxko-about-copy p,
.maxko-section-heading p,
.maxko-office-card p,
.maxko-dc-card p {
    color: rgba(255, 255, 255, .72);
    line-height: 1.65;
}

.maxko-about-copy p {
    margin: 0 0 18px;
}

.maxko-about-media {
    min-height: 100%;
    overflow: hidden;
}

.maxko-about-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    filter: saturate(.9) contrast(1.04);
}

.maxko-section-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.maxko-about-locations,
.maxko-about-infrastructure {
    position: relative;
}

.maxko-office-card {
    position: relative;
    min-height: 250px;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    background-color: #070b0e;
    box-shadow: 0 18px 58px rgba(0, 0, 0, .24);
}

.maxko-office-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--office-bg) center/cover no-repeat;
    opacity: .42;
    filter: saturate(.85) contrast(1.08);
}

.maxko-office-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 7, 9, .96), rgba(4, 7, 9, .66) 54%, rgba(4, 7, 9, .22)),
        radial-gradient(circle at 80% 30%, rgba(224, 136, 33, .2), transparent 28%);
}

.maxko-office-card>div {
    position: relative;
    z-index: 1;
    max-width: 320px;
    padding: 34px 32px;
}

.maxko-office-card h3,
.maxko-dc-card h3 {
    margin: 10px 0 12px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: #fff;
}

.maxko-office-card p {
    margin: 0;
    font-size: 1.05rem;
}

.maxko-office-croatia {
    --office-bg: url("../images/gallery-5.jpg");
}

.maxko-office-egypt {
    --office-bg: url("../images/gallery-3.jpg");
}

.maxko-dc-region {
    margin: 24px 0 16px;
}

.maxko-dc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.maxko-dc-grid-africa {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
}

.maxko-dc-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)),
        rgba(5, 8, 10, .82);
    box-shadow: 0 18px 58px rgba(0, 0, 0, .22);
}

.maxko-dc-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    padding: 18px 18px 0;
    background:
        linear-gradient(180deg, rgba(236, 243, 247, .96), rgba(221, 232, 238, .92));
}

.maxko-dc-card>div {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 24px;
}

.maxko-dc-card p {
    flex: 1;
    margin: 0 0 18px;
    font-size: .94rem;
}

.maxko-dc-card .nk-btn {
    align-self: flex-start;
    padding: 11px 22px;
    border-radius: 999px;
    background: #e08821;
    border-color: #e08821;
    color: #0b0d0f;
}

.maxko-dc-card .nk-btn:before {
    content: none;
}

.maxko-eu-footer-logos .maxko-iso-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: saturate(1.18) contrast(1.08) hue-rotate(-8deg) drop-shadow(0 0 18px rgba(224, 136, 33, .24));
}

.maxko-eu-footer-logos {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    margin-left: 34px;
    vertical-align: middle;
}

.maxko-eu-footer-logos img {
    display: block;
    max-width: 245px;
    width: 70%;
    height: auto;
    image-rendering: auto;
    
}

.maxko-eu-footer-logos img+img {
    max-width: 210px;
}

@keyframes maxkoScan {
    0%,
    100% {
        transform: translate3d(-4%, 0, 0);
        opacity: .55;
    }

    50% {
        transform: translate3d(4%, 0, 0);
        opacity: .82;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maxko-tech-hero-bg:after {
        animation: none;
    }
}

@media (max-width: 767px) {
    .nk-header-text .display-3 {
        font-size: 2.4rem;
    }

    .maxko-home-carousel-section {
        margin-top: -24px;
        padding: 46px 0 28px;
    }

    .maxko-home-carousel-section:before {
        top: 42px;
        width: calc(100% - 28px);
        height: calc(100% - 62px);
    }

    .maxko-home-carousel-section:after {
        top: 24px;
        font-size: .72rem;
    }

    .maxko-work-carousel {
        width: calc(100% - 24px);
        padding-bottom: 24px !important;
    }

    .maxko-work-carousel .flickity-slider>div {
        width: 78%;
        margin: 0 8px;
        transform: scale(.9);
    }

    .maxko-work-slide {
        height: 190px;
    }

    .maxko-work-slide>div {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .maxko-work-slide span {
        font-size: .7rem;
    }

    .maxko-work-slide h2 {
        font-size: 1.15rem;
    }

    .maxko-contact-info,
    .maxko-contact-form,
    .maxko-locations {
        padding: 26px 20px;
    }

    .maxko-contact-form h1 {
        font-size: 2rem;
    }

    .maxko-location-card {
        grid-template-columns: 1fr;
    }

    .maxko-contact-form .nk-btn+.nk-btn {
        margin-left: 0;
    }

    .maxko-about-hero {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .maxko-about-copy {
        padding: 30px 24px;
    }

    .maxko-about-copy h1 {
        font-size: 2.35rem;
    }

    .maxko-section-heading h2 {
        font-size: 1.85rem;
    }

    .maxko-about-media img {
        min-height: 260px;
    }

    .maxko-game-list .nk-blog-post .nk-post-thumb,
    .maxko-game-list .nk-blog-post:nth-child(2n) .nk-post-thumb {
        margin-bottom: 0;
    }

    .maxko-game-list .nk-blog-post .nk-post-content,
    .maxko-game-list .nk-blog-post:nth-child(2n) .nk-post-content {
        position: relative;
        z-index: 2;
        margin-top: -138px;
        padding: 0 22px 32px;
        text-align: center;
        text-shadow: 0 3px 18px rgba(0, 0, 0, .9);
    }

    .maxko-game-list .nk-post-title {
        margin-bottom: 12px;
    }

    .maxko-office-card>div {
        padding: 30px 24px;
    }

    .maxko-dc-grid,
    .maxko-dc-grid-africa {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .maxko-eu-footer-logos {
        display: flex;
        justify-content: center;
        margin: 18px auto 0;
    }

    .maxko-eu-footer-logos img {
        width: auto;
        max-width: min(42vw, 210px);
    }
}

@media (orientation: landscape) and (max-height: 520px) {
    .nk-footer-logos {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 28px;
        margin-left: 0;
        margin-right: 0;
    }

    .nk-footer-logos a {
        flex: 0 1 auto;
        margin: 14px 0;
    }

    .nk-footer-logos img {
        width: auto;
        max-width: min(18vw, 140px);
        height: auto;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .nk-navbar .maxko-main-nav {
        padding-left: 22px;
    }

    .nk-navbar .maxko-main-nav>li>a {
        padding-left: 24px;
        padding-right: 24px;
    }

    .maxko-about-hero {
        grid-template-columns: 1fr;
    }

    .maxko-dc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
