:root {
  --primary: #1a237e;
  --primary-light: #534bae;
  --primary-dark: #000051;
  --secondary: #ff5722;
  --secondary-light: #ff8a50;
  --secondary-dark: #c41c00;
  --accent: #00b0ff;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f5f7fa;
  --bg-dark: #f8f9fa;
  --card-bg: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
  --gradient-light: linear-gradient(135deg, #e8eaf6, #c5cae9);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--gradient);
  color: var(--text-light);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-placeholder {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(
    to right,
    var(--text-light),
    var(--secondary-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav li {
  position: relative;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 10px 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

nav a:hover {
  color: var(--secondary-light);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-light);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

/* Улучшенные стили для выпадающего меню */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-dark);
  min-width: 220px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 8px 0;
  margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
  white-space: nowrap;
}
.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--secondary);
  color: white;
  padding-left: 25px;
}

.dropdown-menu a i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}

.dropdown > a i {
  font-size: 0.7em;
  transition: var(--transition);
  margin-left: 2px;
}

.dropdown:hover > a i {
  transform: rotate(180deg);
}

/* Активная ссылка навигации */
nav a.active {
  color: var(--secondary-light);
}

nav a.active::after {
  width: 100%;
}

/* Мобильная версия - исправленная */
/* Мобильная версия - исправленная */
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  nav {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    text-align: left;
    gap: 0;
    display: none;
    width: 100%;
    background: var(--primary-dark);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  nav ul.active {
    display: flex;
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu {
    display: block;
    position: static;
  }

  /* Выпадающие меню в мобильной версии */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    display: none;
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    width: 100%;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding: 12px 20px 12px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown > a i {
    transition: transform 0.3s ease;
  }

  .dropdown.active > a i {
    transform: rotate(180deg);
  }
}

/* Дополнительные исправления для логотипа */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo-placeholder {
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.logo-placeholder img {
  width: 100%;
  height: auto;
  border-radius: 50px;
  background: #fff;
}

/* Улучшенный хедер */
header {
  background: var(--gradient);
  color: var(--text-light);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.video-background video.loaded {
  opacity: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin: 0 auto 30px;
  max-width: 700px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--text-light);
  padding: 14px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::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: var(--transition);
}

.btn:hover {
  background-color: var(--secondary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 87, 34, 0.4);
}

.btn:hover::before {
  left: 100%;
}

/* Projects Section */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  /* color: var(--primary); */
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 4px;
  background-color: var(--secondary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  max-width: 600px;
  margin: 20px auto 0;
  color: #666;
  font-size: 1.1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.project-number {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--secondary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  z-index: 1;
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.project-content p {
  color: #666;
  margin-bottom: 20px;
}

.project-links {
  display: flex;
  gap: 15px;
}

.project-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  padding: 8px 15px;
  border-radius: 5px;
  background: rgba(26, 35, 126, 0.1);
}

.project-links a:hover {
  color: var(--secondary);
  background: rgba(255, 87, 34, 0.1);
  transform: translateY(-2px);
}

/* Partners Section */
.partners {
  background: var(--gradient-light);
  color: var(--text-dark);
  position: relative;
}

.partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.03"><polygon fill="%231a237e" points="0,0 1000,0 1000,1000 0,1000"/></svg>');
  background-size: cover;
}

.partners .container {
  position: relative;
  z-index: 2;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.partner-card {
  background-color: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 35, 126, 0.1);
}

.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(26, 35, 126, 0.15);
  border-color: rgba(255, 87, 34, 0.3);
}

.partner-logo {
  height: 80px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo .logo-placeholder {
  width: 120px;
  height: 60px;
  font-size: 1.5rem;
  background: var(--primary);
  color: white;
}

.partner-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.partner-card p {
  color: #666;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.team-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-img {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.team-img {
  margin: 15px;
  border-radius: 10px;
}
.team-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, var(--primary), transparent);
  opacity: 0.7;
}

.team-content {
  padding: 25px;
  position: relative;
}

.team-content h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.team-content .position {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 15px;
  display: block;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(26, 35, 126, 0.1);
  border-radius: 50%;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.team-social a:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-3px);
}

/* Stats Section */
.stats {
  background: var(--gradient);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--secondary-light);
}

.stat-text {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Values Section */
.values {
  background-color: var(--bg-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--secondary);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
}

.value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.value-card p {
  color: #666;
}

/* Contact Section */
.contact {
  background-color: var(--bg-light);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info {
  background: var(--gradient);
  color: var(--text-light);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
  bottom: 0;
  left: 0;
}

.contact-details {
  list-style: none;
  margin-top: 30px;
}

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-details i {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--secondary-light);
}

.contact-form {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background: var(--gradient);
  color: var(--text-light);
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
  bottom: 0;
  left: 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.8;
}

.footer-links a:hover {
  color: var(--secondary-light);
  opacity: 1;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  nav ul {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    display: none;
  }

  nav ul.active {
    display: flex;
  }

  .mobile-menu {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
  }

  .hero {
    padding: 120px 0;
  }

  .hero h2 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 2rem;
  }

  .projects-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .project-links {
    flex-direction: column;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* Новые стили для дополнительных блоков */

/* Services Section */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--secondary);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
}

/* Achievements Section */
.achievements {
  background: var(--gradient);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.achievements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon fill="%23ffffff" points="0,0 1000,0 1000,1000 0,1000"/></svg>');
  background-size: cover;
}

.achievements .container {
  position: relative;
  z-index: 2;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.achievement-item {
  text-align: center;
  padding: 20px;
}

.achievement-icon {
  font-size: 3rem;
  color: var(--secondary-light);
  margin-bottom: 20px;
}

.achievement-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--secondary-light);
}

.achievement-text {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
  background: var(--bg-light);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  margin: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.author-info h4 {
  color: var(--primary);
  margin-bottom: 5px;
}

.author-info p {
  color: #666;
  font-size: 0.9rem;
}

/* Blog Section */
.blog {
  background: var(--card-bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--secondary);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.blog-content p {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #888;
}

.read-more {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-dark);
}

/* CTA Section */
.cta {
  background: var(--gradient);
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon fill="%23ffffff" points="0,0 1000,0 1000,1000 0,1000"/></svg>');
  background-size: cover;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--primary);
}

/* Timeline Section */
.timeline {
  background: var(--bg-light);
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-light);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  width: calc(50% - 40px);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 40px;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -50px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -50px;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-container::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
    margin-right: 0 !important;
  }

  .timeline-content::before {
    left: -40px !important;
    right: auto !important;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
/* Enhanced Dropdown Menu Styles */
nav ul li {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-dark);
  min-width: 240px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 1000;
  padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--secondary);
  color: white;
  padding-left: 25px;
}

.dropdown-menu a i {
  margin-right: 10px;
  width: 16px;
  text-align: center;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
}

.dropdown > a i {
  font-size: 0.7em;
  transition: var(--transition);
}

.dropdown:hover > a i {
  transform: rotate(180deg);
}

/* Active navigation link */
nav a.active {
  color: var(--secondary-light);
}

nav a.active::after {
  width: 100%;
}

/* Mobile responsive for dropdown */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    display: none;
    margin-top: 10px;
    padding-left: 20px;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown > a i {
    display: inline-block;
  }

  .dropdown-menu a {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav ul {
    gap: 0;
  }

  nav ul li {
    width: 100%;
    text-align: left;
  }

  nav a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dropdown > a {
    justify-content: space-between;
  }
}
.partner-logo img {
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

.partner-logo .logo-placeholder {
  width: 120px;
  height: 80px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.partner-logo .team-img {
  width: 180px;
  height: 100px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.copyright a {
  color: var(--secondary-light);
  text-decoration: none;
  transition: var(--transition);
}

.copyright a:hover {
  color: var(--secondary);
  text-decoration: underline;
}
/* Fast Preloader with Breathing Effect */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader .spinner {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: breathing 2s ease-in-out infinite;
}

.preloader .logo-placeholder {
  width: 70px;
  height: 70px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.preloader .logo-placeholder img {
  width: 100%;
  height: auto;
  border-radius: 50px;
  transition: all 0.5s ease;
}

@keyframes breathing {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

/* Дополнительный эффект для логотипа */
@keyframes logoGlow {
  0% {
    filter: brightness(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  }
  50% {
    filter: brightness(1.2) drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
  }
  100% {
    filter: brightness(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  }
}

.preloader .logo-placeholder img {
  animation: logoGlow 3s ease-in-out infinite;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader.fade-out .spinner {
  animation: none;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

/* Остальные стили остаются без изменений */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--primary-dark);
  color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  max-width: 400px;
  display: none;
}

.cookie-content p {
  margin-bottom: 15px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
  transition: var(--transition);
  z-index: 99;
}

.back-to-top:hover {
  background: var(--secondary-light);
  transform: translateY(-3px);
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 300px;
}

.toast {
  background: white;
  color: var(--text-dark);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--secondary);
  animation: slideInRight 0.3s ease;
}

.toast.success {
  border-left-color: #4caf50;
}

.toast.error {
  border-left-color: #f44336;
}

.toast.warning {
  border-left-color: #ff9800;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--secondary);
}

.modal-body {
  padding: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .modal-body {
    padding: 30px 20px;
  }

  .preloader .spinner {
    width: 80px;
    height: 80px;
  }

  .preloader .logo-placeholder {
    width: 60px;
    height: 60px;
  }
}
