        :root {
            --primary: #2a2118;
            --secondary: #3d2e20;
            --accent: #d4a76a;
            --text: #f5f5f5;
            --text-secondary: #cccccc;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--primary);
            color: var(--text);
            overflow-x: hidden;
        }

        /* Smooth scroll behavior */
        html {
            scroll-behavior: smooth;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 20px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            background-color: rgba(42, 33, 24, 0.9);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        nav.scrolled {
            padding: 15px 5%;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }

        .logo {
            font-size: 24px;
            font-weight: 700;
            color: var(--accent);
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            color: var(--text);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .cta-button {
            background-color: var(--accent);
            color: var(--primary);
            padding: 10px 25px;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            border: 2px solid var(--accent);
        }

        .cta-button:hover {
            background-color: transparent;
            color: var(--accent);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* Hero Section */
        .hero {
    position: relative; /* Ensure video and content are positioned relative to this */
    height: 100vh; /* Full viewport height */
    display: flex; /* Center content */
    align-items: center; /* Vertically center content */
    padding: 0 10%; /* Consistent padding */
    overflow: hidden; /* Prevent overflow */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes the video cover the entire section */
    z-index: -2; /* Places video behind all other content */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 33, 24, 0.5); /* Semi-transparent overlay */
    z-index: -1; /* Places overlay above video but below content */
}

.hero-content {
    position: relative;
    z-index: 1; /* Ensures content is above video and overlay */
    max-width: 600px; /* Constrain content width */
    opacity: 0; /* For animation */
    transform: translateY(50px); /* For animation */
    animation: fadeInUp 1s forwards 0.5s; /* Restore animation */
}
        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero h1 span {
            color: var(--accent);
        }

        .hero p {
            font-size: 18px;
            margin-bottom: 30px;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
        }

        .secondary-button {
            background-color: transparent;
            color: var(--accent);
            padding: 10px 25px;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            border: 2px solid var(--accent);
        }

        .secondary-button:hover {
            background-color: var(--accent);
            color: var(--primary);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* About Section */
        .section {
            padding: 100px 10%;
            position: relative;
            overflow: hidden;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
            opacity: 0;
            transform: translateY(30px);
        }

        .section-title h2 {
            font-size: 36px;
            margin-bottom: 15px;
        }

        .section-title p {
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .about-content {
            display: flex;
            gap: 50px;
            align-items: center;
        }

        .about-text {
            flex: 1;
            opacity: 0;
            transform: translateX(-50px);
        }

        .about-image {
            flex: 1;
            opacity: 0;
            transform: translateX(50px);
        }

        .about-image img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        /* Services Section */
        .services {
            background-color: var(--secondary);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .service-card {
            background-color: var(--primary);
            padding: 40px 30px;
            border-radius: 10px;
            transition: all 0.3s;
            opacity: 0;
            transform: translateY(50px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        }

        .service-icon {
            font-size: 40px;
            color: var(--accent);
            margin-bottom: 20px;
        }

        .service-card h3 {
            font-size: 22px;
            margin-bottom: 15px;
        }

        .service-card p {
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* Clients Section */
        .clients-logos {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 40px;
            margin-top: 50px;
        }

        .client-logo {
            opacity: 0;
            transition: all 0.3s;
            max-width: 200px;
            max-height: 100px;
            object-fit: contain;
        }

        .client-logo:hover {
            filter: grayscale(0%);
        }

        /* How It Works Section */
        .steps {
            display: flex;
            flex-direction: column;
            gap: 30px;
            max-width: 800px;
            margin: 0 auto;
        }

        .step {
            display: flex;
            gap: 30px;
            align-items: flex-start;
            opacity: 0;
            transform: translateX(-50px);
        }

        .step-number {
            background-color: var(--accent);
            color: var(--primary);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 700;
            font-size: 20px;
            flex-shrink: 0;
        }

        .step-content h3 {
            font-size: 22px;
            margin-bottom: 10px;
        }

        .step-content p {
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* CTA Section */
        .cta-section {
            text-align: center;
            background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
            padding: 80px 10%;
        }

        .cta-section h2 {
            font-size: 36px;
            margin-bottom: 20px;
        }

        .cta-section p {
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto 40px;
            line-height: 1.6;
        }

        /* Footer */
        footer {
            background-color: #1a130d;
            padding: 60px 10% 30px;
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            gap: 50px;
            margin-bottom: 40px;
        }

        .footer-column {
            flex: 1;
            min-width: 250px;
        }

        .footer-column h3 {
            color: var(--accent);
            margin-bottom: 20px;
            font-size: 18px;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 10px;
        }

        .footer-column ul li a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-column ul li a:hover {
            color: var(--accent);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            color: var(--text-secondary);
            font-size: 20px;
            transition: color 0.3s;
        }

        .social-links a:hover {
            color: var(--accent);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-secondary);
            font-size: 14px;
        }

        /* Animations */
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInLeft {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInRight {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Responsive */
        @media (max-width: 992px) {
            .about-content {
                flex-direction: column;
            }
            
            .about-text, .about-image {
                transform: none !important;
            }
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 36px;
            }
            
            .hero p {
                font-size: 16px;
            }
            
            .hero-buttons {
                flex-direction: column;
                gap: 15px;
            }
            
            .section-title h2 {
                font-size: 30px;
            }
            
            .step {
                flex-direction: column;
                gap: 15px;
            }
        }

        @media (max-width: 576px) {
            nav {
                padding: 15px 5%;
            }
            
            .nav-links {
                display: none;
            }
            
            .hero {
                padding: 0 5%;
                text-align: center;
            }
            
            .hero-buttons {
                justify-content: center;
            }
            
            .section {
                padding: 70px 5%;
            }
        }

        /* Cases Section */
        .cases-grid {
            display: grid;
            grid-template-columns: 1fr 1fr; /* Две колонки */
            gap: 40px;
            margin-top: 60px;
        }

        .case-item {
            background-color: var(--secondary);
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            overflow: hidden; /* Чтобы скруглить углы у картинки */
            transition: all 0.3s ease;
            opacity: 0; /* Для анимации */
            transform: translateY(50px); /* Для анимации */
        }

        .case-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        }

        .case-image {
            width: 100%;
            height: auto;
            display: block; /* Убирает лишний отступ под картинкой */
        }

        /* Адаптивность для секции с кейсами */
        @media (max-width: 992px) {
            .cases-grid {
                grid-template-columns: 1fr; /* Одна колонка на планшетах и мобильных */
            }
        }



          /* Стили для страницы регистрации */
        .registration-section {
            padding: 120px 10% 80px; /* Отступ сверху, чтобы избежать перекрытия навигацией */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            text-align: center;
        }

        .registration-section h1 {
            font-size: 48px;
            color: var(--accent);
            margin-bottom: 20px;
        }

        .registration-info {
            max-width: 700px;
            margin-bottom: 50px;
            line-height: 1.6;
        }

        .registration-info p {
            font-size: 18px;
            margin-bottom: 10px;
            color: var(--text-secondary);
        }

        .registration-info a {
            color: var(--accent);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .registration-info a:hover {
            color: var(--text);
        }

        .registration-form-container {
            background-color: var(--secondary);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            max-width: 500px;
            width: 100%;
            margin: 0 auto;
        }

        .registration-form h2 {
            font-size: 30px;
            margin-bottom: 30px;
            color: var(--accent);
        }

        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--text);
        }

        .form-group input[type="text"],
        .form-group input[type="email"],
        .form-group input[type="tel"],
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 5px;
            background-color: var(--primary);
            color: var(--text);
            font-size: 16px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--accent);
            outline: none;
            box-shadow: 0 0 0 3px rgba(212, 167, 106, 0.2);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .submit-button {
            background-color: var(--accent);
            color: var(--primary);
            padding: 12px 30px;
            border: none;
            border-radius: 30px;
            font-weight: 600;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
            max-width: 250px;
        }

        .submit-button:hover {
            background-color: transparent;
            color: var(--accent);
            border: 2px solid var(--accent);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        #form-status {
            margin-top: 20px;
            font-size: 16px;
            font-weight: 600;
        }

        .success {
            color: #4CAF50; /* Зеленый цвет для успеха */
        }

        .error {
            color: #F44336; /* Красный цвет для ошибки */
        }

        /* Адаптивность для формы */
        @media (max-width: 768px) {
            .registration-section h1 {
                font-size: 38px;
            }
            .registration-info p {
                font-size: 16px;
            }
            .registration-form-container {
                padding: 30px;
            }
            .registration-form h2 {
                font-size: 26px;
            }
            .form-group input, .form-group textarea {
                padding: 10px 12px;
                font-size: 15px;
            }
            .submit-button {
                padding: 10px 25px;
                font-size: 16px;
            }
        }

        @media (max-width: 576px) {
            .registration-section {
                padding: 100px 5% 50px;
            }
            .registration-section h1 {
                font-size: 32px;
            }
            .registration-info {
                margin-bottom: 30px;
            }
            .registration-form-container {
                padding: 20px;
            }
            .registration-form h2 {
                font-size: 22px;
            }
        }
