:root {
  /* Футуристическая цветовая схема - Раздельно-дополнительная */
  --primary-color: #4a7aff;
  --primary-dark: #3561d6;
  --primary-light: #6a91ff;
  --secondary-color: #ff6b4a;
  --secondary-dark: #e55a3d;
  --secondary-light: #ff8a6e;
  --accent-color: #7d4aff;
  --accent-dark: #6335e5;
  --accent-light: #9770ff;
  
  /* Нейтральные цвета */
  --dark: #222232;
  --dark-medium: #32323f;
  --medium: #555565;
  --light-medium: #88889a;
  --light: #eeeef5;
  --white: #ffffff;

  /* Прозрачности */
  --overlay-dark: rgba(34, 34, 50, 0.85);
  --overlay-medium: rgba(34, 34, 50, 0.5);
  --overlay-light: rgba(34, 34, 50, 0.2);
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-medium));
  
  /* Тени */
  --shadow-small: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-large: 0 10px 40px rgba(0, 0, 0, 0.2);
  
  /* Скругления */
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Размеры контейнеров */
  --container-width: 1140px;
  --header-height: 80px;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--medium);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

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

.section {
  padding: 5rem 0;
}

.title.is-1, .title.is-2, .title.is-3 {
  margin-bottom: 2rem;
  position: relative;
}

.title.is-1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

.title.is-2 {
  font-size: 2.5rem;
  line-height: 1.3;
}

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

.subtitle {
  color: var(--medium);
  margin-bottom: 1.5rem;
}

.has-text-centered {
  text-align: center;
}

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

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

.mt-6 {
  margin-top: 3rem !important;
}

/* ==================
   Header & Navigation
   ================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-small);
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition-medium);
  backdrop-filter: blur(10px);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-medium);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

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

.navbar-brand h1, .navbar-brand .title {
  margin: 0;
  font-size: 1.5rem;
  color: var(--dark);
}

.navbar-burger {
  display: none;
  cursor: pointer;
  height: 3.25rem;
  width: 3.25rem;
  background: none;
  border: none;
  position: relative;
}

.navbar-burger span {
  background-color: var(--dark);
  display: block;
  height: 2px;
  width: 24px;
  position: absolute;
  left: calc(50% - 12px);
  transition: all var(--transition-fast);
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 8px);
}

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

.navbar-burger span:nth-child(3) {
  top: calc(50% + 8px);
}

.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);
}

.navbar-menu {
  display: flex;
  flex-grow: 1;
  justify-content: flex-end;
}

.navbar-item {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  color: var(--medium);
  transition: color var(--transition-fast);
  position: relative;
}

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

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

.navbar-item:hover::after, .navbar-item.is-active::after {
  width: 70%;
}

/* ==================
   Hero Section
   ================== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, var(--overlay-dark), var(--overlay-medium));
}

.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem 0;
}

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

.hero .title.is-1 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 3.5rem;
}

.hero .subtitle.is-3 {
  font-weight: 400;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.hero-foot {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-foot .icon {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-medium);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-small);
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

.button.is-light:hover {
  background-color: var(--light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.button.is-outlined {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.button.is-outlined:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.button.is-large {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* ==================
   Innovation Section
   ================== */
.innovation-section {
  background-color: var(--white);
  padding: 6rem 0;
}

.innovation-card {
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-medium);
  height: 100%;
}

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

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

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

.tech-box .icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* ==================
   Workshops Section
   ================== */
.workshops-section {
  background-color: var(--light);
  padding: 6rem 0;
}

.tabs {
  margin-bottom: 3rem;
}

.tabs ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--light-medium);
}

.tabs li {
  margin: 0 0.5rem;
}

.tabs a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--medium);
  font-weight: 600;
  border-radius: var(--radius-small) var(--radius-small) 0 0;
  position: relative;
  transition: all var(--transition-fast);
}

.tabs li.is-active a {
  color: var(--primary-color);
  background-color: var(--white);
  border: 1px solid var(--light-medium);
  border-bottom-color: var(--white);
  margin-bottom: -1px;
}

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

.workshop-item {
  margin-bottom: 2rem;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  overflow: hidden;
}

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

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

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

.card-content .title {
  margin-top: 0;
  color: var(--dark);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-small);
  font-size: 0.8rem;
  font-weight: 600;
}

.tag.is-info {
  background-color: var(--primary-light);
  color: var(--white);
}

.tag.is-success {
  background-color: #48c774;
  color: var(--white);
}

.level {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

/* ==================
   Testimonials Section
   ================== */
.testimonials-section {
  background-color: var(--white);
  padding: 6rem 0;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-item {
  padding: 1rem;
}

.testimonial-item .card {
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

.testimonial-item .media {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-item .media-left {
  margin-right: 1rem;
}

.testimonial-item .image.is-64x64 {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-item .image.is-64x64 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-item .stars {
  color: var(--secondary-color);
  margin-top: 1rem;
}

/* ==================
   Clientele Section
   ================== */
.clientele-section {
  background-color: var(--light);
  padding: 6rem 0;
}

.client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  padding: 1rem;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.client-logo:hover {
  opacity: 1;
}

.client-logo img {
  max-width: 100%;
  max-height: 60px;
}

.stats-box {
  background-color: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  padding: 2rem;
}

.stat-item {
  padding: 1rem;
}

.stat-item .title {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* ==================
   Resources Section
   ================== */
.resources-section {
  background-color: var(--white);
  padding: 6rem 0;
}

.external-resource {
  height: 100%;
  transition: all var(--transition-medium);
}

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

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

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

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

.external-resource .button {
  margin-top: auto;
  align-self: flex-start;
}

/* ==================
   FAQ Section
   ================== */
.faq-section {
  background-color: var(--light);
  padding: 6rem 0;
}

.accordion-container {
  margin-top: 2rem;
}

.accordion-item {
  background-color: var(--white);
  border-radius: var(--radius-medium);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: var(--light);
}

.accordion-header .title {
  margin: 0;
  font-size: 1.1rem;
}

.accordion-header .icon {
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.accordion-item.is-active .accordion-header .icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.accordion-item.is-active .accordion-content {
  padding-bottom: 1.5rem;
}

/* ==================
   Events Section
   ================== */
.events-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0;
  color: var(--white);
}

.events-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, var(--overlay-dark), var(--overlay-medium));
}

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

.event-card {
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--white);
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-medium);
}

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

.event-date {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 var(--radius-medium) 0 var(--radius-medium);
}

.event-date .month {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
}

.event-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-card .card-content {
  padding-top: 3rem;
}

.event-details {
  margin-top: 1rem;
}

.event-details p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.event-details i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* ==================
   Sustainability Section
   ================== */
.sustainability-section {
  background-color: var(--white);
  padding: 6rem 0;
}

.initiative-box {
  background-color: var(--light);
  border-radius: var(--radius-medium);
  padding: 2rem;
  box-shadow: var(--shadow-small);
  height: 100%;
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.initiative-box .icon {
  margin-bottom: 1.5rem;
  color: #48c774;
}

/* ==================
   Contact Section
   ================== */
.contact-section {
  background-color: var(--light);
  padding: 6rem 0;
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.input, .textarea, .select select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--light-medium);
  border-radius: var(--radius-medium);
  background-color: var(--white);
  transition: all var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(74, 122, 255, 0.25);
}

.select {
  position: relative;
  display: block;
  width: 100%;
}

.select::after {
  content: '▼';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--medium);
  pointer-events: none;
  font-size: 0.8rem;
}

.checkbox {
  display: flex;
  align-items: center;
}

.checkbox input[type="checkbox"] {
  margin-right: 0.5rem;
}

.contact-info {
  padding-left: 2rem;
}

.info-item {
  margin-bottom: 2rem;
}

.info-item h3 {
  margin-bottom: 1rem;
}

.info-item p {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

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

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

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

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

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

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

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

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

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

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

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  color: var(--light-medium);
  margin-right: 1rem;
  transition: color var(--transition-fast);
}

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

.newsletter-form {
  margin-top: 1.5rem;
}

.newsletter-form .field {
  margin-bottom: 0;
}

.has-addons {
  display: flex;
}

.has-addons .control:first-child {
  flex-grow: 1;
}

.has-addons .control:not(:first-child) {
  margin-left: -1px;
}

.has-addons .button {
  border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
}

.has-addons .input {
  border-radius: var(--radius-medium) 0 0 var(--radius-medium);
}

hr {
  border: none;
  height: 1px;
  background-color: var(--dark-medium);
  margin: 2rem 0;
}

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

/* ==================
   Cookie Consent
   ================== */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--overlay-dark);
  color: var(--white);
  padding: 1rem;
  z-index: 9999;
  display: none;
  text-align: center;
}

#cookie-consent p {
  margin-bottom: 1rem;
}

#accept-cookies {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

#accept-cookies:hover {
  background-color: var(--primary-dark);
}

/* ==================
   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;
  background-color: var(--white);
  border-radius: var(--radius-medium);
  padding: 3rem;
  box-shadow: var(--shadow-medium);
}

.success-icon {
  font-size: 5rem;
  color: #48c774;
  margin-bottom: 2rem;
}

/* ==================
   Privacy & Terms Pages
   ================== */
.page-content {
  padding-top: 100px; /* Adjusted to prevent content overlapping with header */
  min-height: calc(100vh - 300px);
}

.page-content .container {
  background-color: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  padding: 3rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* ==================
   Media Queries
   ================== */
@media (max-width: 1024px) {
  .title.is-1 {
    font-size: 3rem;
  }
  
  .title.is-2 {
    font-size: 2.2rem;
  }
  
  .title.is-3 {
    font-size: 1.8rem;
  }
  
  .hero .title.is-1 {
    font-size: 3rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .title.is-3 {
    font-size: 1.5rem;
  }
  
  .hero .title.is-1 {
    font-size: 2.5rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.3rem;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-medium);
    padding: 1rem;
    flex-direction: column;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-item {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
  }
  
  .navbar-item::after {
    display: none;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .tabs ul {
    flex-direction: column;
  }
  
  .tabs li {
    margin: 0.25rem 0;
  }
  
  .contact-info {
    padding-left: 0;
    margin-top: 3rem;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 3rem 0;
  }
  
  .title.is-1 {
    font-size: 2.2rem;
  }
  
  .title.is-2 {
    font-size: 1.8rem;
  }
  
  .title.is-3 {
    font-size: 1.3rem;
  }
  
  .hero .title.is-1 {
    font-size: 2.2rem;
  }
  
  .hero .subtitle.is-3 {
    font-size: 1.2rem;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .button {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .card-image img {
    height: 200px;
  }
}