/* ========================================
   CSS VARIABLES & ROOT STYLES
======================================== */

:root {
  /* Аналоговая цветовая схема - синие и фиолетовые тона */
  --primary-color: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --secondary-color: #7c3aed;
  --secondary-light: #8b5cf6;
  --secondary-dark: #6d28d9;
  --accent-color: #06b6d4;
  --accent-light: #0891b2;
  --accent-dark: #0e7490;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(124, 58, 237, 0.8) 100%);
  --gradient-dark-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
  
  /* Цвета текста */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;
  
  /* Фоновые цвета */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-dark: #1f2937;
  
  /* Тени */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Радиусы */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  
  /* Размеры шрифтов */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Переходы */
  --transition-fast: 0.15s ease-out;
  --transition-base: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
  
  /* Z-индексы */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ========================================
   БАЗОВЫЕ СТИЛИ
======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

/* Параграфы */
p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Ссылки */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

/* Изображения */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   ГЛОБАЛЬНЫЕ СТИЛИ КНОПОК
======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Raleway', sans-serif;
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  min-width: 140px;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

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

.btn:active {
  transform: translateY(0);
}

/* Primary Button */
.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  color: var(--text-white);
  border-color: var(--primary-dark);
}

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

.btn-outline-primary:hover {
  background: var(--gradient-primary);
  color: var(--text-white);
  border-color: var(--primary-color);
}

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

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

/* Large Button */
.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
  min-width: 180px;
}

/* Hero Buttons */
.btn-hero {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
  font-weight: 700;
  min-width: 200px;
  margin: 0.5rem;
}

/* Button Loader */
.btn-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn .btn-text {
  transition: opacity var(--transition-base);
}

.btn.loading .btn-text {
  opacity: 0;
}

.btn.loading .btn-loader {
  display: block !important;
}

/* ========================================
   НАВИГАЦИЯ
======================================== */

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
  padding: 1rem 0;
  z-index: var(--z-fixed);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: 'Raleway', sans-serif;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-color);
  transition: color var(--transition-base);
}

.navbar-brand:hover {
  color: var(--primary-dark);
}

.brand-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
}

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

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

/* ========================================
   HERO SECTION
======================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: -1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-white) !important;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-white) !important;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

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

/* Morphing Animation */
@keyframes morph {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.02) rotate(0.5deg); }
  50% { transform: scale(1.05) rotate(0deg); }
  75% { transform: scale(1.02) rotate(-0.5deg); }
}

.animate-morph {
  animation: morph 6s ease-in-out infinite;
}

/* ========================================
   SECTION STYLES
======================================== */

.section-title {
  font-family: 'Raleway', sans-serif;
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Curved Grid Effect */
.curved-grid {
  transform: skewY(-2deg);
  overflow: hidden;
}

.curved-grid > * {
  transform: skewY(2deg);
}

/* ========================================
   CARD STYLES
======================================== */

.card {
  background: var(--bg-primary);
  border: none;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
}

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

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.card-content h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ========================================
   SUCCESS STORIES SECTION
======================================== */

.success-stories-section {
  background: var(--bg-secondary);
  padding: 4rem 0;
}

.story-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.story-card:hover {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: var(--shadow-xl);
}

.story-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-tertiary);
}

.story-meta .location {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.story-meta .rating {
  color: #fbbf24;
  font-size: var(--font-size-lg);
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */

.testimonials-section {
  background: var(--bg-primary);
  padding: 4rem 0;
}

.testimonial-card {
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: var(--primary-color);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

.testimonial-image {
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  margin: 0 auto;
}

.testimonial-quote {
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 2rem;
  text-align: center;
}

.testimonial-author {
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.testimonial-rating {
  color: #fbbf24;
  font-size: var(--font-size-xl);
  text-align: center;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all var(--transition-base);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
  left: -80px;
}

.carousel-control-next {
  right: -80px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 24px;
  height: 24px;
}

/* ========================================
   CUSTOMER STORIES GALLERY
======================================== */

.customer-stories-section {
  background: var(--bg-tertiary);
  padding: 4rem 0;
}

.stories-gallery {
  overflow: hidden;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
}

.gallery-item:hover {
  transform: scale(1.02) rotate(-1deg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  margin: 0 auto;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--text-white);
  font-size: var(--font-size-2xl);
  margin-bottom: 1rem;
}

.gallery-overlay p {
  font-size: var(--font-size-lg);
  margin: 0;
}

/* ========================================
   INSTRUCTORS SECTION
======================================== */

.instructors-section {
  background: var(--bg-primary);
  padding: 4rem 0;
}

.instructor-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-align: center;
}

.instructor-card:hover {
  transform: translateY(-8px) rotateX(5deg);
  box-shadow: var(--shadow-xl);
}

.instructor-card .card-image {
  height: 300px;
  width: 100%;
}

.instructor-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

.instructor-card .role {
  color: var(--primary-color);
  font-weight: 600;
  font-size: var(--font-size-lg);
  margin-bottom: 1rem;
}

.instructor-specialties {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.instructor-specialties .badge {
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

/* ========================================
   PRESS SECTION
======================================== */

.press-section {
  background: var(--bg-secondary);
  padding: 4rem 0;
}

.press-item {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.press-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.press-logo {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.press-logo img {
  max-height: 100%;
  max-width: 200px;
  object-fit: contain;
  margin: 0 auto;
}

.press-quote {
  font-style: italic;
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.press-item cite {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

/* ========================================
   CONTACT SECTION
======================================== */

.contact-section {
  background: var(--bg-primary);
  padding: 4rem 0;
}

.contact-form-wrapper {
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-floating {
  margin-bottom: 1.5rem;
}

.form-control,
.form-select {
  border: 2px solid var(--bg-tertiary);
  border-radius: var(--border-radius-md);
  padding: 1rem;
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
  background: var(--bg-primary);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
  background: var(--bg-primary);
}

.form-floating > label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ========================================
   FOOTER
======================================== */

.footer-section {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

.footer-brand h4 {
  color: var(--text-white);
  font-size: var(--font-size-2xl);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-links h5 {
  color: var(--text-white);
  font-size: var(--font-size-lg);
  margin-bottom: 1rem;
}

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

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links ul li a:hover {
  color: var(--text-white);
}

.footer-contact h5 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
  font-weight: 500;
}

.social-links a:hover {
  color: var(--text-white);
  background: var(--primary-color);
  transform: translateY(-2px);
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: var(--font-size-sm);
}

/* ========================================
   RESOURCES SECTION
======================================== */

.resources-section {
  background: var(--bg-secondary);
  padding: 4rem 0;
}

.resource-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: all var(--transition-base);
}

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

.resource-card h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.resource-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.resource-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.resource-links .btn {
  flex: 1;
  min-width: 150px;
}

/* ========================================
   СПЕЦИАЛЬНЫЕ СТРАНИЦЫ
======================================== */

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--text-white);
  text-align: center;
  padding: 2rem;
}

.success-content h1 {
  color: var(--text-white);
  font-size: var(--font-size-5xl);
  margin-bottom: 1rem;
}

.success-content p {
  font-size: var(--font-size-xl);
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
  padding-bottom: 2rem;
}

.privacy-content,
.terms-content {
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

/* ========================================
   ЧИТАТЬ ДАЛЕЕ ССЫЛКИ
======================================== */

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-base);
  border-bottom: 2px solid transparent;
}

.read-more:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-color);
  transform: translateX(5px);
}

.read-more::after {
  content: '→';
  transition: transform var(--transition-base);
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* ========================================
   АДАПТИВНОСТЬ
======================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: var(--font-size-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-hero {
    width: 100%;
    max-width: 300px;
  }
  
  .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .testimonial-card {
    padding: 2rem 1rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem 1rem;
  }
  
  .instructor-card .card-image {
    height: 250px;
  }
  
  .gallery-item {
    height: 250px;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .resource-links {
    flex-direction: column;
  }
  
  .footer-bottom .row {
    text-align: center;
  }
  
  .footer-bottom .col-md-6:last-child {
    text-align: center !important;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-background {
    background-attachment: scroll;
  }
  
  .navbar-brand {
    font-size: var(--font-size-xl);
  }
  
  .card-image {
    height: 200px;
  }
  
  .instructor-card .card-image {
    height: 200px;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .testimonial-image img {
    width: 60px;
    height: 60px;
  }
  
  .press-logo {
    height: 60px;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* ========================================
   АНИМАЦИИ И ЭФФЕКТЫ
======================================== */

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Glassmorphism Effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Morphing Background Animation */
@keyframes morphBackground {
  0%, 100% { 
    background-position: 0% 50%; 
    transform: scale(1);
  }
  50% { 
    background-position: 100% 50%; 
    transform: scale(1.05);
  }
}

.morph-bg {
  background-size: 400% 400%;
  animation: morphBackground 8s ease infinite;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   УТИЛИТЫ
======================================== */

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.shadow-custom {
  box-shadow: var(--shadow-xl);
}

.border-gradient {
  border: 2px solid;
  border-image: var(--gradient-primary) 1;
}

.rounded-custom {
  border-radius: var(--border-radius-xl);
}

/* Z-index utilities */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }