:root {
  /* Нейроморфные переменные */
  --nm-shadow-small: 0.3rem 0.3rem 0.6rem rgba(166, 175, 195, 0.2), -0.2rem -0.2rem 0.5rem rgba(255, 255, 255, 0.8);
  --nm-shadow: 0.5rem 0.5rem 1rem rgba(166, 175, 195, 0.2), -0.5rem -0.5rem 1rem rgba(255, 255, 255, 0.8);
  --nm-shadow-large: 0.8rem 0.8rem 1.4rem rgba(166, 175, 195, 0.2), -0.8rem -0.8rem 1.4rem rgba(255, 255, 255, 0.8);
  --nm-shadow-inset: inset 0.2rem 0.2rem 0.5rem rgba(166, 175, 195, 0.2), inset -0.2rem -0.2rem 0.5rem rgba(255, 255, 255, 0.8);
  
  /* Пастельная цветовая схема */
  --primary-color: #a5c8e1;
  --primary-dark: #7ca8c8;
  --primary-light: #c7e0f0;
  --secondary-color: #f6c3d0;
  --secondary-dark: #e29eaf;
  --secondary-light: #ffdbe7;
  --accent-color: #a8d5ba;
  --accent-dark: #81b797;
  --accent-light: #c5e8d3;
  --warning-color: #f8d5a8;
  --warning-dark: #e5b679;
  --warning-light: #ffecd0;
  --text-color: #4a5568;
  --text-light: #718096;
  --text-dark: #2d3748;
  --bg-color: #f8f9fc;
  --white: #ffffff;
  --gray-100: #f7fafc;
  --gray-200: #edf2f7;
  --gray-300: #e2e8f0;
  --gray-400: #cbd5e0;
  --gray-500: #a0aec0;
  --card-bg: rgba(255, 255, 255, 0.85);
  --overlay-bg: rgba(0, 0, 0, 0.5);

  /* Размеры радиусов */
  --border-radius-sm: 4px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;

  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

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

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

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

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 2rem;
  border-radius: var(--border-radius-sm);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: var(--nm-shadow-small);
  border: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--nm-shadow);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--nm-shadow-inset);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--text-dark);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Forms */
.form-control {
  padding: 0.8rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-300);
  background-color: var(--white);
  transition: all var(--transition-fast);
  box-shadow: var(--nm-shadow-inset);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(165, 200, 225, 0.25);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

/* Header & Navigation */
.header-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(248, 249, 252, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  margin-top: 0;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: var(--white);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

/* About Section */
.about-section {
  position: relative;
  background-color: var(--bg-color);
}

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

.image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--nm-shadow);
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  transition: transform var(--transition);
}

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

/* Stations Section */
.stations-section {
  background-color: var(--gray-100);
}

.card {
  border: none;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--nm-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.station-card .card-image {
  position: relative;
  overflow: hidden;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

.station-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.station-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.station-features span {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Map Section */
.map-section {
  background-color: var(--white);
}

.map-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--nm-shadow);
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.map-search {
  display: flex;
  width: 100%;
  max-width: 600px;
  margin-bottom: 1.5rem;
}

.map-search .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.map-search .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.map-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.filter-btn {
  background-color: var(--white);
  color: var(--text-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
}

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

.resource-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--nm-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.resource-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--primary-dark);
}

.resource-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.resource-card a {
  margin-top: auto;
  font-weight: 500;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  padding-top: 1rem;
}

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

/* Testimonials Section */
.testimonials-section {
  background-color: var(--white);
}

.testimonial-card {
  position: relative;
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--nm-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-card .card-image {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--nm-shadow);
}

.testimonial-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card h4 {
  margin-bottom: 0.3rem;
  font-size: 1.3rem;
}

.testimonial-role {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  position: relative;
  padding: 0 1rem;
}

.testimonial-text::before, .testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  position: absolute;
}

.testimonial-text::before {
  top: -10px;
  left: 0;
}

.testimonial-text::after {
  bottom: -20px;
  right: 0;
}

.testimonial-rating {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: var(--warning-dark);
}

/* Events Section */
.events-section {
  background-color: var(--gray-100);
}

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

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

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

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

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

.event-date {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.event-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.event-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.promo-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  height: 100%;
  transition: all var(--transition);
  box-shadow: var(--nm-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.promo-icon {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--secondary-dark);
}

.promo-card h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Press Section */
.press-section {
  background-color: var(--white);
}

.timeline-item {
  position: relative;
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--nm-shadow);
  display: flex;
  margin-bottom: 2rem;
}

.timeline-date {
  flex: 0 0 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 2rem;
  border-right: 2px dashed var(--primary-color);
}

.timeline-date span {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
}

.timeline-content {
  flex: 1;
  padding-left: 2rem;
}

.timeline-content h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  margin-top: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

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

@media (max-width: 767px) {
  .timeline-item {
    flex-direction: column;
  }
  
  .timeline-date {
    flex: 0 0 auto;
    padding-right: 0;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-right: none;
    border-bottom: 2px dashed var(--primary-color);
  }
  
  .timeline-content {
    padding-left: 0;
  }
}

/* Careers Section */
.careers-section {
  background-color: var(--gray-100);
}

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

.careers-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.career-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--nm-shadow);
}

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

.career-card h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.career-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.career-details span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.contact-item .icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item .content {
  flex: 1;
}

.contact-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-form-container {
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--nm-shadow);
}

/* Footer */
.footer-section {
  background-color: var(--text-dark);
  color: var(--gray-300);
  padding: 5rem 0 2rem;
}

.footer-about h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  color: var(--gray-300);
  transition: color var(--transition-fast);
  font-weight: 500;
  display: inline-block;
  padding: 0.5rem 0.8rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
}

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

.footer-links h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--gray-300);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

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

.footer-newsletter h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-newsletter p {
  margin-bottom: 1.5rem;
}

.footer-newsletter .input-group {
  box-shadow: var(--nm-shadow-small);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.footer-newsletter .form-control {
  border: none;
  padding: 0.8rem 1rem;
  box-shadow: none;
}

.footer-newsletter .btn {
  box-shadow: none;
  padding: 0.8rem 1.5rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-content {
  max-width: 600px;
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 3rem;
  box-shadow: var(--nm-shadow);
}

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

.content-container {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--nm-shadow);
}

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

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

/* Media Queries */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .timeline-date {
    flex: 0 0 120px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-content {
    margin-bottom: 2rem;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
  
  .footer-about, .footer-links, .footer-newsletter {
    margin-bottom: 2rem;
  }
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.resource-icon, .contact-item .icon, .promo-icon, .success-icon {
  animation: float 4s ease-in-out infinite;
}

/* ScrollReveal Animations */
.reveal-bottom {
  visibility: hidden;
}

.reveal-left {
  visibility: hidden;
}

.reveal-right {
  visibility: hidden;
}

.reveal-top {
  visibility: hidden;
}

/* Particle Animation Styles */
#particles-js {
  opacity: 0.6;
}

/* Neuomorphic cards hover effect */
.card, .resource-card, .testimonial-card, .promo-card, .career-card, .timeline-item, .contact-form-container {
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover, .resource-card:hover, .testimonial-card:hover, .promo-card:hover, .career-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--nm-shadow-large);
}

html,body{
  overflow-x: hidden;
}