@import url("https://fonts.cdnfonts.com/css/pp-neue-montreal");

@font-face {
  font-family: "PPSupplyMono";
  src: url("https://assets.codepen.io/7558/PPSupplyMono-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Основные переменные - цвета теперь в colors.css */
  --font-primary: "PP Neue Montreal", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-secondary: "PPSupplyMono", "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  --font-sans: "PP Neue Montreal", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-small: 10px;
  --font-size-regular: 1rem;
  --font-size-medium: 1.5rem;
  --font-size-large: 4rem;
  --spacing-small: 0.5rem;
  --spacing-medium: 1rem;
  --spacing-large: 2rem;
  --transition-fast: 0.3s ease;
  --transition-medium: 0.3s ease;
  
  /* Цветовые переменные из colors.css */
  --warm-off-white: var(--text-primary);
  --warm-off-white-dim: var(--text-secondary);
  --background-dark: #000000;
  --background-gradient-1: var(--bg-partners);
  --background-gradient-2: var(--bg-projects);
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Плавный скролл для всех секций */
.section {
  scroll-margin-top: 80px;
}

/* Плавная прокрутка для навигации */
.nav-link {
  transition: all 0.3s ease;
}

/* Скрываем мобильные элементы на десктопе */
.mobile-header {
  display: none;
}

.mobile-sidebar {
  display: none;
}

.mobile-overlay {
  display: none;
}

.mobile-menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

/* Показываем десктопный header по умолчанию */
.desktop-header {
  display: block;
}

@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 20px;
  }
}

body {
  font-family: var(--font-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
  background-color: var(--background-dark);
  font-size: var(--font-size-small);
}

.section {
  width: 100%;
  min-height: 100vh;
  position: relative;
  box-sizing: border-box;
  padding: 0;
  background: #000000;
  /* Убираем все границы и отступы */
  border: none;
  margin: 0;
  /* Убираем зазоры между секциями */
  display: block;
  /* Убираем все возможные зазоры */
  line-height: 0;
  font-size: 0;
  /* Дополнительные настройки для устранения зазоров */
  overflow: hidden;
}

/* Невидимые границы для точного определения секций */
.hero-section {
  border-top: none;
  border-bottom: none;
}

/* Дополнительные правила для устранения зазоров между секциями */
.section + .section {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Убираем все возможные отступы у body и html */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: var(--font-primary);
}

/* Убираем зазоры у всех элементов секций */
.section * {
  margin: 0;
  padding: 0;
  border: none;
}

/* Восстанавливаем нормальные отступы только для контента */
.section-content {
  margin: 0;
  padding: 2rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

/* Дополнительные правила для устранения всех возможных зазоров */
* {
  box-sizing: border-box;
}

/* Убираем зазоры у всех элементов */
.section,
.section *,
.section::before,
.section::after {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

/* Специальные правила для секций с разными фонами */
.mission-section,
.approach-section,
.stats-section,
.digital-transformation-section,
.certificates-section,
.faq-section,
.partners-section,
.cta-section {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Projects Hero Section */
.projects-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-projects);
  z-index: 1;
  padding-top: 80px; /* Отступ для header */
}

.projects-hero .hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.projects-hero .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: #ffffff;
}

.projects-hero .hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #ffffff;
}

.projects-hero .hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.projects-hero .stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.projects-hero .stat-number {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  display: block;
}

.projects-hero .stat-label {
  font-size: 1rem;
  color: #ffffff;
  margin-top: 0.5rem;
}

/* Адаптивные стили для projects-hero */
@media (max-width: 768px) {
  .projects-hero {
    padding-top: 100px;
    min-height: 80vh;
  }
  
  .projects-hero .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .projects-hero .stat-item {
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .projects-hero {
    padding-top: 120px;
  }
  
  .projects-hero .hero-stats {
    gap: 0.8rem;
  }
  
  .projects-hero .stat-item {
    padding: 1rem;
  }
}

/* About Hero Section */
.about-hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  z-index: 1;
  padding-top: 0;
  overflow: hidden;
}

.about-hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7;
}

.about-hero .hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.about-hero .about-logo {
  margin-bottom: 2rem;
  text-align: center;
}

.about-hero .logo-text {
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: inline-block;
}

.about-hero .logo-text:hover {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.about-hero .trademark {
  font-size: 2rem;
  vertical-align: super;
  color: #ffffff;
}

.about-hero .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero .hero-subtitle {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin-bottom: 2rem;
  opacity: 1;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #f8f8f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.8px;
  cursor: default;
  position: relative;
  padding: 1rem 2rem;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-hero .hero-subtitle:hover {
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 30%, #f0f0f0 70%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  font-weight: 700;
  background-color: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.about-hero .hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.about-hero .stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.about-hero .stat-number {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  display: block;
}

.about-hero .stat-label {
  font-size: 1rem;
  color: #ffffff;
  margin-top: 0.5rem;
}

/* Contact Hero Section */
.contact-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  z-index: 1;
  padding-top: 80px; /* Отступ для header */
}

.contact-hero .hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.contact-hero .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero .hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #ffffff;
}

.contact-hero .hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-hero .stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.contact-hero .stat-number {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  display: block;
}

.contact-hero .stat-label {
  font-size: 1rem;
  color: #ffffff;
  margin-top: 0.5rem;
}

/* Services Hero Section */
.services-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  z-index: 1;
  padding-top: 80px; /* Отступ для header */
}

.services-hero .hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.services-hero .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-hero .hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #ffffff;
}

.services-hero .hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.services-hero .stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.services-hero .stat-number {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  display: block;
}

.services-hero .stat-label {
  font-size: 1rem;
  color: #ffffff;
  margin-top: 0.5rem;
}

/* Адаптивные стили для about-hero, contact-hero и services-hero */
@media (max-width: 768px) {
  .about-hero, .contact-hero, .services-hero {
    padding-top: 0;
    min-height: 100vh;
    height: 100vh;
  }
  
  .about-hero .hero-stats, .contact-hero .hero-stats, .services-hero .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .about-hero .stat-item, .contact-hero .stat-item, .services-hero .stat-item {
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .about-hero, .contact-hero, .services-hero {
    padding-top: 0;
    min-height: 100vh;
    height: 100vh;
  }
  
  .about-hero .hero-stats, .contact-hero .hero-stats, .services-hero .hero-stats {
    gap: 0.8rem;
  }
  
  .about-hero .stat-item, .contact-hero .stat-item, .services-hero .stat-item {
    padding: 1rem;
  }
}

/* Footer Styles */
.footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  margin: 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-info {
  text-align: center;
  color: #ffffff;
}

.footer-info p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-info p:first-child {
  font-weight: 400;
  color: #ffffff;
}

/* CTA Sections */
.about-cta, .projects-cta, .contact-cta {
  background: #000000;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-button {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-button.primary {
  background: linear-gradient(45deg, #ffffff, #ffffff);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 255, 204, 0.3);
}

.cta-button.primary:hover {
  box-shadow: 0 8px 25px rgba(0, 255, 204, 0.4);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.cta-button .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
  transform: translateX(4px);
}

/* Адаптивные стили для footer и CTA */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2rem 0 1.5rem;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
  
  .about-cta, .projects-cta, .contact-cta {
    padding: 1.5rem 0;
  }
  
  .cta-content {
    padding: 0 1rem;
  }
}

/* Contact Info Grid Styles */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 255, 204, 0.2);
}

.contact-info-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #ffffff, #ffffff);
  border-radius: 12px;
  color: #000;
}

.contact-info-content h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
  color: #ffffff;
  background: linear-gradient(45deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.contact-info-content p {
  margin: 0.8rem 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-info-content a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info-content a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Contact Map Styles */
.contact-map {
  margin-top: 3rem;
}

.contact-map h3 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(45deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
  border-radius: 12px;
}

/* Адаптивные стили для контактной информации */
@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-info-item {
    padding: 1.5rem;
  }
  
  .contact-info-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .contact-info-content h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .contact-info-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .contact-info-icon {
    align-self: center;
  }
  
  .contact-map h3 {
    font-size: 1.5rem;
  }
}

.about-company-section {
  margin: 0;
  padding: 0;
  border: none;
}

.partners-section {
  margin: 0;
  padding: 0;
  border: none;
}

.projects-section {
  background: #000000 !important;
  margin: 0;
  padding: 0;
  border: none;
}

.team-section {
  background: #000000 !important;
  margin: 0;
  padding: 0;
  border: none;
}

.contact-section {
  margin: 0;
  padding: 0;
  border: none;
}

.hero-section {
  padding: 0;
  min-height: 100vh;
  display: block;
  background: #000000;
  overflow: hidden;
  position: relative;
  z-index: 0;
  border: none;
  margin: 0;
}

/* Отдельный элемент для картинки */
.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/static/Images/Home.png');
  background-position: right -50px;
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: scroll;
  z-index: 5;
  pointer-events: none;
}

/* Убираем фоновое изображение */

/* Particles.js стили удалены */

/* Particles.js контейнер - под картинкой */
#particles-js {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

/* Принудительно устанавливаем z-index для canvas частиц */
#particles-js canvas {
  z-index: -1 !important;
  position: absolute !important;
}

/* Убеждаемся, что частицы находятся под всем в hero-section */
.hero-section #particles-js {
  z-index: -1 !important;
}

.hero-section #particles-js canvas {
  z-index: -1 !important;
}


/* Картинка/фон на переднем плане */
.hero-section {
  position: relative;
  z-index: 15;
}

.hero-section::before,
.hero-section::after,
.hero-section .hero-bg,
.hero-section .hero-image,
.hero-section .background-image {
  position: relative;
  z-index: 15;
}

.hero-section .stats-element,
.hero-section .hero-element,
.hero-section .hero-content,
.hero-section .hero-main-title,
.hero-section .hero-small-title,
.hero-section .hero-buttons {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* Позиционируем элементы абсолютно левее и чуть ниже */
.hero-section .stats-element {
  position: absolute;
  right: 4rem;
  top: 65%;
  transform: translateY(-50%);
}

.hero-section .hero-element {
  position: absolute;
  left: 4rem;
  top: 50%;
}

.fin-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-dark);
  z-index: 20;
  position: relative;
}

.fin-text {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0.05em;
}

/* Убираем глобальный узор */

#container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0f0f0f;
  z-index: 0;
  pointer-events: none;
}

#ui-container {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 100;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

#ui-container:hover {
  opacity: 1;
}

#stats {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Скрытие хедера во время воспроизведения видео */
.main-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Улучшенная анимация для хедера */
.main-header {
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Плавное появление хедера */
.main-header:not(.hidden) {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Принудительное скрытие хедера во время воспроизведения видео */
body.video-playing .main-header {
  transform: translateY(-100%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-link:active {
  transform: scale(0.95);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-container {
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 15px;
  overflow: visible;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  perspective: 1000px;
  gap: 2px;
}

.logo-container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.logo-part {
  font-size: 2rem;
  font-weight: 400;
  padding: 12px 20px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.logo-left {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #000;
  border-radius: 15px;
}

.logo-right {
  background: linear-gradient(135deg, #808080 0%, #696969 100%);
  color: #ffffff;
  border-radius: 15px;
}

.logo-container:hover .logo-left {
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e9ea 100%);
  transform: rotateY(-15deg) translateX(-5px);
}

.logo-container:hover .logo-right {
  background: linear-gradient(135deg, #a0a0a0 0%, #909090 100%);
  color: #ffffff;
  transform: rotateY(15deg) translateX(5px);
}

.logo-part::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  z-index: 1;
}

.logo-part::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Эффект слияния при ударе */
.logo-left::before {
  display: none;
}

.logo-right::before {
  display: none;
}

/* Эффекты воды и жидкости */
.logo-container {
  position: relative;
  overflow: visible;
}

.logo-container::before {
  display: none;
}

.logo-container::after {
  display: none;
}

/* Эффекты капель воды для каждой части */
.logo-left {
  position: relative;
}

.logo-left::before {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  border-radius: 50%;
  animation: waterDropLeft 1.8s ease-in-out 1 forwards;
  z-index: 3;
}

.logo-right {
  position: relative;
}

.logo-right::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  border-radius: 50%;
  animation: waterDropRight 1.8s ease-in-out 1 forwards;
  z-index: 3;
}

/* Эффекты брызг при ударе */
.logo-left::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, transparent 70%);
  border-radius: 50%;
  animation: waterSplashLeft 1.8s ease-out 1 forwards 0.4s;
  z-index: 4;
}

.logo-right::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -10px;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, transparent 70%);
  border-radius: 50%;
  animation: waterSplashRight 1.8s ease-out 1 forwards 0.4s;
  z-index: 4;
}

.logo-container:hover .logo-part::before {
  left: 100%;
}

/* Эффект удара - дополнительные элементы */
.logo-left::after {
  display: none;
}

.logo-right::after {
  display: none;
}

/* Анимации эффекта удара */
@keyframes impactLeft {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  15% {
    width: 10px;
    height: 10px;
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  30% {
    width: 25px;
    height: 25px;
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
  }
  45% {
    width: 40px;
    height: 40px;
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.5);
  }
  60% {
    width: 35px;
    height: 35px;
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.3);
  }
  100% {
    width: 0;
    height: 0;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}

@keyframes impactRight {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  15% {
    width: 10px;
    height: 10px;
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  30% {
    width: 25px;
    height: 25px;
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
  }
  45% {
    width: 40px;
    height: 40px;
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.5);
  }
  60% {
    width: 35px;
    height: 35px;
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.3);
  }
  100% {
    width: 0;
    height: 0;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}

/* Анимация потока жидкости */
@keyframes liquidFlow {
  0% {
    left: -100%;
    opacity: 0;
  }
  20% {
    left: -50%;
    opacity: 0.5;
  }
  40% {
    left: 0%;
    opacity: 1;
  }
  60% {
    left: 50%;
    opacity: 0.8;
  }
  80% {
    left: 100%;
    opacity: 0.3;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Анимация волн жидкости */
@keyframes liquidRipple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }
  30% {
    width: 20px;
    height: 20px;
    opacity: 0.6;
  }
  60% {
    width: 40px;
    height: 40px;
    opacity: 0.3;
  }
  100% {
    width: 60px;
    height: 60px;
    opacity: 0;
  }
}

/* Плавные анимации эффекта слияния */
@keyframes mergeEffectLeft {
  0% {
    left: -100%;
    opacity: 0;
    transform: scaleX(1);
  }
  30% {
    left: -30%;
    opacity: 0.6;
    transform: scaleX(1.3);
  }
  60% {
    left: 30%;
    opacity: 1;
    transform: scaleX(1.4);
  }
  100% {
    left: 100%;
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes mergeEffectRight {
  0% {
    left: 100%;
    opacity: 0;
    transform: scaleX(1);
  }
  30% {
    left: 30%;
    opacity: 0.6;
    transform: scaleX(1.3);
  }
  60% {
    left: -30%;
    opacity: 1;
    transform: scaleX(1.4);
  }
  100% {
    left: -100%;
    opacity: 0;
    transform: scaleX(1);
  }
}

/* Анимация слияния - только соединение */
@keyframes logoLeftMerge {
  0% {
    transform: translateX(-30px) scale(0.8) rotateY(-10deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  30% {
    transform: translateX(-15px) scale(0.9) rotateY(-5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
  60% {
    transform: translateX(-5px) scale(0.95) rotateY(-2deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  }
  100% {
    transform: translateX(0) scale(1) rotateY(0deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
}

@keyframes logoRightMerge {
  0% {
    transform: translateX(30px) scale(0.8) rotateY(10deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  30% {
    transform: translateX(15px) scale(0.9) rotateY(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
  60% {
    transform: translateX(5px) scale(0.95) rotateY(2deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  }
  100% {
    transform: translateX(0) scale(1) rotateY(0deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
}

/* Эффект соединения при hover */
.logo-container:hover .logo-left::after {
  content: '';
  position: absolute;
  top: 0;
  right: -2px;
  width: 4px;
  height: 100%;
  background: linear-gradient(45deg, #fff, #2c3e50);
  border-radius: 0 4px 4px 0;
  z-index: 1;
}

.logo-container:hover .logo-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: -2px;
  width: 4px;
  height: 100%;
  background: linear-gradient(45deg, #2c3e50, #fff);
  border-radius: 4px 0 0 4px;
  z-index: 1;
}

.logo-container:hover {
  animation: none;
}

.logo-icon {
  position: relative;
  width: 50px;
  height: 50px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 400;
  transition: all 0.3s ease;
  padding: 20px;
  display: inline-block;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.main-nav a:hover {
  color: #ffffff;
  background: rgba(0, 255, 204, 0.1);
  border-color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 255, 204, 0.3);
}

.main-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.main-nav a:hover::before {
  left: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.lang-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  pointer-events: auto;
  z-index: 101;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 50px;
  text-align: center;
  pointer-events: auto;
  z-index: 102;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.lang-btn.lang-active {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.lang-btn:not(.lang-active) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  opacity: 0.9;
}

.lang-btn:not(.lang-active):hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.lang-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.lang-btn:hover::before {
  left: 100%;
}

.contact-info-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.contact-phone a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 400;
}

.contact-email a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.8;
}

.callback-link {
  font-size: 0.9rem;
}

.callback-link a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.8;
}

.callback-button {
  padding: 0.8rem 2rem;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
}

.callback-button:hover {
  background: #ffffff;
}



.hero {
  text-align: center;
  z-index: 10;
  color: var(--text-primary);
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

.hero h1 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 5rem;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-transform: none;
  margin-bottom: 2rem;
  margin: 0 0 2rem 0;
}

.hero h2 {
  font-family: var(--font-secondary);
  font-size: var(--font-size-small);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  font-weight: normal;
  margin: 0;
}

.hero:hover h2 {
  opacity: 1;
}

.contact-info {
  position: fixed;
  top: 50%;
  left: var(--spacing-large);
  transform: translateY(-50%);
  z-index: 10;
  font-family: var(--font-secondary);
  letter-spacing: 0.05em;
  font-size: var(--font-size-small);
  color: var(--text-primary);
  text-transform: uppercase;
}

.contact-heading {
  font-size: var(--font-size-small);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-small);
}

.contact-email {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.contact-email:hover {
  color: var(--text-secondary);
}

.footer-links {
  position: fixed;
  bottom: var(--spacing-large);
  left: var(--spacing-large);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--font-size-regular);
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  padding-left: 0;
  text-transform: none;
  font-size: 1rem;
}

.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background-color: var(--text-primary);
  transform: translateY(-50%);
  transition: width var(--transition-fast), opacity var(--transition-fast);
  opacity: 0;
}

.footer-link:hover {
  color: var(--text-primary);
  padding-left: 1.2rem;
}

.footer-link:hover::before {
  width: 0.8rem;
  opacity: 1;
}

.coordinates {
  position: fixed;
  bottom: var(--spacing-large);
  right: var(--spacing-large);
  text-align: right;
  z-index: 10;
  font-family: var(--font-secondary);
  font-size: var(--font-size-small);
  color: var(--text-secondary);
}

.tp-dfwv {
  min-width: 280px !important;
}

.section {
  transition: all 0.6s ease;
}

@media (max-width: 768px) {
  /* Скрываем десктопный header */
  .desktop-header {
    display: none !important;
  }

  /* Показываем мобильный header */
  .mobile-header {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
  }

  .mobile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-logo .logo-part {
    font-size: 0.7rem;
    padding: 2px 4px;
  }

  .mobile-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .mobile-callback-btn {
    background: var(--accent-color);
    border: none;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-callback-btn:hover {
    background: #e60000;
    transform: translateY(-1px);
  }

  /* Мобильная боковая панель */
  .mobile-sidebar {
    display: block !important;
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  .mobile-sidebar.active {
    left: 0;
  }

  .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sidebar-lang-switcher {
    display: flex;
    gap: 0.5rem;
  }

  .sidebar-lang-switcher .lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .sidebar-lang-switcher .lang-btn:hover,
  .sidebar-lang-switcher .lang-btn.lang-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
  }

  .sidebar-close {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
  }

  .sidebar-close span {
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .sidebar-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .sidebar-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .sidebar-nav {
    padding: 1rem 0;
  }

  .sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .sidebar-nav li {
    margin: 0;
  }

  .sidebar-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
  }

  .sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
  }

  .sidebar-contact {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sidebar-contact-item {
    margin-bottom: 0.75rem;
  }

  .sidebar-contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }

  .sidebar-contact-item a:hover {
    color: var(--accent-color);
  }

  .sidebar-lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .sidebar-lang-switcher .lang-btn {
    font-size: 14px;
    padding: 6px 12px;
    min-width: 45px;
  }

  .sidebar-callback-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .sidebar-callback-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
  }

  /* Overlay */
  .mobile-overlay {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Гамбургер меню */
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Отступ для контента */
  .section {
    padding-top: 60px;
  }

  .hero-section {
    padding-top: 60px;
  }

  /* Убираем старые стили */
  .main-header {
    display: none !important;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
  }

  /* МОБИЛЬНАЯ ВЕРСИЯ ГЛАВНОЙ СТРАНИЦЫ - ИСПРАВЛЕННАЯ */
  .hero-section {
    position: relative !important;
    min-height: 100vh !important;
    height: 100vh !important;
    padding: 80px 1rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%) !important;
    overflow: hidden !important;
    gap: 1.5rem !important;
  }

  /* Фоновые элементы */
  .hero-background-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('/static/Images/Home.png') center/cover !important;
    opacity: 0.2 !important;
    z-index: 1 !important;
  }

  #particles-js {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    opacity: 0.6 !important;
  }

  /* СБРОС ВСЕХ СТАРЫХ СТИЛЕЙ */
  .hero-section .hero-element,
  .hero-section .stats-element {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
  }

  /* Основной контент - главный акцент */
  .hero-element {
    z-index: 10 !important;
    width: 100% !important;
    max-width: 320px !important;
    text-align: center !important;
    margin: 0 auto !important;
    order: 1 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 1rem !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    pointer-events: auto !important;
    flex-shrink: 0 !important;
  }

  .hero-small-title {
    font-size: 0.8rem !important;
    margin-bottom: 1rem !important;
    color: var(--accent-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
  }

  .hero-main-title {
    margin-bottom: 2rem !important;
  }

  .hero-title-line1,
  .hero-title-line2 {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.8rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: block !important;
  }

  .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
    align-items: center !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
  }

  .hero-btn {
    width: 100% !important;
    max-width: 220px !important;
    padding: 0.7rem 1.2rem !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    text-align: center !important;
  }

  .hero-btn-primary {
    background: #fff !important;
    color: #000 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }

  .hero-btn-primary:hover {
    background: #ffffff !important;
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3) !important;
    transform: translateY(-2px) !important;
  }

  .hero-btn-secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ccc !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }

  .hero-btn-secondary:hover {
    background: #fff !important;
    color: #000 !important;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
  }

  /* Статистический элемент - скрыт */
  .stats-element {
    display: none !important;
  }

  .stats-left {
    margin-bottom: 0.3rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.1rem !important;
  }

  .stats-number {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--accent-color) !important;
    line-height: 1 !important;
  }

  .stats-plus {
    font-size: 1rem !important;
    color: var(--accent-color) !important;
    line-height: 1 !important;
  }

  .stats-label {
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.15rem !important;
    color: white !important;
  }

  .stats-description {
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }

  .stats-description div {
    margin-bottom: 0.03rem !important;
  }

  .footer-links {
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 100vh !important;
    height: 100vh !important;
    padding: 70px 0.75rem 2rem !important;
    gap: 0 !important;
  }

  .hero-element {
    max-width: 280px !important;
    margin: 0 auto !important;
    padding: 0.8rem !important;
  }

  .hero-title-line1,
  .hero-title-line2 {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.6rem !important;
  }

  .hero-btn {
    max-width: 200px !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.8rem !important;
  }

  .stats-element {
    display: none !important;
  }

  .mobile-header {
    padding: 0.5rem 0.75rem;
  }

  .mobile-logo .logo-part {
    font-size: 0.8rem;
    padding: 2px 4px;
  }

  .mobile-callback-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }

  .mobile-sidebar {
    width: 260px;
  }
}

  .header-area,
  .contact-info,
  .footer-links,
  .coordinates {
    padding: 0 var(--spacing-medium);
  }

  .logo-container,
  .contact-info,
  .footer-links {
    left: var(--spacing-medium);
  }

  .coordinates {
    right: var(--spacing-medium);
  }

  .hero h1 {
    font-size: 2.2rem;
  }


  .logo-part {
    font-size: 1.3rem;
    padding: 8px 12px;
  }

  .stats-element {
    bottom: 2rem;
    right: 0.5rem;
    min-height: 100px;
  }

  .stats-left {
    padding: 1.5rem 1rem;
    min-width: 60px;
  }

  .stats-number {
    font-size: 5rem;
  }

  .stats-plus {
    font-size: 4rem;
  }

  .stats-right {
    padding: 1.5rem 1rem;
  }

  .stats-label {
    font-size: 1.5rem;
  }

  .stats-description {
    font-size: 1.5rem;
  }

  .stats-divider {
    height: 60px;
  }

  .hero-element {
    bottom: 2rem;
    left: 0.5rem;
    padding: 1.5rem;
  }

  .hero-small-title {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  .hero-title-line1 {
    font-size: 2rem;
  }

  .hero-title-line2 {
    font-size: 2rem;
  }

  .hero-main-title {
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 0.8rem;
    flex-wrap: nowrap;
    width: 100%;
  }

  .hero-btn {
    font-size: 1.2rem;
    padding: 1.2rem 1.5rem;
  }

  .contact-heading {
    font-size: 10px;
  }

  .contact-email {
    font-size: 10px;
  }

  .main-nav a {
    font-size: 1.2rem;
    padding: 12px;
  }

  .lang-btn {
    font-size: 12px;
    padding: 5px 10px;
    min-width: 40px;
  }

  .story-display {
    width: 95%;
    font-size: 0.75rem;
  }
}

/* New Section Styles */
.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 2rem;
  opacity: 0.8;
  font-weight: 400;
  color: #ffffff;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-primary, .btn-secondary {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  background: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #000;
}

/* Services Section */
.services-section {
  padding: 4rem 0;
  background: #000000;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.services-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #ffffff;
  font-weight: 400;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: #ffffff;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-card p {
  color: #ffffff;
  line-height: 1.6;
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background: #0f0f0f;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #ffffff;
  font-weight: 400;
}

.about-section p {
  font-size: 1.2rem;
  text-align: center;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background: #555555;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #ffffff;
  font-weight: 400;
}

/* Section Base Styles */
.section {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  margin: 0;
  border: none;
}

.section-content {
  width: 100%;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Восстанавливаем нормальные размеры шрифта */
  font-size: 1rem;
  line-height: 1.5;
}

.section-content h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 3rem;
}

/* Mission Section */
.mission-section {
  background: #111111;
  margin: 0;
  padding: 0;
}

/* Approach Section */
.approach-section {
  background: #0a0a0a;
  margin: 0;
  padding: 0;
}

/* Stats Section */
.stats-section {
  background: #111111;
  margin: 0;
  padding: 0;
}

/* Digital Transformation Section */
.digital-transformation-section {
  background: #0a0a0a;
  margin: 0;
  padding: 0;
  border: none;
  position: relative;
  top: 0;
}

/* Certificates Section */
.certificates-section {
  background: #111111;
  margin: 0;
  padding: 0;
  border: none;
  position: relative;
  top: 0;
}

/* FAQ Section */
.faq-section {
  background: #0a0a0a;
  margin: 0;
  padding: 0;
  border: none;
  position: relative;
  top: 0;
}

/* Partners Section */
.partners-section {
  background: #111111;
  margin: 0;
  padding: 0;
  border: none;
  position: relative;
  top: 0;
}

/* CTA Section */
.cta-section {
  background: #0a0a0a;
  margin: 0;
  padding: 0;
}


/* Certificate Photos */
.certificate-photo {
  width: 200px;
  height: 150px;
  border-radius: 10px;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.certificate-photo .photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(45deg, #444, #666);
}

.certificate-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.certificate-item:nth-child(1) { animation-delay: 0.2s; }
.certificate-item:nth-child(2) { animation-delay: 0.4s; }
.certificate-item:nth-child(3) { animation-delay: 0.6s; }
.certificate-item:nth-child(4) { animation-delay: 0.8s; }

.about-company-section .container {
  position: relative;
  z-index: 2;
}

.about-company-section h2 {
  font-size: 2.2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 4rem;
  color: #ffffff;
  font-family: var(--font-primary);
}

.company-info h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #ffffff;
  font-family: var(--font-primary);
}

/* Простые переходы для всех элементов секций */
.section-element {
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.section-element.fade-out {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.section-element.fade-in {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Специфичные переходы для разных типов элементов */
.company-info,
.company-stats,
.sponsors-grid,
.projects-grid,
.team-grid,
.stats-element {
  transition: all 0.3s ease;
}

/* Живые анимации появления */
@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    filter: blur(3px);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-10px) scale(1.02);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px) scale(0.9);
    filter: blur(3px);
  }
  50% {
    opacity: 0.7;
    transform: translateX(10px) scale(1.02);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0px);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(60px) scale(0.9);
    filter: blur(3px);
  }
  50% {
    opacity: 0.7;
    transform: translateX(-10px) scale(1.02);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0px);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

@keyframes logoAppear {
  0% {
    opacity: 0;
    transform: scale(0.8) rotateY(-15deg);
    filter: blur(3px);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05) rotateY(5deg);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
    filter: blur(0px);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8) rotateY(10deg);
    filter: blur(3px);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05) rotateY(-2deg);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
    filter: blur(0px);
  }
}

/* Живые анимации исчезновения */
@keyframes slideOutDown {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
  50% {
    opacity: 0.7;
    transform: translateY(20px) scale(0.98);
    filter: blur(1px);
  }
  100% {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    filter: blur(3px);
  }
}

@keyframes slideOutLeft {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0px);
  }
  50% {
    opacity: 0.7;
    transform: translateX(-20px) scale(0.98);
    filter: blur(1px);
  }
  100% {
    opacity: 0;
    transform: translateX(-60px) scale(0.9);
    filter: blur(3px);
  }
}

@keyframes slideOutRight {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0px);
  }
  50% {
    opacity: 0.7;
    transform: translateX(20px) scale(0.98);
    filter: blur(1px);
  }
  100% {
    opacity: 0;
    transform: translateX(60px) scale(0.9);
    filter: blur(3px);
  }
}

@keyframes fadeOutScale {
  0% {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
    filter: blur(0px);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.95) rotateY(5deg);
    filter: blur(1px);
  }
  100% {
    opacity: 0;
    transform: scale(0.8) rotateY(10deg);
    filter: blur(3px);
  }
}

/* Статичные элементы без анимаций */
.hero-element {
  animation: none;
}

.stats-element {
  animation: none;
}

.company-info {
  animation: none;
}

.company-stats {
  animation: none;
}

.sponsors-grid {
  animation: none;
}

.projects-grid {
  animation: none;
}

.team-grid {
  animation: none;
}

/* Статичные элементы без анимаций исчезновения */
.hero-element.fade-out {
  animation: none;
}

.stats-element.fade-out {
  animation: none;
}

.company-info.fade-out,
.company-stats.fade-out,
.sponsors-grid.fade-out,
.projects-grid.fade-out,
.team-grid.fade-out {
  animation: none;
}

/* Простые переходы для всех элементов */
.section-element,
.stats-element,
.company-info,
.company-stats,
.sponsors-grid,
.projects-grid,
.team-grid {
  transition: all 0.3s ease;
}

.company-description {
  margin-bottom: 3rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.company-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: rgba(0, 255, 204, 0.3);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.about-company-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-company-text {
  margin-bottom: 4rem;
}

.about-company-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
  text-align: center;
}

.company-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-family: var(--font-secondary);
}

/* Inline Partners Section */
.partners-section-inline {
  margin: 0;
  padding: 0;
}

.partners-section-inline h3 {
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2rem;
  color: #ffffff;
  font-family: var(--font-primary);
}

/* Inline Team Section */
.team-section-inline {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.team-section-inline h3 {
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2rem;
  color: #ffffff;
  font-family: var(--font-primary);
}

/* Partners Section */
.partners-section {
  background: #222222;
  padding: 16rem 0;
  min-height: 140vh;
  display: flex;
  align-items: center;
}

.partners-section h2 {
  font-size: 5.5rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 8rem;
  color: #ffffff;
  font-family: var(--font-primary);
  line-height: 1.2;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.sponsor-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.sponsor-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Partners Scroll Animation */
.partners-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  position: relative;
  margin: 6rem 0;
  height: 180px;
  padding: 0 3rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

/* Стилизация скроллбара для WebKit браузеров */
.partners-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.partners-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.partners-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: background 0.3s ease;
}

.partners-scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.partners-scroll {
  display: flex;
  animation: scroll 60s linear infinite;
  gap: 3rem;
  align-items: center;
  height: 100%;
  width: max-content;
  cursor: grab;
  transition: transform 0.3s ease;
}

.partners-scroll:active {
  cursor: grabbing;
}

.partners-scroll:hover {
  animation-play-state: paused;
}

/* Останавливаем анимацию при взаимодействии с мышью */
.partners-scroll-container:hover .partners-scroll {
  animation-play-state: paused;
}

/* Останавливаем анимацию при фокусе на контейнере */
.partners-scroll-container:focus .partners-scroll {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  height: 140px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0 2.5rem;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
  transform: translateZ(0);
}

.partner-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05) translateZ(0);
}

/* Эффект выдвижения при ручной прокрутке */
.partners-scroll-container.scrolling .partner-item {
  transform: translateY(-10px) scale(1.02) translateZ(0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.partners-scroll-container.scrolling .partner-item:hover {
  transform: translateY(-15px) scale(1.08) translateZ(0);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.partner-logo {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* Стили для изображений логотипов партнеров */
.partner-logo-img {
  max-width: 280px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.partner-item:hover .partner-logo-img {
  transform: scale(1.1);
}

/* Company Features Styles */
.company-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-item h4 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
}

.feature-item p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
  opacity: 0.9;
}

/* Company Approach Styles */
.company-approach {
  margin: 3rem 0;
}

.company-approach h4 {
  font-size: 1.6rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 2rem;
  text-align: center;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Адаптивность для секций */
@media (max-width: 768px) {
  .company-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.approach-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.approach-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.approach-item h5 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.approach-item p {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.5;
  opacity: 0.8;
}

/* Digital Transformation Styles */
.digital-transformation {
  margin: 4rem 0;
  text-align: center;
}

.digital-transformation h3 {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
}

.digital-transformation p {
  font-size: 1.2rem;
  color: #ffffff;
  opacity: 0.9;
  margin-bottom: 3rem;
}

.transformation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.step-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.step-item:hover::before {
  left: 100%;
}

.step-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.step-item h4 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
}

.step-item p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
  opacity: 0.9;
}

/* Certificates Styles */
.certificates-section {
  margin: 0;
  padding: 0;
  text-align: center;
}

.certificates-section h3 {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
}

.certificates-section p {
  font-size: 1.2rem;
  color: #ffffff;
  opacity: 0.9;
  margin-bottom: 3rem;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.certificate-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
}

.certificate-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.certificate-logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: inline-block;
}

.certificate-item h4 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
}

.certificate-item p {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.5;
  opacity: 0.8;
}

/* FAQ Styles */
.faq-section {
  margin: 0;
  padding: 0;
}

.faq-section h3 {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 3rem;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item h4 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
}

.faq-item p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
  opacity: 0.9;
}

/* Scroll Animations - отключены для статичности */
.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 1;
  transform: scale(1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.sponsor-name {
  font-size: 1.25rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.sponsor-role {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: var(--font-secondary);
}

/* Projects Section */
.projects-section {
  background: #333333;
  padding: 8rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.projects-section h2 {
  font-size: 2.2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 4rem;
  color: #ffffff;
  font-family: var(--font-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.project-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.project-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.project-item:hover .project-icon {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.project-name {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-family: var(--font-primary);
}

.project-description {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.2rem;
  font-family: var(--font-secondary);
  line-height: 1.5;
}

.project-status {
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  display: inline-block;
  font-family: var(--font-secondary);
  background: rgba(0, 255, 204, 0.1);
  color: #ffffff;
  border: 1px solid rgba(0, 255, 204, 0.3);
}

.project-status.completed {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.project-status.in-progress {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

/* Team Section */
.team-section {
  background: #444444;
  padding: 8rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.team-section h2 {
  font-size: 2.2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 4rem;
  color: #ffffff;
  font-family: var(--font-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.team-member:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.member-avatar {
  font-size: 2rem;
  margin-bottom: 1.8rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.team-member:hover .member-avatar {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.member-name {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
  font-family: var(--font-primary);
  line-height: 1.3;
}

.member-role {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-family: var(--font-secondary);
  font-weight: 500;
  line-height: 1.3;
}

.member-skills {
  font-size: 1rem;
  color: #ffffff;
  font-family: var(--font-secondary);
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .about-company-section h2,
  .partners-section h2,
  .projects-section h2,
  .team-section h2 {
    font-size: 2rem;
  }
  
  .about-company-text p {
    font-size: 1rem;
  }
  
  .company-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .stat-item {
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .sponsors-grid,
  .projects-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .sponsor-item,
  .project-item,
  .team-member {
    padding: 1.5rem;
  }
  
  .partners-section {
    padding: 10rem 0;
    min-height: 120vh;
  }
  
  .partners-section h2 {
    font-size: 4rem;
    margin-bottom: 6rem;
  }
  
  .partner-item {
    min-width: 260px;
    height: 120px;
    padding: 0 2rem;
  }
  
  .partner-logo {
    font-size: 1.6rem;
  }
  
  .partner-logo-img {
    max-width: 220px;
    max-height: 90px;
  }
  
  .partners-scroll-container {
    height: 140px;
    margin: 4rem 0;
    padding: 0 2rem;
  }
  
  .partners-scroll {
    gap: 3rem;
  }
  
  .projects-section,
  .team-section {
    padding: 6rem 0;
  }
}

@media (max-width: 480px) {
  .about-company-section h2,
  .partners-section h2,
  .projects-section h2,
  .team-section h2 {
    font-size: 2rem;
  }
  
  .about-company-text p {
    font-size: 0.9rem;
  }
  
  .company-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .partners-section {
    padding: 8rem 0;
    min-height: 100vh;
  }
  
  .partners-section h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
  }
  
  .partner-item {
    min-width: 200px;
    height: 100px;
    padding: 0 1.5rem;
  }
  
  .partner-logo-img {
    max-width: 160px;
    max-height: 60px;
  }
  
  .partners-scroll-container {
    height: 120px;
    margin: 3rem 0;
    padding: 0 1rem;
  }
  
  .partners-scroll {
    gap: 2.5rem;
  }
  
  .sponsor-name,
  .project-name,
  .member-name {
    font-size: 1.1rem;
  }
  
  .sponsor-role,
  .project-description,
  .member-role,
  .member-skills {
    font-size: 0.85rem;
  }
}

.contact-info {
  text-align: center;
}

.contact-info p {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

/* Анимированный фон удален */




/* Крупный элемент с цифрой в правом нижнем углу */
.stats-element {
  position: fixed;
  bottom: 4rem;
  right: 1rem;
  z-index: 100;
  background: rgba(30, 30, 30, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  min-height: 255px;
  max-height: 255px;
  overflow: hidden;
  pointer-events: none;
}

/* Элементы управляются JavaScript - скрыты по умолчанию */
.stats-element,
.hero-element {
  display: none;
}

/* Показать только в hero секции */
.hero-section .stats-element {
  display: flex;
}

.hero-section .hero-element {
  display: block;
}

/* Скрыть на странице заявки */
body.request-page .stats-element {
  display: none;
}

/* Элемент с текстом и кнопками в левом нижнем углу */
.hero-element {
  position: fixed;
  bottom: 4rem;
  left: 1rem;
  z-index: 100;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  pointer-events: auto;
}

.hero-element:hover {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-color: transparent;
}

.hero-small-title {
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.diamond-bullet {
  color: #ff0000;
  font-size: 1.2rem;
  font-weight: bold;
}

.hero-main-title {
  margin-bottom: 2rem;
}

.hero-title-line1 {
  font-size: 2rem;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-title-line2 {
  font-size: 2rem;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.2;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  flex-direction: row;
  width: 100%;
}

.hero-btn {
  padding: 1.5rem 2rem;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 400;
  cursor: pointer;
  border: none;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  text-align: left;
  pointer-events: auto;
}

.hero-btn-primary {
  background: #fff;
  color: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3);
}

.arrow {
  font-size: 1.6rem;
  font-weight: bold;
}

.hero-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ccc;
}

.hero-btn-secondary:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.hero-btn-tertiary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: #ffffff;
  margin-top: 1rem;
}

.hero-btn-tertiary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Скрыть на странице заявки */
body.request-page .hero-element {
  display: none;
}

.stats-element:hover {
  background: rgba(40, 40, 40, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.stats-left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.5rem;
  min-width: 85px;
}

.stats-number {
  font-size: 6rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.stats-plus {
  font-size: 5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
  margin-left: 0.2rem;
}

.stats-divider {
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 0.5rem;
}

.stats-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.8rem 1.5rem;
  flex: 1;
}

.stats-label {
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.stats-description {
  font-size: 2.2rem;
  color: #ffffff;
  line-height: 1.3;
}

.stats-description div {
  margin-bottom: 0.1rem;
}

/* Service Cards Enhanced Styles */
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 255, 204, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-card p {
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.3rem 0;
  color: #ffffff;
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.2rem;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
}

.service-price {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ffffff;
  background: rgba(0, 255, 204, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 204, 0.3);
  display: inline-block;
}

.services-cta {
  text-align: center;
  margin-top: 4rem;
}

.cta-button {
  background: #ffffff;
  color: #000;
  padding: 1.2rem 2.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.cta-button:hover {
  background: #00e6b8;
  box-shadow: 0 8px 25px rgba(0, 255, 204, 0.3);
}

.cta-button .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
  transform: translateX(4px);
}

/* Section Spacing - Убираем лишние отступы */
.section {
  min-height: 100vh;
  padding: 0;
}

.hero-section {
  min-height: 100vh;
  padding: 0;
}

.why-choose-section {
  min-height: 100vh;
  padding: 0;
}

.about-section {
  min-height: 100vh;
  padding: 0;
  background: #000000;
  position: relative;
  margin: 0;
}

.contact-section {
  min-height: 100vh;
  padding: 0;
  background: #000000;
  position: relative;
  margin: 0;
}

/* About Section Styles */
.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem; /* Добавляем боковые отступы */
}

/* Убрали .about-intro стили, так как этот блок больше не используется */

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem; /* Увеличиваем отступы */
  margin-bottom: 6rem; /* Увеличиваем отступ снизу */
  margin-top: 4rem; /* Увеличиваем отступ сверху */
}

.stat-item {
  text-align: center;
  padding: 3rem 2rem; /* Увеличиваем вертикальные отступы */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  min-height: 150px; /* Минимальная высота */
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 2rem; /* Добавляем отступ снизу */
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 255, 204, 0.3);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #ffffff;
}

.about-sections {
  display: grid;
  gap: 6rem; /* Увеличиваем отступы между секциями */
  margin-top: 4rem;
}

.about-section-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 3rem; /* Увеличиваем внутренние отступы */
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 3rem; /* Добавляем отступ снизу */
}

.about-section-item h4 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #ffffff;
}

.sponsors-grid,
.projects-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; /* Увеличиваем отступы между элементами */
  margin-bottom: 2rem; /* Добавляем отступ снизу */
}

.sponsor-item,
.project-item,
.team-member {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem; /* Увеличиваем внутренние отступы */
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 200px; /* Минимальная высота для карточек */
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 1rem; /* Добавляем отступ снизу */
}

.sponsor-item:hover,
.project-item:hover,
.team-member:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 255, 204, 0.3);
}

.sponsor-logo,
.project-icon,
.member-avatar {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.sponsor-name,
.project-name,
.member-name {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.sponsor-role,
.project-description,
.member-role {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.member-skills {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-status {
  background: rgba(0, 255, 204, 0.1);
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 400;
  display: inline-block;
  border: 1px solid rgba(0, 255, 204, 0.3);
}

/* Contact Section Styles */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem; /* Увеличиваем отступ между колонками */
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0; /* Добавляем вертикальные отступы */
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem; /* Увеличиваем отступы между элементами */
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem; /* Увеличиваем отступ между иконкой и текстом */
  padding: 2rem; /* Увеличиваем внутренние отступы */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 1rem; /* Добавляем отступ снизу */
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 255, 204, 0.3);
}

.contact-icon {
  font-size: 2rem;
  margin-top: 0.2rem;
}

.contact-details h4 {
  font-size: 1.3rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: #ffffff;
  line-height: 1.5;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 3rem; /* Увеличиваем внутренние отступы */
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem; /* Добавляем отступ сверху */
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1rem;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 255, 204, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group select option {
  background: #333;
  color: #ffffff;
}

.submit-btn {
  background: #ffffff;
  color: #000;
  padding: 1.2rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: #00e6b8;
  box-shadow: 0 8px 25px rgba(0, 255, 204, 0.3);
}

.submit-btn .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.submit-btn:hover .arrow {
  transform: translateX(4px);
}

/* Закрепленные контакты удалены */

/* Логотип стили */
.logo-text {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
}

.trademark {
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 2px;
  opacity: 0.8;
  color: inherit;
}




/* Why Choose Us Section */
.why-choose-section {
  padding: 0;
  background: #000000;
  background-attachment: fixed; /* Фиксируем фон */
  position: relative;
  margin: 0;
}

.why-choose-section h2 {
  font-size: 2.2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 4rem;
  color: #ffffff;
  background: linear-gradient(45deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.why-choose-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.why-choose-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.1), transparent);
  transition: left 0.5s ease;
}

.why-choose-item:hover::before {
  left: 100%;
}

.why-choose-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 255, 204, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-choose-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.3));
}

.why-choose-item h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #ffffff;
}

.why-choose-item p {
  color: #ffffff;
  line-height: 1.6;
  font-size: 1.1rem;
}

.why-choose-cta {
  text-align: center;
}

/* Responsive Design for Why Choose Us */
@media (max-width: 768px) {
  .section {
    min-height: 100vh;
    padding: 0;
    margin: 0;
  }
  
  .about-section {
    min-height: 100vh;
    padding: 0;
    margin: 0;
  }
  
  .why-choose-section h2 {
    font-size: 2rem;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .why-choose-item {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .why-choose-icon {
    font-size: 2.2rem;
  }
  
  .why-choose-item h3 {
    font-size: 1.5rem;
  }
  
  .why-choose-item p {
    font-size: 1rem;
  }
  
  .about-sections {
    gap: 4rem;
  }
  
  .about-section-item {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .sponsors-grid,
  .projects-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .why-choose-section {
    padding: 4rem 0;
  }
  
  .why-choose-section h2 {
    font-size: 2rem;
  }
  
  .why-choose-item {
    padding: 1.5rem;
  }
  
  .why-choose-icon {
    font-size: 2rem;
  }
}

/* Анимации воды и жидкости */
@keyframes waterRipple {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  20% {
    width: 100px;
    height: 100px;
    opacity: 0.6;
  }
  40% {
    width: 200px;
    height: 200px;
    opacity: 0.4;
  }
  60% {
    width: 300px;
    height: 300px;
    opacity: 0.2;
  }
  80% {
    width: 400px;
    height: 400px;
    opacity: 0.1;
  }
  100% {
    width: 500px;
    height: 500px;
    opacity: 0;
  }
}

@keyframes waterRipple2 {
  0% {
    width: 0;
    height: 0;
    opacity: 0.6;
  }
  30% {
    width: 80px;
    height: 80px;
    opacity: 0.4;
  }
  60% {
    width: 160px;
    height: 160px;
    opacity: 0.2;
  }
  100% {
    width: 240px;
    height: 240px;
    opacity: 0;
  }
}

/* Анимации капель воды */
@keyframes waterDropLeft {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  20% {
    transform: scale(1);
    opacity: 1;
  }
  40% {
    transform: scale(1.2) translateX(-10px);
    opacity: 0.8;
  }
  60% {
    transform: scale(0.8) translateX(-20px);
    opacity: 0.6;
  }
  80% {
    transform: scale(0.4) translateX(-30px);
    opacity: 0.3;
  }
  100% {
    transform: scale(0) translateX(-40px);
    opacity: 0;
  }
}

@keyframes waterDropRight {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  20% {
    transform: scale(1);
    opacity: 1;
  }
  40% {
    transform: scale(1.2) translateX(10px);
    opacity: 0.8;
  }
  60% {
    transform: scale(0.8) translateX(20px);
    opacity: 0.6;
  }
  80% {
    transform: scale(0.4) translateX(30px);
    opacity: 0.3;
  }
  100% {
    transform: scale(0) translateX(40px);
    opacity: 0;
  }
}

/* Анимации брызг воды */
@keyframes waterSplashLeft {
  0% {
    transform: scale(0) translateX(0) translateY(0);
    opacity: 0;
  }
  30% {
    transform: scale(1.5) translateX(-15px) translateY(-5px);
    opacity: 0.8;
  }
  60% {
    transform: scale(1) translateX(-25px) translateY(-10px);
    opacity: 0.5;
  }
  100% {
    transform: scale(0.3) translateX(-35px) translateY(-15px);
    opacity: 0;
  }
}

@keyframes waterSplashRight {
  0% {
    transform: scale(0) translateX(0) translateY(0);
    opacity: 0;
  }
  30% {
    transform: scale(1.5) translateX(15px) translateY(-5px);
    opacity: 0.8;
  }
  60% {
    transform: scale(1) translateX(25px) translateY(-10px);
    opacity: 0.5;
  }
  100% {
    transform: scale(0.3) translateX(35px) translateY(-15px);
    opacity: 0;
  }
}

/* Адаптивность секций */
@media (max-width: 1200px) {
  .section {
    padding: 0;
    margin: 0;
  }
  
  .hero-section {
    min-height: 100vh;
    height: 100vh;
    background-size: 60%;
    background-position: right center;
  }
  
  .hero-section,
  .about-company-section,
  .partners-section,
  .projects-section,
  .team-section,
  .contact-section {
    padding: 4rem 1rem;
  }
  
  .company-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 0;
    margin: 0;
  }
  
  .hero-section {
    min-height: 100vh;
    height: 100vh;
    background-size: 50%;
    background-position: right center;
  }
  
  .hero-section .stats-element {
    right: 2rem;
    top: 60%;
    transform: translateY(-50%);
  }
  
  .hero-section .hero-element {
    left: 2rem;
    top: 50%;
  }
  
  .hero-section,
  .about-company-section,
  .partners-section,
  .projects-section,
  .team-section,
  .contact-section {
    padding: 2rem 1rem;
  }
  
  .company-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 0;
    margin: 0;
  }
  
  .hero-section {
    min-height: 100vh;
    height: 100vh;
    background-size: 40%;
    background-position: right center;
  }
  
  .hero-section .stats-element {
    right: 1rem;
    top: 60%;
    transform: translateY(-50%);
  }
  
  .hero-section .hero-element {
    left: 1rem;
    top: 50%;
  }
  
  .hero-section,
  .about-company-section,
  .partners-section,
  .projects-section,
  .team-section,
  .contact-section {
    padding: 1rem 0.5rem;
  }
  
  .company-description {
    margin-bottom: 2rem;
  }
  
  .company-description p {
    font-size: 1rem;
  }
}
