html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;

    background: #101010;
}

@font-face {
    font-family: 'Prompt';
    src: url('/fonts/Prompt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; 
}

/* VANTA фон */
#bg-elm {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}


.panel,
.welcome-container,
.servicecards-container {
    position: relative;
    z-index: 2;
}


.page-content {
    position: relative;
    z-index: 2;
}

.panel {
    position: fixed;
    top: 0px;
    right: 100px;
    left: 100px;
    width: auto;
    height: 60px;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(to bottom, rgba(14,14,14,0.9), rgba(14,14,14,0.7), transparent);

    transition: opacity 0.5s ease, backdrop-filter 0.5s ease;
}

@media (max-width: 768px) {
    .panel {
        right: 30px;
        left: 30px;
    }
}

.panel::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, 
                                transparent 0%, 
                                #ff0000 25%,
                                #b90000 50%,
                                #ff0000 75%, 
                                transparent 100%);
}


.panel.hidden {
    opacity: 0;
    backdrop-filter: blur(0px);
    pointer-events: none;
}

.logo {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 45px;
    height: 45px;
}

.logo img {
    width: 45px;
    height: 45px;

    -webkit-user-drag: none;
    -webkit-user-select: none;
    -select: none;
    pointer-events: none;
}

.title-panel {
    margin-left: 10px;
}

.title-panel h1 {
    color: #fff;

    font-size: 28px;
    font-family: 'Prompt', Arial, Helvetica, sans-serif;
}

@media (max-width: 768px) {
    .title-panel h1 {
        font-size: 20px;
        line-height: 20px;
    }
}

.navbar {
    display: flex;
    margin-left: auto;
    gap: 40px;
    align-items: center;
}

.navbar a, .navbar .lang {
    position: relative;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: transform 0.3s;
}

.navbar a::after, .navbar .lang::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.navbar a:hover::after, .navbar .lang:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar a:hover, .navbar .lang:hover {
    transform: scale(1.05);
}

.panel-btn {
    padding: 7px 30px;
    margin-left: 100px;

    background-color: #fff;
    border-radius: 15px;

    text-decoration: none;
    color: #000;
    font-size: 17px;
    font-weight: 700;

    transition: all 0.3s;
}

@media (max-width: 768px) {
    .panel-btn {
        display: none;
    }
}


.panel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px #800000;
}

.hamburger {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: 15px;
    height: 60px;
    cursor: pointer;
    gap: 6px;
    display: none;
}

.hamburger span {
    width: 30px;
    height: 3.3px;
    background-color: white;
    border-radius: 10px;
    display: block;
}

.mobile-menu {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background-color: #202020b3;
    backdrop-filter: blur(5px);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px 0;
    transition: top 0.5s ease;
}

.mobile-menu a,
.mobile-menu .startproj {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.mobile-menu a::after, .mobile-menu .lang::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.mobile-menu a:hover::after, .mobile-menu .lang:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.mobile-menu a:hover, .mobile-menu .lang:hover {
    transform: scale(1.05);
}

/* Медиа-запрос */
@media (max-width: 768px) {
    .navbar,
    .startproj {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

.welcome-container {
    position: relative;
    top: 110px;
    margin-left: 100px;
    margin-right: 100px;
    width: auto;

    display: flex;
    flex-direction: row;

    z-index: 1;
}

@media (max-width: 768px) {
    .welcome-container {
        top: 300px;
        flex-direction: column;

        margin-left: 40px;
        margin-right: 40px;
    }
}

.welcome-right {
    margin-top: 0px;
}

.welcome-left h1 {
    margin: 0px;
    margin-bottom: 20px;

    color: #fff;
    font-size: 48px;
}

@media (max-width: 768px) {
    .welcome-left h1 {
        margin-bottom: 5px;
        font-size: 36px;
    }
}

.welcome-left p {
    margin: 0px;
    margin-bottom: 35px;

    color: #fff;
    font-size: 22px;
}

@media (max-width: 768px) {
    .welcome-left p {
        font-size: 20px;
    }
}

.welcome-buttons {
    display: flex;
    flex-direction: row;
}

@media (max-width: 768px) {
    .welcome-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}

.services-btn {
    padding: 10px 40px;
    display: inline-block;

    background-color: #b90000;
    border-radius: 15px;

    text-decoration: none;
    text-align: center;
    font-weight: bold;
    font-size: 17px;
    color: #fff;

    transition: transform 0.3s, box-shadow 0.7s;
}

.services-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px #800000;
}

.myjobs-btn {
    padding: 10px 35px;
    margin-left: 30px;
    display: inline-block;

    background-color: transparent;
    box-shadow: inset 0 0 0 2.5px #b90000;
    border-radius: 15px;

    text-decoration: none;
    text-align: center;
    font-weight: bold;
    font-size: 17px;
    color: #fff;

    transition: transform 0.3s, box-shadow 0.7s;
}

@media (max-width: 768px) {
    .myjobs-btn {
        margin-left: 0px;
    }
}

.myjobs-btn:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 0 0 2.5px #b90000, 0 6px 12px #800000;
}

.welcome-img {
    position: relative;
    margin-left: 200px;

    width: 350px;
    height: 350px;

    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .welcome-img {
        top: -580px;
        margin-left: 0px;
        width: 200px;
        height: 200px;
    }
}

.welcome-image-circle {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background-color: #505050;
    z-index: 1;

    box-shadow:
    inset 12px 12px 24px rgba(0, 0, 0, 0.7),
    inset -4px -4px 10px rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .welcome-image-circle {
        width: 200px;
        height: 200px;
    }
}

.welcome-img img {
    position: absolute;
    bottom: 25px;
    width: 340px;
    height: 340px;
    z-index: 2;

    filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.7));

    filter:
        contrast(114%)
        brightness(1.05)
        drop-shadow(0 18px 25px rgba(0,0,0,0.5));

    -webkit-user-drag: none;
    -webkit-user-select: none;
    -select: none;
    pointer-events: none;
}

@media (max-width: 768px) {
    .welcome-img img {
        width: 200px;
        height: 200px;
    }
}

.servicecards-container {
    position: relative;
    margin-left: 100px;
    margin-right: 100px;

    z-index: 1;
}

@media (max-width: 768px) {
    .servicecards-container {
        top: 170px;
        margin-left: 30px;
        margin-right: 30px;
    }
}

.servicecards-container h1 {
    margin: 0;
    margin-top: 40px;
    margin-bottom: 20px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .service-cards {
        grid-template-columns: 2fr;
    }
}

.service-card {
    width: auto;
    height: auto;
    background-color: #141414;
    border-radius: 25px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    
    box-sizing: border-box;
    padding: 20px;
    
    transition: transform 0.4s ease, box-shadow 0.7s ease, border-color 0.4s ease;
    cursor: pointer;

    transform-style: preserve-3d;
}

@media (max-width: 768px) {

}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: #555;
}

.service-card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-card h2 {
    margin: 0;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;

    transform: translateZ(20px);
}

.service-card p {
    margin: 0;
    margin-bottom: 15px;
    color: #a1a1a1;
    font-size: 14px;
    line-height: 1.4;
    max-width: 90%;
}

.service-card a {
    padding: 10px 24px;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    
    background-color: transparent;
    box-shadow: inset 0 0 0 1px #ffffff;
    border-radius: 17px;
    
    transition: all 0.5s ease;
    transform: translateZ(20px);
}

.service-card a:hover {
    background-color: #ffffff;
    color: #141414;
    box-shadow: inset 0 0 0 1px #ffffff;
}

.test {
    position: relative;
    margin-top: 73px;
    width: 100vw;
    height: 600px;
    background-color: #141414;
}




/* END PAGE */
@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
.end-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.end-section .wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ce0606;
  box-shadow: inset 0 0 50px #0e0e0e;
  transition: 0.5s;
}
.end-section .wave span {
  content: "";
  position: absolute;
  width: 325vh;
  height: 325vh;
  top: 0;
  left: 50%;
  transform: translate(-50%, -75%);
  background: #000;
}
.end-content {
  position: relative;
  z-index: 1;
  font-size: 4em;
  letter-spacing: 2px;
  color: #fff;
}
.end-section .wave span:nth-child(1) {
  border-radius: 45%;
  background: #141414;
  animation: animate 5s linear infinite;
}

.end-section .wave span:nth-child(2) {
  border-radius: 40%;
  background: #0e0e0e80;
  animation: animate 10s linear infinite;
}
.end-section .wave span:nth-child(3) {
  border-radius: 42.5%;
  background: rgba(20, 20, 20, 0.5);
  animation: animate 15s linear infinite;
}
@keyframes animate {
  0% {
    transform: translate(-50%, -75%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -75%) rotate(360deg);
  }
}