* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.custom-cursor {
    cursor: url('1.png'), auto;
  }

body {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    background-color: #0f0f1e;
    line-height: 1.6;
    cursor: url('1.png'), auto;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.navbar {
    background-color: rgba(15, 15, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease-in-out;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: #64ffda;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    color: #6a98f0;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
}

.nav-link {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.nav-link:hover {
    color: #64ffda;
}

.nav-button {
    background: linear-gradient(45deg, #64ffda, #6a98f0);
    color: #0f0f1e;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff;
}

main {
    padding-top: 80px;
}

section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(45deg, #64ffda, #6a98f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #64ffda;
    text-align: center;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #64ffda, #6a98f0);
    color: #0f0f1e;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.grid-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.1);
}

.icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.case-item img, .team-member img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.team-member img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.pricing-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.1);
}

.pricing-item.featured {
    background-color: rgba(100, 255, 218, 0.1);
    border: 2px solid #64ffda;
}

.pricing-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-item .price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #64ffda;
}

.pricing-item ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-item ul li {
    margin-bottom: 10px;
}

.order-form, .contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ccd6f6;
    font-size: 1rem;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ccd6f6' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

select option {
    background-color: #0a192f;
    color: #ccd6f6;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, #64ffda, #6a98f0);
    color: #0f0f1e;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(15, 15, 30, 0.8);
}

/* Новые стили для секции контактов */
.contacts-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 20px;
    color: #64ffda;
}

.social-links {
    margin-top: 20px;
}

.social-icon {
    display: inline-block;
    margin-right: 10px;
    color: #64ffda;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #6a98f0;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(15, 15, 30, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .contacts-container {
        flex-direction: column;
    }
}

/* Style the loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Make sure it's on top of everything */
  }
  
  .loading img {
    width: 50px;
    height: 50px;
    animation: spin 5s linear infinite;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  @media (max-width: 768px) {
    h1 {
      font-size: 24px; /* измените размер шрифта на мобильном устройстве */
      line-height: 1.2; /* измените межстрочный интервал */
      margin-bottom: 10px; /* добавьте нижний отступ */
    }
  }