.g-recaptcha {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .g-recaptcha {
    transform: scale(0.9);
    transform-origin: 0 0;
  }
}
:root {
  --primary-color: #ffcc00; /* Яркий желтый */
  --secondary-color: #9b59b6; /* Фиолетовый */
  --dark-purple: #4a235a; /* Темно-фиолетовый */
  --bright-yellow: #ffd700; /* Золотисто-желтый */
  --bg-gradient: linear-gradient(135deg, #f9f3a8 0%, #9b59b6 100%);
  --menu-gradient: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  --text-shadow:
    2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", "Roboto", sans-serif;
}

body {
  min-height: 100vh;
  background-color: #f5f5f5;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: var(--bg-gradient);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.7rem 5%;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-container {
  margin-right: 15px;
  position: relative;
  transition: var(--transition);
}

.logo:hover .logo-container {
  transform: rotate(15deg);
}

.logo-sun {
  width: 60px;
  height: 60px;
  background: radial-gradient(
    circle,
    var(--bright-yellow) 0%,
    var(--primary-color) 70%
  );
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow:
    0 0 0 3px #000,
    0 0 15px rgba(255, 204, 0, 0.7);
  transition: var(--transition);
}

.logo:hover .logo-sun {
  box-shadow:
    0 0 0 3px #000,
    0 0 25px rgba(255, 204, 0, 0.9);
}

.logo-star {
  position: absolute;
  color: #ffff00;
  filter: drop-shadow(0px 0px 2px #000);
  z-index: 2;
  transition: var(--transition);
}

.logo:hover .logo-star {
  transform: scale(1.2) rotate(15deg);
}

.star-1 {
  top: -10px;
  left: 10px;
  font-size: 20px;
  transform: rotate(-15deg);
}

.star-2 {
  top: 0px;
  right: -5px;
  font-size: 24px;
  transform: rotate(25deg);
}

.star-3 {
  bottom: -5px;
  left: 0px;
  font-size: 22px;
  transform: rotate(-25deg);
}

.star-4 {
  top: 15px;
  left: -8px;
  font-size: 18px;
  transform: rotate(-45deg);
}

.star-5 {
  bottom: 10px;
  right: 5px;
  font-size: 20px;
  transform: rotate(15deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.logo:hover .logo-text {
  transform: translateX(5px);
}

.logo-text-top {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: var(--text-shadow);
  line-height: 1;
}

.logo-text-bottom {
  color: var(--primary-color);
  font-size: 28px;
  font-style: italic;
  font-weight: bold;
  text-shadow: var(--text-shadow);
  line-height: 1.1;
}

/* Переключатель языка */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 4px;
  position: relative;
  margin-left: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.lang-option {
  padding: 4px 10px;
  color: var(--dark-purple);
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.lang-option.active {
  color: white;
}

.lang-switcher::after {
  content: "";
  position: absolute;
  height: calc(100% - 8px);
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--secondary-color);
  border-radius: 20px;
  transition: transform 0.3s ease;
  z-index: 0;
}

.lang-switcher.en::after {
  transform: translateX(100%);
}

/* Десктопное меню */
.desktop-nav {
  display: flex;
  gap: 2rem;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--dark-purple);
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.desktop-nav a svg {
  width: 18px;
  height: 18px;
  fill: var(--dark-purple);
  margin-right: 6px;
  transition: var(--transition);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
  border-radius: 5px;
}

.desktop-nav a:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.desktop-nav a:hover svg {
  fill: var(--secondary-color);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.phone,
.email {
  color: var(--dark-purple);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  padding: 0.2rem 0;
  position: relative;
  overflow: hidden;
}

.phone::before,
.email::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.phone:hover::before,
.email:hover::before {
  width: 100%;
  left: 0;
  right: auto;
}

.phone:hover,
.email:hover {
  color: var(--secondary-color);
}

.button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button:hover {
  background-color: #8e44ad;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.button:active {
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark-purple);
  border-radius: 10px;
  transition: var(--transition);
}

.hamburger.active span {
  background-color: #fff;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-nav {
  display: none;
}

/* Крестик для закрытия меню */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.close-btn::before,
.close-btn::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
}

.close-btn::before {
  transform: rotate(45deg);
}

.close-btn::after {
  transform: rotate(-45deg);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  background: var(--bright-yellow);
  color: var(--dark-purple);
  transform: translateY(-5px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1100px) {
  .header {
    padding: 1rem 3%;
  }

  .desktop-nav {
    gap: 1.5rem;
  }

  .right-section {
    gap: 1rem;
  }

  .logo-sun {
    width: 55px;
    height: 55px;
  }

  .logo-text-top {
    font-size: 28px;
  }

  .logo-text-bottom {
    font-size: 24px;
  }
}

@media (max-width: 992px) {
  .header {
    justify-content: space-between;
  }

  .desktop-nav,
  .desktop-lang {
    display: none;
  }

  .hamburger {
    display: flex;
    order: 3; /* Перемещаем гамбургер вправо */
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--menu-gradient);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1000;
    overflow-y: auto;
    border-radius: 20px 0 0 20px;
  }

  .mobile-nav.active {
    right: 0;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.2rem 0;
    font-size: 18px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(20px);
  }

  .mobile-nav.active a {
    opacity: 1;
    transform: translateX(0);
  }

  .mobile-nav a:nth-child(3) {
    transition-delay: 0.1s;
  }
  .mobile-nav a:nth-child(4) {
    transition-delay: 0.2s;
  }
  .mobile-nav a:nth-child(5) {
    transition-delay: 0.3s;
  }
  .mobile-nav a:nth-child(6) {
    transition-delay: 0.4s;
  }
  .mobile-nav a:nth-child(7) {
    transition-delay: 0.5s;
  }

  .mobile-nav a:hover {
    transform: translateX(8px);
    color: var(--bright-yellow);
  }

  .mobile-nav a i {
    margin-right: 12px;
    font-size: 20px;
    color: var(--bright-yellow);
  }

  .nav-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    transform: scale(0.8);
  }

  .nav-logo .logo-sun {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }

  .nav-logo .logo-text-top {
    font-size: 22px;
  }

  .nav-logo .logo-text-bottom {
    font-size: 18px;
  }

  .mobile-contact {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  .mobile-contact a {
    display: flex;
    align-items: center;
    color: white;
    padding: 0.7rem 0;
    border-bottom: none;
    font-size: 16px;
    opacity: 0;
    transform: translateX(20px);
  }

  .mobile-nav.active .mobile-contact a {
    opacity: 1;
    transform: translateX(0);
  }

  .mobile-contact a:nth-child(1) {
    transition-delay: 0.6s;
  }
  .mobile-contact a:nth-child(2) {
    transition-delay: 0.7s;
  }

  .mobile-contact i {
    margin-right: 10px;
    font-size: 18px;
    color: var(--bright-yellow);
  }

  .mobile-social {
    display: flex;
    margin-top: 2rem;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    transition-delay: 0.8s;
  }

  .mobile-nav.active .mobile-social {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-lang {
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    transition-delay: 0.9s;
    align-self: center;
  }

  .mobile-nav.active .mobile-lang {
    opacity: 1;
    transform: translateY(0);
  }

  .logo-sun {
    width: 50px;
    height: 50px;
  }

  .logo-text-top {
    font-size: 24px;
  }

  .logo-text-bottom {
    font-size: 20px;
  }

  .contact-info {
    display: none;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    z-index: 999;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .button {
    order: 2; /* Перемещаем кнопку в центр */
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1rem 5%;
  }

  .button {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .logo-container {
    margin-right: 10px;
  }
}

@media (max-width: 576px) {
  .logo-sun {
    width: 45px;
    height: 45px;
  }

  .logo-text-top {
    font-size: 22px;
  }

  .logo-text-bottom {
    font-size: 18px;
  }

  .button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

/* Стили для секции с лабиринтом */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/02AUG/2.png");
  background-size: cover;
  background-position: center;
  filter: brightness(0.8);
  z-index: -1;
}

.hero-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(155, 89, 182, 0.3) 100%
  );
}

.hero-content {
  max-width: 1200px;
  width: 90%;
  padding: 3rem;
  text-align: center;
  animation: fade-in 1s ease-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-price {
  display: inline-block;
  background: var(--bright-yellow);
  color: var(--dark-purple);
  font-size: 2rem;
  font-weight: 700;
  padding: 0.7rem 2rem;
  margin: 1rem 0;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: scale(1);
  transition: transform 0.3s ease;
}

.hero-price:hover {
  transform: scale(1.05);
}

.hero-description {
  color: #fff;
  font-size: 1.3rem;
  margin: 1.5rem 0;
  font-weight: 500;
}

.hero-counter {
  margin: 2rem 0;
  font-size: 1.2rem;
  color: #444;
}

.hero-counter #counter {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.hero-counter-note {
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #777;
  font-style: italic;
}

.hero-button {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--dark-purple) 100%
  );
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.15),
    0 3px 6px rgba(0, 0, 0, 0.1),
    inset 0 -2px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.hero-button:hover {
  transform: translateY(-5px);
  box-shadow:
    0 15px 25px rgba(0, 0, 0, 0.25),
    0 5px 10px rgba(0, 0, 0, 0.15),
    inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.hero-button:hover::before {
  left: 100%;
}

.hero-button:active {
  transform: translateY(-2px);
  box-shadow:
    0 8px 15px rgba(0, 0, 0, 0.15),
    0 3px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-price {
    font-size: 1.7rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-content {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-price {
    font-size: 1.5rem;
    padding: 0.6rem 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }

  .hero-content {
    padding: 2rem;
    width: 95%;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 450px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-price {
    font-size: 1.3rem;
    padding: 0.5rem 1.2rem;
  }

  .hero-description {
    font-size: 0.9rem;
    margin: 1rem 0;
  }

  .hero-counter {
    font-size: 1rem;
    margin: 1.5rem 0;
  }

  .hero-counter #counter {
    font-size: 1.3rem;
  }

  .hero-button {
    padding: 0.8rem 1.7rem;
    font-size: 1rem;
  }

  .hero-content {
    padding: 1.5rem;
  }
}

/* Стили для карусели проектов */
.projects-carousel {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f9f3a8 0%, #f5f5f5 100%);
  overflow: hidden;
  position: relative;
}

.carousel-container {
  max-width: 1400px; /* Увеличиваем с 1200px до 1400px */
  margin: 0 auto;
  padding: 0 20px;
}

.carousel-title {
  text-align: center;
  color: var(--dark-purple);
  font-size: 3rem; /* Увеличиваем размер заголовка */
  font-weight: 800;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.carousel-title::after {
  content: "";
  position: absolute;
  bottom: -15px; /* Увеличиваем отступ линии */
  left: 0;
  width: 100%;
  height: 6px; /* Увеличиваем толщину линии */
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 3px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 -15px; /* Увеличиваем отрицательный отступ */
  padding: 30px 0;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 650px; /* Увеличиваем высоту с 550px до 650px */
  width: 100%;
  position: relative;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 15px;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.carousel-slide.active {
  opacity: 1;
  display: flex;
  z-index: 1;
}

.project-card {
  width: 100%;
  max-width: 1000px; /* Увеличиваем с 800px до 1000px */
  background: white;
  border-radius: 25px; /* Увеличиваем радиус скругления */
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* Усиливаем тень */
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  transform: scale(0.95);
  animation: cardAppear 0.5s forwards;
}

@keyframes cardAppear {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.project-card:hover {
  transform: translateY(-15px); /* Увеличиваем подъем при наведении */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2); /* Усиливаем тень при наведении */
}

.project-image {
  height: 400px; /* Увеличиваем высоту изображения с 300px до 400px */
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease; /* Увеличиваем время анимации */
}

.project-card:hover .project-image img {
  transform: scale(1.08); /* Увеличиваем масштабирование при наведении */
}

.project-overlay {
  position: absolute;
  top: 25px; /* Увеличиваем отступ сверху */
  right: 25px; /* Увеличиваем отступ справа */
  background: var(--primary-color);
  color: var(--dark-purple); /* Меняем цвет текста */
  font-weight: 700; /* Делаем шрифт жирнее */
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Усиливаем тень */
  z-index: 2;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.project-card:hover .project-overlay {
  transform: translateY(-5px); /* Добавляем эффект подъема при наведении */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.project-info {
  padding: 35px; /* Увеличиваем внутренний отступ */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.8rem; /* Увеличиваем размер заголовка */
  color: var(--dark-purple);
  margin-bottom: 15px;
  font-weight: 700;
}

.project-description {
  color: #555; /* Меняем цвет для лучшей читаемости */
  margin-bottom: 25px;
  line-height: 1.7; /* Увеличиваем высоту строки */
  font-size: 1.1rem; /* Увеличиваем размер текста */
  flex-grow: 1;
}

.project-link {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  text-decoration: none;
  padding: 15px 30px; /* Увеличиваем размер кнопки */
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.4s ease;
  align-self: flex-start;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); /* Усиливаем тень */
  font-size: 1.05rem; /* Увеличиваем размер шрифта */
}

.project-link:hover {
  background: var(--dark-purple);
  transform: translateY(-5px); /* Увеличиваем подъем при наведении */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px; /* Увеличиваем отступ сверху */
}

.carousel-arrow {
  background: white;
  border: none;
  width: 60px; /* Увеличиваем размер кнопок */
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); /* Усиливаем тень */
  transition: all 0.4s ease;
  color: var(--dark-purple);
  font-size: 1.5rem; /* Увеличиваем размер иконок */
}

.carousel-arrow:hover {
  background: var(--dark-purple);
  color: white;
  transform: translateY(-5px); /* Увеличиваем подъем при наведении */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.carousel-arrow.prev {
  margin-right: 30px; /* Увеличиваем расстояние между элементами */
}

.carousel-arrow.next {
  margin-left: 30px;
}

.carousel-dots {
  display: flex;
  align-items: center;
}

.carousel-dot {
  width: 14px; /* Увеличиваем размер точек */
  height: 14px;
  margin: 0 10px; /* Увеличиваем расстояние между точками */
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.4s ease;
}

.carousel-dot.active {
  background: var(--secondary-color);
  transform: scale(1.4); /* Увеличиваем активную точку */
}

.carousel-dot:hover {
  background: var(--secondary-color);
  transform: scale(1.3);
}

@media (max-width: 1200px) {
  .carousel-container {
    max-width: 95%;
  }

  .project-card {
    max-width: 900px;
  }
}

@media (max-width: 992px) {
  .carousel-title {
    font-size: 2.5rem;
  }

  .project-card {
    max-width: 100%;
  }

  .carousel-slides {
    height: 600px;
  }

  .project-image {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .projects-carousel {
    padding: 60px 0;
  }

  .carousel-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }

  .project-image {
    height: 300px;
  }

  .project-info {
    padding: 25px;
  }

  .project-title {
    font-size: 1.5rem;
  }

  .carousel-slides {
    height: 580px;
  }

  .carousel-arrow {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .projects-carousel {
    padding: 40px 0;
  }

  .carousel-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .project-image {
    height: 250px;
  }

  .project-info {
    padding: 20px;
  }

  .project-title {
    font-size: 1.4rem;
  }

  .project-description {
    font-size: 1rem;
  }

  .project-link {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .carousel-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .carousel-slides {
    height: 530px;
  }
}

/* Стили для оборудования */
.equipment-categories {
  padding: 50px 0;
  background: linear-gradient(to bottom, #f9f3a8 0%, #f5f5f5 100%);
  overflow: hidden;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  color: var(--dark-purple);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.equipment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 20px 0;
}

.equipment-item {
  width: calc(33.33% - 30px);
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  position: relative;
  z-index: 1;
  height: 450px;
}

.equipment-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--primary-color) 100%
  );
  opacity: 0.7;
  z-index: -1;
  transition: opacity 0.4s ease;
  border-radius: 20px;
}

.equipment-item:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.equipment-item:hover::before {
  opacity: 0.85;
}

.equipment-icon {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  overflow: hidden;
}

.equipment-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.equipment-item:hover .equipment-image {
  transform: scale(1.1);
}

.equipment-subtitle {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-top: 30px;
  padding: 0 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.equipment-description {
  color: white;
  margin: 15px 0;
  padding: 0 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Стили для кнопок "Получить каталог" */
.equipment-button {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  margin-top: auto;
  margin-bottom: 30px;
  z-index: 1;
  border: 2px solid white;
}

.equipment-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.equipment-item:hover .equipment-button {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: linear-gradient(
    45deg,
    var(--secondary-color),
    var(--primary-color)
  );
}

.equipment-button:hover::before {
  left: 100%;
}

.equipment-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-purple);
  margin-bottom: 25px;
  transition: all 0.3s ease;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipment-item:hover .equipment-title {
  color: white;
}

.equipment-button {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.equipment-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.equipment-item:hover .equipment-button {
  background: white;
  color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.equipment-button:hover::before {
  left: 100%;
}

@media (max-width: 992px) {
  .equipment-grid {
    gap: 20px;
  }

  .equipment-item {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .equipment-icon i {
    font-size: 2.5rem;
  }

  .equipment-title {
    font-size: 1.2rem;
    min-height: 50px;
  }
}

@media (max-width: 576px) {
  .equipment-grid {
    gap: 15px;
  }

  .equipment-item {
    width: 100%;
    margin-bottom: 15px;
  }

  .equipment-title {
    min-height: auto;
  }
}
/* Стили контейнера видео и кнопки закрытия */
.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  border: 2px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.video-close:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

.video-close svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Стили для секции опыта */
.experience-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.experience-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="%239b59b6" opacity="0.1"/></svg>');
  background-size: 50px 50px;
  pointer-events: none;
}

.experience-content {
  text-align: center;
  margin-bottom: 50px;
}

.experience-text {
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.experience-counters {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
}

.counter-item {
  text-align: center;
  position: relative;
}

.counter-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(155, 89, 182, 0.3),
    transparent
  );
  display: block;
}

.counter-item:last-child::before {
  display: none;
}

.counter-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.counter-value span {
  font-size: 2rem;
  position: relative;
  top: -15px;
  margin-left: 5px;
  color: var(--primary-color);
}

.counter-label {
  font-size: 1.2rem;
  color: #555;
  font-weight: 500;
}

/* Стили для галереи проектов */
.projects-gallery {
  margin-top: 50px;
}

.gallery-title {
  font-size: 2rem;
  color: var(--dark-purple);
  margin-bottom: 30px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  transform: translateY(0);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(155, 89, 182, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.2rem;
  transform: scale(0);
  transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-icon {
  transform: scale(1);
}

.gallery-caption {
  padding: 15px;
  background: white;
  color: var(--dark-purple);
  font-weight: 600;
  text-align: center;
  font-size: 1.1rem;
}

.gallery-button {
  display: block;
  margin: 0 auto;
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.gallery-button:hover {
  background: var(--dark-purple);
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
  .experience-title {
    font-size: 2.4rem;
  }

  .experience-text {
    font-size: 1.2rem;
  }

  .counter-value {
    font-size: 3rem;
  }

  .counter-value span {
    font-size: 1.6rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .experience-counters {
    flex-direction: column;
    gap: 40px;
  }

  .counter-item::before {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-image {
    height: 200px;
  }
}

/* Стили для финансовой модели */
.financial-model-section {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    rgba(155, 89, 182, 0.1) 0%,
    rgba(255, 204, 0, 0.1) 100%
  );
  position: relative;
  overflow: hidden;
}

.financial-model-content {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(155, 89, 182, 0.1);
  display: flex;
  align-items: center;
  gap: 30px;
}

.financial-model-text-container {
  flex: 1;
  text-align: left;
}

.financial-model-image {
  flex: 1;
  max-width: 600px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.financial-model-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-preview-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.financial-model-image:hover .project-preview-image {
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .financial-model-content {
    flex-direction: column;
    padding: 30px;
  }

  .financial-model-text-container {
    text-align: center;
    margin-bottom: 30px;
  }

  .financial-model-image {
    max-width: 100%;
  }
}

.financial-model-title {
  font-size: 2.5rem;
  color: var(--dark-purple);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  margin-top: 40px;
}

.financial-model-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.financial-model-text {
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.financial-model-button {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.financial-model-button:hover {
  background: var(--dark-purple);
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .financial-model-title {
    font-size: 1.8rem;
  }

  .financial-model-text {
    font-size: 1.1rem;
  }

  .financial-model-button {
    padding: 12px 30px;
    font-size: 1.1rem;
  }

  .financial-model-content {
    padding: 30px 20px;
  }
}

/* Стили для модального окна */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: white;
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--secondary-color);
  transform: rotate(90deg);
}

.modal-title {
  font-size: 2rem;
  color: var(--dark-purple);
  margin-bottom: 10px;
  text-align: center;
}

.modal-subtitle {
  color: #666;
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.model-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group:nth-last-child(2) {
  grid-column: span 2;
}

.form-group:last-child {
  grid-column: span 2;
  margin-top: 10px;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #555;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(155, 89, 182, 0.2);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit-button {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--dark-purple) 100%
  );
  color: white;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.form-submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(155, 89, 182, 0.4);
}

@media (max-width: 768px) {
  .modal-container {
    padding: 30px 20px;
    max-width: 90%;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .model-form {
    grid-template-columns: 1fr;
  }

  .form-group:nth-last-child(2) {
    grid-column: span 1;
  }
}

/* Стили для секции основателя */
.founder-section {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    rgba(255, 204, 0, 0.05) 0%,
    rgba(155, 89, 182, 0.1) 100%
  );
  position: relative;
  overflow: hidden;
}

.founder-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="3" fill="%239b59b6" opacity="0.05"/></svg>');
  background-size: 40px 40px;
  pointer-events: none;
}

.founder-title {
  font-size: 2.8rem;
  color: var(--dark-purple);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.founder-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.founder-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  position: relative;
}

.founder-image {
  flex: 0 0 300px;
  text-align: center;
  position: relative;
}

.founder-photo-container {
  position: relative;
  margin-bottom: 30px;
}

.founder-photo {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--primary-color) 100%
  );
  box-shadow: 0 15px 30px rgba(155, 89, 182, 0.3);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-5deg);
  transition: all 0.5s ease;
}

.founder-photo:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 20px 40px rgba(155, 89, 182, 0.4);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-placeholder {
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.7);
}

.founder-decoration {
  position: absolute;
  width: 220px;
  height: 220px;
  background: var(--primary-color);
  border-radius: 20px;
  top: 20px;
  left: 50%;
  margin-left: -100px;
  z-index: 0;
  opacity: 0.3;
  transform: rotate(5deg);
  transition: all 0.5s ease;
}

.founder-photo:hover + .founder-decoration {
  transform: rotate(10deg) scale(1.1);
  opacity: 0.2;
}

.founder-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-purple);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.founder-name::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.founder-position {
  font-size: 1.2rem;
  color: #777;
  margin-bottom: 20px;
  font-style: italic;
}

.founder-info {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.founder-text {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.7;
  position: relative;
  padding-left: 20px;
}

.founder-text::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
}

.founder-text.highlight {
  font-weight: 600;
  color: var(--dark-purple);
  font-size: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(255, 204, 0, 0.1) 0%,
    rgba(155, 89, 182, 0.1) 100%
  );
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
  border-left: 4px solid var(--secondary-color);
}

.founder-text.highlight::before {
  display: none;
}

.founder-contact {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--dark-purple) 100%
  );
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(155, 89, 182, 0.3);
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.founder-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.founder-contact:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(155, 89, 182, 0.4);
}

.founder-contact:hover::before {
  left: 100%;
}

.founder-contact i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.founder-quote {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 4rem;
  color: rgba(155, 89, 182, 0.1);
}

@media (max-width: 992px) {
  .founder-content {
    flex-direction: column;
    padding: 30px;
    gap: 40px;
  }

  .founder-title {
    font-size: 2.4rem;
    margin-bottom: 40px;
  }

  .founder-image {
    flex: 0 0 auto;
  }
}

@media (max-width: 768px) {
  .founder-title {
    font-size: 2rem;
  }

  .founder-photo {
    width: 180px;
    height: 180px;
  }

  .founder-decoration {
    width: 180px;
    height: 180px;
    margin-left: -80px;
  }

  .founder-name {
    font-size: 1.8rem;
  }

  .founder-text {
    font-size: 1rem;
  }

  .founder-text.highlight {
    font-size: 1.1rem;
  }
}

/* Анимация для кнопок "Получить каталог" */
.equipment-button {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.equipment-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: all 0.6s ease;
}

.equipment-item:hover .equipment-button {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Анимация для галереи проектов */
.gallery-item {
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Стили для модального окна финансовой модели */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: white;
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  transition: all 0.3s ease;
  line-height: 0;
  padding: 5px;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-title {
  font-size: 2rem;
  color: var(--dark-purple);
  margin-bottom: 10px;
  text-align: center;
}

.modal-subtitle {
  color: #666;
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.model-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group:nth-last-child(2) {
  grid-column: span 2;
}

.form-group:last-child {
  grid-column: span 2;
  margin-top: 10px;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #555;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(155, 89, 182, 0.2);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit-button {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--dark-purple) 100%
  );
  color: white;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.form-submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(155, 89, 182, 0.4);
}

@media (max-width: 768px) {
  .modal-container {
    padding: 30px 20px;
    max-width: 90%;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .model-form {
    grid-template-columns: 1fr;
  }

  .form-group:nth-last-child(2) {
    grid-column: span 1;
  }
}

/* Стили для счетчиков с анимацией */
.counter-value {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.counter-value span {
  position: relative;
  top: -15px;
  margin-left: 5px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.counter-item:hover .counter-value {
  transform: scale(1.1);
  color: var(--secondary-color);
}

.counter-item:hover .counter-value span {
  color: var(--secondary-color);
}

/* Дополнительные анимации для карточек проектов */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card {
  animation: fadeInUp 0.8s ease-out forwards;
}

.project-card:nth-child(2) {
  animation-delay: 0.2s;
}

.project-card:nth-child(3) {
  animation-delay: 0.4s;
}

@media (max-width: 768px) {
  .modal-container {
    padding: 30px 20px;
    max-width: 90%;
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .model-form {
    grid-template-columns: 1fr;
  }

  .form-group:nth-last-child(2) {
    grid-column: span 1;
  }
}

/* Стили для секции сертификатов */
.certificates-section {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    rgba(255, 204, 0, 0.05) 0%,
    rgba(155, 89, 182, 0.1) 100%
  );
  position: relative;
  overflow: hidden;
}

.certificates-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="3" fill="%23ffcc00" opacity="0.1"/></svg>');
  background-size: 40px 40px;
  pointer-events: none;
}

.certificates-title {
  font-size: 2.8rem;
  color: var(--dark-purple);
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.certificates-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.certificates-description {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.certificates-description p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.certificate-item {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.certificate-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: height 0.3s ease;
}

.certificate-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.certificate-item:hover::before {
  height: 8px;
}

.certificate-container {
  position: relative;
  margin-bottom: 25px;
  transition: all 0.5s ease;
}

.certificate-image {
  width: 250px;
  height: 350px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.certificate-item:hover .certificate-image {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.certificate-item:hover .certificate-image img {
  transform: scale(1.03);
}

.certificate-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.6s ease;
}

.certificate-item:hover .certificate-shine {
  transform: translateX(100%) skewX(-15deg);
}

.certificate-title {
  font-size: 1.5rem;
  color: var(--dark-purple);
  margin-bottom: 15px;
  font-weight: 700;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.certificate-button {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
}

.certificate-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.certificate-button:hover {
  background: var(--dark-purple);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.certificate-button:hover::before {
  left: 100%;
}

/* Модальное окно для сертификатов */
.certificate-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.certificate-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.certificate-modal-container {
  background: white;
  border-radius: 15px;
  padding: 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 90%;
  max-height: 90vh;
  overflow: auto;
}

.certificate-modal-overlay.active .certificate-modal-container {
  transform: scale(1);
  opacity: 1;
}

.certificate-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.certificate-modal-close:hover {
  transform: rotate(90deg);
}

.certificate-modal-close svg {
  width: 16px;
  height: 16px;
  fill: var(--secondary-color);
}

.certificate-modal-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.certificate-modal-image img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .certificates-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .certificates-title {
    font-size: 2rem;
  }

  .certificate-title {
    font-size: 1.3rem;
    min-height: auto;
  }

  .certificate-image {
    width: 220px;
    height: 310px;
  }
}

/* Стили для подвала (footer) */
.footer {
  background: linear-gradient(
    135deg,
    rgba(74, 35, 90, 0.95) 0%,
    rgba(67, 31, 85, 0.98) 100%
  );
  color: white;
  font-family: "Montserrat", sans-serif;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M20,5 L25,15 L35,20 L25,25 L20,35 L15,25 L5,20 L15,15 Z" fill="%23ffcc00" opacity="0.05"/></svg>');
  background-size: 80px 80px;
  pointer-events: none;
}

.footer-top {
  padding: 70px 0 50px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 25px;
  transform: scale(0.9);
  transform-origin: left center;
}

.footer-logo img {
  width: 220px;
  height: auto;
  margin-right: 15px;
}

.footer-logo .logo-text-top,
.footer-logo .logo-text-bottom {
  color: white;
}

.footer-description {
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.footer .social-link {
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: white;
}

.footer .social-link:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
  display: block;
}

.footer-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-nav a:hover::before {
  background: var(--primary-color);
  box-shadow: 0 0 8px var(--primary-color);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #e0e0e0;
  font-size: 0.95rem;
}

.footer-contact-item svg {
  margin-right: 12px;
  min-width: 20px;
  color: var(--primary-color);
}

.footer-contact-item a {
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact-item a:hover {
  color: var(--primary-color);
}

.footer-callback-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--dark-purple);
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.footer-callback-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.footer-callback-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-callback-button:hover::before {
  left: 100%;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  position: relative;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: #b0b0b0;
  font-size: 0.85rem;
}

.copyright {
  flex: 1;
  min-width: 250px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a,
.developer-link {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover,
.developer-link:hover {
  color: var(--primary-color);
}

.developer {
  text-align: right;
  flex: 1;
  min-width: 250px;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-logo-section {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-top {
    padding: 50px 0 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-logo-section {
    grid-column: span 1;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .copyright,
  .developer {
    text-align: center;
    min-width: auto;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

.developer-link:hover {
  color: var(--primary-color);
}

/* Стили для блока отзывов */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(249, 243, 168, 0.4) 100%
  );
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30,5 L35,25 L55,30 L35,35 L30,55 L25,35 L5,30 L25,25 Z" fill="%239b59b6" opacity="0.05"/></svg>');
  background-size: 120px 120px;
  pointer-events: none;
  animation: backgroundScroll 40s linear infinite;
}

@keyframes backgroundScroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 120px 120px;
  }
}

.testimonials-title {
  font-size: 3rem;
  color: var(--dark-purple);
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}

.testimonials-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 5px;
  animation: shimmerGradient 3s infinite;
}

@keyframes shimmerGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.testimonials-slider {
  position: relative;
  overflow: visible;
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-track {
  position: relative;
  min-height: 450px;
  perspective: 1000px;
}

.testimonial-item {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(70px) rotateY(10deg);
  backface-visibility: hidden;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  filter: blur(5px);
}

.testimonial-item.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) rotateY(0);
  z-index: 1;
  filter: blur(0);
}

.testimonial-content {
  background: white;
  border-radius: 25px;
  padding: 50px 40px 40px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid rgba(155, 89, 182, 0.1);
  transform: translateY(0);
}

.testimonial-content:hover {
  transform: translateY(-10px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.15),
    0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(155, 89, 182, 0.3);
}

.testimonial-content::before {
  content: "\""";
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 120px;
            line-height: 1;
            font-family: 'Georgia', serif;
            color: var(--primary-color);
            opacity: 0.15;
            transform: rotate(180deg) translateY(-20px);
            transition: all 0.5s ease;
        }

        .testimonial-content:hover::before {
            opacity: 0.25;
            transform: rotate(180deg) translateY(-15px) scale(1.1);
        }

        .testimonial-content::after {
            content: "\""";
  position: absolute;
  bottom: 10px;
  right: 30px;
  font-size: 120px;
  line-height: 0;
  font-family: "Georgia", serif;
  color: var(--primary-color);
  opacity: 0.15;
  transition: all 0.5s ease;
}

.testimonial-content:hover::after {
  opacity: 0.25;
  transform: translateY(-5px) scale(1.1);
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.testimonial-stars i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 0 3px;
  position: relative;
  transition: all 0.3s ease;
  transform: scale(1);
  filter: drop-shadow(0 5px 15px rgba(255, 204, 0, 0));
  opacity: 0.8;
}

.testimonial-content:hover .testimonial-stars i {
  color: var(--primary-color);
  transform: scale(1.2);
  opacity: 1;
  filter: drop-shadow(0 5px 15px rgba(255, 204, 0, 0.5));
}

.testimonial-content:hover .testimonial-stars i:nth-child(1) {
  transition-delay: 0s;
}
.testimonial-content:hover .testimonial-stars i:nth-child(2) {
  transition-delay: 0.05s;
}
.testimonial-content:hover .testimonial-stars i:nth-child(3) {
  transition-delay: 0.1s;
}
.testimonial-content:hover .testimonial-stars i:nth-child(4) {
  transition-delay: 0.15s;
}
.testimonial-content:hover .testimonial-stars i:nth-child(5) {
  transition-delay: 0.2s;
}

.testimonial-text {
  color: #555;
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-text::first-letter {
  font-size: 1.5em;
  color: var(--secondary-color);
  font-weight: bold;
}

.testimonial-author h4 {
  color: var(--dark-purple);
  font-size: 1.4rem;
  margin: 0 0 5px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.testimonial-content:hover .testimonial-author h4 {
  color: var(--secondary-color);
}

.testimonial-author p {
  color: #777;
  font-size: 1rem;
  font-style: italic;
  transition: all 0.3s ease;
}

.testimonial-content:hover .testimonial-author p {
  color: var(--dark-purple);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.testimonial-arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.testimonial-arrow.prev {
  margin-right: 30px;
}

.testimonial-arrow.next {
  margin-left: 30px;
}

.testimonial-arrow:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(255, 204, 0, 0.3);
}

.testimonial-arrow:active {
  transform: translateY(0);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-arrow svg {
  width: 28px;
  height: 28px;
  fill: var(--dark-purple);
  transition: all 0.3s ease;
}

.testimonial-arrow:hover svg {
  fill: white;
}

.testimonial-dots {
  display: flex;
  align-items: center;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(155, 89, 182, 0.2);
  margin: 0 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-dot::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: var(--secondary-color);
  transform: scale(1.2);
}

.testimonial-dot.active::before {
  border-color: var(--secondary-color);
}

.testimonial-dot:hover {
  background: var(--primary-color);
  transform: scale(1.3);
}

.testimonials-cta {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--primary-color) 100%
  );
  border-radius: 15px;
  padding: 40px;
  margin-top: 80px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: all 0.4s ease;
}

.testimonials-cta:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

.testimonials-cta p {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonials-button {
  display: inline-block;
  padding: 18px 40px;
  background: white;
  color: var(--dark-purple);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonials-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  opacity: 0;
  z-index: -1;
  transition: all 0.3s ease;
}

.testimonials-button:hover {
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonials-button:hover::before {
  opacity: 1;
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 70px 0;
  }

  .testimonials-title {
    font-size: 2.2rem;
    margin-bottom: 50px;
  }

  .testimonial-content {
    padding: 35px 25px 25px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-author h4 {
    font-size: 1.3rem;
  }

  .testimonials-cta {
    padding: 30px 20px;
  }

  .testimonials-cta p {
    font-size: 1.3rem;
  }

  .testimonials-button {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .testimonials-title {
    font-size: 1.9rem;
  }

  .testimonial-content {
    padding: 30px 20px 20px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  .testimonial-arrow {
    width: 50px;
    height: 50px;
  }

  .testimonial-arrow svg {
    width: 24px;
    height: 24px;
  }

  .testimonial-arrow.prev {
    margin-right: 20px;
  }

  .testimonial-arrow.next {
    margin-left: 20px;
  }

  .testimonials-cta p {
    font-size: 1.2rem;
  }

  .testimonials-button {
    padding: 14px 26px;
    font-size: 1rem;
  }
}

/* Стили для блока "Наша главная цель" */
.mission-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(249, 243, 168, 0.4) 100%
  );
  position: relative;
  overflow: hidden;
}

.mission-content {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.mission-title {
  font-size: 3rem;
  color: var(--dark-purple);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}

.mission-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 5px;
  animation: shimmerGradient 3s infinite;
}

@keyframes shimmerGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.mission-text {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.mission-blocks {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
}

.mission-block {
  text-align: center;
  max-width: 300px;
}

.mission-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.mission-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--dark-purple);
}

.mission-block:hover .mission-icon {
  transform: scale(1.1);
  background: white;
}

.mission-block:hover .mission-icon svg {
  fill: var(--secondary-color);
}

.mission-block h3 {
  font-size: 1.8rem;
  color: var(--dark-purple);
  margin-bottom: 15px;
  font-weight: 700;
}

.mission-block p {
  font-size: 1.2rem;
  color: #666;
}

.mission-image {
  flex: 1;
  position: relative;
}

.mission-image-container {
  position: relative;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mission-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  z-index: -1;
  transition: all 0.3s ease;
}

.mission-image:hover .mission-decoration {
  transform: scale(1.05);
}

/* Адаптивность для блока "Наша главная цель" */
@media (max-width: 992px) {
  .mission-wrapper {
    flex-direction: column-reverse;
  }

  .mission-content {
    padding: 40px 20px;
    width: 100%;
  }

  .mission-image {
    margin-bottom: 30px;
    width: 80%;
    max-width: 400px;
  }

  .mission-blocks {
    flex-direction: column;
    gap: 30px;
  }

  .mission-title {
    font-size: 2.4rem;
  }

  .mission-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .mission-section {
    padding: 60px 0;
  }

  .mission-title {
    font-size: 2rem;
  }

  .mission-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .mission-block h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .mission-title {
    font-size: 1.8rem;
  }

  .mission-content {
    padding: 30px 15px;
  }

  .mission-icon {
    width: 80px;
    height: 80px;
  }
}

/* Добавляем стили для логотипа в шапке */
.logo img {
  width: 200px;
  height: auto;
  margin-right: 15px;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

.nav-logo img {
  width: 160px;
  height: auto;
  margin-right: 10px;
}

/* Дополнительные стили для сертификатов */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }
}

/* Стили для блока примеров работ */
.projects-description {
  max-width: 800px;
  margin: 20px auto 40px;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: #666;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  height: 300px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  transition: background 0.3s ease;
}

.gallery-overlay h4 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.gallery-overlay p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.gallery-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
}

.gallery-item:hover .gallery-button {
  opacity: 1;
  transform: translateY(0);
}

.gallery-button:hover {
  background-color: var(--secondary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.play-icon i {
  color: white;
  font-size: 24px;
}

.gallery-item:hover .play-icon {
  background-color: var(--primary-color);
}

.gallery-link {
  display: inline-block;
  margin-top: 40px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.gallery-link:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.gallery-link:hover {
  color: var(--secondary-color);
}

.gallery-link:hover:after {
  transform: scaleX(1);
  transform-origin: left;
  background-color: var(--secondary-color);
}

/* Стили для модального окна с видео */
#videoModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  padding: 50px;
  box-sizing: border-box;
  backdrop-filter: blur(5px);
  transition: opacity 0.3s ease;
  opacity: 0;
}

#videoModal.active {
  opacity: 1;
}

.video-modal-container {
  width: 85%;
  max-width: 1200px;
  background-color: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

#videoModal.active .video-modal-container {
  transform: scale(1);
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 соотношение сторон */
  overflow: hidden;
  background-color: #000;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.close-text {
  font-size: 12px;
  margin-top: 2px;
  color: white;
  font-weight: bold;
}

.modal-close:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

#videoModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease;
  opacity: 0;
}

#videoModal.active {
  opacity: 1;
}

.video-modal-container {
  width: 85%;
  max-width: 1200px;
  background-color: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

#videoModal.active .video-modal-container {
  transform: scale(1);
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 соотношение сторон */
  overflow: hidden;
  background-color: #000;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.close-text {
  font-size: 12px;
  margin-top: 2px;
  color: white;
  font-weight: bold;
}

.modal-close:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

/* Стили для кнопки просмотра видео */
.gallery-button {
  position: relative;
  overflow: hidden;
}

.gallery-button.clicked:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.8);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }

  100% {
    transform: scale(50, 50);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  #videoModal {
    padding: 20px;
  }

  .video-modal-container {
    width: 95%;
  }

  .modal-close {
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .project-modal-title {
    font-size: 22px;
  }

  .project-gallery-main {
    height: 250px;
  }

  .project-gallery-thumbs .thumb {
    width: 80px;
    height: 60px;
  }

  .feature {
    width: 100%;
  }
}

/* Стили для модального окна формы заявки */
#requestFormModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

#requestFormModal.active {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.request-form-container {
  width: 90%;
  max-width: 600px;
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(50px);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#requestFormModal.active .request-form-container {
  transform: translateY(0);
  opacity: 1;
}

.request-form-title {
  text-align: center;
  color: var(--dark-purple);
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
}

.request-form-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 5px;
}

.request-form-description {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.input-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.input-wrapper:focus-within {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.input-wrapper:focus-within .input-icon {
  color: var(--secondary-color);
  opacity: 1;
}

.textarea-wrapper .input-icon {
  top: 25px;
  transform: none;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  padding: 15px 15px 15px 50px;
  border: none;
  background: transparent;
  color: #333;
  font-size: 16px;
  transition: all 0.3s ease;
}

.request-form textarea {
  min-height: 120px;
  resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: none;
}

.request-form label {
  position: absolute;
  left: 50px;
  top: 15px;
  color: #999;
  font-size: 14px;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-20px);
}

.request-form input:focus + label,
.request-form select:focus + label,
.request-form textarea:focus + label,
.request-form input:not(:placeholder-shown) + label,
.request-form select:not([value=""]):not([value="undefined"]) + label,
.request-form textarea:not(:placeholder-shown) + label {
  opacity: 1;
  transform: translateY(-45px);
  color: var(--secondary-color);
}

.form-submit {
  margin-top: 10px;
}

.submit-button {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(155, 89, 182, 0.3);
}

.submit-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.submit-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(155, 89, 182, 0.3);
}

.submit-button:hover::before {
  left: 100%;
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.submit-button:hover .button-icon {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  #requestFormModal {
    padding: 20px;
  }

  .request-form-container {
    padding: 30px 20px;
    width: 95%;
  }

  .request-form-title {
    font-size: 22px;
  }

  .form-group {
    margin-bottom: 15px;
  }
}

.highlight-text {
  color: #fff; /* Яркий желтый цвет */
  font-weight: 700; /* Жирный шрифт */
  font-size: 130%;
}

/* Стили для модальных окон политики и условий */
.policy-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.policy-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.policy-modal-container {
  background: white;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.policy-modal-overlay.active .policy-modal-container {
  transform: translateY(0);
  opacity: 1;
}

.policy-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.policy-modal-close:hover {
  background: var(--dark-purple);
  transform: rotate(90deg);
}

.policy-modal-close svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.policy-modal-title {
  font-size: 2rem;
  color: var(--dark-purple);
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.policy-modal-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.policy-modal-content {
  height: calc(80vh - 100px);
  overflow-y: auto;
  padding: 20px 10px;
  margin-top: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
}

.policy-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.policy-modal-content .pdf-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #666;
  font-size: 1.2rem;
  text-align: center;
}

.policy-modal-content .pdf-placeholder i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .policy-modal-container {
    padding: 30px 20px;
  }

  .policy-modal-title {
    font-size: 1.6rem;
  }
}

/* Стили для модального окна сертификатов */
.certificate-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 50px;
  box-sizing: border-box;
}

.certificate-modal-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.certificate-modal-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.certificate-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  transition: all 0.3s ease;
}

.certificate-modal-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

/* Дополнительные стили для сертификатов */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.certificate-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.certificate-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.certificate-container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.certificate-image {
  width: 220px;
  height: 300px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.certificate-item:hover .certificate-image img {
  transform: scale(1.05);
}

.certificate-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-15deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  20% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.certificate-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-purple);
  margin-bottom: 10px;
}

.certificate-text {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
}

.certificate-button {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: auto;
}

.certificate-button:hover {
  background: var(--dark-purple);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .certificate-image {
    width: 180px;
    height: 250px;
  }

  .certificate-modal {
    padding: 20px;
  }
}

/* Стили для кнопки просмотра проекта */
.project-view-button {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.project-view-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.project-view-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(
    45deg,
    var(--secondary-color),
    var(--primary-color)
  );
}

.project-view-button:hover::before {
  left: 100%;
}

/* Стили для модального окна проекта */
#projectModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
  transition: opacity 0.3s ease;
  opacity: 0;
}

#projectModal.active {
  opacity: 1;
}

.project-modal-container {
  width: 90%;
  max-width: 1200px;
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

#projectModal.active .project-modal-container {
  transform: scale(1);
}

.project-modal-title {
  text-align: center;
  color: var(--dark-purple);
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 700;
}

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.project-gallery-main {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-gallery-main img:hover {
  transform: scale(1.02);
}

.project-gallery-thumbs {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 0;
}

.project-gallery-thumbs .thumb {
  width: 100px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.project-gallery-thumbs .thumb.active {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.project-gallery-thumbs .thumb:hover {
  transform: translateY(-5px);
}

.project-gallery-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-description-full {
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
}

.project-description-full h3 {
  color: var(--dark-purple);
  margin-bottom: 15px;
  font-size: 22px;
}

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 25px 0;
}

.feature {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  width: calc(25% - 15px);
  text-align: center;
}

.feature h4 {
  color: var(--secondary-color);
  margin-bottom: 5px;
  font-size: 16px;
}

.feature p {
  color: #333;
  font-weight: 600;
}

.request-button {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: block;
  margin: 30px auto 0;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.request-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  background: linear-gradient(
    45deg,
    var(--secondary-color),
    var(--primary-color)
  );
}

@media (max-width: 992px) {
  .project-modal-container {
    padding: 20px;
    width: 95%;
  }

  .project-gallery-main {
    height: 300px;
  }

  .feature {
    width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .project-modal-title {
    font-size: 22px;
  }

  .project-gallery-main {
    height: 250px;
  }

  .project-gallery-thumbs .thumb {
    width: 80px;
    height: 60px;
  }

  .feature {
    width: 100%;
  }
}

/* Стили модального окна для финансовой формы */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.9)
  );
  display: none;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0, 0, 0.2, 1);
}

#financialFormModal.active {
  display: flex;
  animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.financial-form-container {
  position: relative;
  background: linear-gradient(135deg, #fffef9 0%, #fff7e6 100%);
  width: 550px;
  max-width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  padding: 40px;
  box-shadow:
    0 15px 60px rgba(0, 0, 0, 0.25),
    0 0 30px rgba(255, 204, 0, 0.2);
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 204, 0, 0.3);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 204, 0, 0.5) rgba(0, 0, 0, 0.1);
}

.financial-form-container::-webkit-scrollbar {
  width: 8px;
}

.financial-form-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.financial-form-container::-webkit-scrollbar-thumb {
  background: rgba(255, 204, 0, 0.5);
  border-radius: 10px;
}

.financial-form-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 204, 0, 0.7);
}

#financialFormModal.active .financial-form-container {
  transform: scale(1);
  opacity: 1;
}

.financial-form-title {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(
    45deg,
    var(--bright-yellow),
    #ffa500,
    var(--primary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(255, 204, 0, 0.3);
  animation: gradientTextShift 3s ease infinite;
}

.financial-form-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    45deg,
    var(--bright-yellow),
    #ffa500,
    var(--primary-color)
  );
  border-radius: 50px;
  animation: goldGradientShift 3s ease infinite;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

@keyframes gradientTextShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes goldGradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.financial-form-description {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
  font-size: 16px;
  font-weight: 500;
}

.financial-form-description p {
  line-height: 1.6;
  max-width: 90%;
  margin: 0 auto;
}

.financial-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Стили полей ввода */
.financial-form .input-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 204, 0, 0.2);
  backdrop-filter: blur(5px);
}

.financial-form .input-wrapper::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -1;
  background: linear-gradient(
    45deg,
    var(--bright-yellow),
    #ffa500,
    var(--primary-color)
  );
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.financial-form .input-wrapper:focus-within::before {
  opacity: 0.4;
}

.financial-form .input-focus-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--bright-yellow),
    #ffa500,
    var(--primary-color)
  );
  background-size: 200% auto;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0;
  border-radius: 0 0 16px 16px;
}

.financial-form .input-wrapper:focus-within .input-focus-effect {
  width: 100%;
  opacity: 1;
  animation: goldGradientFlow 2s linear infinite;
}

@keyframes goldGradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.financial-form .input-wrapper:focus-within {
  box-shadow: 0 15px 35px rgba(255, 204, 0, 0.25);
  transform: translateY(-5px);
  border-color: rgba(255, 204, 0, 0.5);
  background: rgba(255, 255, 255, 1);
}

.financial-form .input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  opacity: 0.8;
  transition: all 0.4s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.financial-form .input-wrapper:focus-within .input-icon {
  color: var(--bright-yellow);
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
  filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.5));
}

.financial-form .textarea-wrapper .input-icon {
  top: 25px;
  transform: none;
}

.financial-form .textarea-wrapper:focus-within .input-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.5));
}

.financial-form input,
.financial-form select,
.financial-form textarea {
  width: 100%;
  padding: 18px 20px 18px 56px;
  border: none;
  background: transparent;
  color: #444;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.4s ease;
  font-family: "Montserrat", sans-serif;
}

.financial-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffcc00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  padding-right: 45px;
}

.financial-form textarea {
  min-height: 140px;
  resize: vertical;
  padding-top: 22px;
  line-height: 1.6;
}

.financial-form input:focus,
.financial-form select:focus,
.financial-form textarea:focus {
  outline: none;
}

.financial-form input::placeholder,
.financial-form textarea::placeholder,
.financial-form select:invalid {
  color: #999;
  font-weight: 400;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.financial-form input:focus::placeholder,
.financial-form textarea:focus::placeholder {
  opacity: 0;
}

.financial-form label {
  position: absolute;
  left: 56px;
  top: 18px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(-24px);
  text-shadow: 0 1px 2px rgba(255, 204, 0, 0.2);
}

.financial-form input:focus + label,
.financial-form select:focus + label,
.financial-form textarea:focus + label,
.financial-form input:not(:placeholder-shown) + label,
.financial-form select:not([value=""]):not([value="undefined"]) + label,
.financial-form textarea:not(:placeholder-shown) + label {
  opacity: 1;
  transform: translateY(-50px);
  color: var(--bright-yellow);
}

.financial-form .form-submit {
  margin-top: 20px;
}

.financial-form .submit-button {
  width: 100%;
  padding: 20px 34px;
  background: linear-gradient(
    45deg,
    var(--bright-yellow),
    #ffa500,
    var(--primary-color)
  );
  background-size: 200% auto;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 204, 0, 0.4);
  z-index: 1;
  animation: goldGradientMove 3s ease infinite;
}

@keyframes goldGradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.financial-form .submit-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transition: 0.8s ease;
  z-index: -1;
}

.financial-form .submit-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    #ffa500,
    var(--bright-yellow)
  );
  background-size: 200% auto;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -2;
  border-radius: 50px;
}

.financial-form .submit-button:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow:
    0 20px 40px rgba(255, 204, 0, 0.5),
    0 0 20px rgba(255, 204, 0, 0.3);
  letter-spacing: 3px;
}

.financial-form .submit-button:hover::before {
  left: 100%;
}

.financial-form .submit-button:hover::after {
  opacity: 1;
}

.financial-form .button-text {
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.financial-form .button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.financial-form .submit-button:hover .button-icon {
  transform: translateX(10px) scale(1.2);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

.financial-form .submit-button:active {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 204, 0, 0.4);
}

.financial-form-container .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: var(--dark-purple);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.financial-form-container .modal-close:hover {
  background: rgba(155, 89, 182, 0.15);
  transform: rotate(90deg) scale(1.1);
}

.financial-form-container .modal-close svg {
  fill: var(--dark-purple);
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.financial-form-container .modal-close:hover svg {
  fill: var(--secondary-color);
}

.financial-form-container .modal-close .close-text {
  color: var(--dark-purple);
  font-weight: 700;
  opacity: 0.85;
  transition: color 0.3s;
}

.financial-form-container .modal-close:hover .close-text {
  color: var(--secondary-color);
  opacity: 1;
}

.toggle-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.toggle-option {
  flex: 1;
  min-width: 100px;
}

.toggle-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-option label {
  display: block;
  background: rgba(255, 255, 255, 0.9);
  padding: 14px 10px;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 204, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.toggle-option label:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.toggle-option input[type="radio"]:checked + label {
  background: linear-gradient(45deg, var(--bright-yellow), #ffa500);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  #financialFormModal {
    padding: 20px;
  }

  .financial-form-container {
    padding: 30px 20px;
    max-height: 85vh;
  }

  .financial-form-title {
    font-size: 24px;
  }

  .financial-form .form-group {
    gap: 20px;
  }

  .financial-form input,
  .financial-form select,
  .financial-form textarea {
    font-size: 14px;
    padding: 15px 20px 15px 50px;
  }

  .toggle-group {
    flex-direction: column;
    gap: 10px;
  }

  .financial-form-container .modal-close {
    top: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .financial-form-container {
    padding: 25px 15px;
  }

  .financial-form-title {
    font-size: 22px;
  }

  .financial-form-description p {
    font-size: 14px;
  }

  .financial-form .submit-button {
    padding: 14px 20px;
    font-size: 14px;
  }
}

/* Улучшенные стили для переключателей */
.toggle-group.improved {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.toggle-group.improved .toggle-option {
  flex: 1;
  min-width: 120px;
}

.toggle-group.improved .toggle-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-group.improved .toggle-option label {
  display: block;
  text-align: center;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #555;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 204, 0, 0.2);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-group.improved .toggle-option label::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    var(--bright-yellow),
    #ffa500,
    var(--primary-color)
  );
  transition: left 0.3s ease;
  z-index: -1;
}

.toggle-group.improved .toggle-option input[type="radio"]:checked + label {
  color: white;
  border-color: rgba(255, 204, 0, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3);
}

.toggle-group.improved
  .toggle-option
  input[type="radio"]:checked
  + label::before {
  left: 0;
}

.toggle-group.improved .toggle-option label:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 1);
}

.toggle-group.improved .toggle-option input[type="radio"]:focus + label {
  box-shadow:
    0 0 0 3px rgba(255, 204, 0, 0.4),
    0 5px 15px rgba(0, 0, 0, 0.1);
}

.static-label {
  position: static !important;
  opacity: 1 !important;
  transform: none !important;
  margin-bottom: 10px !important;
  display: block !important;
  color: #666 !important;
  font-weight: 600 !important;
}

/* Валидация полей ввода */
.financial-form input:invalid:focus,
.financial-form select:invalid:focus,
.financial-form textarea:invalid:focus {
  border-color: rgba(255, 87, 87, 0.5);
  box-shadow: 0 5px 15px rgba(255, 87, 87, 0.2);
}

.financial-form input:valid:focus,
.financial-form select:valid:focus,
.financial-form textarea:valid:focus {
  border-color: rgba(87, 255, 87, 0.5);
  box-shadow: 0 5px 15px rgba(87, 255, 87, 0.2);
}

.field-error {
  color: #ff5757;
  font-size: 12px;
  margin-top: 5px;
  display: block;
  font-weight: 500;
  transition: all 0.3s ease;
  padding-left: 5px;
  animation: shakeError 0.5s ease;
}

@keyframes shakeError {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-5px);
  }
  40%,
  80% {
    transform: translateX(5px);
  }
}

.has-error .input-wrapper {
  border-color: rgba(255, 87, 87, 0.5);
  box-shadow: 0 5px 15px rgba(255, 87, 87, 0.2);
}

.shake {
  animation: shakeError 0.5s ease;
}
