:root {
  /* Основная цветовая палитра */
  --primary-color: #2a60b8;
  --primary-light: #3a70c8;
  --primary-dark: #1a4088;
  --secondary-color: #4CAF50;
  --secondary-light: #5cba60;
  --secondary-dark: #3c8a40;
  --accent-color: #ff7a45;
  --accent-light: #ff8a55;
  --accent-dark: #e56a35;
  
  /* Нейтральные цвета */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #777777;
  --background-light: #f9f9f9;
  --background-dark: #121212;
  
  /* Градиенты */
  --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));
  --gradient-dark: linear-gradient(135deg, #2c3e50, #1a1a1a);
  
  /* Тени */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);
  --shadow-inset: inset 0 2px 5px rgba(0, 0, 0, 0.05);
  
  /* Радиусы */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Размеры шрифтов */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  
  /* Шрифты */
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  transition: color var(--transition-normal);
}

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

/* Прогресс-бар */
.progress-container {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 4px;
  background: transparent;
}

.progress-bar {
  height: 4px;
  background: var(--gradient-primary);
  width: 0%;
}

/* Navbar */
.navbar {
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

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

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 600;
  transition: color var(--transition-normal);
}

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

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

.hero .title,
.hero .subtitle {
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .title {
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-body {
  padding: 6rem 1.5rem;
}

.hero-foot {
  position: absolute;
  bottom: 2rem;
  width: 100%;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Buttons */
.button {
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

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

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

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

.button.is-light:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.button.is-large {
  padding: 1.2rem 2rem;
}

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

.section .title {
  color: var(--primary-color);
  margin-bottom: 3rem;
  position: relative;
}

.section .title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 1rem auto 0;
  border-radius: 3px;
}

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

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

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

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

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

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

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

.card .title::after {
  margin: 0.5rem 0 0;
}

/* Service Cards */
.service-card .card-image {
  height: 250px;
}

.service-card .title {
  font-size: var(--font-size-xl);
}

/* Team Cards */
.team-card .card-image {
  height: 300px;
}

.team-card .card-image img {
  border-radius: 0;
}

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

.team-card .subtitle {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Workshop Cards */
.workshop-card {
  display: flex;
  flex-direction: column;
}

.workshop-card .card-image {
  height: 250px;
}

.workshop-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.workshop-details p {
  margin-bottom: 0.5rem;
}

/* Research Cards */
.research-card .card-image {
  height: 200px;
}

.research-highlights {
  margin-top: 4rem;
  padding: 3rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.publication-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.publication-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.publication-authors {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.publication-source {
  font-weight: 600;
}

/* Reference Cards */
.reference-card .card-content {
  padding: 2rem;
}

.reference-card .title {
  font-size: var(--font-size-lg);
}

/* Testimonial Cards */
.testimonial-card {
  padding: 1rem;
}

.testimonial-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.testimonial-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--primary-light);
}

.testimonial-content {
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  opacity: 0.5;
}

.testimonial-author {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-position {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.testimonial-rating {
  color: #FFD700;
  margin-top: 1rem;
}

.carousel-controls {
  margin-top: 3rem;
}

.carousel-control {
  cursor: pointer;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  margin: 0 0.5rem;
  transition: var(--transition-normal);
}

.carousel-control:hover {
  background: var(--primary-light);
  color: white;
  box-shadow: var(--shadow-md);
}

/* Event Cards */
.event-card {
  display: flex;
  flex-direction: column;
}

.event-card .card-image {
  height: 250px;
}

.event-card .card-content {
  padding: 0;
  display: flex;
  align-items: stretch;
}

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  width: 100px;
}

.event-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

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

.event-location, .event-time {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.event-location i, .event-time i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* Award Cards */
.award-card {
  height: 100%;
  text-align: center;
}

.award-image {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.award-image img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.award-organization {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.award-description {
  text-align: center;
}

/* Contact Section */
.contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

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

.social-media .buttons {
  flex-wrap: wrap;
}

.social-media .button {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

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

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  transition: var(--transition-normal);
  box-shadow: var(--shadow-inset);
  border: 1px solid #eee;
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(42, 96, 184, 0.2);
}

.contact-form .button {
  margin-top: 1.5rem;
}

/* Footer */
.footer {
  padding: 5rem 1.5rem 3rem;
  color: var(--text-light);
}

.footer .title {
  color: white;
}

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

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

.footer-links a {
  color: #bbb;
  transition: var(--transition-normal);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  color: #bbb;
  transition: var(--transition-normal);
  display: inline-block;
  margin-right: 10px;
}

.social-links a:hover {
  color: white;
}

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

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

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

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

/* Media Queries */
@media (max-width: 768px) {
  .hero-body {
    padding: 4rem 1rem;
  }
  
  .hero .title {
    font-size: 2rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.25rem !important;
  }
  
  .event-card .card-content {
    flex-direction: column;
  }
  
  .event-date {
    width: 100%;
    padding: 1rem;
    flex-direction: row;
    justify-content: center;
  }
  
  .event-day {
    margin-right: 0.5rem;
  }
  
  .contact-info .contact-item {
    flex-direction: column;
  }
  
  .contact-info .icon {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

@media (max-width: 1023px) {
  .navbar-menu {
    background: white;
    box-shadow: var(--shadow-md);
  }
  
  .navbar-item {
    text-align: center;
  }
}

/* Utility Classes */
.is-centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.has-gradient-primary {
  background: var(--gradient-primary);
  color: white;
}

.has-gradient-secondary {
  background: var(--gradient-secondary);
  color: white;
}

.has-gradient-accent {
  background: var(--gradient-accent);
  color: white;
}

.has-text-primary {
  color: var(--primary-color) !important;
}

.has-text-secondary {
  color: var(--secondary-color) !important;
}

.has-text-accent {
  color: var(--accent-color) !important;
}
*{
  opacity: 1 !important;
}