:root {
  /* Цветовая схема "Пастельная" */
  --primary-color: #6a8d92;
  --primary-dark: #4d6b70;
  --primary-light: #88a8ad;
  --secondary-color: #e6b89c;
  --secondary-dark: #d9a88d;
  --secondary-light: #f3c9ad;
  --accent-color: #9c7a97;
  --accent-light: #b298ae;
  --accent-dark: #7c5c77;
  --text-color: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --bg-color: #f8f9fa;
  --bg-alt-color: #e9ecef;
  --white-color: #ffffff;
  --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  --transition-speed: 0.3s;
  --content-width: 1120px;

  /* Радиусы */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Размеры */
  --section-spacing: 5rem;
  --element-spacing: 2rem;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: var(--primary-color);
  transition: all var(--transition-speed) ease;
}

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

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  margin-top: 1rem;
  transition: all var(--transition-speed) ease;
}

.read-more:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.read-more::after {
  content: "→";
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform var(--transition-speed) ease;
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* Анимации */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.animate-pulse {
  animation: pulse 2s infinite ease-in-out;
}

/* Кнопки */
.button {
  transition: all var(--transition-speed) ease;
  font-weight: 500;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

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

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

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

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

/* Хедер */
.navbar {
  background-color: var(--white-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.navbar-item {
  transition: color var(--transition-speed) ease;
}

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

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

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

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

.arrow-down {
  margin-bottom: 2rem;
}

.arrow-down a {
  display: inline-block;
  color: var(--white-color);
  transition: transform var(--transition-speed) ease;
}

.arrow-down a:hover {
  transform: translateY(5px);
}

/* Карточки */
.card {
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed) ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

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

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

/* Курсы */
#cursuri .card {
  margin-bottom: 2rem;
}

#cursuri .image-container {
  height: 250px;
}

#cursuri .image-container img {
  height: 100%;
}

/* Слайдер и карусель */
.custom-carousel,
.custom-slider {
  position: relative;
  width: 100%;
}

.carousel-container,
.slider-container {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform var(--transition-speed) ease;
}

.slider-item {
  flex: 0 0 100%;
  padding: 0 15px;
}

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

.carousel-control,
.slider-control {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.5rem 1.5rem;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.carousel-control:hover,
.slider-control:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
}

/* Вебинары */
#webinars {
  background-color: var(--bg-alt-color);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(70px - 2px);
  height: 100%;
  width: 4px;
  background-color: var(--primary-light);
  border-radius: var(--radius-lg);
}

.timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: 3rem;
}

.timeline-marker {
  position: absolute;
  top: 5px;
  left: 60px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 3px solid var(--white-color);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.timeline-marker.is-primary {
  background-color: var(--primary-color);
}

.timeline-content {
  padding: 0 1.5rem;
}

/* Проекты */
#projects {
  background-color: var(--bg-alt-color);
}

/* Партнеры */
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background-color: var(--white-color);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed) ease;
  height: 100%;
}

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

.partner-card .image-container {
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

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

/* Награды */
.award-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background-color: var(--white-color);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed) ease;
  height: 100%;
}

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

.award-icon {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.award-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Контакты */
.contact-info {
  background-color: var(--white-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
}

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

.contact-item .icon {
  color: var(--primary-color);
}

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

.map-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

.contact-form .field {
  margin-bottom: 1.25rem;
}

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

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border-radius: var(--radius-sm);
  border-color: #ddd;
  transition: all var(--transition-speed) ease;
}

.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(106, 141, 146, 0.25);
}

/* Футер */
.footer {
  background-color: var(--primary-dark);
  color: var(--white-color);
  padding: 4rem 1.5rem;
}

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

.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.8);
  transition: all var(--transition-speed) ease;
}

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

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-speed) ease;
  margin-bottom: 0.5rem;
}

.social-links a:hover {
  color: var(--white-color);
  transform: translateX(5px);
}

.social-links a::before {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

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

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

.newsletter .button {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-color);
}

.newsletter .button:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

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

.success-page .icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

/* Страницы privacy и terms */
.privacy-page,
.terms-page {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.privacy-page .content,
.terms-page .content {
  background-color: var(--white-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
}

/* Медиа-запросы */
@media (max-width: 768px) {
  .timeline::before {
    left: 18px;
  }
  
  .timeline-item {
    padding-left: 40px;
  }
  
  .timeline-marker {
    left: 8px;
  }
  
  .custom-slider .slider-item {
    flex: 0 0 100%;
  }
  
  .navbar-brand {
    padding: 0.5rem 1rem;
  }
  
  .hero-body {
    padding: 3rem 1.5rem;
  }
}

/* Дополнительные стили для Eco-минимализма */
.eco-card {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(106, 141, 146, 0.2);
  backdrop-filter: blur(10px);
  transition: all var(--transition-speed) ease;
}

.eco-card:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(106, 141, 146, 0.4);
}

.h-100 {
  height: 100%;
}