@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

:root{
    --main-bg-color: black;
    --header-bg: #1a1a1a;
    --inactive-letter: #B3B3B3;
    --nav-letter-color: #e52526;
    --main-grey: #ebe8e8;
    --grey-background: #E4E4E4;
    --not-active: #412a2a;
    --svg-buttons-fill: rgb(99, 99, 99);
    --border-var: 1px solid #7070707a;
    --box-shadow: 0 0 0 1px rgb(0 0 0 / 28%);
}


@font-face {
    font-family: 'nexaheavy';
    src: url('../assets/webfontkit/nexa-heavy-webfont.woff2') format('woff2'),
         url('../assets/webfontkit/nexa-heavy-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'eurostileregular';
    src: url('../assets/webfontkit/eurostile-webfont.woff2') format('woff2'),
         url('../assets/webfontkit/eurostile-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'eurostilebold';
    src: url('../assets/webfontkit/eurostib-webfont.woff2') format('woff2'),
         url('../assets/webfontkit/eurostib-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'nexa_lightregular';
    src: url('../assets/webfontkit/nexa_light-webfont.woff2') format('woff2'),
         url('../assets/webfontkit/nexa_light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'nexa_boldregular';
    src: url('../assets/webfontkit/nexa_bold-webfont.woff2') format('woff2'),
         url('../assets/webfontkit/nexa_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

::-webkit-scrollbar-thumb{
    width: 6px;
    background-color: var(--nav-letter-color);
    border-radius: 5px;
    position: absolute;
}
::-webkit-scrollbar{
    width: 6px;
    background-color: transparent;
}
::-webkit-scrollbar-track{
    position: absolute;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'nexaheavy',Arial, sans-serif;
    color: white;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
html{
    height: 100%;
    width: 100%;
}
body{
    height: 100%;
    width: 100%;
    background-color: var(--main-bg-color);
}
.statusBox{
    position: fixed;
    display: flex;
    justify-content: center;
    width: 100%;
    top: 100px;
}
.error{
    color: red;
    text-align: center;
}
.success{
    width: fit-content;
    background-color: #141414;
    color: white;
    border-radius: 7px;
    text-align: center;
    position: relative;
    padding: 8px;
    top: 6px;
    display: flex;
    align-items: center;
    gap: 10px;

}
.success svg{
    height: 30px;
    width: 30px;
    fill: rgb(9, 129, 9);
}
button{
    cursor: pointer;
}
form.lang-btn-form{
    padding: 0;
    margin: 0;
    border: none;
}
button.lang-btn{
    width: 60px;
    border-radius: 8px;
    padding: 8px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.lang-btn img{
    height: 24px;
    width: 40px;
}
.lang-btn span{
    font-size: 12px;
}
.box{
    cursor: pointer;
}
a{
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
h1,h2,h3{
    padding-bottom: 8px;
}
p,a,span,li{
    font-family: 'nexa_lightregular', sans-serif;
}
p,span{
    font-size: 24px;
}
p{
    padding: 0 8px;
    white-space: pre-line;
}
button.woodyBtn{
    cursor: pointer;
    background-color: red;
    border: none;
    padding: 15px 20px;
    font-size: 25px;
    border-radius: 7px;
    color: white;
    font-weight: bold;
    /* width: 170px; */
    display: block;
}
.grey_line{
    height: 1px;
    border: var(--border-var);
    margin-top: 55px;
}
/*header start*/
header{
    margin: 0 auto;
    background-color: var(--header-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8px;
    position: relative;
}
header nav{
    position: absolute;
    margin-left: 300px;
}
header .burger{
    display: none;
    cursor: pointer;
    fill: var(--inactive-letter);
}

.logo{
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.logo img{
    height: 100%;
    display: block;
}
.logo span{
    font-size: 15px;
    text-align: center;
}
header .socials{
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
}
header .socials img{
    height: 30px;
    width: 30px;
    display: block;
}
/* header .socials img.resize{
    height: 38px;
} */
header nav ul{
    list-style-type: none;
    display: flex;
    justify-content: end;
    gap: 80px;
}
header nav li a{
    color: var(--inactive-letter);
    font-size: 15px;
    text-decoration: none;
    font-weight: bold;
}
header nav li a:hover{
    color: white;
}
header nav li a.selected{
    color: white;
}
.line {
    height: 3px;
    background-color: var(--nav-letter-color);
    margin: 0 auto;
    width: 100%;
}
.vertical_line{
    width: 5px;
    height: 60px;
    margin: auto 5px;
    background-color: var(--nav-letter-color);
}
/*header end*/
/*Socials start*/
.socials_fixed{
    position: fixed;
    right: 32px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 10px;
    background-color: #3f3f3f;
    padding: 8px;
    border-radius: 5px;
    z-index: 30;
    display: none;
}
.socials_fixed img{
    height: 40px;
    width: 40px;
    display: block;
}
/*Socials end*/
main{
    margin: 0 auto;
    width: 100%;
}
main .page_title{
    font-size: 50px;
    text-align: center;
    padding: 20px 0 15px;
}
.section_block{
    width: 95% ;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 1440px;
}
.section_text{
    margin: 40px auto;
}
.section_paragraph{
    text-align: center !important;
    width: 95%;
    margin: 0 auto;
    max-width: 1080px;;
}
/*carousel start*/
.grey_box{
    background-color: var(--header-bg);
    position: relative;
}
.overflow{
    position: relative;
}
main .fill_image{
    position: absolute;
    bottom: 0;
}
main .carousel_container{
    aspect-ratio: 16/9;
    margin: 0 auto;
    padding: 0;
    position: relative;
}
main .arrow_button{
    display: block;
    background-color: #ffffffe8;
    border: none;
    position: absolute;
    z-index: 20;
    top: 50%;
    width: 45px;
    height: 45px;
    padding: 6px;
    border-radius: 50%;
}
main .arrow_button.left{
    left: 25px;
}
main .arrow_button.right{
    right: 25px;
}
main .arrow_button svg{
    height: 34px;
    width: 34px;
    fill: var(--svg-buttons-fill);
    rotate: -180deg;
}
main .arrow_button.right svg{
    rotate: 0deg;
}
.grey_box .section_text{
    margin: 40px auto 0;
}
.box_container{
    overflow: hidden;
    background: linear-gradient(45deg,black,transparent);
    display: flex;
    /* background-color: var(--header-bg); */
}
.box_container .grey_shadow{
    position: absolute;
    top: 0;
    background-color: var(--header-bg);
    height: 129px;
    z-index: 3;
}
.box_container .black_shadow{
    position: absolute;
    bottom: 0;
    background-color: var(--main-bg-color);
    height: 129px;
    z-index: 3;
}
.box_container .shadow{
    position: absolute;
    height: calc(100% - 129px);
    bottom: 0;
    width: 25%;
    z-index: 2;
    background-color: #000000b5;
}
.shadow.right{
    right: 0;
}
.grey_shadow.right{
    right: 0;
}
.black_shadow.right{
    right: 0;
}
.carousel_container .info_box{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}
.carousel_container .info_box .title{
    font-size: 30px;
    white-space: pre-line;
    line-height: 40px;
    text-align: end;
    min-width: 180px;
}
.carousel_container .vertical_line{
    margin: 0 20px;
}
.carousel_container p{
    text-align: start !important;
    max-width: 820px;
    margin: 0;
}
main .carousel{
    display: flex;
    scroll-behavior: smooth;
}
.carousel.dragging{
    cursor: grab;
    scroll-behavior: auto;
}
main .box_container .carousel_item{
    height: 100%;
    width: 100%;
    background-color: var(--header-bg);
    min-width: 100%;
    padding-left: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* position: absolute; */
    /* opacity: 0; */
    transition: 400ms opacity ease-in-out;
    transition-delay: 400ms;
}
main .box_container .carousel_item:first-child{
    padding-left: 0;
}
main .carousel_item img{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
main .carousel_item .info{
    background-color: #383434;
    color: white;
    width: 80%;
    margin: 0 auto;
    min-width: 150px;
    padding: 8px;
    text-align: center;
}
main .carousel_container .circles{
    display: flex;
    position: absolute;
    bottom: 0;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 0 0 8px;
}
main .carousel_container .circles svg{
    height: 7px;
    width: 7px;
    fill: transparent;
    border: 1px solid black;
    border-radius: 50%;
}
.activeCircle{
    fill: var(--svg-buttons-fill) !important;
}
.activeSlide{
    opacity: 1 !important;
    transition-delay: 0ms !important;
}
/*carousel end*/
main{
    position: relative;
}
/*Expertise start*/
main h2,p{
    text-align: center;
}
.video{
    display: block;
}
video{
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 100vh;
}
.expertise_box img{
    width: 50%;
    min-height: 400px;
    object-fit: cover;
}
.expertise_box .card{
    width: 100%;
    height: 640px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}
.expertise_box .card:first-child{
    background-color: var(--header-bg);
    margin-bottom: 40px;
}
.expertise_box .card:last-child{
    border: var(--border-var);
}
.expertise_box .card:first-child .content_box{
    margin-right: 60px;
}
.expertise_box .card:last-child .content_box {
    margin-left: 40px;
} 
.expertise_box .container_box{
    padding: 12px 20px;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: center;
}
.expertise_box .container_box h3{
    font-size: 40px;
}
.expertise_box .container_box span{
    display: block;
    font-size: 28px;
    margin-bottom: 24px;
}
.expertise_box .content_box{
    height: 400px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}
.references img{
    width: 100%;
}
/*vars*/
/*Expertise end*/
/*Recent projects start*/
main .projects_grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,370px);
    gap: 40px;
    justify-content: space-around;
}
main .projects_grid .box img{
    width: 100%;
    height: 180px;
}
/*Recent projects end*/
/*References start*/
main .references .container{
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    justify-content: center;
    padding: 20px;
}
main .references .container img{
    height: 100px;
    width: 200px;
    display: block;
    object-fit: contain;
}

/*References end*/
/*Footer start*/
footer{
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}
footer b{
    color: var(--inactive-letter);
}
.footer_container{
    width: 95%;
    position: relative;
    margin: 0 auto;
    max-width: 1440px;
}
footer .woodySvg {
    width: 400px;
    height: 400px;
    position: absolute;
    right: 0;
}
.woodySvg.mobile{
    display: none;
}
.socials{
    display: flex;
    align-items: center;
    padding: 60px 0 0;
}
.socials h3{
    font-family: 'nexaheavy', sans-serif;
    color: var(--inactive-letter);
    font-size: 16px !important;
    padding-bottom: 4px;
}
.socials .svg_container{
    display: flex;
    gap: 15px;
    padding: 10px 25px;
}

footer .main_footer_content{
    position: absolute;
    background-color: var(--main-bg-color);
    width: 100%;
    color: var(--inactive-letter);
    display: flex;
    justify-content: space-between;
    padding: 20px 20px 70px;
    gap: 40px;
}
footer .logo{
    margin-bottom: 30px;
    padding: 0;
    width: 150px;
    align-items: center;
}
footer .main_footer_content h3{
    font-size: 20px;
}
.contacts_content{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contacts_content div,.contacts_content a{
    display: flex;
    align-items: center;
    gap: 4px;
}
.contacts_content span{
    color: var(--inactive-letter);
    font-size: 16px;
}
.contacts_content img{
    height: 30px;
    width: 30px;
}
footer  ul{
    list-style-type: none;
}

footer li {
    margin: 20px 0;
    font-size: 16px;
    text-decoration: none;
    font-weight: normal;
    color: var(--inactive-letter);
}
footer .copyright{
    position: absolute;
    bottom: 0;
    text-align: start;
    font-size: 16px;
    left: 20px;
    color: var(--inactive-letter);
    padding-bottom: 20px;
    margin-top: 20px;
}

/*Footer end*/
@media (max-width:1650px) {
    .expertise_box{
        display: block;
    }
    .expertise_box .card{
        width: 100%;
    }
    .expertise_box .card:first-child .content_box{
        margin-right: 0;
    }
    .expertise_box .card{
        height: 480px;
    }
    .expertise_box .container_box h3 {
        font-size: 32px;
    }
    .expertise_box .container_box span {
        display: block;
        font-size: 22px;
        margin-bottom: 12px;
    }
    .expertise_box .container_box {
        padding: 12px 40px;
    }
    .section_block{
        width: 75%;
        min-width: 1000px;
    }
    .footer_container{
        width: 75%;
        min-width: 1000px;
    }
}
@media (max-width:1360px) {
    header nav ul{
        gap: 40px;
    }
}
@media (max-width:1180px) {
    header nav ul{
        gap: 30px;
    }
    header nav{
        margin-left: 250px;
    }
    /*Welcome page start*/
    .expertise_box .card{
        flex-direction: column-reverse;
        justify-content: space-between;
        height: 1400px;
    }
    .expertise_box .container_box h3 {
        font-size: 40px;
    }
    .expertise_box .container_box span {
        display: block;
        font-size: 28px;
        margin-bottom: 24px;
    }
    .expertise_box .card:last-child .content_box{
        margin-left: 0px;
    }
    .expertise_box img{
        width: 100%;
        height: 700px;
    }
    .expertise_box .container_box{
        width: 100%;
        height: 750px;
    }
    .expertise_box .content_box{
        height: 750px;
        display: flex;
        position: relative;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        width: calc(100% - 100px);
        max-width: 580px;
        min-width: 200px;
    }
    .box_container {
        background: var(--header-bg);
    }
    main .fill_image,main .shadow,main .padding,main .grey_shadow,main .black_shadow{
        display: none;
    }
    main .box_container .carousel_item:first-child {
        padding-left: 10px;
    }
    /*Welcome page end*/
    .section_block{
        width: 90%;
        min-width: unset;
    }
    .footer_container{
        width: 90%;
        min-width: unset;
    }
}
@media (max-width:1040px) {
    header{
        width: 100%;
        position: relative;
        padding: 18px 0;
        justify-content: center;
    }
    header .burger{
        display: block;
        height: 70px;
        width: 70px;
        top: 15px;
        position: absolute;
        float: left;
        left: 30px;   
    }
    button.lang-btn{
        position: absolute;
        float: right;
        right: 30px;
        top: 15px;
    }
    header .upper{
        justify-content: center;
    }
    .logo{
        height: 60px;
    }
    .logo span {
        font-size: 16px;
    }
    header nav {
        position: absolute;
        z-index: 40;
        background-color: var(--main-bg-color);
        top: 95px;
        margin-left: 0px;
        left: 0;
        width: 100%;
        padding: 35px 12px 20px 20px;
        display: none;
        overflow: hidden;
        height: 0;
        transition: height .2s ease-in-out;
    }
    header nav ul{
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }
    .showMenu{
        display: block!important;
        height: 330px !important;
    }
    header .socials{
        display: none;
    }
    header .line{
        display: none;
    }
    header nav li a{
        font-size: 18px;
    }
    header nav li a.selected{
        font-size: 18px;
    }
    main .references .container img{
        height: 100px;
        width: 150px;
    }
    /*Footer*/
    footer .woodySvg{
        bottom: 0;
    }
    .woodySvg.desktop{
        display: none;
    }
    .woodySvg.mobile{
        display: block;
    }
    footer .socials{
        padding: 60px 0 40px;
    }
    footer .main_footer_content{
        flex-direction: column;
        position: unset;
    }
    footer .copyright{
        text-align: center;
        font-size: 13px;
    }
    footer .main_footer_content{
        width: 98%;
    }  
}
@media (max-width:800px) {
    .carousel .info_box{
        flex-direction: column;
        width: 90%;
    }
    .carousel .info_box .title{
        white-space: normal;
        text-align: start;
    }
    .carousel .vertical_line{
        width: 100%;
        height: 3px;
        margin: 20px 0;
    }
}
@media (max-width: 640px) {
    .expertise_box .content_box{
        width: 95%;
    }
    
}
@media (max-width: 580px) {
    main .page_title {
        font-size: 40px;
    }
    p,span{
        font-size: 20px;
    }
    button.woodyBtn {
        padding: 15px;
        font-size: 20px;
    }
    .expertise_box .card {
        height: 1100px;
    }
    .expertise_box .container_box h3 {
        font-size: 24px;
    }
    .expertise_box .container_box {
        height: 640px;
    }
    .expertise_box .container_box span{
        font-size: 20px;
    }
    .recent_projects{
        padding: 20px 8px;
    }
    .recent_projects .page_title{
        text-align: start;
        padding: 20px 0;
    }
    .recent_projects p {
        padding: 0;
    }
    main .box_container .carousel_item {
        min-width: 100%;
    }
    main .references .container{
        gap: 40px;
    }
}
@media (max-width:490px) {
    .expertise_box .content_box{
        width: unset;
    }
    .logo{
        height: 60px;
    }
    .logo span {
        font-size: 14px;
    }
    .logo img {
        height: 28px;
    }
    header{
        padding: 14px 0;
    }
    header .burger{
        height: 60px;
        width: 60px;
        top: 10px;
    }
    header nav{
        top: 75px;
    }
    main{
        width: 100%;
    }
    /*Homepage*/
    main .arrow_button {
        top: 70%;
    }
    main .projects_grid{
        grid-template-columns: repeat(auto-fit,300px);
    }
    main .references .container{
        grid-template-columns: repeat(auto-fit,80px);
    }
    main .references .container img{
        height: 80px;
        width: 120px;
    }
    /*Homepage*/
    footer .main_footer_content{
        width: 100%;
    }
    footer section.copyright {
        width: 100%;
    }
    ::-webkit-scrollbar{
        width: 7px;
    }
    ::-webkit-scrollbar-thumb{
        width: 7px;
    }
    ::-webkit-scrollbar-track{
        background-color: transparent;
    }
}
@media (max-width:370px) {
    header .burger{
        height: 40px;
        width: 40px;
        top: 15px;
        left: 30px;
    }
    .logo{
        height: 50px;
    }
    .logo img{
        height: 22px;
    }
    .logo span {
        font-size: 11px;
    }
    header nav{
        top: 70px;
    }
    main .references .container img {
        height: 80px;
        width: 100px;
    }
    footer .socials {
        padding: 30px 0 10px;
    }
    footer .socials h3{
        font-size: 14px;
    }
    footer .socials .svg_container{
        padding: 10px 20px;
    }
}
