body {
  margin: 0;
  background-color: #0d0d0d;
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(17, 17, 17, 0.9);
  border-bottom: 1px solid #4b5563;
  backdrop-filter: blur(6px);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: bold;
}

.nav a {
  margin-left: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #60a5fa;
}

.header-spacer {
  height: 5rem;
}

.cert-section {
  padding: 60px 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.cert-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.swiper {
  padding-bottom: 60px;
}

.cert-card {
  background-color: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(146, 145, 145, 0.5);
  transition: transform 0.3s;
  cursor: pointer;
  text-align: center;
  
}

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

.cert-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.cert-button {
  display: inline-block;
  margin: 20px;
  padding: 10px 24px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 198, 255, 0.4);
}

.cert-button:hover {
  background: linear-gradient(90deg, #0056b3, #009ecc);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.7);
}

/* Стрелки Swiper */
.swiper-button-next,
.swiper-button-prev {
  color: white;
  transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #00c6ff;
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  transition: all 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 198, 255, 0.4);
  animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.cert-title-text {
  margin: 16px 0 10px;
  font-size: 1rem;
  color: #cccccc;
  text-align: center;
  font-weight: 500;
  text-transform: none;
}
.footer {
  flex-shrink: 0;
  background-color: #000000;
  padding: 50px 0;
  text-align: center;
  border-top: 1px solid #eff5ff;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #6356c5;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .footer-link {
        font-size: 13px;
    }
    .footer-title {
        font-size: 14px;
    }
    .nav a:not(:first-child) {
        display: none;
    }

}
