/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #212121;
  background-color: #ffffff;
  padding-top: 80px; /* Отступ для фиксированного хедера */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Color Variables */
:root {
  --primary-dark: #212121;
  --primary-cyan: #06b6d4;
  --primary-color: #06b6d4;
  --accent-color: #0891b2;
  --light-gray: #e0e0e0;
  --white: #ffffff;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  max-width: 800px;
  width: calc(100% - 40px);
  background: var(--primary-dark);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
}

.cookie-popup.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
  line-height: 1.6;
}

.cookie-text h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: var(--primary-cyan);
}

.cookie-text p {
  margin: 0;
  opacity: 0.9;
}

.cookie-text a {
  color: var(--primary-cyan);
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn.accept {
  background: var(--primary-cyan);
  color: white;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3);
}

.cookie-btn.accept:hover {
  background: #0891b2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.cookie-btn.decline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.decline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .cookie-popup {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 1.5rem;
  }

  .cookie-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .mobile-nav-link {
    font-size: 1.2rem;
    padding: 1.2rem 2rem;
    min-width: 250px;
  }

  .mobile-nav-list {
    gap: 1.2rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
    margin-right: 10px;
  }
}

/* Header */
.header {
  background: rgba(33, 33, 33, 0.95);
  backdrop-filter: blur(20px);
  color: white;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
  background: rgba(33, 33, 33, 0.98);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(25px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  position: relative;
}

/* Logo Styles */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 42px;
  height: 42px;
  margin-right: 14px;
  filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.3));
  transition: filter 0.3s ease;
}

.logo-link:hover .logo-icon {
  filter: drop-shadow(0 4px 12px rgba(6, 182, 212, 0.5));
}

.logo {
  color: var(--primary-cyan);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Desktop Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
  color: white;
  background: rgba(6, 182, 212, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.3);
}

.nav-link.active {
  color: white;
  background: linear-gradient(135deg, var(--primary-cyan), #0891b2);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
  border-color: transparent;
}

.nav-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;

  transition: all 0.3s ease;
  opacity: 0.8;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

/* Новое мобильное меню - кнопка */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  z-index: 1002;
  position: relative;
  overflow: hidden;
}

.mobile-menu-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.1),
    rgba(6, 182, 212, 0.3)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-toggle:hover::before {
  opacity: 1;
}

.mobile-menu-toggle:hover {
  border-color: rgba(6, 182, 212, 0.6);
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
}

.hamburger-line {
  width: 26px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 3px;
  transform-origin: center;
  position: relative;
  z-index: 1;
}

.mobile-menu-toggle.active {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.8);
  transform: scale(1.1);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
  background: #06b6d4;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0) rotate(180deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background: #06b6d4;
}

/* Новое мобильное меню - оверлей */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, rgb(33, 33, 33), rgba(0, 10, 11, 0.943));
  backdrop-filter: blur(25px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mobile-menu-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(6, 182, 212, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

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

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  text-align: center;
  transform: translateY(50px) scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
  position: relative;
  z-index: 1;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateY(0) scale(1);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 2rem 3rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  min-width: 320px;
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.mobile-nav-link:hover::before {
  left: 100%;
}

.mobile-nav-link:hover {
  background: linear-gradient(135deg, var(--primary-cyan), #0891b2);
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 15px 50px rgba(6, 182, 212, 0.4);
  border-color: rgba(6, 182, 212, 0.8);
}

.mobile-nav-link:active {
  transform: translateY(-2px) scale(1.02);
}

.mobile-nav-icon {
  width: 28px;
  height: 28px;
  margin-right: 15px;

  transition: all 0.4s ease;
  drop-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-nav-link:hover .mobile-nav-icon {
  filter: none;
  transform: scale(1.2) rotate(5deg);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/techinsighthub.jpg") no-repeat center center/cover;
  color: var(--white);
  padding: 100px 0;
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.hero .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.hero-content {
  text-align: center;
  max-width: 600px;
  margin-right: 5%;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-cyan);
  color: var(--white);
}

.btn-primary:hover {
  background: #0891b2;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-cyan);
  border: 2px solid var(--primary-cyan);
}

.btn-secondary:hover {
  background: var(--primary-cyan);
  color: var(--white);
}

/* Features Section */
.features {
  padding: 4rem 0;
  background: var(--light-gray);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature-img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 8px rgba(45, 212, 191, 0.3));
}

.feature-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  margin-bottom: 1.5rem;
  color: #666;
}

/* Tech Showcase Section */
.tech-showcase {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.showcase-grid {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.showcase-item:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.showcase-item:nth-child(even) .showcase-img {
  order: 2;
}

.showcase-item:nth-child(even) .showcase-content {
  order: 1;
}

.showcase-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.showcase-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.showcase-content p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Education Focus Section */
.education-focus {
  padding: 5rem 0;
  background: var(--primary-dark);
  color: white;
}

.education-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.education-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.education-text > p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.education-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.education-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: background 0.3s ease;
}

.education-feature:hover {
  background: rgba(255, 255, 255, 0.15);
}

.education-icon {
  width: 32px;
  height: 32px;
}

/* Company History Section */
.company-history {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.company-history::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%2306B6D4" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>')
    center/cover;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--primary-cyan) 0%,
    var(--primary-dark) 100%
  );
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin: 3rem 0;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, #0891b2 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
  position: relative;
  z-index: 2;
  min-width: 120px;
  text-align: center;
}

.timeline-year::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-cyan);
  border: 4px solid white;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.timeline-item:nth-child(odd) .timeline-year::before {
  right: -50px;
}

.timeline-item:nth-child(even) .timeline-year::before {
  left: -50px;
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 0 3rem;
  border-left: 4px solid var(--primary-cyan);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.timeline-content p {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

/* Interesting Facts Section */
.interesting-facts {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1a1a 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.interesting-facts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 20h20v20h20v-20h20v-20h-20v-20h-20v20h-20z" fill="none" stroke="%2306B6D4" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>')
    center/cover;
  opacity: 0.3;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.fact-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.fact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-cyan) 0%, #0891b2 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.fact-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(6, 182, 212, 0.2);
}

.fact-card:hover::before {
  transform: scaleX(1);
}

.fact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.fact-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-cyan);
  display: block;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-cyan) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fact-unit {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.fact-description {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.education-feature h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.education-feature p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

.education-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.stat-number-label {
  display: block;
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Image Gallery Section */
.image-gallery {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.gallery-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.gallery-item:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.gallery-item:nth-child(even) .gallery-image {
  order: 2;
}

.gallery-item:nth-child(even) .gallery-content {
  order: 1;
}

.gallery-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
}

.gallery-overlay p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.9rem;
}

.gallery-content {
  padding: 2.5rem;
}

.gallery-content h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.gallery-content p {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.gallery-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  border-radius: 12px;
  color: white;
  flex: 1;
  transition: transform 0.3s ease;
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Educational Info Section */
.educational-info {
  padding: 80px 0;
  background: var(--primary-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.educational-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-100px);
  }
}

.educational-info .container {
  position: relative;
  z-index: 1;
}

.educational-info h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.info-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  font-weight: 300;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.info-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.info-item:hover::before {
  left: 100%;
}

.info-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.info-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.info-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff;
}

.info-item p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  text-align: left;
}

.info-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 1rem;
}

.stat-highlight {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: center;
  line-height: 1.3;
}

/* Mobile Styles for Educational Info */
@media (max-width: 768px) {
  .educational-info {
    padding: 60px 0;
  }

  .educational-info h2 {
    font-size: 2rem;
  }

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

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .info-item {
    padding: 1.5rem;
  }

  .info-icon {
    font-size: 2.5rem;
  }

  .info-item h3 {
    font-size: 1.3rem;
  }

  .info-item p {
    font-size: 0.9rem;
    text-align: center;
  }

  .stat-highlight {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .educational-info {
    padding: 40px 0;
  }

  .educational-info h2 {
    font-size: 1.8rem;
  }

  .info-item {
    padding: 1rem;
  }

  .info-icon {
    font-size: 2rem;
  }

  .info-item h3 {
    font-size: 1.2rem;
  }
}

/* Interactive Features Section */
.interactive-features {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
}

.interactive-features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c3e50;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: #555;
  transition: all 0.3s ease;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  transition: all 0.3s ease;
}

.feature-list li:hover {
  color: #667eea;
  padding-left: 2rem;
}

.feature-list li:hover::before {
  transform: scale(1.2);
}

.feature-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary-cyan), #0891b2);
  border-radius: 10px;
  color: white;
}

.feature-stats .stat-number {
  font-size: 1.5rem;
  font-weight: 700;
}

.feature-stats .stat-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Learning Path Section */
.learning-path {
  padding: 80px 0;
  background: var(--primary-dark);
  color: white;
}

.learning-path h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.learning-path .section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.path-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.path-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.path-level {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.path-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.path-progress {
  margin: 1.5rem 0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.9rem;
  opacity: 0.8;
}

.path-topics {
  list-style: none;
  padding: 0;
  margin: 0;
}

.path-topics li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.path-topics li::before {
  content: "📚";
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.path-topics li:hover {
  opacity: 1;
  padding-left: 2rem;
}

.path-topics li:hover::before {
  transform: scale(1.2);
}

/* Achievements Section */
.achievements {
  padding: 80px 0;
  background: #f8f9fa;
}

.achievements h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c3e50;
  font-weight: 700;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.achievement-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 0, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.achievement-card:hover::before {
  left: 100%;
}

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

.achievement-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.achievement-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 600;
}

.achievement-card p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.achievement-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-cyan), #0891b2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Beautiful Button Styles for Tech Showcase Section Only */
.tech-showcase .btn {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 15px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-cyan) 100%
  );
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tech-showcase .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: left 0.5s ease;
}

.tech-showcase .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: #0891b2;
}

.tech-showcase .btn:hover::before {
  left: 100%;
}

.tech-showcase .btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Mobile Styles for New Sections */
@media (max-width: 768px) {
  .interactive-features,
  .learning-path,
  .achievements {
    padding: 60px 0;
  }

  .interactive-features h2,
  .learning-path h2,
  .achievements h2 {
    font-size: 2rem;
  }

  .features-grid,
  .path-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card,
  .path-item,
  .achievement-card {
    padding: 1.5rem;
  }

  .feature-icon,
  .achievement-icon {
    font-size: 2.5rem;
  }

  .tech-showcase .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .interactive-features,
  .learning-path,
  .achievements {
    padding: 40px 0;
  }

  .interactive-features h2,
  .learning-path h2,
  .achievements h2 {
    font-size: 1.8rem;
  }

  .feature-card,
  .path-item,
  .achievement-card {
    padding: 1rem;
  }

  .feature-icon,
  .achievement-icon {
    font-size: 2rem;
  }

  .tech-showcase .btn {
    padding: 8px 16px;
    font-size: 12px;
    margin-top: 10px;
  }
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    #1a1a1a 50%,
    var(--primary-cyan) 100%
  );
  color: white;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2306B6D4" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>')
    center/cover;
  opacity: 0.3;
}

.newsletter-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.newsletter h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.newsletter p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form .form-group {
  flex: 1;
  position: relative;
}

.newsletter-form input {
  width: 100%;
  padding: 18px 25px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  height: 60px; /* Фиксированная высота для выравнивания с кнопкой */
  box-sizing: border-box;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.2);
  transform: translateY(-2px);
}

.newsletter-form button {
  padding: 18px 35px;
  background: linear-gradient(135deg, var(--primary-cyan) 0%, #0891b2 100%);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
  white-space: nowrap;
  height: 60px; /* Фиксированная высота для выравнивания с полем ввода */
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(6, 182, 212, 0.4);
  background: linear-gradient(135deg, #0891b2 0%, var(--primary-cyan) 100%);
}

.newsletter-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* Success Confirmation Styles */
.newsletter-success {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 2rem 3rem;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(16, 185, 129, 0.4);
  z-index: 10000;
  text-align: center;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  visibility: hidden;
}

.newsletter-success.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.newsletter-success .success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 0.6s ease-in-out;
}

.newsletter-success h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
}

.newsletter-success p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.newsletter-success .close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.newsletter-success .close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.newsletter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.newsletter-overlay.show {
  opacity: 1;
  visibility: visible;
}

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

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  font-weight: 500;
}

.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.benefit-icon {
  width: 24px;
  height: 24px;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 20px;
  height: 20px;
}

.benefit-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 50px 0 20px;
  position: relative;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--primary-cyan);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  opacity: 0.8;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--light-gray);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-cyan);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #e74c3c;
}

.error-message {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Map Section */
.map-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.map-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 3rem;
  position: relative;
}

.map-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-cyan), #0891b2);
  border-radius: 2px;
}

.map-container {
  height: 450px;
  background: white;
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.1);
  transition: all 0.3s ease;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
  border-radius: 20px;
  filter: grayscale(20%) contrast(1.1);
  transition: filter 0.3s ease;
}

.map-container:hover iframe {
  filter: grayscale(0%) contrast(1.2);
}

.map-section p {
  text-align: center;
  margin-top: 2rem;
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 500;
  background: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  display: inline-block;
  margin-left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.1);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background: white;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 3rem;
  position: relative;
}

.faq-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-cyan), #0891b2);
  border-radius: 2px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-cyan), #0891b2);
}

.faq-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.15);
  border-color: var(--primary-cyan);
}

.faq-item h3 {
  color: var(--primary-dark);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  padding-left: 2rem;
}

.faq-item h3::before {
  content: "❓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary-cyan), #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-item p {
  color: #64748b;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
  padding-left: 2rem;
}

.faq-item:nth-child(odd) h3::before {
  content: "💡";
}

.faq-item:nth-child(even) h3::before {
  content: "🔍";
}

.faq-item:last-child h3::before {
  content: "✍️";
}
@media (max-width: 933px) {
  /* Мобильные стили для хедера */
  .nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .logo {
    font-size: 1.6rem;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    margin-right: 12px;
  }

  .header-content {
    padding: 0.8rem 0;
  }

  /* Адаптация мобильного меню для маленьких экранов */
  .mobile-nav-link {
    font-size: 1.3rem;
    padding: 1.5rem 2.5rem;
    min-width: 280px;
  }

  .mobile-nav-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .navigation {
    display: none;
  }

  .hero .container {
    justify-content: center;
  }

  .hero-content {
    margin-right: 0;
    max-width: 100%;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-benefits {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cookie-content {
    flex-direction: column;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .showcase-item {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    text-align: center;
  }

  .showcase-item:nth-child(even) .showcase-img,
  .showcase-item:nth-child(even) .showcase-content {
    order: unset;
  }

  .education-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .education-text h2 {
    font-size: 2rem;
  }

  /* FAQ and Map Mobile Styles */
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq-item {
    padding: 2rem;
  }

  .faq-item h3 {
    font-size: 1.2rem;
  }

  .map-container {
    height: 300px;
    margin: 1.5rem 0;
  }

  .map-section h2,
  .faq-section h2 {
    font-size: 2rem;
  }

  .map-section p {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    margin-top: 1.5rem;
  }

  .education-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-item {
    padding: 1.5rem;
    margin: 0;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .education-features {
    gap: 1rem;
  }

  .education-feature {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .education-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .education-feature p {
    font-size: 0.9rem;
  }

  .education-icon {
    width: 28px;
    height: 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
  }
}

/* Медиа-запросы для планшетов и средних экранов */
@media (max-width: 1000px) {
  .gallery-item {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }

  .gallery-item:nth-child(even) .gallery-image,
  .gallery-item:nth-child(even) .gallery-content {
    order: unset;
  }

  .gallery-content {
    padding: 2rem;
  }

  .gallery-content h3 {
    font-size: 1.6rem;
  }

  .gallery-stats {
    gap: 1.5rem;
  }
}

@media (max-width: 800px) {
  .gallery-item {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    margin: 0 1rem;
  }

  .gallery-item:nth-child(even) .gallery-image,
  .gallery-item:nth-child(even) .gallery-content {
    order: unset;
  }

  .gallery-content {
    padding: 1.5rem;
  }

  .gallery-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .gallery-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .gallery-stats {
    gap: 1rem;
    flex-direction: column;
  }

  .stat {
    padding: 1rem;
  }

  .gallery-image {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .features {
    padding: 40px 0;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .education-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    margin: 0;
  }

  .showcase-item {
    padding: 1.5rem;
  }

  .education-focus {
    padding: 3rem 0;
  }

  .tech-showcase {
    padding: 3rem 0;
  }

  .image-gallery {
    padding: 3rem 0;
  }

  .gallery-item {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .gallery-item:nth-child(even) .gallery-image,
  .gallery-item:nth-child(even) .gallery-content {
    order: unset;
  }

  .gallery-image {
    height: 250px;
  }

  .gallery-content {
    padding: 1.5rem;
  }

  .gallery-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat {
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-cyan);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Page Header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-cyan) 100%
  );
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* About Page Styles */
.about-content {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h2 {
  color: var(--primary-dark);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-text h3 {
  color: var(--primary-cyan);
  font-size: 1.3rem;
  margin: 2rem 0 1rem 0;
}

.about-text ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-text li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--light-gray);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Team Section */
.team-section {
  background: var(--light-gray);
  padding: 80px 0;
}

.team-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.team-member {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #e9ecef;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-member h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.member-role {
  color: var(--primary-cyan);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Values Section */
.values-section {
  padding: 80px 0;
}

.values-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--light-gray);
  transition: transform 0.3s ease;
}

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

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  background: var(--primary-dark);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

/* Active Navigation Link */
.navigation a.active {
  color: var(--primary-cyan);
  font-weight: 700;
}

/* Contact Page Styles */
.contact-content {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

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

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

.contact-form {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
}

.contact-form h2 {
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

/* Article Styles */
.article-content {
  padding: 80px 0;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.article-image {
  height: 200px;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-cyan) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  padding: 20px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-info {
  padding: 1.5rem;
}

.article-info h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.article-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.article-excerpt {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Service Pages */
.service-content {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.service-content h2 {
  color: var(--primary-dark);
  margin: 2rem 0 1rem 0;
}

.service-content h3 {
  color: var(--primary-cyan);
  margin: 1.5rem 0 1rem 0;
}

.service-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-content ul {
  margin: 1rem 0 1rem 2rem;
}

.service-content li {
  margin-bottom: 0.5rem;
}

/* Thank You Page Styles */
.thank-you-page {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 70vh;
}

.thank-you-content {
  text-align: center;
  max-width: 900px;
  margin: 50px auto;
  background: white;
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
  margin-bottom: 30px;
  animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.thank-you-content h1 {
  color: #212121;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.thank-you-message {
  margin-bottom: 40px;
}

.main-message {
  font-size: 1.2rem;
  color: #06b6d4;
  font-weight: 600;
  margin-bottom: 15px;
}

.response-info {
  margin: 40px 0;
  text-align: left;
}

.response-info h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #212121;
}

.steps {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #06b6d4;
}

.step-number {
  background: #06b6d4;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 8px;
  color: #212121;
}

.step-content p {
  color: #666;
  margin: 0;
}

.contact-reminder {
  margin: 40px 0;
  padding: 30px;
  background: #fff5f5;
  border-radius: 12px;
  border: 1px solid #fed7d7;
}

.contact-reminder h2 {
  color: #c53030;
  margin-bottom: 15px;
}

.urgent-contacts {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.contact-item {
  padding: 10px;
  background: white;
  border-radius: 8px;
  border-left: 3px solid #c53030;
}

.explore-section {
  margin: 40px 0;
  text-align: center;
}

.explore-section h2 {
  margin-bottom: 20px;
  color: #212121;
}

.explore-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.explore-card {
  padding: 25px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.explore-card:hover {
  border-color: #06b6d4;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.explore-card h3 {
  color: #06b6d4;
  margin-bottom: 10px;
}

.explore-card p {
  color: #666;
  margin: 0;
}

.newsletter-reminder {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  border-radius: 12px;
  color: white;
  text-align: center;
}

.newsletter-reminder h2 {
  color: white;
  margin-bottom: 15px;
}

.newsletter-form {
  margin-top: 20px;
}

.newsletter-form .form-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  max-width: 300px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-form button {
  background: white;
  color: #06b6d4;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
}

.form-note {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.action-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.social-share {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.social-share h3 {
  margin-bottom: 10px;
  color: #212121;
}

.share-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.share-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #06b6d4;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-btn:hover {
  background: #0891b2;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

/* Cookie Policy Table Styles */
.cookie-table {
  margin: 20px 0;
  overflow-x: auto;
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-table th,
.cookie-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.cookie-table th {
  background: #06b6d4;
  color: white;
  font-weight: 600;
}

.cookie-table tr:hover {
  background: #f8f9fa;
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

.browser-instructions {
  margin: 20px 0;
}

.browser-instructions h4 {
  color: #06b6d4;
  margin: 20px 0 10px 0;
}

.browser-instructions ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.browser-instructions li {
  margin-bottom: 5px;
  line-height: 1.6;
}

.cookie-section,
.terms-section {
  margin-bottom: 40px;
  text-align: left;
}

.cookie-section h2,
.terms-section h2 {
  color: #212121;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #06b6d4;
}

.cookie-section h3,
.terms-section h3 {
  color: #06b6d4;
  margin: 25px 0 15px 0;
}

.cookie-footer,
.terms-footer {
  margin-top: 40px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #06b6d4;
}

.thank-you-content .icon {
  font-size: 5rem;
  margin-bottom: 2rem;
}

/* Tips Page Styles */
.tips-categories {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.category-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.tips-section {
  padding: 4rem 0;
}

.tips-section:nth-child(even) {
  background-color: var(--light-gray);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tip-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary-cyan);
}

.tip-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.tip-example,
.tip-warning {
  background-color: var(--light-gray);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border-left: 3px solid var(--primary-cyan);
}

.tip-warning {
  border-left-color: #ff6b6b;
  background-color: #fff5f5;
}

.tip-steps ol,
.tip-checklist ul,
.tip-apps ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.tip-checklist ul {
  list-style: none;
  padding-left: 0;
}

.tip-checklist li {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.quick-tips {
  padding: 4rem 0;
  background-color: var(--primary-dark);
  color: white;
}

.quick-tips h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}

.quick-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.quick-tip {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.tip-number {
  background: var(--primary-cyan);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

/* News Page Styles */
.news-categories {
  padding: 2rem 0;
  background-color: var(--light-gray);
}

.categories-filter {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-cyan);
  background: white;
  color: var(--primary-cyan);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-cyan);
  color: white;
}

.featured-news {
  padding: 4rem 0;
}

.featured-article {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-category {
  display: inline-block;
  background: var(--primary-cyan);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.featured-article h3 {
  color: var(--primary-dark);
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.article-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  border-radius: 12px;
  min-height: 250px;
}

.placeholder-image {
  font-size: 4rem;
  opacity: 0.6;
}

.news-grid-section {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
  height: 200px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-content {
  padding: 1.5rem;
}

.news-category {
  display: inline-block;
  background: var(--primary-cyan);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.news-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  line-height: 1.4;
}

.news-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--primary-dark);
  font-size: 0.85rem;
}

.tech-insights {
  padding: 4rem 0;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.insight-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary-cyan);
}

.insight-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.insight-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.insight-stats,
.insight-predictions,
.insight-trends {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.insight-stats li,
.insight-predictions li,
.insight-trends li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
  color: var(--primary-dark);
}

.insight-stats li:last-child,
.insight-predictions li:last-child,
.insight-trends li:last-child {
  border-bottom: none;
}

/* Responsive Updates */
@media (max-width: 768px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .thank-you-content {
    padding: 40px 20px;
    margin: 20px;
  }

  .thank-you-content h1 {
    font-size: 2rem;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form .form-group {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input {
    max-width: 100%;
    margin-bottom: 10px;
  }

  .explore-links {
    grid-template-columns: 1fr;
  }

  .cookie-table {
    font-size: 0.9rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 10px 8px;
  }

  /* Company History Mobile */
  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    margin-left: 60px;
  }

  .timeline-year {
    margin-bottom: 1rem;
    min-width: auto;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .timeline-year::before {
    left: -45px !important;
    right: auto !important;
  }

  .timeline-content {
    margin: 0;
    width: 100%;
  }

  .timeline-content h3 {
    font-size: 1.2rem;
  }

  /* Interesting Facts Mobile */
  .facts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .fact-card {
    padding: 2rem;
  }

  .fact-number {
    font-size: 2.5rem;
  }

  .fact-icon {
    font-size: 2.5rem;
  }

  /* Newsletter Mobile Updates */
  .newsletter-content {
    padding: 2rem;
    margin: 0 1rem;
  }

  .newsletter h2 {
    font-size: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }

  .newsletter-form button {
    padding: 15px 25px;
  }

  .newsletter-benefits {
    gap: 1rem;
  }

  .benefit-item {
    padding: 0.75rem 1.5rem;
    gap: 0.75rem;
  }

  /* Newsletter Success Mobile */
  .newsletter-success {
    padding: 1.5rem 2rem;
    margin: 0 1rem;
    width: calc(100% - 2rem);
    max-width: 400px;
  }

  .newsletter-success .success-icon {
    font-size: 3rem;
  }

  .newsletter-success h3 {
    font-size: 1.5rem;
  }

  .newsletter-success p {
    font-size: 1rem;
  }
}

/* Extra Small Devices (phones, 480px and down) */
@media (max-width: 480px) {
  .education-focus {
    padding: 2rem 0;
  }

  .education-content {
    gap: 2rem;
  }

  .education-text h2 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .education-text > p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .education-features {
    gap: 0.8rem;
  }

  .education-feature {
    padding: 0.8rem;
    gap: 0.6rem;
  }

  .education-feature h4 {
    font-size: 1rem;
  }

  .education-feature p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .stat-item {
    padding: 1.2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* Image Gallery - Extra Small Screens */
  .image-gallery {
    padding: 2rem 0;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .gallery-grid {
    gap: 2rem;
    margin-top: 2rem;
  }

  .gallery-item {
    gap: 1.5rem;
    margin: 0 1rem;
    border-radius: 15px;
  }

  .gallery-image {
    height: 200px;
  }

  .gallery-content {
    padding: 1rem;
  }

  .gallery-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .gallery-content p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .gallery-stats {
    gap: 0.8rem;
  }

  .stat {
    padding: 0.8rem;
    border-radius: 8px;
  }

  .stat-number {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .gallery-overlay {
    padding: 1rem;
  }

  .gallery-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .gallery-overlay p {
    font-size: 0.8rem;
  }
}

/* News Carousel - Новые стили */
.news-carousel-section {
  padding: 4rem 0;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.news-carousel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05) 0%,
    rgba(147, 51, 234, 0.05) 100%
  );
  pointer-events: none;
}

.news-carousel-section .container {
  position: relative;
  z-index: 1;
}

.news-carousel-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-carousel-section .section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  padding: 2.5rem;
  gap: 2.5rem;
  background: white;
}

.carousel-slide.active {
  opacity: 1;
}

.news-card {
  /* display: flex; */
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}

.news-content {
  padding: 15px;
}

.news-image {
  flex: 0 0 300px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

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

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

.news-content {
  flex: 1;
}

.news-category {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.news-content h3:hover {
  color: #3b82f6;
}

.news-excerpt {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.news-date {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
  background: linear-gradient(135deg, #2563eb, #1e40af);
}

.read-more::after {
  content: "→";
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* Кнопки навигации */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #e2e8f0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.carousel-btn-prev {
  left: -25px;
}

.carousel-btn-next {
  right: -25px;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

/* Индикаторы */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.indicator:hover {
  background: #94a3b8;
  transform: scale(1.2);
}

.indicator.active {
  background: #3b82f6;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
  .news-carousel-section {
    padding: 2rem 0;
  }

  .news-carousel-section h2 {
    font-size: 2rem;
  }

  .carousel-slide {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    text-align: center;
  }

  .news-card {
    flex-direction: column;
    gap: 1.5rem;
  }

  .news-image {
    flex: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn-prev {
    left: 10px;
  }

  .carousel-btn-next {
    right: 10px;
  }

  .carousel-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Filter Section Improvements */
.filter-header {
  text-align: center;
  margin-bottom: 2rem;
}

.filter-title {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.filter-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: white;
  border: 2px solid #e1e8ed;
  border-radius: 25px;
  color: #666;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-cyan), #0891b2);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.filter-btn i {
  font-size: 1.1rem;
}

/* News Page Styles */
.news-image img,
.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.article-image {
  flex: 1;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(45deg, #f0f2f5, #e1e8ed);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card .news-image {
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(45deg, #f0f2f5, #e1e8ed);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .carousel-slide {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
  }

  .news-image {
    height: 200px;
  }

  .news-content h3 {
    font-size: 1.5rem;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .filter-buttons {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .article-image {
    height: 200px;
  }

  .news-card .news-image {
    height: 150px;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: 15px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #007bff;
  color: white;
  transform: rotate(90deg);
}

.modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
  color: #007bff;
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  line-height: 1.3;
}

.modal-meta {
  color: #666666;
  font-size: 0.9rem;
  opacity: 0.8;
}

.modal-body {
  padding: 2rem;
}

.modal-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.modal-text h3 {
  color: #28a745;
  margin: 1.5rem 0 0.8rem;
  font-size: 1.3rem;
  border-left: 4px solid #007bff;
  padding-left: 1rem;
}

.modal-text h3:first-child {
  margin-top: 0;
}

.modal-text p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #333333;
  text-align: justify;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal {
    padding: 1rem;
  }

  .modal-content {
    max-height: 95vh;
  }

  .modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-close {
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
  }
}

/* What's Next Section */
.whats-next {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.whats-next .section-title {
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
}

.step-img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.step-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.step-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.step-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.step-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

/* Newsletter Reminder Section */
.newsletter-reminder {
  margin: 5rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.newsletter-reminder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>')
    repeat;
  opacity: 0.3;
}

.reminder-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem;
  position: relative;
  z-index: 1;
}

.reminder-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.reminder-img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.reminder-text {
  flex: 1;
  color: white;
}

.reminder-text h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.reminder-text p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

.reminder-action {
  flex-shrink: 0;
}

.reminder-action .btn {
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reminder-action .btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .whats-next {
    padding: 3rem 0;
  }

  .whats-next .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .next-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step-card {
    padding: 2rem;
  }

  .reminder-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    gap: 1.5rem;
  }

  .reminder-text h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .step-card {
    padding: 1.5rem;
  }

  .step-icon {
    width: 60px;
    height: 60px;
  }

  .step-img {
    width: 30px;
    height: 30px;
  }

  .reminder-content {
    padding: 1.5rem;
  }

  .reminder-icon {
    width: 60px;
    height: 60px;
  }

  .reminder-img {
    width: 30px;
    height: 30px;
  }
}
