:root {
  /* Основная цветовая схема (дополнительная) */
  --primary-color: #4a6cfa;
  --primary-dark: #3454d1;
  --primary-light: #8595ff;
  --secondary-color: #fa824c;
  --secondary-dark: #e56a34;
  --secondary-light: #ffaa7f;
  
  /* Нейтральные цвета */
  --background: #f0f2f5;
  --background-dark: #e4e8ed;
  --card-bg: #f8fafc;
  --text-dark: #2c2e35;
  --text-medium: #4d5156;
  --text-light: #74777d;
  --white: #ffffff;
  
  /* Тени для неоморфизма */
  --shadow-light: 8px 8px 16px rgba(174, 174, 192, 0.4);
  --shadow-dark: -8px -8px 16px rgba(255, 255, 255, 0.8);
  --shadow-inset-light: inset 8px 8px 16px rgba(174, 174, 192, 0.25);
  --shadow-inset-dark: inset -8px -8px 16px rgba(255, 255, 255, 0.5);
  
  /* Размеры */
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius: 12px;
  --border-radius-small: 6px;
  
  /* Transition */
  --transition-speed: 0.3s;
  --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo h1 {
  font-size: 32px;
  margin: 0;
}
/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(36px, 5vw, 48px);
}

h2 {
  font-size: clamp(28px, 4vw, 36px);
}

h3 {
  font-size: clamp(22px, 3vw, 28px);
}

p {
  margin-bottom: 20px;
  color: var(--text-medium);
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
  object-fit: cover;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Styles */
.section {
  padding: 60px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Neomorphism Styles */
.neomorph {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  background: var(--card-bg);
  transition: all var(--transition-speed) var(--bounce);
}

.neomorph:hover {
  box-shadow: var(--shadow-light), var(--shadow-dark), 0 0 0 5px rgba(74, 108, 250, 0.1);
}

.neomorph-inset {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-inset-light), var(--shadow-inset-dark);
  background: var(--background);
  transition: all var(--transition-speed) var(--bounce);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) var(--bounce);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  margin: 10px 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(1px);
}

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

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

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

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

/* Form Styles */
input, textarea, select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  transition: all var(--transition-speed) var(--bounce);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 108, 250, 0.3);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Header Styles */
.header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background: var(--card-bg);
  padding: 15px 0;
  top: 0;
}

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

.logo a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

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

.desktop-nav ul li {
  margin-left: 25px;
}

.desktop-nav ul li a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

.desktop-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) var(--bounce);
}

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

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

.bar {
  height: 3px;
  width: 100%;
  background-color: var(--text-dark);
  border-radius: 10px;
  transition: all var(--transition-speed) var(--bounce);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--card-bg);
  padding: 20px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) var(--bounce);
  box-shadow: var(--shadow-light);
  z-index: 1000;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  display: block;
}

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

.mobile-nav ul li {
  margin-bottom: 15px;
}

.mobile-nav ul li a {
  color: var(--text-dark);
  font-weight: 500;
  display: block;
  padding: 10px 0;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding-top: var(--header-height);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero-content h1, .hero-content h2, .hero-content p {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-content h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: clamp(18px, 3vw, 22px);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Methodology Section */
.methodology-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.methodology-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.methodology-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  height: 100%;
  transition: transform var(--transition-speed) var(--bounce);
}

.card:hover {
  transform: translateY(-10px);
}

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

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Sustainability Section */
.sustainability-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.sustainability-image {
  flex: 1 1 45%;
  min-width: 300px;
}

.sustainability-text {
  flex: 1 1 45%;
  min-width: 300px;
  padding: 30px;
}

.sustainability-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.stat {
  flex: 1 1 calc(50% - 20px);
  min-width: 120px;
  padding: 20px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-text {
  font-size: 16px;
  color: var(--text-medium);
}

/* Portfolio Section */
.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-wrapper {
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  flex: 0 0 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}

.carousel-control {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--card-bg);
  color: var(--primary-color);
  font-size: 24px;
  cursor: pointer;
  transition: all var(--transition-speed) var(--bounce);
}

.carousel-control:hover {
  transform: scale(1.1);
  background: var(--primary-light);
  color: var(--white);
}

/* Workshops Section */
.workshops-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.workshops-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 25px;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.workshop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  height: 100%;
}

.workshop-details {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 20px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.workshop-details span {
  font-size: 14px;
  color: var(--text-light);
  background: var(--background);
  padding: 5px 10px;
  border-radius: var(--border-radius-small);
}

/* Resources Section */
.resources-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.resources-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.resource-card {
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  transition: transform var(--transition-speed) var(--bounce);
}

.resource-card:hover {
  transform: translateY(-8px);
}

.resource-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Behind the Scenes Section */
.behind-scenes-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.behind-scenes-image {
  flex: 1 1 45%;
  min-width: 300px;
}

.behind-scenes-text {
  flex: 1 1 45%;
  min-width: 300px;
  padding: 30px;
}

.facilities-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.feature {
  flex: 1 1 calc(33% - 20px);
  min-width: 100px;
  padding: 20px;
  text-align: center;
}

.feature-title {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-medium);
}

/* Accolades Section */
.accolades-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.accolades-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.accolades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.accolade-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  height: 100%;
}

.accolade-image {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.accolade-content {
  text-align: center;
  flex-grow: 1;
}

.accolade-date {
  display: inline-block;
  padding: 5px 15px;
  background: var(--primary-light);
  color: var(--white);
  border-radius: 20px;
  font-size: 14px;
  margin-top: 15px;
}

/* Contact Section */
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1 1 40%;
  min-width: 300px;
  padding: 30px;
}

.contact-form-container {
  flex: 1 1 50%;
  min-width: 320px;
  padding: 30px;
}

.contact-details {
  margin-top: 30px;
}

.contact-detail {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.detail-label {
  font-weight: 600;
  color: var(--primary-color);
  width: 100px;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: var(--card-bg);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1 1 30%;
  min-width: 250px;
}

.footer-logo h2 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.footer-links {
  flex: 1 1 60%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-links-column {
  flex: 1 1 calc(33% - 30px);
  min-width: 150px;
}

.footer-links-column h3 {
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-links-column ul {
  list-style: none;
}

.footer-links-column ul li {
  margin-bottom: 10px;
}

.footer-links-column ul li a {
  color: var(--text-medium);
  transition: color var(--transition-speed) var(--bounce);
}

.footer-links-column ul li a:hover {
  color: var(--primary-color);
}

.social-links li a {
  display: inline-block;
  transition: transform var(--transition-speed) var(--bounce);
}

.social-links li a:hover {
  transform: translateY(-3px);
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--background-dark);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 15px;
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  color: white;
}

.cookie-btn {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: var(--border-radius-small);
  cursor: pointer;
  transition: background-color var(--transition-speed) var(--bounce);
}

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

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

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

.success-icon {
  font-size: 80px;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

/* Adaptive Typography */
.adaptive-typography {
  font-size: clamp(24px, 5vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.pt-100 {
  padding-top: 100px;
}

/* Privacy and Terms Pages */
.privacy-page, .terms-page {
  padding-top: 120px;
  padding-bottom: 60px;
}

.privacy-content, .terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
}

/* Media Queries */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .sustainability-content, .behind-scenes-content {
    flex-direction: column;
  }
  
  .sustainability-image, .behind-scenes-image {
    order: -1;
  }
  
  .card-image, .accolade-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
  
  .hero-content h1 {
    font-size: clamp(32px, 8vw, 42px);
  }
  
  .methodology-cards, .workshops-grid, .resources-grid, .accolades-grid {
    grid-template-columns: 1fr;
  }
  
  .card, .workshop-card, .resource-card, .accolade-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .sustainability-stats, .facilities-features {
    flex-direction: column;
  }
  
  .stat, .feature {
    width: 100%;
  }
  
  .footer-links-column {
    flex: 1 1 100%;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    margin: 5px 0;
  }
  
  .contact-form-container, .contact-info {
    padding: 20px;
  }
  
  .contact-detail {
    flex-direction: column;
  }
  
  .detail-label {
    width: 100%;
    margin-bottom: 5px;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
}