:root {
  /* Цветовая схема (аналоговая) */
  --primary-color: #3e8ed0;
  --primary-dark: #2b77b9;
  --primary-light: #4fa3e6;
  --secondary-color: #41c7c7;
  --secondary-dark: #339999;
  --secondary-light: #5edada;
  --accent-color: #3e64d0;
  --accent-dark: #2b4999;
  --accent-light: #4f79e6;
  --bg-color: #f9f9ff;
  --bg-dark: #f0f0f8;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --border-color: #e0e0e6;
  --shadow-color: rgba(62, 142, 208, 0.15);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  --gradient-dark: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  
  /* Тени для объемных элементов UI */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
  
  /* Закругления */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Переходы и анимации */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin-bottom: 1.5rem;
}

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

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

/* Кнопки */
.button {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  border: none;
}

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

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

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

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

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

/* Навигация */
.navbar {
  box-shadow: var(--shadow-md);
  background-color: var(--text-light);
  transition: all var(--transition-normal);
}

.navbar-item {
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.navbar-burger {
  height: 4rem;
}

.navbar-burger span {
  background-color: var(--text-dark);
}

/* Hero секция */
.hero {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

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

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

.hero p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.scroll-down-icon {
  animation: bounce 2s infinite;
  display: inline-block;
}

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

/* Общие стили для секций */
.section {
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.section:nth-child(odd) {
  background-color: var(--bg-dark);
}

.section h2.title {
  position: relative;
  margin-bottom: 2.5rem;
  text-align: center;
}

.section h2.title:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Карточки */
.card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--text-light);
}

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

.card-image {
  overflow: hidden;
  text-align: center;
  width: 100%;
}

.card-image img {
  transition: transform var(--transition-slow);
  object-fit: cover;
  width: 100%;
  margin: 0 auto;
}

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

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

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

.card .subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* About секция */
.about-section .content {
  margin-bottom: 2rem;
}

.about-statistics {
  background: var(--text-light);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.statistic-item {
  padding: 1.5rem;
  transition: transform var(--transition-normal);
}

.statistic-item:hover {
  transform: translateY(-5px);
}

.statistic-item h3 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Innovation секция */
.innovation-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.innovation-carousel {
  position: relative;
  padding: 2rem 0;
}

.carousel-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 1rem;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 auto;
  width: 300px;
  margin-right: 2rem;
  scroll-snap-align: start;
}

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

/* Resources секция */
.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.resource-card h3 {
  margin-bottom: 0.5rem;
}

.resource-card .subtitle {
  margin-bottom: 1rem;
}

.resource-card p {
  flex-grow: 1;
}

.resource-card a {
  font-weight: 500;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.resource-card a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Community секция */
.community-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.event-card {
  margin-bottom: 2rem;
}

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

.event-card img {
  height: 100%;
  object-fit: cover;
}

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

/* Media секция */
.media-section {
  background-color: var(--bg-color);
}

.media-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  background-color: var(--text-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.media-item .image {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

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

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

.media-item .title {
  font-size: 1.5rem;
}

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

/* Team секция */
.team-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.team-card {
  overflow: hidden;
}

.team-card .card-image {
  height: 300px;
}

.team-card .image {
  overflow: hidden;
}

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

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

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

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.partner-logo {
  padding: 1.5rem;
  text-align: center;
  transition: transform var(--transition-normal);
}

.partner-logo:hover {
  transform: translateY(-5px);
}

.partner-logo figure {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-logo p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.contact-form-container {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form .label {
  color: var(--text-light);
}

.contact-form .input,
.contact-form .textarea {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus {
  box-shadow: 0 0 0 2px var(--primary-color);
}

.contact-info {
  padding: 2.5rem;
  border-radius: var(--border-radius-md);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-item .icon {
  margin-right: 1rem;
  color: var(--primary-light);
}

.gmap_canvas {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.footer .title {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.social-links {
  display: flex;
  flex-direction: column;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

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

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Cookie Consent */
#cookieConsent {
  box-shadow: var(--shadow-xl);
  border-top: 4px solid var(--primary-color);
}

#acceptCookies {
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: background-color var(--transition-fast);
}

#acceptCookies:hover {
  background-color: var(--primary-dark);
}

/* 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(--bg-color);
}

.success-container {
  max-width: 600px;
  padding: 3rem;
  background-color: var(--text-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

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

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 120px;
  padding-bottom: 3rem;
}

.privacy-content,
.terms-content {
  background-color: var(--text-light);
  padding: 3rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

/* Responsive Adjustments */
@media screen and (max-width: 1023px) {
  .hero-body {
    padding: 5rem 1.5rem;
  }
  
  .section {
    padding: 4rem 1.5rem;
  }
  
  .carousel-item {
    width: 250px;
  }
}

@media screen and (max-width: 768px) {
  .hero-body {
    padding: 4rem 1.5rem;
  }
  
  .section {
    padding: 3rem 1.5rem;
  }
  
  .statistic-item {
    padding: 1rem;
  }
  
  .carousel-item {
    width: 220px;
    margin-right: 1.5rem;
  }
  
  .partner-logo figure {
    height: 80px;
  }
  
  .contact-form-container,
  .contact-info {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .section h2.title {
    font-size: 1.75rem;
  }
  
  .carousel-item {
    width: 180px;
    margin-right: 1rem;
  }
}

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

/* Анимации при прокрутке */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Утилиты */
.has-shadow {
  box-shadow: var(--shadow-md);
}

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

.is-rounded {
  border-radius: 50%;
}

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

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}