:root {
  /* Основная цветовая схема (монохромная) */
  --primary-color: #2a4365;
  --primary-light: #3a5f8f;
  --primary-dark: #1a2f4a;
  --primary-transparent: rgba(42, 67, 101, 0.8);
  --primary-glass: rgba(42, 67, 101, 0.15);
  
  /* Акцентные цвета */
  --accent-color: #63b3ed;
  --accent-light: #90cdf4;
  --accent-dark: #3182ce;
  
  /* Нейтральные цвета */
  --white: #ffffff;
  --light-gray: #f7fafc;
  --medium-gray: #e2e8f0;
  --dark-gray: #4a5568;
  --black: #1a202c;
  
  /* Прозрачности для гласморфизма */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glass: 0 8px 32px 0 var(--glass-shadow);
  
  /* Радиусы скругления */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Анимации */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

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

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

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

/* Гласморфизм */
.glassmorphism-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-glass);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.glassmorphism-header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  position: fixed;
  width: 100%;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-normal);
}

/* Кнопки */
.glassmorphism-button {
  background: var(--primary-color) !important;
  color: white !important;
  border: none !important;
  border-radius: var(--radius-lg) !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 15px rgba(42, 67, 101, 0.3) !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast) !important;
  position: relative !important;
  overflow: hidden !important;
}

.glassmorphism-button:hover {
  transform: translateY(-2px) !important;
  background-color: var(--primary-light) !important;
  box-shadow: 0 6px 20px rgba(42, 67, 101, 0.4) !important;
}

.glassmorphism-button:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 10px rgba(42, 67, 101, 0.3) !important;
}

.glassmorphism-button::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.7s ease !important;
  z-index: 1 !important;
}

.glassmorphism-button:hover::before {
  left: 100% !important;
}

.glassmorphism-button-secondary {
  background: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.glassmorphism-button-secondary:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Форма и элементы форм */
.glassmorphism-input,
.glassmorphism-textarea,
.glassmorphism-select {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-md) !important;
  color: var(--dark-gray) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.glassmorphism-input:focus,
.glassmorphism-textarea:focus,
.glassmorphism-select:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 2px rgba(99, 179, 237, 0.25) !important;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
}

.hero-image {
  position: relative;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

/* About Section */
.about-section {
  background-color: var(--light-gray);
  padding: 5rem 2rem;
  position: relative;
}

.about-image-container {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.about-image-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  flex: 1 0 30%;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 0.5rem;
}

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

/* Vision Section */
.vision-section {
  background-color: #f0f5fa;
  padding: 5rem 2rem;
}

.vision-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vision-image {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.vision-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.vision-text {
  text-align: center;
}

.vision-text h3 {
  margin-bottom: 1.5rem;
}

.vision-text p {
  margin-bottom: 1.5rem;
}

/* Services Section */
.services-section {
  background-color: var(--light-gray);
  padding: 5rem 2rem;
}

.services-section .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

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

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

.card-content h3 {
  margin-bottom: 1rem;
}

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

.card-content a {
  margin-top: auto;
  align-self: center;
}

/* Courses Section */
.courses-section {
  background-color: #f0f5fa;
  padding: 5rem 2rem;
}

.courses-section .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* History Section */
.history-section {
  background-color: var(--light-gray);
  padding: 5rem 2rem;
}

.timeline {
  position: relative;
  margin: 3rem auto;
  max-width: 800px;
}

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

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-marker {
  position: relative;
  flex: 0 0 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(42, 67, 101, 0.2);
}

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

.timeline-content h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Methodology Section */
.methodology-section {
  background-color: #f0f5fa;
  padding: 5rem 2rem;
}

.method-card {
  height: 100%;
  text-align: center;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.method-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary-light);
}

.method-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.method-card h3 {
  margin-bottom: 1rem;
}

/* Sustainability Section */
.sustainability-section {
  background-color: var(--light-gray);
  padding: 5rem 2rem;
}

.sustainability-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sustainability-image {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sustainability-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.sustainability-text {
  text-align: center;
}

/* Resources Section */
.resources-section {
  background-color: #f0f5fa;
  padding: 5rem 2rem;
}

.resource-card {
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.resource-card h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.resource-list {
  list-style: none;
}

.resource-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.resource-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

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

.resource-list a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--light-gray);
  padding: 5rem 2rem;
}

.carousel-container {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.testimonial-item {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.testimonial-item.is-active {
  display: block;
}

.testimonial-content {
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 3px solid var(--primary-light);
}

.author-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--primary-dark);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

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

.prev-button,
.next-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
  padding: 0.5rem;
  transition: color var(--transition-fast);
}

.prev-button:hover,
.next-button:hover {
  color: var(--accent-color);
}

.carousel-indicators {
  display: flex;
  margin: 0 1rem;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--medium-gray);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

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

/* Contact Section */
.contact-section {
  background-color: #f0f5fa;
  padding: 5rem 2rem;
}

.contact-form-container {
  display: flex;
  flex-direction: column;
}

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

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-info ul {
  list-style: none;
  margin-bottom: 2rem;
}

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

.contact-info i {
  margin-right: 1rem;
  color: var(--primary-color);
}

.contact-map {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.contact-form {
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.contact-form .button {
  margin-top: auto;
}

/* Newsletter Section */
.newsletter-section {
  padding: 3rem 2rem;
  background-color: var(--light-gray);
}

.newsletter-container {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
}

.newsletter-form {
  margin-top: 1rem;
  width: 100%;
}

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

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

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

.footer-social a {
  color: var(--medium-gray);
  margin-right: 1rem;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--accent-light);
}

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

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

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

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

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

.footer-contact i {
  margin-right: 0.75rem;
  color: var(--accent-light);
}

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

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

.success-container {
  max-width: 600px;
  animation: fadeInUp 1s ease;
}

.success-icon {
  font-size: 4rem;
  color: #48bb78;
  margin-bottom: 1.5rem;
}

/* Privacy and Terms Pages */
.legal-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

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

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--medium-gray);
}

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

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

/* Media Queries */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .vision-content,
  .sustainability-content {
    flex-direction: column;
  }
  
  .vision-image,
  .sustainability-image {
    width: 100%;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    flex: 0 0 30px;
    height: 30px;
  }
  
  .testimonial-content {
    padding: 1.5rem 1rem;
  }
  
  .method-card {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding-right: 0;
  }
}

@media screen and (max-width: 480px) {
  .stat-item {
    flex: 1 0 100%;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-header .title {
    font-size: 1.75rem;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-author img {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Navbar styles */
.navbar {
  background: transparent;
}

.navbar-item {
  color: var(--white);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  background: transparent;
  color: var(--accent-light);
}

.navbar-burger {
  color: var(--white);
}

/* Section Common Styles */
.section {
  padding: 5rem 2rem;
}

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

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

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

.section-header .subtitle {
  color: var(--dark-gray);
  font-weight: normal;
}

/* Read more links */
.read-more {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 500;
  position: relative;
  padding-right: 20px;
  transition: padding var(--transition-fast);
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  opacity: 0;
  transition: right var(--transition-fast), opacity var(--transition-fast);
}

.read-more:hover {
  padding-right: 25px;
}

.read-more:hover::after {
  right: 0;
  opacity: 1;
}

/* Utilities */
.has-text-primary {
  color: var(--primary-color) !important;
}

.has-text-accent {
  color: var(--accent-color) !important;
}

.has-bg-primary {
  background-color: var(--primary-color) !important;
}

.has-bg-accent {
  background-color: var(--accent-color) !important;
}

.has-text-white {
  color: var(--white) !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.text-center {
  text-align: center !important;
}
.navbar-item {
    color: #bbb1b1;
    font-weight: 500;
    transition: color var(--transition-fast);
}