:root {
  /* Цветовая схема Триада */
  --primary-color: #FF5722; /* Основной оранжевый */
  --secondary-color: #3F51B5; /* Дополнительный синий */
  --accent-color: #4CAF50; /* Акцентный зеленый */
  
  /* Вариации основных цветов */
  --primary-dark: #E64A19;
  --primary-light: #FFAB91;
  --secondary-dark: #303F9F;
  --secondary-light: #C5CAE9;
  --accent-dark: #388E3C;
  --accent-light: #A5D6A7;
  
  /* Нейтральные цвета */
  --dark: #222222;
  --light: #FFFFFF;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  
  /* Структурные переменные */
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --border-radius-xl: 16px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  
  /* Шрифты */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
  
  /* Размеры секций */
  --section-padding: 5rem 0;
}
.contact-page-header{
  padding-top: 100px;
}
/* Общие стили */
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--light);
  overflow-x: hidden;
  position: relative;
  padding-top: 0px !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--secondary-dark);
  text-decoration: none;
}

section {
  padding: var(--section-padding);
  position: relative;
}

.bg-light {
  background-color: var(--gray-100);
}

/* Стили для кнопок */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--light);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--light);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--light);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--light);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--light);
}

.btn-outline-secondary {
  background-color: transparent;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--light);
}

.btn-outline-light {
  background-color: transparent;
  border-color: var(--light);
  color: var(--light);
}

.btn-outline-light:hover {
  background-color: var(--light);
  color: var(--dark);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Стили для форм */
.form-control, .form-select {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
  font-family: var(--font-body);
}

.form-control:focus, .form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(63, 81, 181, 0.25);
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* Header */
.header {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
  z-index: 1000;
}

.header .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--light);
}

.header .nav-link {
  color: var(--light);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  position: relative;
}

.header .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.header .nav-link:hover::after, 
.header .nav-link.active::after {
  width: 80%;
}

.navbar-toggler {
  border: none;
  color: var(--light);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 80px;
  position: relative;
  background-color: var(--dark);
  overflow: hidden;
}

.hero-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 0.5s ease;
  transform: scale(1.05);
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--light);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  color: var(--light);
}

.hero-stats {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
  border-top: 4px solid var(--primary-color);
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stats-text {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gray-700);
}

/* About Section */
.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
  transition: var(--transition-normal);
}

.about-image img:hover {
  transform: scale(1.02);
}

.about-content h3 {
  color: var(--primary-color);
  font-weight: 700;
}

/* Section Header */
.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-weight: 800;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

/* Services Section */
.card {
  border: none;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.card-image {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  color: var(--secondary-color);
  font-weight: 700;
}

.badge {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

/* Route Map Section */
.map-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
  transition: var(--transition-normal);
}

.route-content h3 {
  color: var(--secondary-color);
  font-weight: 700;
}

.feature h5 {
  color: var(--primary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
}

.feature h5 i {
  margin-right: 0.5rem;
}

/* Partners Section */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.partner-logo {
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  margin: 0.5rem;
  transition: var(--transition-normal);
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.partner-description {
  margin-top: 3rem;
}

/* Calculation Section */
.calculator-wrapper {
  background-color: white;
  box-shadow: var(--box-shadow-lg);
  border-left: 5px solid var(--primary-color);
}

.calculation-results {
  background-color: var(--gray-100);
  border-left: 3px solid var(--secondary-color);
}

.result-item h5 {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

.result-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.calculation-note {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* External Resources */
.resource-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  transition: var(--transition-normal);
  border-top: 4px solid var(--accent-color);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
}

.resource-title {
  color: var(--accent-color);
  font-weight: 700;
}

/* Case Studies */
.case-study-card {
  overflow: hidden;
}

.case-title {
  color: var(--secondary-color);
  font-weight: 700;
}

.case-client {
  color: var(--gray-600);
}

.case-results {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.case-results li {
  margin-bottom: 0.5rem;
}

/* Workshops */
.workshop-card {
  overflow: hidden;
  border-top: 4px solid var(--primary-color);
}

.workshop-date {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-color);
}

.workshop-title {
  color: var(--dark);
  font-weight: 700;
}

.workshop-location, .workshop-time {
  font-size: 0.9rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
}

.workshop-location i, .workshop-time i {
  margin-right: 0.5rem;
}

/* Webinars */
.webinar-video {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

/* History Section */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: var(--secondary-light);
  border-radius: var(--border-radius);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 3rem;
  height: 3rem;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1;
}

.timeline-content {
  position: relative;
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  margin-left: 0.5rem;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 1.25rem;
  width: 1rem;
  height: 1rem;
  background-color: white;
  transform: rotate(45deg);
  box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Contact Section */
.contact-info {
  padding-right: 2rem;
}

.contact-item h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-form-wrapper {
  background-color: white;
  box-shadow: var(--box-shadow-lg);
  border-top: 5px solid var(--secondary-color);
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 5rem 0 2rem;
}

.footer-title {
  color: var(--light);
  font-family: var(--font-heading);
  font-weight: 800;
}

.footer-subtitle {
  color: var(--light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  transition: var(--transition-normal);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links a {
  color: var(--gray-400);
  transition: var(--transition-normal);
  margin-right: 1rem;
  font-weight: 600;
}

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

.copyright {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Modals */
.modal-content {
  border-radius: var(--border-radius-lg);
  border: none;
  box-shadow: var(--box-shadow-lg);
}

.modal-header {
  border-bottom: 3px solid var(--primary-color);
  background-color: var(--gray-100);
}

.modal-title {
  font-weight: 700;
  color: var(--dark);
}

.modal-footer {
  border-top: none;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 1rem;
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cookie-content p {
  margin: 0;
  padding-right: 2rem;
}

#accept-cookies {
  white-space: nowrap;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.success-message {
  max-width: 600px;
  padding: 3rem;
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
  border-top: 5px solid var(--accent-color);
}

.success-icon {
  font-size: 5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

/* About, Privacy, Terms Pages */
.page-content {
  padding-top: 150px;
  padding-bottom: 5rem;
}

.page-content h1 {
  margin-bottom: 2rem;
  font-weight: 800;
  color: var(--dark);
}

.page-content h2 {
  color: var(--secondary-color);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.page-content p {
  margin-bottom: 1.5rem;
}

/* Media Queries */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .contact-info {
    padding-right: 0;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2.25rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .timeline {
    padding-left: 2rem;
  }
  
  .timeline-year {
    width: 2.5rem;
    height: 2.5rem;
    left: -2.5rem;
    font-size: 0.9rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
    padding-right: 0;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .partner-logo {
    width: 40%;
  }
}

/* Animation Styles */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Parallax Effect */
.parallax {
  transform: translateY(var(--parallax-offset, 0));
  transition: transform 0.3s ease-out;
}

/* Read More Links */
.read-more {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1rem;
  position: relative;
  padding-right: 1.5rem;
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-normal);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover::after {
  right: -5px;
}

/* NEO-Brutalism Elements */
.neo-brutal {
  border: 3px solid var(--dark);
  box-shadow: 6px 6px 0 var(--dark);
  border-radius: 0;
  transition: all 0.2s ease;
}

.neo-brutal:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--dark);
}

/* Стили для страниц Privacy и Terms */
.terms-content, .privacy-content {
  padding-top: 100px;
  padding-bottom: 50px;
}

.terms-content h1, .privacy-content h1 {
  margin-bottom: 30px;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 15px;
}

.terms-content h2, .privacy-content h2 {
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.terms-content p, .privacy-content p {
  margin-bottom: 20px;
}

.terms-content ul, .privacy-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.terms-content li, .privacy-content li {
  margin-bottom: 10px;
}
html,body{
  overflow-x: hidden;
}