.youtube-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('assets/youtube-bg.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}
.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}
.video-item {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.video-item:hover {
    transform: scale(1.05);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 50px 0;
}
.stat-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}
.stat-card:hover {
    background: var(--main);
    transform: translateY(-10px);
}
.youtube-video {
    width: 100%;
    height: 400px;
    border: none;
    margin: 20px 0;
}
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    nav ul.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
}

/* Адаптація для екранів до 1200px */
@media (max-width: 1200px) {
    .container {
      width: 95%;
      max-width: 100%;
      padding: 0 15px;
    }
    
    .header, .footer {
      padding: 15px 0;
    }
    
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Адаптація для планшетів (768px - 992px) */
  @media (max-width: 992px) {
    .services-grid {
      grid-template-columns: 1fr;
    }
    
    .video-production-steps {
      flex-direction: column;
    }
    
    .step {
      width: 100%;
      margin-bottom: 20px;
    }
    
    .contact-form {
      width: 100%;
      padding: 20px;
    }
  }
  
  /* Адаптація для мобільних (до 768px) */
  @media (max-width: 768px) {
    .header-nav {
      display: none; /* Можна замінити на бургер-меню */
    }
    
    .mobile-menu-btn {
      display: block;
    }
    
    .hero h1 {
      font-size: 2rem;
    }
    
    .hero p {
      font-size: 1rem;
    }
    
    .pricing-table {
      overflow-x: auto;
    }
    
    table {
      width: 100%;
      display: block;
      overflow-x: auto;
    }
  }
  
  /* Додаткові дрібні екрани (до 576px) */
  @media (max-width: 576px) {
    .btn {
      padding: 8px 15px;
      font-size: 14px;
    display: block;
      width: 100%;
      margin-bottom: 10px;
    text-align: center;
    }
    
    .hero {
      padding: 50px 0;
    }
    
    .hero h1 {
      font-size: 1.5rem;
    }
    
    .footer-links {
      flex-direction: column;
    }
    
    .footer-links a {
      margin: 5px 0;
    }
  }

  .video-showcase {
    padding: 60px 0;
    background: transparent;
  }
  
  .section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #333;
  }
  
  .video-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .video-item {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  /* Адаптивні стилі */
  @media (max-width: 992px) {
    .video-showcase {
      padding: 50px 0;
    }
    
    .section-title {
      font-size: 2.2rem;
      margin-bottom: 35px;
    }
    
    .video-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px;
    }
  }
  
  @media (max-width: 768px) {
    .video-showcase {
      padding: 40px 0;
    }
    
    .section-title {
      font-size: 2rem;
      margin-bottom: 30px;
    }
  }
  
  @media (max-width: 576px) {
    .video-showcase {
      padding: 30px 0;
    }
    
    .section-title {
      font-size: 1.8rem;
      margin-bottom: 25px;
    }
    
    .video-container {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }
  
  @media (max-width: 400px) {
    .section-title {
      font-size: 1.5rem;
    }
    
    .video-container {
      gap: 15px;
    }
  }

  .youtube-stats {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
  }
  
  .section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: #222;
    position: relative;
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  
  .stat-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  }
  
  .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #d62b2b;
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
  }
  
  .stat-label {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
  }
  
  /* Анімація чисел */
  @keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .stat-number.animated {
    animation: countUp 1s ease-out forwards;
  }
  
  /* Адаптивні стилі */
  @media (max-width: 992px) {
    .stats-grid {
      gap: 20px;
    }
    
    .stat-number {
      font-size: 2.5rem;
    }
    
    .stat-label {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 768px) {
    .youtube-stats {
      padding: 60px 0;
    }
    
    .section-title {
      margin-bottom: 40px;
      font-size: 2.2rem;
    }
    
    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    
    .stat-card {
      padding: 25px 25px;
    }
  }
  
  @media (max-width: 576px) {
    .youtube-stats {
      padding: 50px 0;
    }
    
    .section-title {
      font-size: 1.8rem;
      margin-bottom: 30px;
    }
    
    .stats-grid {
      grid-template-columns: 1fr;
      max-width: 400px;
      margin: 0 auto;
    }
    
    .stat-number {
      font-size: 2.2rem;
    }
  }
  
  @media (max-width: 400px) {
    .section-title {
      font-size: 1.6rem;
    }
    
    .stat-card {
      padding: 20px 20px;
    }
  }

  .video-showcase, .youtube-stats {
    padding: 80px 0;
    color: #fff;
  }
  
  .section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    position: relative;
  }
  
  /* Стилі для анімації цифр */
  .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #d62b2b; /* Червоний колір для цифр */
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .stat-number.animated {
    opacity: 1;
    transform: translateY(0);
  }
  
  .stat-label {
    font-size: 1.1rem;
    color: #ccc; /* Світло-сірий колір для тексту */
    font-weight: 500;
  }
  
  .stat-card {
    background: #DB0101;
}

.stat-number {
  color: white;
  font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
    /* Видалено opacity і transform з базових стилів */
    display: block;
    transition: all 0.5s ease;
    opacity: 1 !important;
    transform: translateY(0) !important;
    color: #ffffff !important; /* Червоний колір цифр */
}

/* Додаткові стилі для контейнера */
.youtube-stats {
  opacity: 1 !important; /* Перезаписуємо можливі інші стилі */
}