:root {
  /* Основная цветовая схема */
  --primary-color: #2a53e9;
  --primary-dark: #1a3cb1;
  --primary-light: #6984ff;
  --secondary-color: #e9512a;
  --secondary-dark: #b83c1a;
  --secondary-light: #ff7850;
  --accent-color: #1ecbe1;
  --accent-dark: #16a7b9;
  --accent-light: #60eeff;
  
  /* Нейтральные цвета */
  --dark-text: #222222;
  --text-color: #333333;
  --light-text: #ffffff;
  --gray-light: #f4f6f9;
  --gray-medium: #e0e0e0;
  --gray-dark: #888888;
  
  /* Оттенки для карточек и фонов */
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  
  /* Градиенты */
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --secondary-gradient: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  --dark-overlay: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
  --light-overlay: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.7));
  
  /* Размеры и отступы */
  --container-padding: 1.5rem;
  --section-spacing: 5rem;
  --card-padding: 2rem;
  
  /* Анимации */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--gray-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-text);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray-dark);
  max-width: 700px;
  margin: 0 auto;
}

/* Кнопки (глобально) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.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 var(--transition-fast);
  z-index: -1;
}

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

.btn-primary {
  background: var(--primary-gradient);
  color: var(--light-text);
  box-shadow: 0 4px 15px rgba(42, 83, 233, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(42, 83, 233, 0.5);
  transform: translateY(-2px);
  color: var(--light-text);
  text-decoration: none;
}

.btn-secondary {
  background: var(--secondary-gradient);
  color: var(--light-text);
  box-shadow: 0 4px 15px rgba(233, 81, 42, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 6px 20px rgba(233, 81, 42, 0.5);
  transform: translateY(-2px);
  color: var(--light-text);
  text-decoration: none;
}

button, input[type='submit'] {
  cursor: pointer;
  font-family: 'Source Sans Pro', sans-serif;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Анимации */
.animate__animated {
  opacity: 0;
}

.animate__animated.animate__fadeIn {
  opacity: 1;
}

/* Карточки */
.card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

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

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

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

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

.card-content {
  padding: var(--card-padding);
  text-align: center;
  flex-grow: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-fast);
}

.header.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.8rem;
}

.logo a {
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--secondary-color);
  margin-left: 5px;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
}

.desktop-nav li {
  margin-left: 2rem;
}

.desktop-nav a {
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-fast);
}

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

.desktop-nav a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.burger-menu span {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: all var(--transition-fast);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  background: var(--primary-color);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  transition: left var(--transition-medium);
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  margin-bottom: 1.5rem;
}

.mobile-nav a {
  color: var(--light-text);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--accent-light);
  text-decoration: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  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: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-overlay);
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-content h1, 
.hero-content p {
  color: var(--light-text);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-text {
  font-size: 1rem;
  color: var(--light-text);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
  padding: var(--section-spacing) 0;
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  height: 100%;
}

.feature-icon {
  margin-bottom: 1.5rem;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(42, 83, 233, 0.2);
}

.feature-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.progress-container {
  width: 100%;
  margin-top: 1.5rem;
}

.progress-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.progress-bar {
  height: 10px;
  background-color: var(--gray-medium);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 5px;
  position: relative;
  transition: width 1.5s ease;
}

.progress-bar span {
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Portfolio Section */
.portfolio-section {
  padding: var(--section-spacing) 0;
  background-color: #fff;
  position: relative;
}

.portfolio-carousel {
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
}

.carousel-container {
  overflow: hidden;
  position: relative;
}

.carousel-slide {
  display: none;
  transition: transform var(--transition-medium);
}

.carousel-slide.active {
  display: block;
}

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

.carousel-prev,
.carousel-next {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
  margin: 0 1rem;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.timeline {
  margin-top: 2rem;
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5px;
  height: 100%;
  width: 2px;
  background: var(--primary-gradient);
}

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

.timeline-dot {
  position: absolute;
  left: -30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  top: 5px;
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

/* Events Section */
.events-section {
  padding: var(--section-spacing) 0;
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.event-date {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background: var(--secondary-color);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(233, 81, 42, 0.3);
}

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

.month {
  font-size: 0.9rem;
  font-weight: 600;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.detail {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

.detail i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* Resources Section */
.resources-section {
  padding: var(--section-spacing) 0;
  background-color: #fff;
  position: relative;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Sustainability Section */
.sustainability-section {
  padding: var(--section-spacing) 0;
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.sustainability-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.sustainability-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.sustainability-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-medium);
}

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

.sustainability-text {
  flex: 1;
}

.sustainability-metrics {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.metric {
  text-align: center;
  flex: 1;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-fast);
}

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

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-color);
}

/* Contact Section */
.contact-section {
  padding: var(--section-spacing) 0;
  background-color: #fff;
  position: relative;
}

.contact-container {
  display: flex;
  gap: 4rem;
}

.contact-info {
  flex: 1;
}

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

.info-item i {
  margin-right: 1rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

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

.social-links h4 {
  margin-bottom: 1rem;
}

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

.social-icons a {
  color: var(--primary-color);
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-medium);
  border-radius: 4px;
  background-color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(42, 83, 233, 0.2);
  outline: none;
}

/* Footer */
.footer {
  background-color: #1a1f2b;
  color: var(--gray-light);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo h2 {
  color: white;
  font-size: 2rem;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-col p {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-col h3 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-gradient);
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: var(--gray-light);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-col ul li a:hover {
  opacity: 1;
  text-decoration: none;
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright p {
  margin-bottom: 0;
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--gray-light);
  opacity: 0.7;
  font-size: 0.9rem;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer .social-links {
  margin-top: 1.5rem;
}

.footer .social-links a {
  color: var(--gray-light);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
  margin-right: 1rem;
}

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

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--gray-light);
}

.success-container {
  max-width: 600px;
  padding: 3rem;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

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

.content-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.content-container h1 {
  margin-bottom: 2rem;
}

.content-container h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.content-container p {
  margin-bottom: 1.5rem;
}

.content-container ul, 
.content-container ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-container li {
  margin-bottom: 0.5rem;
}

/* Cookie Popup */
#cookie-popup {
  transition: opacity var(--transition-medium);
}

#accept-cookies:hover {
  background-color: #3a80d2;
}

/* Media Queries */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.4rem;
  }
  
  .sustainability-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .contact-container {
    flex-direction: column;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .features-grid,
  .events-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .sustainability-metrics {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-spacing {
    --section-spacing: 3rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .card-padding {
    --card-padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}
h1{
  font-size: 20px;
}