/* === Variables === */
:root {
  /* Цветовая схема */
  --primary-color: #4a7fc1;
  --primary-dark: #385d94;
  --primary-light: #6097d8;
  --secondary-color: #ff7e5f;
  --secondary-dark: #e06e52;
  --secondary-light: #ff9980;
  --accent-color: #50c878;
  --accent-dark: #40a361;
  --accent-light: #72d994;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, #4a7fc1, #6097d8);
  --gradient-secondary: linear-gradient(135deg, #ff7e5f, #feb47b);
  --gradient-accent: linear-gradient(135deg, #50c878, #72d994);
  --gradient-dark: linear-gradient(135deg, #2c3e50, #4ca1af);
  --gradient-light: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  
  /* Гласморфизм */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --glass-blur: 10px;
  
  /* Общие */
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;
  --transition-speed: 0.3s;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  
  /* Текст */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
}

/* === Base Styles === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  background-color: #f9f9f9;
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

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

p {
  margin-bottom: 1.2rem;
}

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

.section {
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

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

/* === Utilities === */
.has-text-centered {
  text-align: center;
}

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

.mb-6 {
  margin-bottom: 3rem !important;
}

.mt-6 {
  margin-top: 3rem !important;
}

.mt-5 {
  margin-top: 2.5rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

.mb-5 {
  margin-bottom: 2.5rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.mr-3 {
  margin-right: 1.5rem !important;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

/* === Glassmorphism === */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px var(--glass-shadow);
  transition: all var(--transition-speed) ease;
  padding: 2rem;
}

.glassmorphism:hover {
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

/* === Header & Navigation === */
header.glassmorphism {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 0;
}

.navbar {
  min-height: 70px;
}

.navbar-brand h1 {
  margin-bottom: 0;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-item {
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition-speed) ease;
}

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

.navbar-menu.is-active {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Burger Menu */
.navbar-burger {
  color: var(--primary-color);
}

.navbar-burger:hover {
  background-color: transparent;
}

/* === Buttons === */
.button {
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.button.is-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 127, 193, 0.3);
}

.button.is-light {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.button.is-light:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

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

.animated-btn {
  position: relative;
  overflow: hidden;
}

.animated-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.animated-btn:hover::before {
  transform: translateX(0);
}

/* === Hero Section === */
.hero {
  position: relative;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: var(--text-light);
}

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

.hero-body {
  position: relative;
  z-index: 2;
}

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

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

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.progress-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.progress-item {
  text-align: center;
}

.circular-progress {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--primary-color) 0%, var(--primary-light) var(--value, 0%), transparent var(--value, 0%));
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
}

.circular-progress::before {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.progress-value {
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
}

/* === Cards === */
.card {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  height: 250px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

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

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

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

/* === Gallery === */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 300px;
  margin-bottom: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--text-light);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption h3 {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.gallery-caption p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* === Behind the Scenes === */
.content-box {
  margin-bottom: 2rem;
  overflow: hidden;
}

.content-box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.content-box h3 {
  color: var(--primary-color);
}

/* === Research === */
.research-image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.research-image-container img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.image-caption {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.research-stats {
  padding: 1.5rem;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stat-item h4 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* === Workshops === */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.parallax-section .container {
  position: relative;
  z-index: 2;
}

.workshop-card {
  height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.workshop-date {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.workshop-date i {
  margin-right: 0.5rem;
}

/* === Events Calendar === */
.event-card {
  display: flex;
  margin-bottom: 2rem;
  overflow: hidden;
}

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 100px;
  padding: 1.5rem;
  background: var(--gradient-primary);
  color: var(--text-light);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

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

.event-date .month {
  font-size: 1.2rem;
  font-weight: 500;
}

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

.event-location {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.event-location i {
  margin-right: 0.5rem;
}

/* === Contact === */
.contact-form-container {
  padding: 2.5rem;
}

.contact-form-container .label {
  color: var(--text-dark);
  font-weight: 600;
}

.contact-form-container .input,
.contact-form-container .textarea,
.contact-form-container .select select {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
}

.contact-form-container .input:focus,
.contact-form-container .textarea:focus,
.contact-form-container .select select:focus {
  box-shadow: 0 0 0 2px rgba(74, 127, 193, 0.2);
  border-color: var(--primary-color);
}

.contact-info {
  height: 100%;
}

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

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin-right: 1.5rem;
  color: var(--text-light);
}

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

.contact-details h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.map-container {
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 250px;
}

.map-container iframe {
  border: 0;
}

/* === Resource Cards === */
.resource-card {
  text-align: center;
  padding: 2.5rem;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
}

.resource-card .icon-container {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
}

.animated-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* === Footer === */
.footer {
  background: var(--gradient-dark);
  color: var(--text-light);
  padding: 5rem 1.5rem 2rem;
  margin-top: 3rem;
}

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

.footer p {
  color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

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

.social-links a {
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* === Cookie Consent === */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(40, 45, 50, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-light);
  padding: 1rem 2rem;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
}

.cookie-content p {
  margin: 0 2rem 0 0;
}

/* === Success Page === */
.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
}

.success-content {
  text-align: center;
  max-width: 600px;
  padding: 3rem;
}

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

/* === Privacy & Terms Pages === */
.content-page {
  padding-top: 120px;
  padding-bottom: 5rem;
}

.content-page .container {
  max-width: 800px;
}

.content-page h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.content-page h2 {
  color: var(--primary-dark);
  margin: 2.5rem 0 1.5rem;
}

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

.fade-in {
  animation: fadeIn 1s ease forwards;
}

/* Particle Animation */
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 8s infinite;
}

/* === Responsive Styles === */
@media screen and (max-width: 1023px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .progress-container {
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .circular-progress {
    width: 100px;
    height: 100px;
  }
  
  .circular-progress::before {
    width: 75px;
    height: 75px;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    padding: 1rem;
    flex-direction: row;
    justify-content: space-around;
  }
  
  .event-date .day {
    font-size: 2rem;
    margin-right: 0.5rem;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .contact-item {
    flex-direction: column;
  }
  
  .icon-container {
    margin: 0 auto 1rem;
  }
  
  .contact-details {
    text-align: center;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin: 0 0 1rem 0;
  }
}

/* Биоморфный дизайн */
.bio-shape {
  position: absolute;
  z-index: -1;
  filter: blur(30px);
  opacity: 0.1;
}

.bio-shape-1 {
  top: 10%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  border-radius: 60% 40% 50% 50% / 50% 50% 50% 50%;
  animation: morphAnimation 15s linear infinite alternate;
}

.bio-shape-2 {
  bottom: 15%;
  right: 10%;
  width: 250px;
  height: 250px;
  background: var(--secondary-color);
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
  animation: morphAnimation 18s linear infinite alternate;
}

.bio-shape-3 {
  top: 40%;
  right: 20%;
  width: 200px;
  height: 200px;
  background: var(--accent-color);
  border-radius: 50% 40% 30% 70% / 30% 60% 40% 70%;
  animation: morphAnimation 12s linear infinite alternate;
}

@keyframes morphAnimation {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 40% 60% 70% 30% / 30% 60% 40% 70%;
  }
  50% {
    border-radius: 30% 60% 40% 70% / 50% 60% 30% 40%;
  }
  75% {
    border-radius: 60% 40% 50% 60% / 30% 70% 50% 60%;
  }
  100% {
    border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%;
  }
}
.title.is-4{
  font-size: 1rem;
}