:root {
  /* Триадная цветовая схема */
  --primary-color: #3273dc;
  --primary-dark: #2366d1;
  --primary-light: #4a89dc;
  
  --secondary-color: #dc3272;
  --secondary-dark: #c12864;
  --secondary-light: #e94b87;
  
  --tertiary-color: #72dc32;
  --tertiary-dark: #64c128;
  --tertiary-light: #87e94b;
  
  /* Нейтральные цвета */
  --neutral-100: #ffffff;
  --neutral-200: #f5f5f5;
  --neutral-300: #e8e8e8;
  --neutral-400: #d4d4d4;
  --neutral-500: #a0a0a0;
  --neutral-600: #707070;
  --neutral-700: #484848;
  --neutral-800: #303030;
  --neutral-900: #1a1a1a;
  
  /* Типографика */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  
  /* Отступы */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Радиусы */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Тени */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  
  /* Переходы */
  --transition-fast: all 0.2s ease;
  --transition-medium: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  
  /* Контейнер */
  --container-width: 1200px;
}

/* Базовые стили */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--neutral-100);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0;
}

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

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

p {
  margin-bottom: 1rem;
}

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

/* Утилиты */
.has-text-centered {
  text-align: center !important;
}

.mb-5 {
  margin-bottom: var(--spacing-lg) !important;
}

.mb-6 {
  margin-bottom: var(--spacing-xl) !important;
}

.mt-4 {
  margin-top: var(--spacing-md) !important;
}

/* Header / Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--neutral-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 0.75rem 0;
}

.navbar-brand h1 {
  margin: 0;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-menu {
  transition: var(--transition-medium);
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--neutral-700);
  padding: 0.5rem 1rem;
  transition: var(--transition-fast);
}

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

.navbar-burger {
  color: var(--neutral-800);
}

@media screen and (max-width: 1023px) {
  .navbar-menu {
    box-shadow: var(--shadow-md);
  }
  
  .navbar-menu.is-active {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background-color: var(--neutral-100);
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 80px; /* Для компенсации фиксированного хедера */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--neutral-100);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-foot {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  background-color: rgba(0, 0, 0, 0.7);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.stat-widget {
  text-align: center;
  color: var(--neutral-100);
  padding: 1rem;
}

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

.stat-label {
  display: block;
  font-size: 1.1rem;
}

/* Buttons */
.button {
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

.button.is-light {
  background-color: var(--neutral-200);
  color: var(--neutral-800);
}

.button.is-light:hover {
  background-color: var(--neutral-300);
}

.buttons.is-centered {
  justify-content: center;
}

/* Sections */
.section {
  padding: 5rem 1.5rem;
}

section:nth-child(even) {
  background-color: var(--neutral-200);
}

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

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

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

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

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.service-card .card-content {
  flex-grow: 1;
  padding: 1.5rem;
}

.service-card .title {
  color: var(--neutral-800);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--neutral-600);
}

/* Projects Section */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 4px;
  background-color: var(--primary-color);
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

.timeline-item {
  margin-bottom: 4rem;
  position: relative;
}

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

.timeline-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  border-radius: 50%;
  left: 50%;
  top: 2rem;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.timeline-marker::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--neutral-100);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.timeline-content {
  width: 45%;
  margin-left: auto;
  padding: 1rem;
  position: relative;
}

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

.timeline-item .card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-medium);
}

.timeline-item .card:hover {
  box-shadow: var(--shadow-lg);
}

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

.timeline-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.timeline-item .card-content {
  padding: 1.5rem;
}

.timeline-item .title {
  color: var(--neutral-800);
  margin-bottom: 0.25rem;
}

.timeline-item .subtitle {
  color: var(--neutral-500);
  margin-bottom: 1rem;
}

.progress-container {
  margin-bottom: 1.5rem;
}

.progress {
  height: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--neutral-300);
}

.progress.is-success::-webkit-progress-value {
  background-color: var(--tertiary-color);
}

.progress.is-success::-moz-progress-bar {
  background-color: var(--tertiary-color);
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 50px;
  }
  
  .timeline-marker {
    left: 50px;
  }
  
  .timeline-content {
    width: calc(100% - 100px);
    margin-left: 100px;
    margin-right: 0;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 100px;
    margin-right: 0;
  }
}

/* Instructors Section */
.card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.card .title {
  color: var(--neutral-800);
  margin-bottom: 0.25rem;
}

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

/* Innovation Section */
.innovation-box {
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  border-top: 4px solid var(--primary-color);
  transition: var(--transition-medium);
}

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

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

/* Resources Section */
.resource-card {
  height: 100%;
  transition: var(--transition-medium);
}

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

.resource-card .title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.resource-card p {
  margin-bottom: 1.5rem;
}

/* Press Section */
.press-card {
  height: 100%;
  transition: var(--transition-medium);
  border-left: 4px solid var(--secondary-color);
}

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

.press-card .title {
  color: var(--neutral-800);
  margin-bottom: 0.25rem;
}

.press-card .subtitle {
  color: var(--neutral-500);
  margin-bottom: 1rem;
  font-style: italic;
}

/* Team Section */
.team-card {
  text-align: center;
}

.team-card .image-container {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  margin: 1.5rem auto 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

/* Pricing Section */
.pricing-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
  transition: var(--transition-medium);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

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

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.pricing-card .title {
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.features-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--tertiary-color);
  font-weight: 700;
}

.pricing-card p {
  margin-bottom: 2rem;
  text-align: left;
}

/* Events Section */
.event-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

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

.event-card .button {
  margin-top: auto;
}

/* Vision Section */
#vision {
  position: relative;
}

#vision::before {
  content: "";
  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.6));
  z-index: 1;
}

#vision .container {
  position: relative;
  z-index: 2;
}

#vision p {
  color: var(--neutral-200);
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-info {
  background-color: var(--neutral-200);
  padding: 2rem;
  border-radius: var(--radius-md);
  height: 100%;
}

.info-item {
  margin-bottom: 1.5rem;
}

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

.contact-form {
  background-color: var(--neutral-100);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  color: var(--neutral-700);
  margin-bottom: 0.5rem;
  display: block;
}

.input, 
.textarea, 
.select select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral-400);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.input:focus, 
.textarea:focus, 
.select select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(50, 115, 220, 0.25);
}

.checkbox {
  display: flex;
  align-items: center;
}

.checkbox input {
  margin-right: 0.5rem;
}

/* Footer */
.footer {
  background-color: black!important;
  color: var(--neutral-300);
  padding: 4rem 1.5rem;
}

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

.footer p {
  margin-bottom: 1rem;
  color: var(--neutral-400);
}

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

.social-links a {
  color: var(--neutral-300);
  transition: var(--transition-fast);
  font-weight: 500;
  position: relative;
}

.social-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition-medium);
}

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

.social-links a:hover::after {
  width: 100%;
}

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

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

.footer-links a {
  color: var(--neutral-400);
  transition: var(--transition-fast);
}

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

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

.privacy-page,
.terms-page {
  padding-top: 100px;
  min-height: 100vh;
}

.privacy-content,
.terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .hero .title.is-1 {
    font-size: 2rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .columns.is-multiline {
    margin: 0;
  }
  
  .column {
    padding: 0.75rem;
  }
  
  .timeline-item .image-container {
    height: 200px;
  }
  
  .team-card .image-container {
    width: 150px;
    height: 150px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fadeIn {
  animation: fadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scaleIn {
  animation: scaleIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* For navbar burger menu */
.navbar-burger {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: block;
  height: 3.25rem;
  position: relative;
  width: 3.25rem;
}

.navbar-burger span {
  background-color: var(--neutral-700);
  display: block;
  height: 1px;
  left: calc(50% - 8px);
  position: absolute;
  transform-origin: center;
  transition-duration: 86ms;
  transition-property: background-color, opacity, transform;
  transition-timing-function: ease-out;
  width: 16px;
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 6px);
}

.navbar-burger span:nth-child(2) {
  top: calc(50% - 1px);
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 4px);
}

.navbar-burger:hover span {
  background-color: var(--primary-color);
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}