:root {
  /* Брутализм + биоморфный дизайн: аналоговая схема цветов */
  --primary-color: #1a73e8;
  --primary-dark: #0d47a1;
  --primary-light: #64b5f6;
  --secondary-color: #18a0fb;
  --secondary-dark: #0277bd;
  --secondary-light: #4fc3f7;
  --accent-color: #00bfa5;
  --accent-dark: #008e76;
  --accent-light: #5df2d6;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #777777;
  --background-light: #f9f9f9;
  --background-dark: #222222;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --border-radius: 4px;
  --border-radius-large: 12px;
  --border-radius-blob: 60% 40% 70% 30% / 40% 50% 60% 50%;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --transition-speed: 0.3s;
}

/* Базовые стили */
html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.5rem;
}

/* Общие стили для секций */
section {
  position: relative;
  padding: 5rem 0;
}

section:nth-child(odd) {
  background-color: var(--background-light);
}

/* Заголовки секций */
.title {
  position: relative;
  margin-bottom: 2rem;
}

.title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 80px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Кнопки */
.button {
  transition: all var(--transition-speed) ease;
  border-radius: var(--border-radius);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.button:hover::before {
  transform: translateX(0);
}

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

.button.is-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button.is-outlined.is-white {
  color: var(--text-light);
  border-color: var(--text-light);
}

.button.is-outlined.is-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.button.is-rounded {
  border-radius: 50px;
}

/* Навигация */
.navbar {
  transition: background-color 0.3s ease;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  padding: 1rem 0;
}

.navbar.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-item {
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.navbar-menu.is-active {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: white;
  }
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-body {
  z-index: 1;
  position: relative;
}

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

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.hero .buttons {
  margin-top: 2rem;
}

.scroll-down-arrow {
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0 auto;
}

.scroll-down-arrow span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 3px solid var(--text-light);
  border-bottom: 3px solid var(--text-light);
  transform: rotate(-45deg);
  animation: scrollDown 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}

.scroll-down-arrow span:nth-child(1) {
  animation-delay: 0s;
}

.scroll-down-arrow span:nth-child(2) {
  top: 16px;
  animation-delay: 0.15s;
}

.scroll-down-arrow span:nth-child(3) {
  top: 32px;
  animation-delay: 0.3s;
}

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

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

.workshop-card {
  height: 100%;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.workshop-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-image {
  overflow: hidden;
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.workshop-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-bottom: 1rem;
}

.card-content .content {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-content .button {
  margin-top: auto;
}

/* Statistics Widget */
.statistics-widget {
  padding: 3rem 0;
  background-color: #f5f9ff;
  border-radius: var(--border-radius-large);
  margin-top: 4rem;
}

.stat-box {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-blob);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
}

.stat-description {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-top: 1rem;
}

/* Clientele Section */
.clientele-section {
  background-color: white;
}

.client-profile {
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s ease;
  height: 100%;
}

.client-profile:hover {
  transform: translateY(-5px);
}

.client-profile .image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius-large);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.client-profile:hover img {
  transform: scale(1.05);
}

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

.resource-card {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.resource-card a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Success Stories Section */
.success-stories-section {
  background-color: white;
}

.success-story {
  padding: 2rem;
  background-color: var(--background-light);
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  height: 100%;
}

.success-story:hover {
  transform: translateY(-5px);
}

.success-story .image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.community-feature {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.community-feature:hover {
  transform: translateY(-5px);
}

.community-feature .image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius-large);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.community-feature:hover img {
  transform: scale(1.05);
}

.community-feature .button {
  margin-top: auto;
  align-self: flex-start;
}

/* Careers Section */
.careers-section {
  background-color: white;
}

.careers-section .image-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: var(--border-radius-large);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.careers-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

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

.accordion-header h4 {
  color: white;
  margin: 0;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 700;
}

.accordion-content {
  background-color: white;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.is-active .accordion-content {
  padding: 1.5rem;
  max-height: 500px;
}

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

.contact-info {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
  height: 100%;
}

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

.info-item:last-child {
  margin-bottom: 0;
}

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

.contact-form {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
  height: 100%;
}

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

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border-radius: var(--border-radius);
  border: 2px solid #e9ecef;
  transition: border-color 0.3s ease;
}

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

.contact-form .checkbox a {
  color: var(--primary-color);
}

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

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

.footer .title::after {
  background: var(--accent-color);
}

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

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

.footer-links a {
  color: var(--text-light);
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

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

.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;
  opacity: 0.8;
}

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

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem;
}

.cookie-content p {
  margin: 0;
  padding-right: 2rem;
}

.cookie-content button {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
    padding-right: 0;
  }
}

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

.success-content {
  max-width: 600px;
  padding: 3rem;
  background-color: white;
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
}

.success-icon {
  font-size: 5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

.privacy-content,
.terms-content {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

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

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

/* Read More Links */
.read-more-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding-right: 1.5rem;
  transition: color 0.3s ease;
}

.read-more-link::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

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

.read-more-link:hover::after {
  transform: translate(5px, -50%);
}

/* Image containers for cards */
.image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.image-container img {
  margin: 0 auto;
  display: block;
}

/* Cards, Team Members, Testimonials */
.card, 
.team-member, 
.testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Ensure all images in cards are centered */
.card img,
.team-member img,
.testimonial img {
  margin: 0 auto;
}