/*===========  Variables  ==========*/
:root {
    --padding: max(90vw - 1400px, 10%);
}

/*============  General  ===========*/
html, body {
	width: 100%;
    height: auto;
    position: relative;
}

body, button {
	font-family: Inter, Helvetica, sans-serif;
}

body.col > div {
    display: flex;
    flex-flow: column;
	gap: 3rem;
	padding: 4rem var(--padding);
}

body, h1, h2, h3, h4, h5, h6, p {
	margin: 0;
}

h1 {
	font-size: 2.25rem;
    font-weight: 500;
	/* font-size: 5rem; */
}

h2 {
	/* font-size: 3rem; */
	font-size: 2.2rem;
}

h3 {
	font-size: 1.5rem;
}

h4 {
	font-size: 1.25rem;
}

h5 {
	font-size: 1.05rem;
}

p {
	font-size: 1.15rem;
}

a {
    color: #5e6be8;
    font-weight: bold;
    text-decoration: none;
}
a.span {
    color: inherit;
    font-weight: inherit;    
}

.flex {
	display: flex;
}

.column {
	flex-flow: column;
}

.center {
	align-items: center;
	justify-content: center;
}

.relative {
	position: relative;
}
.w-100 {
    width: 100%;
}

.invisible {
    visibility: hidden;
}

.hidden {
    display: none;
}
.pointer {
    cursor: pointer;
}
.no-appearance{
    appearance: none;
    -moz-appearance: none; -webkit-appearance: unset;
    font-weight: unset; color: unset; 
}

/*============  Header  ============*/
header {
    background: #000;
    color: #fff;
    padding: 2rem var(--padding);
}

header nav {
    align-items: center;
    gap: 1.75rem;
}

nav .logo {
    height: 1.65rem;
}

.logo img, .logo >a {
    height: 100%;
    padding: 0; 
}

/*nav [data-nav="web"]:hover > .ctn {
    display: block;
}*/

nav .ctn {
    width: 100%;
    min-height: calc(100vh - 2rem);
    position: absolute; 
    top: calc(100%);
    left: 0;
    background: #202020;
    padding: 70px var(--padding);
    box-sizing: border-box;
    z-index: 1;
}

nav .ctn i {
    color: #0c64e4;
}

nav .nav-col {
    flex: 0 0 33.3%;
}

nav a {
    color: #fff;
	font-size: 0.95rem;
    font-weight: 400;
    transition: .2s;
    display: block;
    padding: 2px 2px;
    border-radius: 1px;
}
nav > div:not(.logo) > a:hover{
    background: #1d1d1d;
}

nav > div:nth-child(4), nav > div.hidden {
    margin: 0 0 0 auto;
}

nav a.gray {
    color: #e9e9e9;
    font-weight: 500;
}
nav .mobile {
    display: none;
}
nav .group .column {
    gap: 24px;
}
nav .group .box{
    background: #DDE0E7;
    border-radius: 3px;
    width: 50px;
    height: 50px;
    display: flex; align-items: center; justify-content: center;
    font-size: min(1.7rem, 24px);
}
nav .group .item {
    display: flex;
    gap: 1rem;
}
nav .item :last-child {
    display: flex; flex-flow: column; justify-content: center;
}
nav .item h5 {
    font-weight: 500;
    font-family: 'Poppins';
}
nav .item p {
    font-size: 14px;
}
nav .group > h5{
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    display: flex;
    align-items: end;

}
nav .group:not(:first-child) > h5{
    height: 50px;
    margin: 24px 0;
}


/*=============  Hero  =============*/
#hero {
    background: url(../img/hero-bg-1.svg) center center no-repeat;
	background-size: cover;
    background-position: 0 115%;
    color: #fff;
	padding: 5rem var(--padding) 2.5rem;
}

.hero-ctn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#hero h1 + span {
    width: 75%;
    color: #a1a1a1;
	line-height: 1.75;
    font-size: 1.05rem;
}

#hero > div > div:first-child {
	flex: 1;
    gap: 3.25rem;


    justify-content: center;
    margin-bottom: 4rem;
}

#hero .buttons {
    gap: 1.25rem;
}

#hero .buttons > button, .get-started button { /* btn-white */
    min-width: 25%;
	border: 2px solid #fff;
	border-radius: 2rem;
	padding: 0.65rem 1rem;
	font-size: 1rem;
}

.cta-strong {
    background: #fff;
    color: #000;
    border-width: 1px;
    font-weight: 700;
}

.cta-weak {
    color: #fff;
    background: none; 
    font-weight: 500;
}

.page-switch {
    align-items: center;
	gap: 1rem;
	font-size: 0.85rem;
	letter-spacing: -0.5px;
}
.page-switch i{
    cursor: pointer;
}
.page-switch .disabled{
    color: #a1a1a1;
}
.page-switch i:before {
    vertical-align: bottom;
}

#hero .image {
    flex: 1;
    justify-content: center;
}

#hero .decor {
    height: 5.25rem;
	position: absolute;
	top: 0;
	right: -1rem;
}

#hero .decor + object, #hero .decor + img {
    width: 90%;
}

object.hero-img {
    aspect-ratio: 1/1.1;
}

#hero path {
    transition: .2s;
}

/*============  Contact  ===========*/
#contact {
	flex-flow: wrap;
    align-items: center;
    justify-content: space-between;
    background: #5e6be8;
	color: #fff;
    padding-top: 1.75rem;
	padding-bottom: 1.75rem;
    font-family: Poppins, Helvetica, sans-serif;
	text-align: center;
}

#contact h4 {
    font-weight: 500;
}

#contact button:last-child {
    background: #fff;
	color: #000;
    margin: 0;
    padding: 1rem 1.25rem;
	font-size: 1.05rem;
	font-weight: 600;
    cursor: pointer;
}

/*=========== Slider =============*/


.h-slider {
	width: 100%;
	overflow: hidden;
	position: relative;
  }
.h-slider  .slider {
	display: flex;
	position: relative;
	transition: left 0.5s;
	overflow-x: hidden;
	scroll-behavior: smooth;
	left: 0;
  }
  [action-prev], [action-next] {
	cursor: pointer;
  }
  
  
  .h-slider .slide {
  /*   float: left; */
	height: auto;
/*	background: #2196f3; */
	margin: 0 10px;
	margin-bottom: 10px;
  }
  
  .h-slider .arrows {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
  }
  
  .h-slider .arrow {
	cursor: pointer;
  }
  .h-slider .dots {
    user-select: none;
  }

/*===========  Our Work  ===========*/
.our-work {
    padding: 6rem var(--padding);
}

.our-work > p {
    margin-bottom: 0.7rem;
}

.our-work > h2 {
    margin: 0 0 5rem;
}

.our-work .v-split-3 {
    gap: 2.5rem;
}
.our-work .slider-ctn {
    position: relative;
    width: 100%;
}

.our-work i {
    color: #5e6be8;
    font-size: 1.5rem;
    cursor: pointer;
}

.our-work .slider-ctn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.our-work .box {
    display: grid;
	grid-template-columns: 1fr 1.05fr;
    background: #f4f4f5;
    flex: 0 0 100%;
}

.our-work .box > div + div {
    padding: 4rem 4rem 11rem;
}

.our-work .box h3 {
	margin-bottom: 1.75rem;
    font-size: 2rem;
	font-weight: 600;
}

.our-work .box p {
    margin: 0 0 1.25rem;
	font-size: 1.05rem;
	line-height: 1.65;
}

.our-work .slider-dots {
    margin: 4rem 0 0;
}

.dots {
    gap: 0.75rem;
    user-select: none; -webkit-user-select: none;
}

.dots > div {
    width: 0.5rem;
	border: 2px solid #5e6be8;
	border-radius: 2rem;
	aspect-ratio: 1;
    cursor: pointer;
}

.dots > .active {
    width: 0.65rem;
	background: #5e6be8;
}

/*============  Footer  ============*/
footer {
    background: #1d2331;
    color: #fff;
}

footer .large {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 2.5fr;
    gap: 3rem;
	padding: 4rem var(--padding) 6rem;
}

footer :is(.large > div, div.flex:not(h5 + div)) {
    display: flex;
    flex-flow: column;    
	align-items: flex-start;
    gap: 2.5rem;
}

footer .large > div:first-child > div.flex > div {
    width: 80%;
    display: grid;
	grid-auto-columns: 1fr 1fr;
	grid-auto-flow: column;
}

footer .large > div > img {
    max-height: 2rem;
}

footer img + img {
    width: 100%;
}

footer img + span {
    width: 80%;
}

footer span + div {
    gap: 0.75rem;
}

footer :is(a, span) {
    color: #fff;
    font-family: 'Poppins';
    font-size: 0.75rem;
    font-weight: 400;
}

footer h5 + div:not(.row) {
    display: flex;
	flex-flow: wrap;
	gap: 1.5rem;
}

footer div + h5 {
    margin-top: 0.75rem;
}

footer h5 + div.detached-icon {
    flex-flow: column;
}

footer .detached-icon > span {
    position: relative;
    margin: 0 0 0 2rem;
}

footer .detached-icon > span::before {
    content: attr(data-icon);
	height: 1rem;
	position: absolute;
	top: 0;
	left: -2rem;
	font-family: 'icomoon';
	font-size: 1.1rem;
    padding-left: 1px;
}
.detached-icon .mail::before {
    font-size: 0.9rem;
    padding: 0;
}

footer .row {
    gap: 0.5rem;
}

footer .row :is(input, button) {
	border: 2px solid #fff;
	border-radius: 2rem;
	padding: 0.75rem;
	outline: none;
}

footer .row button {
    width: 100%;
}

footer .row button {
    background: #5e6be8;
	color: #fff;
	border-color: #5e6be8;
	font-size: 0.8rem;
}

footer .row:last-of-type {
    gap: 1rem;
}

footer div > p {
	background: #141c29;
	padding: 1.5rem;
    text-align: center;
	font-size: 0.9rem;
}

/*==========  Responsive  ==========*/
@media screen and (min-width: 2000px) {
    /* 4K+ */
    :root {
        --padding: 24rem;
        font-size: 1.25rem;
    }

    #hero > div > div:first-child {
        justify-content: center;
        margin-bottom: 5rem;
        gap: 3.25rem;
    }

    #hero {
        padding: 5rem var(--padding) 2.5rem;
    }

    #hero .image div {
        width: 80%;
        margin: 10% 0 10% 0;
    }
}

@media screen and (max-width: 1050px) {
    /* Contact */
    #contact {
        justify-content: center;
        gap: 1.5rem;
    }
    
    /* Hero */
    #hero {
        background-position: 15% -3rem !important;
    }

    #hero .decor {
        height: 3.5rem !important;
    }
    
    /* Nav */
    nav .ctn > div{
        flex-wrap: wrap;
    }
    
    nav .nav-col {
        flex: 0 0 50%;
    }
    nav .nav-col:nth-child(3) .group > h5{
        height: 50px;
        margin: 24px 0;
    }
    
    /* Footer */
    footer .large {
        grid-template-columns: 1fr;
    }

    footer h5.odd {
        align-self: end;
    }
    
    footer h5.odd + div {
        justify-content: end;
    }

    footer .large > div:last-child {
        flex-flow: wrap;
        justify-content: space-between;
    }

    footer h5 + div.detached-icon {
        flex-flow: inherit;
    }

    footer .large > div:last-child :is(.odd, .odd + div, div:last-child) {
        margin: 0 0 0 auto;
    }
}

@media screen and (max-width: 950px) {
    /**/
    .page-switch{
        padding-bottom: 42px;
    }

    /**/
    .our-work .box {
        grid-template-columns: 1fr;
    }

    .our-work .box > div + div {
        padding: 3rem;
    }
}

@media screen and (max-width: 500px) {
    /* Variables */
    :root {
        --padding: max(90vw - 1400px, 7.5%);
    }
    
    .migrate section {
        flex-direction: column;
        gap: 2rem !important;
    }

    /* Header */
    nav {
        flex-flow: column;
    }
    nav .mobile {
        display: block;
    }
    nav .mobile img {
        width: 26px;
        cursor: pointer;
    }
    nav .logo {
        display: flex;
        height: 1.65rem;
        justify-content: space-between;
        width: 100%;
    }
    nav:not(.active-1){
        gap: 0;
    }
    nav > div {
        margin: unset !important;
    }

    nav:not(.active-1) > div > a:not(.logo, .ign, .hidden) {
        display: none;
    }

    nav a.hidden {
        display: block;
        font-size: 1.75rem;
        line-height: 1;
    }

    /* Hero */
    #hero {
	    padding-top: 2rem;
    }

    #hero h1 + span {
        width: 100%;
    }

    #hero .image {
        display: none;
    }

    /**/
    .our-work i {
        display: none;
    }

    /* Nav */
    nav .ctn{
        padding: 38px var(--padding);
    }
    nav .ctn > div{
        flex-flow: column;
    }
    nav .group .box{
        background: transparent;
        width: 22px; height: 22px;
        filter: grayscale(1) brightness(10);
    }
    nav .item i::before{
        color: #fff;
        font-size: 23px;
    }
    .item .icon-new_features::before{
        font-size: 20px;
    }
        
    .item .icon-web_applications{
        width: 23px; height: 23px;
    }
    nav .item p{
        display: none !important;
    }
    nav .item h5{
        font-size: 15px;
    }
    nav .group > h5{
        /*margin-bottom: 25px; */
        margin-top: 35px !important;
        height: unset !important;
    }
    nav .group .column{
        gap: 22px;
    }
    nav .group > h5{
        font-size: 12px;
    }
    nav .nav-col:first-child .group:first-child > h5 {
        margin-top: 0 !important;
    }
}