* {
  padding: 0;
  margin: 0 auto;
  font-family: 'Raleway', sans-serif;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

:root {
  --light-blue: #00ccff;
  --black: #1d1c1b;
  --medium-blue: #336699;
  --element-blue: #86BBD8;
  --bg-clr: #fdfdfd;
}


body {
    font-size: 1rem;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-color: var(--bg-clr);
    color: var(--black);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.bg {
/* --s: 400px;
--c1: #ffffff;
--c2: #fdfdfd;
--c3: #ffffff;
background: repeating-conic-gradient(from 30deg, #e6e6e600 0 120deg, var(--c3) 0 180deg) calc(0.5* var(--s)) calc(0.5* var(--s)* 0.577), repeating-conic-gradient(from 30deg, var(--c1) 0 60deg, var(--c2) 0 120deg, var(--c3) 0 180deg);
background-size: var(--s) calc(var(--s)* 0.577); */
position: relative;
}

.bg::before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    background-image: url(../../assets/img/svg/background/tmp.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: -1;
    filter: opacity(35%) brightness(110%);
    -webkit-filter: opacity(35%) brightness(110%);
}

main {
    width: 100%;
}

body,html {
    position: relative;
    min-height: 100vh;
}


img {
    display: block;
}


.fl {
    display: flex;
}
.load {
    opacity: 0;
    transition: opacity 1200ms ease-in-out;
}

.load.sl {
    transition-delay: 200ms;
}

.visible {
    opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

.pg-rem {
    padding: 1rem;
}

.pg-block {
    padding-block: 2rem;
}

h1 {
    font-size: 45px;
    color: black
}

.h1-l {
    font-size: 35px;
}

.dif-box {
    box-shadow: 3px 5px 10px #40404000, -0.2em 0 1em #565656fa;
}

.box-sh {
    box-shadow: 3px 5px 10px #40404000, -0.2em 0 1em #ececec;
}

.container {
    max-width: 1140px;
}

.mw {
    width: calc(100% - 20px);
}

.bg-el {
    background: -webkit-linear-gradient(var(--light-blue), #0079cf);
}


.half-gd {
    background: -webkit-linear-gradient(var(--light-blue), #0079cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#scroll-top {
    position: fixed;
    bottom: 5%;
    padding: 15px;
    right: 5%;
    transform: translate(-5%, -5%);
    z-index: 80;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    background-color: var(--light-blue);
    box-shadow: 1px 1px 8px #0000004f;
    img {
        width: 30px;
        object-fit: contain;
        filter: invert(1);
    }
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
  }

  .langSwitch {
    border: none;
    background: none;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
}
  

  .lds-ellipsis,
  .lds-ellipsis div {
    box-sizing: border-box;
  }
  .lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ellipsis div {
    position: absolute;
    top: 33.33333px;
    width: 13.33333px;
    height: 13.33333px;
    border-radius: 50%;
    background: var(--light-blue);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }

  

header {
    width: 100%;
    nav  {
        position: fixed;
        display: flex;
        top: 0;
        left: 0;
        width: 100%;
        background-color: transparent;
        border-radius: 0 0 30px 30px;
        z-index: 9999;
        transition: all 300ms ease-in-out;
        backdrop-filter: blur(1px);
        box-shadow: 3px 3px 15px #eae7e73b;
        ul {
            display: flex;
            width: 100%;
            align-items: center;
            padding: 20px;
            position: relative;
            transition: all 300ms ease-in-out;


            li {
                padding-right: 2rem;
                margin: 0 0 0 2rem;
                list-style-type: none;
                min-width: 60px;

                a {
                    text-decoration: none;
                    color: var(--black);
                    font-weight: 500;
                    border-radius: 20px;
                }

                a.active {
                    font-weight: 700;
                    background: -webkit-linear-gradient(var(--light-blue), #0079cf);
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                }
            }

            li:first-of-type {
                margin: 0 auto 0 0;

                a {
                    padding: 0;
                }
            }

            li:last-of-type {
                margin: 0;
            }
        }

        ul::after {
            position: absolute;
            content: '';
            width: 35%;
            height: 3px;
            border-radius: 50px;
            bottom: 0;
            right: 0;
            transform: translate(0, 0);
            transition: all 600ms ease-in-out;
        }

        img {
            width: 160px;
            object-fit: contain;
            transition: all 300ms ease-in-out;
        }


    }

    nav.scrolled {
            border-radius: 0;
            background-color: #ffffffb5;
            box-shadow: 2px 2px 2px #4d4c4c08;
            -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
        ul {
            padding: 10px;
            li {
                a {
                }
            }
            &::after {
                width: 100%;
            }
        }

        img {
            width: 120px;
        }

    }
}

.mobile-logo {
    display: none;
}

.form-web {
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--bg-clr);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.overlay-container {
    display: flex;
    height: 100%;
    width: 100%;
    position: fixed;
    align-items: center;
    justify-content: center;
    transition: 700ms ease-out;
    transition-timing-function: linear;
    animation-fill-mode: both;
    z-index: 99999;
    transform: translateY(-110%);
    visibility: hidden;
}


.overlay-container.active {
    transform: translateY(0);
    visibility: visible;
}

.overlay-container.active::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    animation: opacityChangeBlur 400ms linear;
    animation-fill-mode: forwards;
    animation-delay: 600ms;
}

.linked-overlay {
    box-shadow: 0px 0px 15px #dbdbdb;
}

.close-btn {
    font-size: 60px;
    font-weight: 300;
    color: #000;
    position: absolute;
    right: 2.5rem;
    top: 0;
    cursor: pointer;
}

button.mobile-menu {
    position: relative;
    display: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    margin-right: 15px;
    margin-block: 10px;
    border: none;
    background-color: transparent;
    z-index: 1000;
    background-repeat: no-repeat;
    background-size: contain;
}

.mobile-menu.closed {
    background-image: url(../../assets/img/svg/icons/menu-icon.svg);
}
.mobile-menu.opened {
    background-image: url(../../assets/img/svg/icons/close-icon.svg);
}

.intro {
    background-image: url(../../assets/img/svg/background/bg-intro.svg);
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
     .intro-wrapper {
        display: flex;
        min-height: 550px;
        align-items: center;
        gap: 40px;
        text-align: left;
        flex-flow: row wrap;
        article {
            flex: 1 0 0%;
            font-weight: 500;
            h1 {
                color: var(--light-blue);
                font-weight: 800;
            }
        }
     }
}

.success {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--black);
    max-width: 400px;
    width: 300px;
    height: 300px;
    color: white
}

.intro-bg {
    flex: 1 0 0%;
    position: relative;

     img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        width: 600px;
        animation: moveImgIntro 4000ms infinite;
        animation-play-state: running;
        animation-timing-function: linear;
     }
}

@keyframes moveImgIntro {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(.5deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-.5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.active-years {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 0;

    div {
        height: 3px;
        flex: 1 0 0%;
        border-radius: 20px;
        background-color: var(--light-blue);
    }

    p {
        padding: 1rem 2rem;
        font-size: 30px;
        font-weight: 600;
    }
}

.info-about {
    h2 {
        font-weight: 600;
        font-size: 30px;
    }

    article {
        padding: 2rem;
        background: rgb(223, 225, 235);
        background: #e0e0e0;
        box-shadow: 20px 20px 60px #f1f1f1,
                      -20px -20px 60px #ffffff;
       
        p {
        }
    }
}

.message {
    article {
        padding: 2rem;
        border-radius: 25px;
        max-width: 350px;
        margin-block: 6rem;
        text-align: center;
        color: var(--bg-clr);
        font-weight: 600;

        img {
            width: 100px;
            margin-top: 15px;
            object-fit: contain;
        }
    }
}

.services {
    h1 {
        font-weight: 600;
    }
    div {
        text-align: center;
        display: flex;
        flex-direction: column;
        padding-block: 1rem;

        .service-tabs {
            flex-flow: row wrap;
            margin-right: 0;
            margin-left: 0;
        

            .tab {
                min-height: 300px;
                padding: 2rem;
                flex-basis: 200px;
                flex: 1 0 0%;
                position: relative;
                display: flex;
                flex-direction: column;
                justify-content: center;
                border-radius: 10px;
                box-shadow: 3px 10px 15px #e1e1e1, -0.2em 0 1em #e9e9e9;
                margin: 16px;
                backdrop-filter: blur(5px);
                background-color: rgba(255, 255, 255, 0.5);
                

                img {
                    width: 100px;
                    object-fit: contain;
                }

                img,h3 {
                    transition: 550ms;
                }

            }
        }

        .tab:hover {
            transition: 200ms forwards;
            h3,
            img {
                opacity: 0;
            }
            
            figcaption {
                display: flex;
            }
        }


        a {
            padding: 10px 20px;  
            border-radius: 20px;
            text-decoration: none;     
            color: white;   
            font-weight: 500;
        }

        .service-link {
            color: black
        }
    }
}

.service-tabs .tab figcaption {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.6);
    top: 0;
    left: 0;
    align-items: center;
    padding: 15px;
    animation: opacityChangeText 550ms linear;
    color: var(--black);
    font-weight: 500;
    user-select: none;
    text-align: start;
}

.slide-img {
   display: none;
   animation: opacityChange 500ms linear;
}

.slide-img.active {
    display: block;
}

.form-outter {
    position: relative;
    > div {
        h1 {
        text-align: center;
        padding-block: 1rem;
        font-weight: 600;
        }
    }
}
#contact-form {
    background: white;
    border-radius: 30px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    max-width: 750px;
    max-height: 100%;
    overflow: auto;
    position: relative;

    input, textarea {
        width: 100%;
        padding: 1rem;
        border-radius:10px;
        border: 1px var(--bg-clr) solid;
        margin-bottom: 1rem;
        transition: 0.25s;
        position: relative;
        resize: none;
    }

    input,
    textarea {
        box-shadow: 6px 6px 9px #efecec, -0.2em 0 1em #f5f5f5;
    }

    label {
        display: block;
        margin-bottom: 0.5rem;
        margin-left: 0;
    }
    button {
        background-color: var(--button-clr);
        color: white;
        padding: 10px 20px;
        border-radius: 20px;
        border: none;
        cursor: pointer;
        font-size: 15px;
    }
    h2 {
        max-width: 90%;
        margin-left: 0;
    }
}


.map {
 height: 400px;   
 display: flex;
 flex-flow: row wrap;
 margin-top: 70px;
 article {
    flex: 1 0 35%;
 }

 iframe {
    border-radius: 0 50% 0 0;
    position: relative;
    flex: 1 0 65%;

 }

 article {
    text-align: left;
    border-radius: 20px;
    height: 100%;



    figure {
        display: flex;
        flex-direction: column;
        justify-content: center;
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        border-radius: 20px;
        background-color: #fcfafa9f;
        padding: 3rem;
        transform: translateX(-15%);
        box-shadow: 3px 5px 10px #40404000, -0.2em 0 1em #ececec;
        
        >* {
            margin-left: 0;
        }
    
    }

    h3 {
        font-weight: 600;
        font-size: 30px;
    }

    a {
        text-decoration: none;
    }

    p {
        font-size: 1.2rem;
    }
 }

}

footer {
    background: -webkit-linear-gradient(#84afff0a, #ffffff);
    border-radius: 20px 20px 0 0;
    box-shadow: 3px 3px 15px #e1e1e1;
    margin-top: auto;
    .widget-wrapper {
        display: flex;
        gap: 3rem;
        align-items: center;
        flex-wrap: wrap;
        padding: 2rem;

        .widget {
            flex: 1 0 0%;
            margin: 0;
            display: flex;
            flex-direction: column;
        

            .flaticon-footer {
                width: 100px;
                object-fit: contain;
            }

            h3 {
                font-weight: 600;
            }

            a {
                text-decoration: none;
                margin: 0 0 0 15px;
            }

            a:first-of-type {
                margin: 0;
            }
        }

    }
    
    .copyright {
        text-align: center;
        width: 100%;
        padding-bottom: 1rem;
    }
}

.social-media {
    display: flex;
    a {
        margin: 0;
    }
     img.social-icon {
        width: 48px;
        object-fit: contain;
        transition: all 200ms ease-in;
    }

    img:hover {
    }
}



@keyframes moveUp {
    0% {
        transform: translateY(0%);
    }

    75% {
        transform: translateY(-5%);
    }

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

@keyframes gradientContainer {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }

  @keyframes opacityChange {
    0% {
        opacity: 0;
        transform: translateX(-15px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes opacityChangeText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes opacityChangeBlur {
    0% {
        opacity: 0;
        backdrop-filter: blur(0);
        -webkit-backdrop-filter: blur(0);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}
@keyframes opacityChangeNull {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


/*.intro::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url(../../assets/img/svg/elements/intro-element.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: blur(5px);
    z-index: -1;
}*/


@media screen and (max-width: 1300px) {
    .form-outter {
        & > div {
            h1 {
                text-align: center;
                padding-top: 1rem;
            }
        }
    }

    #contact-form {
        h2 {
            margin-left: 0;
        }
    }


    .mobile-logo {
        display: inline-block;
        width: 130px;
        margin-left: 15px;
    }

    header nav {
        background: #fffffff5;
    }
    #header-ul {
        display: flex;
        position: fixed;
        flex-direction: column;
        top: 0;
        left: 0;
        background: #fffffff5;
        gap: 20px;
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
        padding: 3rem;
        transition: 500ms;
        transform: translateY(-100%);
        li:first-of-type {
            display: none;
        }
    }

    header {
        & nav {
            padding: 10px;
            & ul { 
                box-shadow: 2px 2px 10px #e1e1e1;
                margin: 0;
                li {
                    padding: 0;
                    margin: 0;
                    min-width: 0;
                    font-size: 1.2rem;
                }
            }}}

    #header-ul.active {
        transform: translateY(0);
 
    }

    button.mobile-menu {
        display: inline-block;
    }

}

@media screen and (max-width: 1100px) {
    .intro {   
        width: 100%;
        .intro-wrapper {
            flex-direction: column-reverse;
            text-align: center;
            gap: 0;
            padding: 20px;
        }
    }
}

@media screen and (max-width: 768px) {

    .mw {
        width: 100%;
    }

    h1 {
        font-size: 40px;
    }

            
    .services {
        & div {
            .service-tabs {
               .tab {
                flex: 1 0 40%;
               }
            }
        }
    }
    .map {
        flex-direction: column;
        min-height: 400px;
        height: auto;

        iframe,
        article {
            width: 100%;
            flex: 1 0 0%;
            border-radius: 0;

            figure {
                transform: translate(0,0);
            }
        }
    }
}

@media screen and (max-width: 540px) {
    .services {
        & div {
            & .service-tabs {
                .tab {
                    flex: 1 0 50%;
                }
            }
        }
    }
}