:root {
  /* Основные цвета (разделительно-дополнительная схема) */
  --primary-color: #4B6BFB;
  --primary-dark: #3a52c9;
  --primary-light: #8398ff;
  --secondary-color: #FF6B4B;
  --secondary-dark: #e55035;
  --secondary-light: #ff8f75;
  --tertiary-color: #4BFF6B;
  --tertiary-dark: #32cc51;
  --tertiary-light: #7dff92;
  
  /* Нейтральные цвета */
  --dark: #222831;
  --dark-medium: #393e46;
  --medium: #5c636e;
  --light-medium: #d4d4d8;
  --light: #f8f9fa;
  --white: #ffffff;
  
  /* Тени для неоморфизма */
  --shadow-light: rgba(255, 255, 255, 0.5);
  --shadow-dark: rgba(0, 0, 0, 0.15);
  
  /* Размеры и пространство */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --section-padding: 80px 0;
  --card-padding: 25px;
  
  /* Шрифты */
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Анимация */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Основные стили */
body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

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

p {
  margin-bottom: 1.5rem;
  color: var(--dark-medium);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

html {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-padding {
  padding: var(--section-padding);
}

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

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

.section-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--medium);
}

/* Неоморфические стили */
.neomorphic {
  background: var(--light);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  border-radius: var(--border-radius-md);
}

.neomorphic-inset {
  background: var(--light);
  box-shadow: 
    inset 8px 8px 16px var(--shadow-dark),
    inset -8px -8px 16px var(--shadow-light);
  border-radius: var(--border-radius-md);
}

/* Кнопки */
.btn {
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  padding: 12px 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
}

.btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-medium);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(75, 107, 251, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(75, 107, 251, 0.6);
  color: var(--white);
}

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

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 107, 75, 0.4);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 75, 0.6);
  color: var(--white);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Заголовки и текст */
.display-3 {
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.7;
}

/* Хедер */
.header-section {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-fast);
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-section.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--dark);
  padding: 0.5rem 1rem;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-medium);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: calc(100% - 2rem);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-section h1, 
.hero-section p, 
.hero-section .btn {
  position: relative;
  z-index: 2;
}

.hero-section h1, 
.hero-section p {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
  background-color: var(--light);
}

.about-image-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.about-image-container img {
  border-radius: var(--border-radius-md);
  box-shadow: 
    12px 12px 24px var(--shadow-dark),
    -12px -12px 24px var(--shadow-light);
  transition: transform var(--transition-medium);
}

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

.about-content {
  padding: 20px;
}

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

.progress-stat {
  text-align: center;
  background: var(--light);
  padding: 20px;
  border-radius: var(--border-radius-sm);
  box-shadow: 
    5px 5px 10px var(--shadow-dark),
    -5px -5px 10px var(--shadow-light);
  flex: 1;
  transition: transform var(--transition-medium);
}

.progress-stat:hover {
  transform: translateY(-5px);
}

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

/* Instructors Section */
.instructors-section {
  background-color: var(--white);
}

.instructor-card {
  height: 100%;
  background: var(--light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-medium);
  border: none;
  display: flex;
  flex-direction: column;
}

.instructor-card:hover {
  transform: translateY(-10px);
}

.card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.card-content {
  padding: var(--card-padding);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.instructor-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.social-links {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.social-icon {
  color: var(--medium);
  transition: color var(--transition-fast);
  font-weight: 600;
}

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

/* Insights Section */
.insights-section {
  background-color: var(--light);
}

.insight-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--card-padding);
  height: 100%;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-medium);
  text-align: center;
}

.insight-card:hover {
  transform: translateY(-10px);
}

.insight-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    5px 5px 10px var(--shadow-dark),
    -5px -5px 10px var(--shadow-light);
}

.insight-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Resources Section */
.resources-section {
  background-color: var(--white);
}

.resource-card {
  background: var(--light);
  border-radius: var(--border-radius-md);
  padding: var(--card-padding);
  height: 100%;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: all var(--transition-medium);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    12px 12px 24px var(--shadow-dark),
    -12px -12px 24px var(--shadow-light);
}

.resource-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.resource-card h3 a {
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.resource-card h3 a:hover {
  color: var(--primary-dark);
}

/* Accolades Section */
.accolades-section {
  background-color: var(--light);
}

.accolades-image-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.accolades-image-container img {
  border-radius: var(--border-radius-md);
  box-shadow: 
    12px 12px 24px var(--shadow-dark),
    -12px -12px 24px var(--shadow-light);
  transition: transform var(--transition-medium);
}

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

.accolades-content {
  padding: 20px;
}

.accolades-content h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.accolade-item {
  margin-bottom: 20px;
  padding: 15px;
  background: var(--white);
  border-radius: var(--border-radius-sm);
  box-shadow: 
    5px 5px 10px var(--shadow-dark),
    -5px -5px 10px var(--shadow-light);
  transition: transform var(--transition-medium);
}

.accolade-item:hover {
  transform: translateY(-5px);
}

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

/* Events Section */
.events-section {
  background-color: var(--white);
}

.event-card {
  height: 100%;
  background: var(--light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-medium);
  border: none;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-10px);
}

.event-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 15px;
  border-radius: var(--border-radius-sm);
  text-align: center;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.event-date .day {
  font-size: 1.5rem;
  display: block;
}

.event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--medium);
  font-size: 0.9rem;
}

.event-meta span {
  display: flex;
  align-items: center;
}

.event-meta span i {
  margin-right: 5px;
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--light);
}

.testimonial-card {
  height: 100%;
  background: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-medium);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 40px;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-card .card-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 5px solid var(--light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-rating {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--dark-medium);
}

.testimonial-card h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.testimonial-position {
  color: var(--medium);
  font-size: 0.9rem;
}

/* Behind the Scenes Section */
.behind-scenes-section {
  background-color: var(--white);
}

.behind-scenes-image-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.behind-scenes-image-container img {
  border-radius: var(--border-radius-md);
  box-shadow: 
    12px 12px 24px var(--shadow-dark),
    -12px -12px 24px var(--shadow-light);
  transition: transform var(--transition-medium);
}

.behind-scenes-image-container img:hover {
  transform: scale(1.02);
}

.behind-scenes-content {
  padding: 20px;
}

.behind-scenes-content h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.values-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.value-item {
  flex: 1 0 calc(50% - 15px);
  display: flex;
  align-items: center;
  background: var(--light);
  padding: 15px;
  border-radius: var(--border-radius-sm);
  box-shadow: 
    5px 5px 10px var(--shadow-dark),
    -5px -5px 10px var(--shadow-light);
  transition: transform var(--transition-fast);
}

.value-item:hover {
  transform: translateY(-3px);
}

.value-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--white);
  font-size: 1.2rem;
}

.value-text {
  font-weight: 600;
  color: var(--dark);
}

/* Contact Section */
.contact-section {
  background-color: var(--light);
  position: relative;
}

.contact-info {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--card-padding);
  height: 100%;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-form-container {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--card-padding);
  height: 100%;
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
}

.contact-form-container h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.form-control, .form-select {
  background-color: var(--light);
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 12px 15px;
  box-shadow: 
    inset 5px 5px 10px var(--shadow-dark),
    inset -5px -5px 10px var(--shadow-light);
  transition: all var(--transition-fast);
  color: var(--dark);
}

.form-control:focus, .form-select:focus {
  box-shadow: 
    inset 8px 8px 16px var(--shadow-dark),
    inset -8px -8px 16px var(--shadow-light);
  outline: none;
  border: none;
}

/* Footer Section */
.footer-section {
  background-color: var(--dark);
  color: var(--light);
  padding: 80px 0 0;
}

.footer-section h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-section p {
  color: var(--light-medium);
}

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

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

.footer-links a {
  color: var(--light-medium);
  transition: color var(--transition-fast);
}

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

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

.footer-section .social-link {
  color: var(--light-medium);
  transition: color var(--transition-fast);
  font-weight: 600;
}

.footer-section .social-link:hover {
  color: var(--primary-light);
}

.footer-bottom {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
  color: var(--light-medium);
}

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

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

.cookie-content p {
  margin-bottom: 0;
  margin-right: 20px;
  color: var(--white);
}

.cookie-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: background-color var(--transition-fast);
}

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

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  background-color: var(--light);
}

.success-container {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--card-padding);
  text-align: center;
  box-shadow: 
    12px 12px 24px var(--shadow-dark),
    -12px -12px 24px var(--shadow-light);
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.success-icon {
  font-size: 4rem;
  color: var(--tertiary-dark);
  margin-bottom: 20px;
}

.success-container h1 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.success-container p {
  margin-bottom: 2rem;
}

/* Privacy & Terms Pages */
.page-content {
  padding-top: 120px;
  padding-bottom: 80px;
}

.page-content h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

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

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .display-3 {
    font-size: 2.8rem;
  }
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .display-3 {
    font-size: 2.5rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .navbar-collapse {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
  }
  
  .navbar-nav .nav-link {
    padding: 0.8rem 1rem;
  }
  
  .navbar-nav .nav-link::after {
    bottom: 5px;
  }
  
  .hero-section {
    padding: 120px 0 60px;
    text-align: center;
  }
  
  .value-item {
    flex: 1 0 100%;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-divider {
    width: 60px;
    margin-bottom: 1.5rem;
  }
  
  .display-3 {
    font-size: 2.2rem;
  }
  
  .about-image-container, 
  .accolades-image-container, 
  .behind-scenes-image-container {
    margin-bottom: 30px;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
  
  .hero-section {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .display-3 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .stat-number, .accolade-number {
    font-size: 2rem;
  }
}

/* Extra styles for pages */
.contacts-page {
  padding-top: 120px;
  padding-bottom: 80px;
}