:root {
  /* Основная цветовая схема */
  --primary-color: #4a69bd;
  --primary-color-dark: #3c5aa6;
  --primary-color-light: #6c8ae4;
  --secondary-color: #e58e26;
  --secondary-color-dark: #c67b1e;
  --secondary-color-light: #f2a947;
  
  /* Нейтральные цвета */
  --dark-color: #2c3e50;
  --dark-color-light: #465a6e;
  --light-color: #f8f9fa;
  --light-color-dark: #e9ecef;
  
  /* Цвета текста */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  
  /* Неоморфические тени */
  --neomorphic-light: 8px 8px 16px rgba(174, 174, 192, 0.4);
  --neomorphic-dark: -8px -8px 16px rgba(255, 255, 255, 0.8);
  --neomorphic-inset-light: inset 8px 8px 16px rgba(174, 174, 192, 0.25);
  --neomorphic-inset-dark: inset -8px -8px 16px rgba(255, 255, 255, 0.5);
  
  /* Переходы и анимации */
  --transition-slow: 0.5s ease;
  --transition-medium: 0.3s ease;
  --transition-fast: 0.1s ease;
  
  /* Радиусы */
  --border-radius-small: 4px;
  --border-radius-medium: 8px;
  --border-radius-large: 16px;
  --border-radius-xl: 24px;
  
  /* Отступы */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
}

/* Основные стили */
html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: var(--spacing-md);
}

p {
  margin-bottom: var(--spacing-md);
}

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

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

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

.section {
  padding: var(--spacing-xxl) 0;
}

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

/* Неоморфические элементы */
.neomorphic-card {
  background: var(--light-color);
  border-radius: var(--border-radius-large);
  box-shadow: var(--neomorphic-light), var(--neomorphic-dark);
  padding: var(--spacing-xl);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  overflow: hidden;
}

.neomorphic-card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 20px rgba(174, 174, 192, 0.5), -10px -10px 20px rgba(255, 255, 255, 0.9);
}

.neomorphic-button {
  background: linear-gradient(145deg, var(--light-color), var(--light-color-dark));
  border-radius: var(--border-radius-medium);
  box-shadow: var(--neomorphic-light), var(--neomorphic-dark);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: all var(--transition-medium);
  cursor: pointer;
  margin: var(--spacing-sm);
  text-align: center;
  display: inline-block;
}

.neomorphic-button:hover {
  box-shadow: var(--neomorphic-inset-light), var(--neomorphic-inset-dark);
  color: var(--primary-color-dark);
}

.neomorphic-button.is-primary {
  background: linear-gradient(145deg, var(--primary-color-light), var(--primary-color));
  color: white;
}

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

.neomorphic-button.is-secondary {
  background: linear-gradient(145deg, var(--secondary-color-light), var(--secondary-color));
  color: white;
}

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

/* Заголовки секций */
.title {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.title.is-1, .title.is-2 {
  font-size: 2.5rem;
}

.title.is-3 {
  font-size: 2rem;
}

.title.is-4 {
  font-size: 1.5rem;
}

.title.is-5 {
  font-size: 1.25rem;
}

.title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* Карточки */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  height: 100%;
}

.card-image {
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
}

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

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

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

/* Иконки */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: var(--spacing-sm);
}

/* Хедер и навигация */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-medium);
}

.header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-item {
  position: relative;
  color: var(--dark-color);
  font-weight: 500;
  margin: 0 var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  transition: color var(--transition-medium);
}

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

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-medium), left var(--transition-medium);
}

.navbar-item:hover::after {
  width: 100%;
  left: 0;
}

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}

.navbar-burger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--dark-color);
  left: 0;
  transition: all var(--transition-medium);
}

.navbar-burger span:nth-child(1) {
  top: 0;
}

.navbar-burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.navbar-burger span:nth-child(3) {
  bottom: 0;
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media screen and (max-width: 1023px) {
  .navbar-burger {
    display: block;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-md);
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    display: flex;
    flex-direction: column;
  }
  
  .navbar-item {
    margin: var(--spacing-xs) 0;
    padding: var(--spacing-md);
  }
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-body {
  z-index: 2;
  width: 100%;
  padding: var(--spacing-xxl) 0;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero .title::after {
  background: linear-gradient(90deg, var(--light-color), var(--secondary-color-light));
}

.hero-foot {
  margin-top: auto;
  padding-bottom: var(--spacing-xl);
}

.arrow-down {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.arrow-down a {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 40px;
}

.arrow-down span {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(45deg);
  margin-bottom: -10px;
  animation: arrow-down 2s infinite;
}

.arrow-down span:nth-child(2) {
  animation-delay: -0.2s;
}

.arrow-down span:nth-child(3) {
  animation-delay: -0.4s;
}

@keyframes arrow-down {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-20px, -20px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(20px, 20px);
  }
}

/* Services Section */
.services-section .card {
  height: 100%;
}

.services-section .card-image img {
  height: 220px;
}

/* Map and Calculator Section */
.map-calculator-section {
  background-color: var(--light-color-dark);
}

.map-container {
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius-large);
}

.map-container img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-medium);
}

.calculator-container {
  height: 100%;
}

.calculator-form .field {
  margin-bottom: var(--spacing-md);
}

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

.calculator-form .input,
.calculator-form .select select {
  background-color: var(--light-color);
  border: 1px solid var(--light-color-dark);
  box-shadow: var(--neomorphic-inset-light);
  border-radius: var(--border-radius-medium);
  padding: var(--spacing-md);
  transition: all var(--transition-medium);
}

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

.price-result {
  background: linear-gradient(145deg, var(--primary-color-light), var(--primary-color));
  color: white;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--neomorphic-light);
}

/* Methodology Section */
.methodology-section {
  background-color: var(--light-color);
}

.methodology-card {
  height: 100%;
  text-align: center;
}

.methodology-icon {
  width: 100px;
  height: 100px;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.methodology-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  padding: var(--spacing-sm);
  background: linear-gradient(145deg, var(--light-color), var(--light-color-dark));
  box-shadow: var(--neomorphic-light);
}

/* Workshops Section */
.workshops-section {
  background-color: var(--light-color-dark);
}

.workshop-content {
  height: 100%;
}

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

.workshop-text {
  padding: var(--spacing-md) 0;
}

.upcoming-workshops {
  height: 100%;
}

.workshop-list {
  list-style: none;
  padding: 0;
}

.workshop-list li {
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  background: linear-gradient(145deg, var(--light-color), var(--light-color-dark));
  border-radius: var(--border-radius-medium);
  box-shadow: var(--neomorphic-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-medium);
}

.workshop-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--neomorphic-light), var(--neomorphic-dark);
}

.workshop-date {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.workshop-title {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.workshop-location {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Resources Section */
.resources-section {
  background-color: var(--light-color);
}

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Gallery Section */
.gallery-section {
  background-color: var(--light-color-dark);
}

.gallery-carousel {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
}

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

.gallery-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--border-radius-large);
  box-shadow: var(--neomorphic-light);
}

.gallery-caption {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background-color: var(--light-color);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--neomorphic-light);
}

.gallery-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2;
}

.gallery-controls button {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--dark-color);
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-medium);
}

.gallery-controls button:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Research Section */
.research-section {
  background-color: var(--light-color);
}

.research-content {
  height: 100%;
  text-align: left;
}

.statistics-widgets .columns {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.stat-widget {
  text-align: center;
  padding: var(--spacing-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-dark);
}

.research-sidebar {
  height: 100%;
}

.research-list {
  list-style: none;
  padding: 0;
}

.research-list li {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--light-color-dark);
}

.research-list li:last-child {
  border-bottom: none;
}

.research-date {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: var(--spacing-xs);
}

/* Events Calendar Section */
.events-calendar-section {
  background-color: var(--light-color-dark);
}

.calendar-container {
  text-align: left;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.calendar-controls {
  display: flex;
  align-items: center;
}

.current-month {
  margin: 0 var(--spacing-md);
  font-weight: 600;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.event-item {
  display: flex;
  background: linear-gradient(145deg, var(--light-color), var(--light-color-dark));
  border-radius: var(--border-radius-medium);
  box-shadow: var(--neomorphic-light);
  overflow: hidden;
  transition: all var(--transition-medium);
}

.event-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--neomorphic-light), var(--neomorphic-dark);
}

.event-date {
  background: linear-gradient(145deg, var(--primary-color-light), var(--primary-color));
  color: white;
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.event-date .day {
  font-size: 1.8rem;
  font-weight: 700;
}

.event-date .month {
  font-size: 0.9rem;
}

.event-details {
  padding: var(--spacing-md) var(--spacing-lg);
  flex-grow: 1;
}

.event-title {
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.event-location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-xs);
}

/* Behind the Scenes Section */
.behind-scenes-section {
  background-color: var(--light-color);
}

.behind-scenes-content {
  height: 100%;
  text-align: left;
}

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

.content-text {
  padding-top: var(--spacing-md);
}

.team-section {
  height: 100%;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--spacing-md);
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--neomorphic-light);
}

.member-name {
  font-weight: 600;
  margin-bottom: 0;
}

.member-position {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-xs);
}

.member-description {
  font-size: 0.85rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--light-color-dark);
}

.contact-info {
  text-align: left;
}

.contact-details {
  margin-bottom: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.map-container {
  width: 100%;
}

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

.contact-form {
  text-align: left;
}

.contact-form .field {
  margin-bottom: var(--spacing-md);
}

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

.contact-form .input,
.contact-form .textarea {
  background-color: var(--light-color);
  border: 1px solid var(--light-color-dark);
  box-shadow: var(--neomorphic-inset-light);
  border-radius: var(--border-radius-medium);
  padding: var(--spacing-md);
  transition: all var(--transition-medium);
}

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

.contact-form .checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.contact-form .checkbox input {
  margin-right: var(--spacing-sm);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: var(--spacing-xxl) 0 var(--spacing-xl);
}

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

.footer .title::after {
  background: linear-gradient(90deg, var(--primary-color-light), var(--secondary-color-light));
}

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

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--light-color);
  transition: color var(--transition-medium);
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.social-links a {
  color: var(--light-color);
  font-weight: 500;
  transition: color var(--transition-medium);
}

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

.contact-info p {
  margin-bottom: var(--spacing-xs);
  color: var(--light-color-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  font-size: 0.9rem;
  color: var(--light-color-dark);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xxl) var(--spacing-md);
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xl);
}

.success-message {
  max-width: 600px;
  margin-bottom: var(--spacing-xl);
}

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xxl);
}

.privacy-content,
.terms-content {
  background-color: var(--light-color);
  border-radius: var(--border-radius-large);
  box-shadow: var(--neomorphic-light);
  padding: var(--spacing-xl);
}

/* Cookie Consent */
#cookie-consent {
  border-top: 4px solid var(--primary-color);
}

#accept-cookies {
  transition: background-color var(--transition-medium);
}

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

/* Responsive */
@media screen and (max-width: 768px) {
  .title.is-1, .title.is-2 {
    font-size: 2rem;
  }
  
  .title.is-3 {
    font-size: 1.5rem;
  }
  
  .title.is-4 {
    font-size: 1.25rem;
  }
  
  .neomorphic-card {
    padding: var(--spacing-lg);
  }

  .contact-info-card {
    padding: 16px;
  }

  .contact-form .checkbox {
    flex-wrap: wrap;
  }

  .testimonial-content {
    flex-direction: column;
    gap: 12px;
  }
  
  .methodology-icon {
    width: 80px;
    height: 80px;
  }
  
  .team-members {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .event-date {
    min-width: 60px;
  }
  
  .event-date .day {
    font-size: 1.5rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }

  .navbar-brand {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .title.is-1, .title.is-2 {
    font-size: 1.75rem;
  }
  
  .title::after {
    width: 60px;
  }
  
  .team-members {
    grid-template-columns: 1fr;
  }
  
  .event-item {
    flex-direction: column;
  }
  
  .event-date {
    padding: var(--spacing-sm);
    flex-direction: row;
    justify-content: space-around;
  }
  
  .event-date .day {
    font-size: 1.25rem;
    margin-right: var(--spacing-xs);
  }
}

/* Анимации и эффекты */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.dynamic-gradient {
  background: linear-gradient(270deg, var(--primary-color), var(--secondary-color), var(--primary-color-light));
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

.dynamic-gradient.button {
  color: white;
  border: none;
}

/* Читать далее ссылки */
.read-more-link {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  padding-right: 25px;
  margin-top: var(--spacing-sm);
  transition: all var(--transition-medium);
}

.read-more-link::after {
  content: '→';
  position: absolute;
  right: 0;
  transition: transform var(--transition-medium);
}

.read-more-link:hover {
  color: var(--primary-color-dark);
}

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

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

/* Стили для отображения изображений в карточках */
.image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
  position: relative;
}

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

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

/* Карусель контента */
.content-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-items {
  display: flex;
  transition: transform var(--transition-medium);
}

.carousel-item {
  flex: 0 0 100%;
}

.carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.carousel-dot.active {
  background-color: var(--primary-color);
}

/* Дополнительные стили для about.html, contacts.html, privacy.html, terms.html */
.page-header {
  padding-top: 100px;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding-bottom: var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 105, 189, 0.8), rgba(229, 142, 38, 0.8));
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header .title,
.page-header .subtitle {
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-content {
  padding: var(--spacing-xxl) 0;
}

.page-section {
  margin-bottom: var(--spacing-xxl);
}

/* Дополнительные стили для инфографики */
.infographic {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: var(--spacing-xl) 0;
}

.infographic-item {
  flex: 0 0 calc(33.333% - 20px);
  text-align: center;
  padding: var(--spacing-md);
  background: linear-gradient(145deg, var(--light-color), var(--light-color-dark));
  border-radius: var(--border-radius-medium);
  box-shadow: var(--neomorphic-light);
  margin-bottom: var(--spacing-lg);
  transition: all var(--transition-medium);
}

.infographic-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--neomorphic-light), var(--neomorphic-dark);
}

.infographic-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.infographic-title {
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

@media screen and (max-width: 768px) {
  .infographic-item {
    flex: 0 0 calc(50% - 15px);
  }
}

@media screen and (max-width: 480px) {
  .infographic-item {
    flex: 0 0 100%;
  }
}

.title:not(.is-spaced)+.subtitle {
  margin-top: 0;
}

#contactForm {
  width: 100%;
}

.navbar-item h1 {
  margin-bottom: 0;
}