:root {
  /* Основная палитра */
  --primary-color: #3273dc;
  --primary-dark: #2160c4;
  --primary-light: #4a89dc;
  --secondary-color: #00d1b2;
  --secondary-dark: #00c4a7;
  --secondary-light: #1ae0c2;
  --accent-color: #ff3860;
  --accent-dark: #e62e55;
  --accent-light: #ff5c7b;
  
  /* Нейтральные цвета */
  --dark: #363636;
  --dark-light: #4a4a4a;
  --light: #f5f5f5;
  --white: #ffffff;
  --grey: #b5b5b5;
  --grey-light: #e0e0e0;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  --gradient-dark-overlay: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  
  /* Тени */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Радиусы */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Размеры шрифтов для согласованности с Bulma */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 3rem;
}

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

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

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

p {
  margin-bottom: 1.5rem;
}

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

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

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

.section {
  padding: 5rem 1.5rem;
}

.container {
  padding: 0 1.5rem;
}
.hero-body{
  background: url(./image/about-1.jpg);
}
/* Кнопки - глобальные стили */
.button {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  border-radius: var(--radius-md);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.button:active {
  transform: translateY(0);
}

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

.button.is-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.button.is-secondary {
  background: var(--gradient-secondary);
  border: none;
  color: var(--white);
}

.button.is-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
}

.button.is-accent {
  background: var(--gradient-accent);
  border: none;
  color: var(--white);
}

.button.is-accent:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
}

.button.is-light {
  background: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--grey-light);
}

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

.button.is-outlined {
  background: transparent;
  border: 2px solid currentColor;
}

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

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

.button.is-outlined.is-light {
  color: var(--white);
  border-color: var(--white);
}

.button.is-outlined.is-light:hover {
  background: rgba(255, 255, 255, 0.2);
}

.pulse-button {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(50, 115, 220, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(50, 115, 220, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(50, 115, 220, 0);
  }
}

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

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

.navbar-item {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

.navbar-burger {
  height: 4rem;
  width: 4rem;
}

/* Hero секция */
.hero {
  position: relative;
  overflow: hidden;
}

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

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark-overlay);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fade-in-up 1s forwards 0.3s;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fade-in-up 1s forwards 0.6s;
}

@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem 0;
  backdrop-filter: blur(5px);
}

.hero-footer .heading, .hero-footer .title {
  color: var(--white) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mission секция */
.mission-section {
  background-color: var(--white);
}

.mission-section .title {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.mission-section .title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  transform: translateX(-50%);
}

.mission-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: transform var(--transition-normal);
}

.mission-image:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Statistics секция */
.statistics-section {
  background-color: var(--light);
  position: relative;
}

.statistics-section .title {
  color: var(--dark);
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-up-delay 0.6s forwards;
}

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

.stat-content {
  display: flex;
  align-items: flex-start;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.stat-info {
  flex-grow: 1;
}

.stat-title {
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.stat-value {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.stat-description {
  font-size: var(--font-size-md);
  color: var(--dark-light);
}

.chart-container {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

@keyframes fade-in-up-delay {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Community секция */
.community-section {
  background-color: var(--white);
}

.community-section .title {
  color: var(--primary-color);
}

.community-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-up-delay 0.6s forwards;
}

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

.community-card .card-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.community-card .image {
  width: 100%;
  height: 0;
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
}

.community-card .image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-normal);
}

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

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

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

.join-community {
  background: linear-gradient(135deg, rgba(50, 115, 220, 0.1), rgba(0, 209, 178, 0.1));
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.join-community .title {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

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

.resources-section .title {
  color: var(--primary-color);
}

.resource-card {
  display: block;
  text-decoration: none;
  height: 100%;
}

.resource-card .card {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background: var(--white);
  display: flex;
  flex-direction: column;
}

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

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

.resource-card .subtitle {
  color: var(--dark-light);
  margin-bottom: 1rem;
  font-size: var(--font-size-sm);
}

.resource-card .description {
  color: var(--dark);
  font-size: var(--font-size-md);
}

/* Events секция */
.events-section {
  background-color: var(--white);
}

.events-section .title {
  color: var(--primary-color);
}

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

.custom-slider {
  display: flex;
  transition: transform var(--transition-normal);
  padding: 1rem 0;
}

.slide {
  flex: 0 0 100%;
  padding: 0 1rem;
  transition: transform var(--transition-normal);
}

.event-card {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

.event-date .month {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  font-weight: 700;
}

.event-date .day {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  line-height: 1;
  margin: 0.5rem 0;
}

.event-date .year {
  font-size: var(--font-size-xs);
}

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

.event-title {
  color: var(--dark);
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
}

.event-location {
  color: var(--dark-light);
  font-size: var(--font-size-sm);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

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

.event-description {
  color: var(--dark);
  margin-bottom: 1.5rem;
}

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

.prev-button, .next-button {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-lg);
  color: var(--primary-color);
  cursor: pointer;
  margin: 0 0.5rem;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.prev-button:hover, .next-button:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

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

.contact-section .title {
  color: var(--primary-color);
}

.contact-info {
  margin-bottom: 2rem;
}

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

.contact-item i {
  color: var(--primary-color);
  font-size: var(--font-size-lg);
  margin-right: 1rem;
  margin-top: 0.25rem;
}

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

.contact-form-container {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-form-container .label {
  color: var(--dark);
}

.contact-form-container .input, 
.contact-form-container .textarea, 
.contact-form-container .select select {
  border-color: var(--grey-light);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

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

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

.footer .title, .footer .footer-title {
  color: var(--white);
}

.footer-description {
  color: var(--grey);
  margin-bottom: 1.5rem;
}

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

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

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

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

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

.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--grey);
  margin-right: 1.5rem;
  transition: color var(--transition-fast);
}

.social-links a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.newsletter p {
  color: var(--grey);
  margin-bottom: 1rem;
}

.newsletter-form .input {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.newsletter-form .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  color: var(--grey);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

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

.cookie-content p {
  margin-bottom: 1rem;
  margin-right: 1rem;
  flex-grow: 1;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

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

/* Success страница */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

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

.success-title {
  font-size: var(--font-size-2xl);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

/* Медиа-запросы */
@media (min-width: 768px) {
  .slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 992px) {
  .slide {
    flex: 0 0 33.333%;
  }
}

/* Утилиты */
.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.slide-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

/* Дополнительные анимации */
@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.morph-animation {
  animation: morph 8s ease-in-out infinite;
}

.image.is-morph {
  overflow: hidden;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 8s ease-in-out infinite;
}