/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
  }
  .colour{
    background: linear-gradient(-45deg, #53639b,#0b0f1d );
    background-size: 400% 400%;
    animation: gradientDrift 7s ease infinite;
    padding: 100px 0;
    color: white;
    text-align: center;
  }
  body {
 
    font-family: 'Segoe UI', sans-serif;
    
    color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
  }
  
  a {
    text-decoration: none;
    color: #00e0d0;
    transition: color 0.3s;
  }
  
  a:hover {
    color: #ffffff;
  }
  
  /* Контейнер */
  .container {
    
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
 
  /* Хедер */
  .header {
    padding: 10px 15px;
    background-color: rgb(22 22 32 / 40%);
    margin-top: 10px;
    border-radius: 50px;
    backdrop-filter: blur(15px);
    width: 60%; /* Используем width вместо max-width */
    display: flex;
    justify-content: center;
    
    position: absolute; /* Позиционируем элемент */
    top: 0; /* Привязываем к верхней части экрана */
    left: 50%; /* Центрируем по горизонтали */
    transform: translateX(-50%); /* Сдвигаем на 50% по горизонтали */
    box-sizing: border-box; /* Чтобы padding не увеличивал размеры */
}





a.nav_link {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}
.uk-width-expand {
  position: relative; /* Это позволит блокам внутри быть позиционированными относительно него */
  width: 100%; /* Примерная ширина для вашего контейнера */
  text-align: center;
}

.uk-width-expand::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #5252c0;
  filter: blur(150px);
  opacity: 0.6;
  transform: translate(-50%, -50%);
  z-index: 0; /* Фон на самом низком уровне */
}

.uk-width-expand h2, .uk-width-expand p {
  position: relative; /* Относительно родительского элемента */
  z-index: 1; /* Текст поверх фонового элемента */
  color: white;
}

.uk-border-rounded {
    border-radius: 50px;
}
.uk-light .uk-button-secondary {
    background: linear-gradient(90deg, #AF23E2 0%, #23A1DD 100%);
    color: #fff;
    border: none;
    font-weight: 600;
}

.gatewayhr {
    border-top-color: #1e1e28 !important;
}

.uk-light .uk-button-primary {
    background-color: #282D47;
    color: #fff;
    font-weight: 600;
}
  
  .logo {
    height: 90px;
  }
  
  .nav {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .pic{
    background-image: url(./img/background.jfif);
  }

  .nav a {
    color: rgb(11, 101, 211);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;

  }
  .nav a.active::after {
    content: "";
    display: block;
    height: 2px;
    background:#10b4fb ;
    width: 100%;
    position: absolute;
    bottom: -5px;
    left: 0;
  }
  
  .copy-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #00e0d0;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    transform: translateY(20px);
  }
  
  .copy-toast.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .copyable {
    cursor: pointer;
    transition: color 0.3s ease;
  }
  .copyable.copied {
    color: #6fdc8c; /* или любой цвет для индикации */
  }
  
  
  .color{
    background: linear-gradient(-45deg, #53639b, #0d101f );
    background-size: 400% 400%;
    animation: gradientDrift 7s ease infinite;
    padding: 100px 0;
    color: white;
    text-align: center;
  }
  .nav a:hover {
    color: #18c4f4;
  }
.features__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
  .features__item:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(78, 92, 145, 0.7);
  }
  .nav a.active {
    /* Убраны черточки #00e0d0 */
    border-bottom: none;
  }
  
  /* Hero */
  .hero {
 margin-top: 120px;
    text-align: center;
    padding: 100px 0;
   
  }
  
  .hero .container {
    
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .hero h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    background: linear-gradient(-180deg, #00f0ff, #0b65d3 );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* для Firefox */
  color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(41, 148, 248, 0.5);/* Тусклое свечение */
  }
  @keyframes gradientDrift {
    0% {
      background-position: 0% 50%;
    }
    25% {
      background-position: 50% 100%;
    }
    50% {
      background-position: 100% 50%;
    }
    75% {
      background-position: 50% 0%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  .hero p {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    background: linear-gradient(-180deg, #00f0ff, #0b65d3 );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* для Firefox */
  color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(41, 148, 248, 0.5);
  }
  
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.courses {
  padding: 50px 0;
  text-align: center;
  background: #0c101f;
  color: white;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: auto;
  padding: 0 60px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
  gap: 20px;
  will-change: transform;
}

.card {
  flex: 0 0 33.333%;
  border-radius: 15px;
  padding: 20px;
  background: linear-gradient(to bottom , #4e5c91, #0c101f);
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
}
.card img {
  max-width: 100%;
  max-height: 150px;
  border-radius: 10px;
  margin-bottom: 15px;
}
.card:hover {
  transform: rotateY(5deg) scale(1.03);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid #4e5c91;
  color: white;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 3;
}
.carousel-btn:hover {
  background: rgba(255,255,255,0.25);
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}

/* === Tablet: 768–1024px === */



  .btn {
    text-decoration: none;
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(-180deg, #00f0ff, #0b65d3);
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 25px rgba(41, 148, 248, 0.5); /* Тусклое свечение */
  }
  
  .btn:hover {
    transform: scale(1.05);
    background: #10b4fb;
    box-shadow: 0 0 35px rgba(41, 148, 248, 0.5);
  }
  .btn::after {
    content: " →";
    transition: transform 0.3s;
  }
  
  .btn:hover::after {
    transform: translateX(5px);
  }
  
  /* Секции #0b65d3 */
  section {
    padding: 80px 0;
   
  }
 
  h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
      text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    background: linear-gradient(-180deg, #00f0ff, #0b65d3 );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* для Firefox */
  color: transparent;
    text-shadow: 0 0 20px rgba(41, 148, 248, 0.5); /* Тусклое свечение */
  }
  
  /* Курсы */
  .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .card {
    background: #262626;
    padding: 30px;
    border-radius: 10px;
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(41, 148, 248, 0.5);
  }
  
  /* Портфолио */
  .projects {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .project {
    background: #262626;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .project:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(41, 148, 248, 0.5);
  }
  input:focus, textarea:focus {
    background: #3a3a3a;
    transition: background 0.3s;
  }
  .project img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s;
  }
 
 
  
  .input-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  input, textarea {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: #2f2f2f;
    color: #fff;
    resize: none;
  }
  
  input:focus, textarea:focus {
    outline: 2px solid #00e0d0;
  }
  
  textarea {
    margin-top: 10px;
  }
  
  /* Карта */
  .map-container {
    width: 100%;
    height: 300px; /* Поставлено ограничение по высоте */
    margin-bottom: 30px;
  }
  
  
  
  /* Футер */
  .footer.footer {
    text-align: center;
    padding: 30px;
    background: #0b65d349; /* лёгкая белая прозрачность */
    backdrop-filter: blur(20px); /* эффект стекла */
    -webkit-backdrop-filter: blur(12px);
    color: #ccc;
    border-top: 1px solid #0b65d349;
  }
  
  .footer p {
    margin: 10px 0;
  }
  
  .footer .copyable {
    cursor: pointer;
    color: #00e0d0;
    transition: all 0.3s ease;
  }
  
  .footer .copyable:hover {
    text-decoration: underline;
    color: #00fff0;
  }
  
  /* Стиль для копирования */
  .copyable {
    cursor: pointer;
  }
  
  /* Плавный скролл */
  html {
    scroll-behavior: smooth;
  }
  /* Вдохновленный блок "О нас" */
  .form-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 60px;
  }
  
  .contact-form {
    background: linear-gradient(-45deg, #0c1947,rgba(11, 101, 211, 0.397) );
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 30px rgba(63, 128, 248, 0.349);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-form input,
  .contact-form textarea {
    background: linear-gradient(-90deg, #151c36,#0b0f1d );
    color: #eee;
    border: 1px solid #444;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    resize: none;
    transition: border 0.3s ease;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #00e0d0;
    outline: none;
  }
  
  .contact-form button {
    background: rgb(11, 101, 211);
    color: #000;
    font-weight: bold;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .contact-form button:hover {
    background: #86a0fd;
  }
  .form-status {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #00e0d0;
    color: #000;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(0, 224, 208, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
  }
  
  .form-status.error {
    background: #d10000;
    color: #fff;
    box-shadow: 0 0 20px rgba(209, 0, 0, 0.4);
  }
  
  .form-status.show {
    opacity: 1;
    pointer-events: auto;
  }
  
  .about-container {
    font-size: 18px; /* уменьшили размер шрифта */
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* уменьшили отступы между элементами */
    align-items: center;
    justify-content: center;
    background: #252525;
    padding: 40px 20px; /* уменьшили отступы внутри контейнера */
    border-radius: 10px;
  }
  
  .about-video {
    position: relative;
    width: 100%;
    max-width: 640px; /* уменьшили максимальную ширину видео */
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* слегка уменьшили тень */
  }
  
  .about-video video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* обрезка видео для соответствия */
    border-radius: 12px;
  }
  
  .about-text {
    font-size: 18px; /* уменьшили размер шрифта */
    flex: 1;
    max-width: 600px;
    color: #ccc;
  }
  
  .about-text h2 {
    text-align: center;
    font-size: 24px; /* немного увеличили размер заголовка */
    color: #00e0d0;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(41, 148, 248, 0.5); /* уменьшили эффект свечения */
  }
  
  .about-text p {
    font-size: 18px; /* уменьшили размер текста */
    line-height: 1.6;
  }
  

 
  
  .copyable {
    cursor: pointer;
    color: #00e0d0;
  }
  .copyable:hover {
    text-decoration: underline;
  }
  
  .copy-notify {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(11, 101, 211);
    color: #000;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(11, 101, 211, 0.336);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
  }
  
  .copy-notify.show {
    opacity: 1;
    pointer-events: auto;
  }


  .uk-container-smal img.mobgravity {
    margin: 20px 0;
    max-width: 80%;
    height: auto;
  }

 
@media (min-width: 1025px) {
  .header {
    width: 60%;
    flex-direction: row;
    padding: 10px 20px;
    gap: 30px;
  }
}


@media (max-width: 1024px) and (min-width: 769px) {
  .header {
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    width: 90%;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
  }
}



@media (max-width: 500px) {
  .header {
    width: 95%;
    flex-direction: column;
    gap: 10px;
    padding: 8px;
  }
  .nav {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}

@media (max-width: 1024px) {
  .home {
    background-size: cover;
    background-position: center center;
  }
}

.home {
  background-image: url('images/dark.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #0b0f1d;
  width: 100%;
  min-height: 100vh; /* растягивает фон на весь экран */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === Mobile Small: до 500px === */
@media (max-width: 500px) {
  .home {
    background-size: contain;
    background-position: top center;
    min-height: 90vh; /* немного меньше, если нужно */
  }
}
.about-flex-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.mobgravity {
  width: 200px;
}

/* === Desktop: ≥1025px === */
@media (min-width: 1025px) {
  .mobgravity {
    display: block;
  }
}

/* === Tablet: 768–1024px === */
@media (max-width: 1024px) and (min-width: 768px) {
  .about-flex-wrapper {
    gap: 10px;
  }
  .mobgravity {
    width: 160px;
  }
}

/* === Mobile Large: 501–767px === */
@media (max-width: 767px) {
  .about-flex-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .mobgravity.left {
    display: block;
    margin-bottom: 20px;
  }

  .mobgravity.right {
    display: none;
  }
}

/* === Mobile Small: до 500px === */
@media (max-width: 500px) {
  .mobgravity.left {
    width: 120px;
  }
}

