:root {
  /* Основные цвета (аналоговая схема) */
  --primary-color: #3273dc; /* Основной синий */
  --primary-light: #4a89e8;
  --primary-dark: #2860c5;
  --secondary-color: #32a0dc; /* Бирюзовый */
  --tertiary-color: #3250dc; /* Фиолетовый */
  --accent-color: #dc7832; /* Акцентный оранжевый */
  
  /* Нейтральные цвета */
  --light-color: #ffffff;
  --dark-color: #363636;
  --background-color: #f0f2f7;
  --text-color: #4a4a4a;
  
  /* Тени для неоморфизма */
  --shadow-light: rgba(255, 255, 255, 0.8);
  --shadow-dark: rgba(209, 217, 230, 0.8);
  
  /* Типографика */
  --heading-font: 'Raleway', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  
  /* Размеры */
  --border-radius: 15px;
  --card-padding: 2rem;
  
  /* Анимации */
  --transition-speed: 0.3s;
  --transition-function: ease-in-out;
}

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

body {
  font-family: var(--body-font);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark-color);
}

p {
  margin-bottom: 1rem;
}

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

main {
  flex: 1;
}

section {
  position: relative;
  padding: 4rem 0;
}

/* ====== Неоморфизм ====== */
.card, .testimonial-card, .service-card, .blog-card,
.feature-card, .resource-card, .press-card, .statistic-widget {
  background: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: 
    8px 8px 16px var(--shadow-dark), 
    -8px -8px 16px var(--shadow-light);
  transition: all var(--transition-speed) var(--transition-function);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover, .testimonial-card:hover, .service-card:hover,
.blog-card:hover, .feature-card:hover, .resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    12px 12px 20px var(--shadow-dark), 
    -12px -12px 20px var(--shadow-light);
}

/* Конейнеры для изображений */
.image-container {
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
  transition: transform var(--transition-speed) var(--transition-function);
}

.card:hover .image-container img,
.blog-card:hover .image-container img,
.service-card:hover .image-container img {
  transform: scale(1.05);
}

/* ====== Навигация ====== */
.navbar {
  background-color: var(--background-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem;
  transition: all var(--transition-speed) var(--transition-function);
}

.navbar-item {
  color: var(--text-color);
  font-weight: 500;
  transition: color var(--transition-speed) var(--transition-function);
  position: relative;
}

.navbar-item:hover,
.navbar-item:focus {
  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-speed) var(--transition-function);
  transform: translateX(-50%);
}

.navbar-item:hover::after,
.navbar-item:focus::after {
  width: 80%;
}

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

/* ====== Hero Section ====== */
.hero {
  position: relative;
  margin-top: 3.25rem;
}

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

.hero-body {
  padding: 3rem 1.5rem;
  z-index: 1;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: white !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.statistic-widget {
  padding: 1.5rem;
  text-align: center;
}

.statistic-widget h3 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  margin-top: 1rem;
  overflow: hidden;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 4px;
  background-color: var(--primary-color);
  animation: progress-animation 1.5s ease-out forwards;
}

@keyframes progress-animation {
  0% {
    width: 0%;
  }
  100% {
    width: var(--value, 0%);
  }
}

/* ====== Services Section ====== */
.services-section {
  background-color: var(--light-color);
}

.service-card {
  margin-bottom: 2rem;
}

.service-card .card-content {
  padding: var(--card-padding);
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.service-card .content {
  flex: 1;
}

/* ====== Features Section ====== */
.features-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  color: var(--light-color);
}

.features-section .title {
  color: var(--light-color);
}

.feature-card {
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.1), 
    -8px -8px 16px rgba(255, 255, 255, 0.1);
}

.icon-container {
  margin-right: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 
    inset 3px 3px 7px rgba(0, 0, 0, 0.2), 
    inset -3px -3px 7px rgba(255, 255, 255, 0.1);
}

.feature-icon {
  color: var(--light-color);
  font-size: 1.5rem;
  font-weight: bold;
}

.feature-content {
  flex: 1;
}

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

.feature-content p {
  color: var(--text-color);
}

/* ====== Success Stories Section ====== */
.success-stories-section {
  background-color: var(--background-color);
}

.testimonial-card {
  text-align: center;
  padding-top: 1.5rem;
}

.testimonial-card .card-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
}

.testimonial-card .image-container {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.testimonial-card .card-content {
  padding: 1rem 2rem 2rem;
}

.testimonial-card h3 {
  margin-bottom: 0.25rem;
}

.testimonial-card h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.testimonial-card .content {
  font-style: italic;
}

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

.resource-card {
  height: 100%;
}

.resource-card .card-content {
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

/* ====== FAQ Section ====== */
.faq-section {
  background-color: var(--background-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  background-color: var(--light-color);
  padding: 1.25rem;
  border-radius: var(--border-radius);
  margin-bottom: 0;
  cursor: pointer;
  position: relative;
  box-shadow: 
    5px 5px 10px var(--shadow-dark), 
    -5px -5px 10px var(--shadow-light);
  transition: all var(--transition-speed) var(--transition-function);
}

.faq-question:hover {
  box-shadow: 
    8px 8px 16px var(--shadow-dark), 
    -8px -8px 16px var(--shadow-light);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: all var(--transition-speed) var(--transition-function);
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-speed) var(--transition-function);
}

.faq-item.active .faq-answer {
  padding: 1.25rem;
  max-height: 1000px;
  margin-top: 0.5rem;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: 
    inset 5px 5px 10px var(--shadow-dark), 
    inset -5px -5px 10px var(--shadow-light);
}

/* ====== Blog Section ====== */
.blog-section {
  background-color: var(--light-color);
}

.blog-card {
  height: 100%;
}

.blog-card .card-content {
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card .subtitle {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

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

.blog-card .button {
  align-self: flex-start;
  margin-top: auto;
}

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

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

.press-card img {
  max-width: 200px;
  max-height: 100px;
  object-fit: contain;
}

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

.press-card p {
  margin-bottom: 1.5rem;
  flex: 1;
}

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

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

.contact-info {
  padding: 2rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: 
    8px 8px 16px var(--shadow-dark), 
    -8px -8px 16px var(--shadow-light);
}

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

.contact-info p {
  margin-bottom: 1rem;
}

.contact-form-container {
  padding: 2rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: 
    8px 8px 16px var(--shadow-dark), 
    -8px -8px 16px var(--shadow-light);
}

.contact-form-container .input,
.contact-form-container .textarea,
.contact-form-container .select select {
  background-color: var(--light-color);
  box-shadow: inset 3px 3px 5px rgba(0,0,0,0.05);
  border: none;
  border-radius: 25px;
  padding-left: 1.5rem;
  transition: all var(--transition-speed) var(--transition-function);
}

.contact-form-container .input:focus,
.contact-form-container .textarea:focus,
.contact-form-container .select select:focus {
  box-shadow: inset 5px 5px 8px rgba(0,0,0,0.1);
}

/* ====== Social Media ====== */
.social-links {
  margin-top: 1rem;
}

.social-links a {
  color: var(--primary-color);
  transition: color var(--transition-speed) var(--transition-function);
  font-weight: 500;
}

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

/* ====== Footer ====== */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0;
  margin-top: auto;
}

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

.footer-links {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

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

.footer-links a {
  color: var(--light-color);
  transition: color var(--transition-speed) var(--transition-function);
}

.footer-links a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.footer hr {
  background-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
}

.footer p a {
  color: var(--light-color);
  text-decoration: underline;
  transition: color var(--transition-speed) var(--transition-function);
}

.footer p a:hover {
  color: var(--primary-light);
}

/* ====== Buttons ====== */
.button {
  font-weight: 500;
  border-radius: 25px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  transition: all var(--transition-speed) var(--transition-function);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.button.is-light:hover {
  background-color: #f5f5f5;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.button.is-outlined:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ====== Scroll-dependent animations ====== */
[data-scroll] {
  opacity: 0;
  transition: all 1s;
}

[data-scroll="in"] {
  opacity: 1;
}

[data-scroll="out"] {
  opacity: 0;
}

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

.success-page .container {
  max-width: 600px;
}

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

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

.privacy-page .content,
.terms-page .content {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 
    8px 8px 16px var(--shadow-dark), 
    -8px -8px 16px var(--shadow-light);
}

/* ====== Media Queries ====== */
@media screen and (max-width: 768px) {
  .hero-image {
    height: auto;
    min-height: 70vh;
  }
  
  .feature-card {
    flex-direction: column;
  }
  
  .icon-container {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .contact-info,
  .contact-form-container {
    margin-bottom: 1.5rem;
  }
  
  /* Адаптивная типографика */
  html {
    font-size: 14px;
  }
  
  h1, .title.is-1 {
    font-size: 2.5rem;
  }
  
  h2, .title.is-2 {
    font-size: 2rem;
  }
  
  h3, .title.is-3 {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 576px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  /* Адаптивная типографика */
  html {
    font-size: 12px;
  }
  
  h1, .title.is-1 {
    font-size: 2rem;
  }
  
  h2, .title.is-2 {
    font-size: 1.75rem;
  }
  
  h3, .title.is-3 {
    font-size: 1.5rem;
  }
}

/* ====== Утилиты ====== */
.mt-auto {
  margin-top: auto;
}

@media (max-width: 768px) {
  .buttons{
    max-width: 100%;
    
  }
.button-cont{
  display: none;
}
}


