/*
Theme Name: Kvarter 
Author: greshio | digital studio
Author URI: http://gresh.io/
Description: The 2023 custom theme for WordPress.
Version: 1.0
*/

@font-face {
    font-family: "Kohinoor Bangla";
    src: url("src/fonts/KohinoorBangla-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Kohinoor Bangla";
    src: url("src/fonts/KohinoorBangla-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Kohinoor Bangla";
    src: url("src/fonts/KohinoorBangla-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Kohinoor Bangla";
    src: url("src/fonts/KohinoorBangla-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

:root {
    --purple: #5F41B2;
    --purple-light: #BF9BDE;
    --purple-dark: #8962F8;
}

span.purple-light {
    color: var(--purple-light);
    font-weight: 700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}


html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: #000;
    font-family: "Kohinoor Bangla", sans-serif;
    color: white;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    scroll-margin-top: 100px;
}

.container {
    width: 100%;
    max-width: 1136px;
    display: flex;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

.container-full-width {
    width: 100%;
    display: flex;
    margin: 0 auto;
    position: relative;
    padding: 0;
}

a {
    text-decoration: none;

}

header.container-full-width {
    position: absolute;
    top: 80px;
    z-index: 10;
}

h1 {
    font-size: 72px;
    line-height: 95px;
    text-transform: uppercase;
    font-weight: 300;
}

h2 {
    font-weight: 400;
    font-size: 48px;
    line-height: 60px;
}

h4 {
    font-size: 48px;
    line-height: 60px;
    font-weight: 700;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
}

nav {
    display: flex;
    align-items: center;
}

nav.mobile-menu {
    display: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    color: white;
    transition: .3s ease-in-out;
}

nav ul li:hover,
nav ul li:active {
    color: var(--purple-light);
}

nav ul li a {
    color: inherit;
    font-weight: 300;
}

nav ul li {
    margin-right: 70px;
    display: flex;
    align-items: center;
}

nav ul li:last-child {
    margin-right: 0;

}

nav.desk-nav ul li:last-child a {
    border: 1px solid var(--purple-light);
    padding: 10px 34px;
    border-radius: 20px;
    transition: .3s ease-in-out;
}

nav ul li:last-child:hover a,
nav ul li:last-child:active a {
    background: var(--purple-light);
    color: white;
}

.hero {
    background: url(src/images/bg-head.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
}

.hero::before {
    content: '';
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20.74%, #000000 66.79%);
    position: absolute;
    width: 100%;
    height: 14%;
    transform: rotate(-180deg);
    pointer-events: none;
}

.hero::after {
    content: '';
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20.74%, #000000 66.79%);
    position: absolute;
    width: 100%;
    height: 14%;
    bottom: 0;
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
}

.referencie::after,
.triangle-wrap::after {
    content: url(src/images/side-triangles-left.svg);
    position: absolute;
    left: 0;
    bottom: -400px;
    z-index: 1;
    pointer-events: none;
}

.referencie::before,
.triangle-wrap::before {
    content: url(src/images/side-triangles-right.svg);
    position: absolute;
    pointer-events: none;
    right: 0;
    z-index: 1;
}

.about {
    flex-direction: column;
    z-index: 2;
}

.about .container h2 {
    width: 100%;
    text-align: center;
    margin-bottom: 70px;
}

.about-box>div {
    width: 50%;
    background: var(--purple);
    padding: 140px 60px;
    display: flex;
    align-items: center;
}

.about-box>div:first-child {
    padding: 0;
}

.about-box>div:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-box>div p {
    font-size: 24px;
    line-height: 36px;
    font-weight: 300;
}

.services {
    flex-direction: column;
    margin: 120px 0 65px;
}

.services .container {
    flex-direction: column;
    overflow: hidden;
}

.services h2 {
    width: 100%;
    text-align: center;
    font-size: 72px;
    color: var(--purple-light);
    font-weight: 700;
    margin-bottom: 80px;
    padding-top: 15px;
}

.service-container {
    width: 100%;
    padding: 48px;
    border: 1px solid var(--purple-dark);
    margin: 40px 0;
    transition: .3s ease-in-out;
}

.service-container:hover,
.service-container:active {
    background: var(--purple-dark);
}

.service-container h4 {
    text-transform: uppercase;
}

.service-container p {
    font-size: 40px;
    font-weight: 300;
    line-height: 56px;
}

.contact {
    background: var(--purple);
    padding: 100px 0 80px;
    flex-direction: column;
    scroll-margin-top: 0px;
}

.contact h2 {
    color: #000;
    font-weight: 700;
    font-size: 56px;
    text-transform: none;
    margin-bottom: 60px;
}

.contact .container {
    max-width: 960px;
}

.contact-container>div {
    flex-grow: 10;
}

.contact-container>div.contact-info {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding-top: 10px;
    flex-grow: 1;
    padding-bottom: 50px;
}

.contact-info-box p {
    font-size: 28px;
    line-height: 42px;
    font-weight: 300;
    position: relative;
    display: flex;
    padding-bottom: 25px;
}

.contact-info-box a {
    color: white;
}

.contact-info-box p.adress:before {
    content: url(src/images/location-icon.svg);
    position: relative;
    top: 5px;
    display: flex;
    padding: 0 20px;
}

.contact-info-box p.phone:before {
    content: url(src/images/phone-icon.svg);
    position: relative;
    top: 5px;
    display: flex;
    padding: 0 20px;
}

.contact-info-box p.mail:before {
    content: url(src/images/mail-icon.svg);
    position: relative;
    top: 5px;
    display: flex;
    padding: 0 20px;
}

.contact-info-box p.instagram:before {
    content: url(src/images/instagram-icon.svg);
    position: relative;
    top: 5px;
    display: flex;
    padding: 0 20px;
}

.wpcf7-form label {
    font-size: 16px;
    font-weight: 300;
}

.wpcf7-form p {
    position: relative;
    display: flex;
    align-items: center;
}


.arrow {
    background-color: #fff;
    display: block;
    height: 1px;
    position: absolute;
    width: 40px;
    left: 120px;
    pointer-events: none;
    transition: .3s ease-in-out;
}

.arrow:before,
.arrow:after {
    background-color: #fff;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    transition: .3s ease-in-out;
}

.arrow.over,
.arrow.over:before,
.arrow.over:after {
    background-color: var(--purple)
}

.arrow:before {
    transform: rotate(40deg);
    transform-origin: top right;
}

.arrow::after {
    transform: rotate(-40deg);
    transform-origin: bottom right;
}

.wpcf7-form-control {
    height: 74px;
    background: none;
    outline: none;
    box-shadow: none;
    border: 1px solid #fff;
    resize: none;
    max-width: 395px;
    width: 100%;
    color: white;
    padding: 10px 20px;
    font-size: 22px;
}

.wpcf7-form-control-wrap {
    display: block;
    height: 100%;
    margin-bottom: 30px;
    margin-top: 5px;
}

.wpcf7-submit {
    max-width: 178px;
    border: 1px solid #FFFFFF;
    border-radius: 70px;
    font-size: 16px;
    height: 50px;
    padding-left: 30px;
    padding-right: 20px;
    text-align: left;
    cursor: pointer;
    transition: .3s ease-in-out;
}

.wpcf7-submit:hover,
.wpcf7-submit:active {
    background: white;
    color: var(--purple);
}

.site-footer {
    background: #000;
}

.site-footer .logo {
    margin: 90px auto 80px;
}

.site-footer ul {
    list-style: none;
    display: flex;
    margin: 0 auto;
    margin-bottom: 80px;
}

.site-footer ul li a {
    color: white;
    font-size: 20px;
    font-weight: 300;
    margin: 0 30px;
    transition: .3s ease-in-out;
}

.site-footer ul li a:hover,
.site-footer ul li a:active {
    color: var(--purple-light);
}

.copyright {

    padding: 20px 0;
    border-top: 1px solid #fff;
}

.copyright .container {
    display: flex;
    justify-content: space-between;
}

.copyright p {
    font-weight: 300;
}

.burger {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: 10px;
}

.burger-wrap {
    position: relative;
    z-index: 10;
}

.burger div {
    width: 18px;
    height: 1px;
    background-color: #fff;
    margin: 2px;
    transition: all .3s ease;
}

.burger div:nth-child(2),
.burger div:nth-child(4) {
    width: 14px;
    background: var(--purple-light);
}

.toggle .line1 {
    opacity: 0;
}

.toggle .line2 {
    transform: rotate(-45deg) translate(-2px, 5px);
    height: 2px;
    width: 18px !important;
}

.toggle .line3 {
    opacity: 0;
}

.toggle .line4 {
    transform: rotate(45deg) translate(-3px, -6px);
    height: 2px;
    width: 18px !important;
}

nav.mobile-menu .mobile-nav-wrap {
    position: absolute;
    right: 0;
    height: 100vh;
    top: 0;
    background: #000;
    z-index: 10;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: translateX(100%);
    transition: 0.5s ease-in;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    display: flex;
    z-index: 2;
    padding: 0 20px;
    padding-top: 10vh;
    overflow-x: scroll;
}

nav.mobile-menu .mobile-nav-wrap.nav-active {
    transform: translateX(0%);
}

nav.mobile-menu .mobile-nav-wrap.nav-active li a {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

.mobile-nav-wrap li {
    margin-bottom: 5%;
    text-align: center;
}

.mobile-nav {
    flex-direction: column;
    padding-top: 32px;
}

.mobile-nav li {
    color: var(--purple-light);
    margin: 0;
    margin-bottom: 30px;
}

.mobile-nav li:last-child {
    margin-bottom: 0;
}

.wrap-line-menu,
.wrap-line-kontakt,
.wrap-line-social {
    width: 100%;
    opacity: 0;
}

.mobile-nav-wrap p.phone {
    margin-top: 32px;
    padding-bottom: 16px;
}

.mobile-nav-wrap p.mail {
    margin-bottom: 32px;
}

.mobile-nav-wrap p.phone,
.mobile-nav-wrap p.mail {
    display: flex;
    align-items: center;
}

.mobile-nav-wrap p.phone a,
.mobile-nav-wrap p.mail a {
    font-size: 16px;
    color: white;
    font-weight: 300;
}

.wrap-line-menu>p:first-of-type,
.wrap-line-kontakt>p:first-of-type,
.wrap-line-social>p:first-of-type {
    font-size: 16px;
    font-weight: 300;
    padding-bottom: 12px;
    padding-top: 32px;
    border-bottom: 1px solid #fff;
}

.wrap-line-social>p:first-of-type {
    padding-top: 0;
}

.mobile-nav-wrap p.phone:before {
    content: url(src/images/phone-icon-small.svg);
    position: relative;
    top: 3px;
    display: flex;
    padding-right: 17px;
}

.mobile-nav-wrap p.mail:before {
    content: url(src/images/mail-icon-small.svg);
    position: relative;
    top: 3px;
    display: flex;
    padding-right: 17px;
}

.mobile-nav-wrap p.facebook,
.mobile-nav-wrap p.instagram {
    display: inline-flex;
    padding-top: 32px;
    color: white;
    font-weight: 300;
}

.mobile-nav-wrap p.facebook:before {
    content: url(src/images/facebook-icon-small.svg);
    position: relative;
    top: 3px;
    display: flex;
    padding-right: 40px;
}

.mobile-nav-wrap p.instagram:before {
    content: url(src/images/instagram-icon-small.svg);
    position: relative;
    top: 3px;
    display: flex;
    padding: 0;
    padding-right: 17px;
}

.designed {
    color: white;
}

.designed:hover,
.designed:active {
    color: var(--purple);
}

.referencie {
    flex-direction: column;
    margin-bottom: 120px;
}

.referencie h2 {
    text-align: center;
    font-weight: 700;
    color: var(--purple-light);
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 130px;
}

.referencie h2::after {
    content: url(src/images/ref-icon.svg);
    position: absolute;
    bottom: -100px;
}

.reference-name {
    font-size: 32px;
    font-weight: 700;

}

.swiper-slide p {
    font-size: 28px;
    line-height: 42px;
    font-weight: 300;
    padding: 0 40px;
    padding-top: 32px;
}

.swiper {
    max-width: 780px;
    position: initial;
}

.swiper-slide {
    text-align: center;
}

.swiper-button-prev:after {
    content: url(src/images/left.svg);
}

.swiper-button-next:after {
    content: url(src/images/right.svg);
}

@keyframes navLinkFade {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media only screen and (max-width: 800px) {
    h1 {
        font-size: 32px;
        line-height: 48px;
    }

    h2 {
        font-size: 32px;
        line-height: 48px;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        height: 90vh;
    }

    .nav-wrap {
        display: flex;
        align-items: flex-end;
    }

    header .logo {
        max-width: 110px;
    }

    header.container-full-width {
        position: initial;
        height: 10vh;
    }

    nav.desk-nav {
        display: none;
    }

    .top-head {
        z-index: 10;
    }

    nav.mobile-menu {
        display: block;
    }

    .container.about-box {
        flex-direction: column;
    }

    .about-box>div {
        width: 100%;
        padding: 80px 35px;
    }

    .about-box>div p {
        font-size: 16px;
        line-height: 32px;
    }

    .services h2 {
        font-size: 32px;
        line-height: 48px;
        margin-bottom: 68px;
    }

    .about .container h2 {
        margin-bottom: 25px;
    }

    .services {
        margin-top: 80px;
        margin-bottom: 68px;
    }

    .service-container h4,
    .service-container p {
        font-size: 32px;
        line-height: 48px;
        text-transform: none;
    }

    .service-container {
        padding: 24px;
        margin: 12px 0;
    }

    .contact .container {
        flex-direction: column;
    }

    .contact h2 {
        font-size: 32px;
        line-height: 48px;
    }

    .contact {
        padding: 70px 0;
    }

    .wpcf7-form-control {
        height: 54px;
    }

    .contact-info-box p {
        font-size: 20px;
        line-height: 32px;
        padding-bottom: 16px;
    }

    .contact-info-box p.adress {
        padding-bottom: 68px;
    }

    .contact-info-box p:before {
        padding: 0 !important;
        padding-right: 16px !important;
    }

    .contact-container>div.contact-info {
        margin: 80px 0 0;
        padding-bottom: 20px;
    }

    .site-footer .logo {
        max-width: 240px;
        width: 100%;
        margin: 80px auto;
    }

    .site-footer .logo img {
        width: 100%;

    }

    .site-footer ul {
        flex-direction: column;
        align-items: center;
        margin-bottom: 100px;
    }

    .site-footer ul li {
        margin: 16px 0;
    }

    .copyright .container {
        flex-direction: column;
        align-items: center;
    }

    .copyright p {
        margin-top: 32px;
    }

    .copyright {
        padding: 0;
        padding-bottom: 60px;
    }

    .reference-name {
        font-size: 28px;
    }

    .referencie h2::after {
        transform: scale(.75);
    }

    .swiper-slide p {
        padding: 0;
        padding-top: 32px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: initial;
        bottom: -80px;
    }

    .swiper-button-prev {
        left: 20vw;
    }

    .swiper-button-next {
        right: 20vw;
    }

    .referencie {
        margin-bottom: 150px;
    }

    .referencie::before,
    .triangle-wrap::before {
        transform: scale(.5);
        transform-origin: right top;
        top: -20vh;
    }

    .referencie::after,
    .triangle-wrap::after {
        transform: scale(.5);
        transform-origin: left bottom;
        bottom: -230px;
    }
}

@media only screen and (max-width: 360px) {
    h1 {
        font-size: 24px;
    }
}