:root {
  /* Основная монохромная палитра */
  --primary-color: #333333;
  --primary-dark: #222222;
  --primary-light: #555555;
  --secondary-color: #666666;
  --secondary-dark: #444444;
  --secondary-light: #888888;
  --accent-color: #000000;
  --accent-light: #222222;
  
  /* Текстовые цвета */
  --text-dark: #111111;
  --text-medium: #333333;
  --text-light: #ffffff;
  
  /* Фоновые цвета */
  --background-light: #f8f8f8;
  --background-medium: #e0e0e0;
  --background-dark: #333333;
  
  /* Дополнительные цвета */
  --success-color: #2c2c2c;
  --error-color: #4a4a4a;
  --warning-color: #626262;
  
  /* Размеры */
  --header-height: 80px;
  --footer-height: 300px;
  --container-max-width: 1200px;
  
  /* Скругления */
  --border-radius-small: 0px;
  --border-radius-medium: 0px;
  --border-radius-large: 0px;
  
  /* Тени */
  --box-shadow-light: 5px 5px 0px rgba(0, 0, 0, 0.8);
  --box-shadow-medium: 8px 8px 0px rgba(0, 0, 0, 0.9);
  --box-shadow-heavy: 12px 12px 0px rgba(0, 0, 0, 1);
  
  /* Переходы */
  --transition-fast: 0.2s;
  --transition-medium: 0.4s;
  --transition-slow: 0.6s;
  
  /* Размеры шрифтов */
  --font-size-xxs: 0.75rem;
  --font-size-xs: 0.875rem;
  --font-size-sm: 1rem;
  --font-size-md: 1.25rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 3rem;
  --font-size-hero: 4rem;
}

/* Общие стили */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-medium);
  line-height: 1.6;
  background-color: var(--background-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.title {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-medium) ease;
}

.title:hover::after {
  transform: scaleX(1);
}

.section {
  padding: 4rem 1.5rem;
  position: relative;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

a:hover {
  color: var(--accent-color);
}

p {
  margin-bottom: 1.5rem;
}

/* Стилизация кнопок */
.button, button, input[type="submit"] {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border: 3px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--box-shadow-light);
}

.button:hover, button:hover, input[type="submit"]:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translate(-5px, -5px);
  box-shadow: var(--box-shadow-medium);
}

.button:active, button:active, input[type="submit"]:active {
  transform: translate(0, 0);
  box-shadow: none;
}

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

.button.is-outlined {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

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

.brutalist-button {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 3px solid var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  box-shadow: var(--box-shadow-light);
  transition: all var(--transition-fast) ease;
}

.brutalist-button:hover {
  transform: translate(-5px, -5px);
  box-shadow: var(--box-shadow-medium);
}

.brutalist-button-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 3px solid var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  box-shadow: var(--box-shadow-light);
  transition: all var(--transition-fast) ease;
}

.brutalist-button-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translate(-5px, -5px);
  box-shadow: var(--box-shadow-medium);
}

/* Стилизация форм */
.input, .textarea, .select select {
  border: 3px solid var(--primary-color);
  padding: 0.8rem;
  border-radius: var(--border-radius-small);
  font-family: 'Lato', sans-serif;
  transition: all var(--transition-fast) ease;
  box-shadow: var(--box-shadow-light);
  background-color: var(--background-light);
}

.input:focus, .textarea:focus, .select select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: var(--box-shadow-medium);
  transform: translate(-3px, -3px);
}

.brutalist-input, .brutalist-textarea, .brutalist-select {
  border: 3px solid var(--primary-color);
  background-color: var(--background-light);
  box-shadow: var(--box-shadow-light);
  transition: all var(--transition-fast) ease;
}

.brutalist-input:focus, .brutalist-textarea:focus, .brutalist-select:focus {
  transform: translate(-3px, -3px);
  box-shadow: var(--box-shadow-medium);
}

/* Навигация */
.navbar {
  background-color: var(--background-light);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem;
  transition: all var(--transition-fast) ease;
}

.navbar-brand {
  font-weight: 700;
}

.navbar-item {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 1rem;
}

.navbar-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-medium) ease;
}

.navbar-item:hover::after {
  width: 100%;
}

.navbar-burger {
  color: var(--primary-color);
  height: 3.25rem;
  width: 3.25rem;
}

.navbar-burger span {
  background-color: var(--primary-color);
  height: 2px;
  left: calc(50% - 8px);
  width: 16px;
}

.navbar-menu.is-active {
  animation: fadeIn var(--transition-fast) ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hero секция */
.hero {
  position: relative;
  background-color: var(--primary-dark);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero-title {
  font-size: var(--font-size-hero);
  margin-bottom: 1.5rem;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: 2rem;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: var(--font-size-lg);
  max-width: 700px;
  margin-bottom: 2rem;
  color: var(--text-light);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Анимация частиц */
@keyframes particleAnimation {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
  }
}

.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: particleAnimation 15s infinite linear;
}

/* Vision секция */
.vision-section {
  background-color: var(--background-light);
  position: relative;
  overflow: hidden;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.02) 50%, rgba(0, 0, 0, 0.02) 75%, transparent 75%, transparent);
  background-size: 10px 10px;
  z-index: 0;
}

.brutalist-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  background-color: var(--background-light);
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-medium);
  transition: all var(--transition-medium) ease;
}

.brutalist-content:hover {
  transform: translate(-8px, -8px);
  box-shadow: var(--box-shadow-heavy);
}

.vision-image-container {
  margin: 2rem 0;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-medium);
  transition: all var(--transition-medium) ease;
}

.vision-image-container:hover {
  transform: translate(-8px, -8px);
  box-shadow: var(--box-shadow-heavy);
}

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

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

/* Process секция */
.process-section {
  background-color: var(--background-medium);
  position: relative;
  overflow: hidden;
}

.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: 0;
}

.timeline-item {
  padding: 2rem 0;
  position: relative;
  width: 50%;
  left: 0;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  right: -12px;
  top: 0;
  background-color: var(--primary-color);
  z-index: 1;
  border: 4px solid var(--background-light);
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -12px;
}

.timeline-content {
  padding: 2rem;
  background-color: var(--background-light);
  position: relative;
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-medium);
  transition: all var(--transition-medium) ease;
  margin-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: 0;
  margin-left: 30px;
}

.timeline-content:hover {
  transform: translate(-8px, -8px);
  box-shadow: var(--box-shadow-heavy);
}

.timeline-title {
  font-size: var(--font-size-lg);
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.image-container {
  margin: 1.5rem 0;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-light);
  transition: all var(--transition-fast) ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.image-container:hover {
  transform: translate(-5px, -5px);
  box-shadow: var(--box-shadow-medium);
}

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

/* Statistics секция */
.statistics-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 5rem 1.5rem;
}

.stat-box {
  text-align: center;
  padding: 2rem;
  border: 3px solid var(--text-light);
  box-shadow: var(--box-shadow-light);
  transition: all var(--transition-medium) ease;
  background-color: var(--primary-dark);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-box:hover {
  transform: translate(-8px, -8px);
  box-shadow: var(--box-shadow-heavy);
}

.stat-number {
  font-size: var(--font-size-xxl);
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Roboto', sans-serif;
}

.stat-label {
  font-size: var(--font-size-md);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Calendar секция */
.calendar-section {
  background-color: var(--background-light);
  position: relative;
  overflow: hidden;
}

.calendar-container {
  padding: 2rem;
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-medium);
  background-color: var(--background-light);
  transition: all var(--transition-medium) ease;
}

.calendar-container:hover {
  transform: translate(-8px, -8px);
  box-shadow: var(--box-shadow-heavy);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.month-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.prev-month, .next-month {
  background: none;
  border: none;
  font-size: var(--font-size-xl);
  cursor: pointer;
  color: var(--primary-color);
  padding: 0 1rem;
  transition: all var(--transition-fast) ease;
}

.prev-month:hover, .next-month:hover {
  color: var(--accent-color);
  transform: scale(1.2);
}

.current-month {
  font-size: var(--font-size-lg);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 2rem;
}

.calendar-events {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-card {
  display: flex;
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-light);
  transition: all var(--transition-medium) ease;
  background-color: var(--background-light);
}

.event-card:hover {
  transform: translate(-5px, -5px);
  box-shadow: var(--box-shadow-medium);
}

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 1.5rem;
  font-weight: 700;
  font-size: var(--font-size-lg);
  min-width: 120px;
  text-align: center;
}

.event-details {
  padding: 1.5rem;
  flex-grow: 1;
}

.event-title {
  font-size: var(--font-size-md);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.event-description {
  margin-bottom: 1rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: var(--font-size-xs);
  color: var(--secondary-dark);
}

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

.resource-card {
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-medium) ease;
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-light);
  background-color: var(--background-light);
}

.resource-card:hover {
  transform: translate(-8px, -8px);
  box-shadow: var(--box-shadow-heavy);
}

.resource-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 1rem;
}

.resource-description {
  margin-bottom: 1.5rem;
}

/* Webinars секция */
.webinars-section {
  background-color: var(--background-light);
  position: relative;
  overflow: hidden;
}

.custom-slider-container {
  position: relative;
  margin: 2rem 0;
  overflow: hidden;
}

.custom-slider {
  display: flex;
  transition: transform var(--transition-medium) ease;
}

.custom-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
}

.webinar-card {
  display: flex;
  flex-direction: column;
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-medium);
  transition: all var(--transition-medium) ease;
  background-color: var(--background-light);
  height: 100%;
}

.webinar-card:hover {
  transform: translate(-8px, -8px);
  box-shadow: var(--box-shadow-heavy);
}

.webinar-image {
  overflow: hidden;
  border-bottom: 3px solid var(--primary-color);
}

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

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

.webinar-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.webinar-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.webinar-date {
  font-size: var(--font-size-xs);
  color: var(--secondary-dark);
  margin-bottom: 1rem;
}

.webinar-description {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.prev-slide, .next-slide {
  background: none;
  border: 3px solid var(--primary-color);
  font-size: var(--font-size-xl);
  cursor: pointer;
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
  transition: all var(--transition-fast) ease;
  box-shadow: var(--box-shadow-light);
}

.prev-slide:hover, .next-slide:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translate(-3px, -3px);
  box-shadow: var(--box-shadow-medium);
}

/* Insights секция */
.insights-section {
  background-color: var(--background-medium);
}

.insight-card {
  display: flex;
  flex-direction: column;
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-medium);
  transition: all var(--transition-medium) ease;
  background-color: var(--background-light);
  height: 100%;
}

.insight-card:hover {
  transform: translate(-8px, -8px);
  box-shadow: var(--box-shadow-heavy);
}

.insight-image {
  overflow: hidden;
  border-bottom: 3px solid var(--primary-color);
}

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

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

.insight-content {
  padding: 2rem;
  flex-grow: 1;
}

.insight-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 1rem;
}

.insight-description {
  margin-bottom: 1rem;
}

/* Gallery секция */
.gallery-section {
  background-color: var(--background-light);
}

.gallery-container {
  margin: 2rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-medium);
  transition: all var(--transition-medium) ease;
}

.gallery-item:hover {
  transform: translate(-8px, -8px);
  box-shadow: var(--box-shadow-heavy);
}

.gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-medium) ease;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-light);
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform var(--transition-fast) ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-size: var(--font-size-md);
  margin-bottom: 0.5rem;
}

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

/* Contact секция */
.contact-section {
  background-color: var(--background-medium);
  position: relative;
  overflow: hidden;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-medium);
  background-color: var(--background-light);
  transition: all var(--transition-medium) ease;
}

.contact-container:hover {
  transform: translate(-8px, -8px);
  box-shadow: var(--box-shadow-heavy);
}

.contact-info {
  flex: 1 1 300px;
}

.contact-form-container {
  flex: 2 1 500px;
}

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

.field {
  margin-bottom: 1.5rem;
}

.label {
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 4rem 1.5rem 2rem;
}

.footer-title {
  font-size: var(--font-size-md);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--text-light);
}

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

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

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: all var(--transition-fast) ease;
  position: relative;
}

.footer-links a::before {
  content: "→";
  opacity: 0;
  margin-right: 0.5rem;
  transform: translateX(-10px);
  display: inline-block;
  transition: all var(--transition-fast) ease;
}

.footer-links a:hover {
  padding-left: 1rem;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

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

.social-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: all var(--transition-fast) ease;
  position: relative;
  font-weight: bold;
  margin-right: 1rem;
}

.social-links a:hover {
  color: var(--background-medium);
  transform: translateY(-3px);
}

.newsletter-title {
  font-size: var(--font-size-sm);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: var(--font-size-xs);
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
  overflow: auto;
  justify-content: center;
  align-items: center;
}

.modal.is-active {
  display: flex;
}

.brutalist-modal {
  background-color: var(--background-light);
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-heavy);
  max-width: 800px;
  width: 100%;
  margin: 2rem;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.modal-title {
  margin: 0;
  font-size: var(--font-size-lg);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: var(--font-size-xl);
  cursor: pointer;
  transition: all var(--transition-fast) ease;
}

.modal-close-btn:hover {
  transform: rotate(90deg);
}

.modal-body {
  padding: 2rem;
}

.modal-image {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

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

.course-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.course-details li {
  margin-bottom: 0.75rem;
}

/* Брутализм карточки */
.brutalist-card {
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-medium);
  transition: all var(--transition-medium) ease;
  background-color: var(--background-light);
}

.brutalist-card:hover {
  transform: translate(-8px, -8px);
  box-shadow: var(--box-shadow-heavy);
}

/* Cookie Consent Popup */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--text-light);
  z-index: 9999;
  padding: 1.5rem;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
}

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

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-button {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--text-light);
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  transition: all var(--transition-fast) ease;
}

.cookie-button:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

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

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

.success-title {
  font-size: var(--font-size-xxl);
  margin-bottom: 1rem;
}

.success-message {
  font-size: var(--font-size-lg);
  max-width: 800px;
  margin-bottom: 2rem;
}

/* Страницы Terms и Privacy */
.terms-page, .privacy-page {
  padding-top: 100px;
}

.terms-content, .privacy-content {
  padding: 2rem;
  background-color: var(--background-light);
  border: 3px solid var(--primary-color);
  box-shadow: var(--box-shadow-medium);
  margin: 2rem 0;
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0 !important;
  }
  
  .timeline-marker {
    left: 30px !important;
    right: auto !important;
  }
  
  .timeline-content {
    margin-left: 70px !important;
    margin-right: 0 !important;
  }
  
  .hero-title {
    font-size: var(--font-size-xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero-description {
    font-size: var(--font-size-md);
  }
}

@media screen and (max-width: 768px) {
  .columns {
    display: block;
  }
  
  .column {
    width: 100% !important;
    margin-bottom: 1.5rem;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info, .contact-form-container {
    width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    width: 100%;
    padding: 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-button {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .title.is-3 {
    font-size: 1.5rem;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .button {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .timeline-content {
    padding: 1rem;
  }
  
  .stat-box {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .navbar-brand .title {
    font-size: 1.25rem;
  }
}

/* Animations */
[data-aos] {
  opacity: 0;
  transition: opacity 0.8s, transform 0.8s;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-down"] {
  transform: translateY(-50px);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0) scale(1);
}