:root {
  /* Основная цветовая палитра (пастельная) */
  --primary-color: #6a98f0;
  --primary-dark: #5480d8;
  --primary-light: #8fb0f5;
  --secondary-color: #f5d0a8;
  --secondary-dark: #e9b280;
  --secondary-light: #f8e0c5;
  --accent-color: #d4a6e8;
  --accent-dark: #b589cc;
  --accent-light: #e2c4f0;
  
  /* Нейтральные цвета */
  --dark: #333333;
  --medium: #777777;
  --light: #f7f7f9;
  --white: #ffffff;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  
  /* Тени */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  
  /* Скругления */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Переходы */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  
  /* Отступы */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
}

/* Основные стили */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin-bottom: 1.5rem;
}

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

.section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Стили для кнопок */
.button {
  transition: var(--transition-normal);
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

.button.is-primary {
  background: var(--gradient-primary);
  border: none;
}

.button.is-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.button.is-light {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--primary-dark);
  border: none;
}

.button.is-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.button.is-rounded {
  border-radius: 30px;
}

/* Навигация */
.navbar {
  transition: var(--transition-normal);
  background-color: transparent;
  padding: 1rem 0;
}

.navbar.is-active, .navbar.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.navbar-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: var(--transition-normal);
}

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

.navbar-burger {
  height: 3.25rem;
  width: 3.25rem;
}

/* Hero Section */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

.hero .title, 
.hero .subtitle,
.hero p {
  color: var(--white);
  position: relative;
  z-index: 10;
}

.hero .title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero .subtitle {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.stats-item {
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Секция About */
.about-section {
  background-color: var(--white);
}

.image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  text-align: center;
}

.image-container img {
  transition: var(--transition-normal);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Секция Courses */
.courses-section {
  background-color: var(--light);
}

.course-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.course-card .card-image {
  height: 250px;
  overflow: hidden;
}

.course-card .image-container {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.course-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-details {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--medium);
  margin-bottom: 1rem;
}

/* Секция Resources */
.resources-section {
  background-color: var(--white);
}

.resource-card {
  height: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.resource-card:hover {
  box-shadow: var(--shadow-md);
}

.resource-card .card-content {
  padding: 1.5rem;
}

.resource-card .title a {
  color: var(--primary-dark);
  transition: var(--transition-normal);
}

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

/* Секция Community */
.community-section {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.community-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
}

.community-content {
  position: relative;
  z-index: 10;
}

.community-section .title,
.community-section .subtitle {
  color: var(--white);
}

.community-card {
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.community-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background-color: rgba(255, 255, 255, 0.15);
}

.community-card .card-content {
  padding: 1.5rem;
}

.community-card .title {
  color: var(--white);
}

.community-card p {
  color: rgba(255, 255, 255, 0.9);
}

/* Секция Clientele */
.clientele-section {
  background-color: var(--light);
}

.testimonial-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.testimonial-card .card-content {
  padding: 2rem;
  text-align: center;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-sm);
}

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

.testimonial-card .title {
  margin-bottom: 0.25rem;
}

.testimonial-card .subtitle {
  color: var(--medium);
  margin-bottom: 1rem;
}

/* Секция Awards */
.awards-section {
  background-color: var(--white);
}

.award-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.award-card .card-content {
  padding: 2rem;
  text-align: center;
}

.award-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
}

.award-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.award-card .title {
  margin-bottom: 0.25rem;
}

.award-card .subtitle {
  color: var(--medium);
  margin-bottom: 1rem;
}

/* Секция Calendar */
.calendar-section {
  background-color: var(--light);
}

.event-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
}

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

.event-card .card-content {
  padding: 1.5rem;
  display: flex;
  width: 100%;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 1.5rem;
  margin-right: 1.5rem;
  border-right: 1px solid rgba(0,0,0,0.1);
  min-width: 80px;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-color);
}

.event-date .month {
  font-size: 1rem;
  font-weight: 500;
  color: var(--medium);
  text-transform: uppercase;
}

.event-details {
  flex-grow: 1;
}

.event-details .title {
  margin-bottom: 0.5rem;
}

.event-details .subtitle {
  color: var(--medium);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Секция Contact */
.contact-section {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
}

.contact-section .container {
  position: relative;
  z-index: 10;
}

.contact-section .label {
  color: var(--white);
}

.contact-info {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--primary-light);
}

.contact-item h3 {
  margin-bottom: 0.5rem;
}

/* Футер */
.footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 1.5rem 2rem;
}

.footer .title {
  color: var(--white);
}

.footer p {
  font-size: 0.9rem;
  opacity: 0.8;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-normal);
}

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

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-normal);
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.social-links a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

.newsletter-form .input {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
}

.newsletter-form .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  font-size: 0.9rem;
}

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

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

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

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

.success-content {
  max-width: 600px;
}

.success-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

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

/* Утилиты и медиа-запросы */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mt-6 { margin-top: 4rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-6 { margin-bottom: 4rem; }

/* Анимации для AOS */
[data-aos="fade-up"] {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="fade-left"] {
  transform: translateX(30px);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

/* Медиа-запросы */
@media screen and (max-width: 1023px) {
  .section {
    padding: 4rem 1.5rem;
  }
  
  .hero .title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  
  .hero .subtitle {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
  }
  
  .event-card .card-content {
    flex-direction: column;
  }
  
  .event-date {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    flex-direction: row;
    gap: 0.5rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
    padding-right: 0;
  }
}

@media screen and (max-width: 767px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .stats-container {
    gap: 1.5rem;
  }
  
  .stats-number {
    font-size: 2rem;
  }
  
  .contact-item {
    flex-direction: column;
  }
  
  .contact-item i {
    margin-bottom: 0.5rem;
  }
}

/* Параллакс-эффект */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Адаптивная типографика */
@media screen and (min-width: 1024px) {
  body {
    font-size: 1.05rem;
  }
  
  h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }
  
  h2 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  
  h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }
}

@media screen and (max-width: 1023px) {
  body {
    font-size: 1rem;
  }
  
  h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  
  h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  }
  
  h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  }
}

@media screen and (max-width: 767px) {
  body {
    font-size: 0.95rem;
  }
  
  h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  }
  
  h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }
  
  h3 {
    font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  }
}