:root {
    --parent-font-size: 10px;

    --primary-dark: #290C4F;
    --primary-color: #8436E8;
    --primary-active: #E026EE;
    --button-gradient: linear-gradient(96.96deg, #FD17A1 3.55%, #A11FCE 133.18%);

    --text-color: #1A1A1A;
    --light-color: #F9F9F9;
    --white-color: #FFFFFF;
}

html {
    font-size: var(--parent-font-size);
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background: #0F0E22;
    color: var(--text-color);
    overflow-x: hidden;
}

* {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    border: none;
    outline: none;
    z-index: 3;
    background-size: cover;
    background-repeat: no-repeat;
}

body {
    max-width: 100vw;
    width: 100%;
}

section {
    padding: var(--section-padding) 0;
    width: 100%;
    height: 100%;
}

.section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

header, footer {
    width: 100%;
}

.container {
    width: 1140px;
    margin: 0 auto;
    height: 100%;
}

a, button {
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6, p, a, ul, li, img, input, button, fieldset {
    text-decoration: none;
    border: none;
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

h2 {
    font-size: 3.6rem;
}

header {
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    color: var(--white-color);
}

html:has(.service__page) {
    background-color: #16151f;
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

header .logo img {
    display: block;
    height: 85%;
    width: auto;
}

.service__page header {
    position: sticky;
    background-color: #0F0E22;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav {
    display: flex;
    align-items: center;
    gap: 50px;
    height: 100%;
}

header nav a {
    color: var(--white-color);
    font-size: 1.6rem;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    transition: .2s ease-in-out;
}

header nav a:hover {
    color: #00e5ff;
}

header nav a.active {
    color: red;
}

header nav .drop__down {
    position: relative;
    height: 100%;
}

.drop__down:hover .drop__down_content {
    opacity: 1;
    visibility: visible;
    gap: 20px;
}

.drop__down_content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: max-content;
    opacity: 0;
    gap: 10px;
    visibility: hidden;
    transition: .2s ease-in-out;
}

.service__page .drop__down_content {
    padding: 20px;
    background-color: #0F0E22;
    left: -20px;
}

header nav .drop__down a.drop__down_a {
    display: flex;
    align-items: center;
}

header nav .drop__down a.drop__down_a::after {
    content: '';
    display: block;
    height: 12px;
    width: 12px;
    margin-left: 5px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5502 4.57504L6.3502 8.78754C6.3002 8.83754 6.24603 8.87304 6.1877 8.89404C6.12936 8.91504 6.06686 8.92537 6.0002 8.92504C5.93353 8.92504 5.87103 8.91454 5.8127 8.89354C5.75436 8.87254 5.7002 8.83721 5.6502 8.78754L1.4377 4.57504C1.32103 4.45837 1.2627 4.31254 1.2627 4.13754C1.2627 3.96254 1.3252 3.81254 1.4502 3.68754C1.5752 3.56254 1.72103 3.50004 1.8877 3.50004C2.05436 3.50004 2.2002 3.56254 2.3252 3.68754L6.0002 7.36254L9.6752 3.68754C9.79186 3.57087 9.9357 3.51254 10.1067 3.51254C10.2777 3.51254 10.4255 3.57504 10.5502 3.70004C10.6752 3.82504 10.7377 3.97087 10.7377 4.13754C10.7377 4.30421 10.6752 4.45004 10.5502 4.57504Z' fill='%23F1F1F1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.bottom__arrow {
    position: absolute;
    bottom: 20px;
    left: calc(50% - 21px);
    animation: arrowMoving 2s ease-in-out infinite;
}

#canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

#fp-nav {
    position: fixed;
    top: calc(50% - 70px);
    right: 40px;
}

#fp-nav ul {
    list-style: none;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#fp-nav a {
    display: block;
    font-size: 0;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background-color: var(--light-color);
    transform: scale(.8);
    opacity: .3;
    transition: transform .3s cubic-bezier(0.6,-0.8, 0.6, 3), opacity .2s ease-in-out;
}

#fp-nav a.active {
    transform: scale(1);
    opacity: 1;
}

.section.landing {
    background: url('./src/assets/home/landing-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: var(--white-color);
}

.section.landing h1 {
    font-size: 4.8rem;
    text-align: center;
}

p.section__note {
    font-size: 2rem;
    line-height: 1.5;
    color: var(--light-color);
}

.section.landing p.section__note {
    max-width: 840px;
    margin: 0 auto;
    margin-top: 30px;
    text-align: center;
}

.section.steps {
    color: var(--white-color);
    position: relative;
}

.section.steps ul {
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.section.steps ul li {
    font-size: 1.8rem;
    height: 70px;
    display: flex;
    align-items: center;
}

.section.steps ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    width: 42px;
    border-radius: 100%;
    box-shadow: 0 0 6px #42e2f4;
    background-color: rgb(255, 255, 255, .05);
    margin-right: 20px;
}

.section.services {
    color: var(--white-color);
    background: url('./src/assets/home/services-background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.section.services h2 {
    text-align: center;
}

.services__list {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 80px;
    color: var(--white-color);

}

.service__card {
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: calc(20% - 20px);
    aspect-ratio: 1 / 1;
    padding: 30px;
    border-radius: 100%;
    background: rgb(255, 255, 255, .02);
    border: solid 2px rgba(255, 255, 255, 0.3);
    box-shadow: inset 0px -3px 2px rgba(0, 0, 0, 0.15), inset 0px 0px 48px rgba(255, 255, 255, 0.05), inset 0px 3px 2px rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: .3s cubic-bezier(0.6,-0.8, 0.6, 3);
}

.service__card::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: solid 2px var(--white-color);
    position: absolute;
    transform: scale(.95);
    opacity: .8;
    transition: transform .3s cubic-bezier(0.6,-0.8, 0.6, 3), opacity .2s ease-in-out;
}

.service__card:hover {
   transform: scale(.9);
}

.service__card:hover::after {
    transform: scale(1.1);
}

.service__card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    margin-top: 10px;
}

.service__card ul {
    list-style: none;
    padding: 0;
}

.service__card ul li {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
}

.service__card ul li::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background: #FFF;
}

.section.testimonals {
    color: var(--white-color);
    background: url('./src/assets/home/testimonals-background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.section.testimonals h2 {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials__slider {
    display: flex;
    transition: .3s ease-in-out;
}

.slider_card {
    flex: 1 0 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.slider_card h3 {
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
    color: #FFF;
    transition: .2s ease-in-out;
}

.section.testimonals .container {
    max-width: 100%;
    overflow: hidden;
}

  .slider_card p {
    font-size: 2rem;
    line-height: 1.5;
    color: var(--white-color);
    padding: 0 60px;
  }

  .slider_card img {
    display: block;
    height: 360px;
    width: auto;
    border-radius: 16px;
    transition: .2s ease-in-out;
  }

  .slider_card:hover h3 {
    letter-spacing: .6rem;
  }

  .slider_card:hover img {
    transform: scale(1.1) translateY(-10px);
  }

  .slider_buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 200px;
    margin: 0 auto;
    margin-top: 40px;
  }
  
  /* Optional styles for the previous and next buttons */
  .prev,
  .next {
    cursor: pointer;
    transition: .1s cubic-bezier(0.6,-0.8, 0.6, 3);
  }
  
  .prev:active, .next:active {
    transform: scale(.9);
  }

.section.contact {
    color: var(--white-color);
    background: url('./src/assets/home/contact-background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.section.contact h2 {
    text-align: center;
}

.section.contact form {
    margin: 0 auto;
    margin-top: 40px;
    max-width: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section.contact form label {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.section.contact form label input {
    color: var(--white-color);
    font-size: 1.6rem;
    padding: 12px 8px;
    margin-top: 6px;
    background: rgb(255, 255, 255, .03);
    border-bottom: solid 2px #FFF;
}

.section.contact form button {
    font-size: 1.6rem;
    padding: 14px 20px;
    background: none;
    color: var(--white-color);
    position: relative;
    border: solid 2px var(--white-color);
    transition: .3s cubic-bezier(0.6,-0.8, 0.6, 3);
    margin-top: 30px;
}

.section.contact form button::after {
    content: '';
    display: block;
    position: absolute;
    left: -2px;
    top: -2px;
    border: solid 2px rgb(255, 255, 255, .3);
    width: 100%;
    height: 100%;
    transition: .3s cubic-bezier(0.6,-0.8, 0.6, 3);
}

.section.contact form button:hover {
    transform: scale(.9);
}

.section.contact form button:hover::after {
    transform: scale(1.1, 1.25);
}

footer {
    bottom: 0;
    left: 0;
    position: absolute;
}

footer .container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer p {
    font-size: 1.5rem;
    color: var(--white-color);
    text-align: center;
}

.service__page section {
    width: 100%;
    color: var(--white-color);
}

.service__page section.landing {
    min-height: 480px;
    background-image: url('./src/assets/security-systems/landing-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
}

.service__page section.landing.communication {
    background-image: url('./src/assets/communication-systems/landing-bg.jpg');
}

.service__page section.landing.multimedia {
    background-image: url('./src/assets/multimedia/landing-bg.jpg');
}

.service__page section.landing.development {
    background-image: url('./src/assets/development/landing-bg.jpg');
}

.service__page section.landing.automation {
    background-image: url('./src/assets/automation/landing-bg.jpg');
}

.service__page section h1 {
    font-size: 3.6rem;
    text-align: center;
}

.service__page section.service__article {
    padding: 60px 0;
}

.service__page section.service__article p {
    font-size: 1.6rem;
    color: var(--light-color);
    line-height: 1.6;
    margin-top: 15px;
    opacity: .9;
}

.service__page section.service__article ul {
    margin-top: 20px;
}

.service__page section.service__article ul li {
    font-size: 1.6rem;
    color: var(--light-color);
    line-height: 1.8;
    opacity: .9;
}

.service__page section h2 {
    text-align: center;
}

.service__page section.service__article h2 {
    font-size: 3rem;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service__article.feedback h1 {
    text-align: left;
}

.service__article.feedback img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.service__page section h2:first-child {
    margin-top: 0;
}

section.contact {
    background-image: url('./src/assets/home/testimonals-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 60px 0;
}

section.contact h2 {
    text-align: center;
}

section.contact form {
    margin: 0 auto;
    margin-top: 40px;
    max-width: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.contact form label {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

section.contact form label input {
    color: var(--white-color);
    font-size: 1.6rem;
    padding: 12px 8px;
    margin-top: 6px;
    background: rgb(255, 255, 255, .03);
    border-bottom: solid 2px #FFF;
}

section.contact form button {
    font-size: 1.6rem;
    padding: 14px 20px;
    background: none;
    color: var(--white-color);
    position: relative;
    border: solid 2px var(--white-color);
    transition: .3s cubic-bezier(0.6,-0.8, 0.6, 3);
    margin-top: 30px;
}

section.contact form button::after {
    content: '';
    display: block;
    position: absolute;
    left: -2px;
    top: -2px;
    border: solid 2px rgb(255, 255, 255, .3);
    width: 100%;
    height: 100%;
    transition: .3s cubic-bezier(0.6,-0.8, 0.6, 3);
}

section.contact form button:hover {
    transform: scale(.9);
}

section.contact form button:hover::after {
    transform: scale(1.1, 1.25);
}

.service__page footer {
    position: inherit;
    background: #0b0b0b;
}




.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0F0E22;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s ease-in-out;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    animation: dot-animation 1s ease-in-out infinite;
  }
  
  .dot-1 {
    background-color: var(--light-color);
    animation-delay: 0s;
  }
  
  .dot-2 {
    background-color: var(--light-color);
    animation-delay: 0.2s;
  }
  
  .dot-3 {
    background-color: var(--light-color);
    animation-delay: 0.4s;
  }
  
  .mobile__menu, .mobile__nav {
    display: none;
  }

  #alerty {
    display: block;
    transform: scale(0);
    position: fixed;
    z-index: 20;
    top: 100px;
    right: 20px;
    background-color: #1c1780;
    color: #FFF;
    padding: 20px;
    border-radius: 6px;
    transition: .3s ease-in-out;
  }

  #alerty p {
    font-size: 1.5rem;
  }

  #alerty.active {
    transform: none;
  }

  .service__page section.service__article {
    min-height: 100vh;
  }

  @media only screen and (max-width: 1400px) {
    header nav a {
        font-size: 1.5rem;
    }

    .section.landing h1 {
        font-size: 4.2rem;
    }

    p.section__note {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 3.4rem;
    }

    .section.steps ul li {
        font-size: 1.7rem;
        height: 64px;
    }

    .service__page section.landing {
        min-height: 320px;
    }
  }

  @media only screen and (max-width: 1000px) {
    .container {
        max-width: calc(100vw - 60px);
    }

    #fp-nav {
        right: 20px;
    }

    .services__list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }

    .slider_card img {
        height: auto;
        width: 100%;
    }

    .service__card {
        width: calc(40% - 20px);
        flex-shrink: 0;
    }

    .section.testimonals .container {
        max-width: calc(100vw - 60px);
    }

    .service__page section.service__article h2 {
        text-align: left;
        font-size: 2.6rem;
    }

    header nav {
        display: none;
      }

      .mobile__menu {
        display: block;
      }

      .mobile__nav {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 20px;
        position: fixed;
        top: 80px;
        right: 0;
        z-index: 20;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(96, 96, 96, 0.15);
        padding: 20px;
        background-color: rgba(11, 11, 11, .99);
        transform: translateX(100%);
        visibility: hidden;
        transition: .3s ease-in-out;
      }

      .mobile__nav.active {
        transform: translateX(0);
        visibility: visible;
      }

      .mobile__nav a {
        font-size: 1.6rem;
        color: var(--white-color);
      }
  }

@media only screen and (max-width: 700px) {
    .container {
        max-width: calc(100vw - 32px);
    }

    .mobile__menu svg {
        height: 36px;
        width: auto;
    }

    #fp-nav {
        right: 0px;
        top: auto;
        bottom: 0px;
        transform: scale(.5);
    }

    .section.steps ul li span {
        flex-shrink: 0;
    }

    .slider_card p {
        font-size: 1.4rem;
        padding: 0;
    }

    .slider_card h3 {
        font-size: 1.6rem;
    }

    .service__page section h1 {
        font-size: 3.2rem;
    }

    .service__card h3 {
        font-size: 1.3rem;
    }

    .services__list {
        gap: 20px 20px;
        justify-content: center;
        margin-top: 40px;
    }

    .service__card {
        width: calc(50% - 10px);
    }

    .service__card svg {
        height: 42px;
        width: auto;
    }

    .section.testimonals h2 {
        margin-bottom: 40px;
    }
    h2 {
        font-size: 3rem;
    }
}

@media only screen and (max-height: 800px) {
    .services__list {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: scroll;
        padding-bottom: 20px;
        gap: 20px;
    }

}

  
  @keyframes dot-animation {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.5);
    }
    100% {
      transform: scale(1);
    }
  }



.fp-watermark {
    display: none !important;
}

@keyframes arrowMoving {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(10px) scale(.95);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}