:root {
    --blue: #1215c9;
    --blue-dark: #0e11aa;
    --yellow: #f5c400;
    --bg-dark: #000014;
    --bg-light: rgba(255, 255, 255, 0.15);
  }

  /* ---------- базові стилі ---------- */

  html{
    overflow-x: hidden;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  body  {
    margin: 0px auto;
    width:100%;
    font-family: 'Montserrat', sans-serif;
    color: white;
    background: linear-gradient(135deg, #051A54 0%, #000419 100%);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow-x: hidden;
}
.no-scroll {
  overflow: hidden;
}
   a { color: inherit; text-decoration: none; }
  h1, h2 { font-weight: 700; }
  h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--yellow);
    text-align: center;
  }
  section { padding: 60px 20px; backdrop-filter: blur(3px); }
  .container { 
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
   }


  /* ---------- навігація ---------- */
  .navbar {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10; /* поверх відео */
    background: rgba(0,0,0,0.5); /* напівпрозорий фон меню */
    padding: 20px 0 10px 0;
  }

  .nav-flex {
    max-width: 1250px; /* обмежуємо ширину меню */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px; /* щоб не прилипало до країв на мобільних */
  }
   .logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-shadow: 0 0 2px #fff;
    color: white;
  }
  .logo span:first-child { color: var(--yellow); }
  .logo span:last-child { color: var(--blue); }
  
   .menu-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
   }

   @media(max-width:991.98px){
    .menu-buttons{
      display:none;
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100vh;
      background: linear-gradient(135deg, #051A54 0%, #000419 100%);
      justify-content: flex-start;
      align-items: center;
      flex-direction: column;
      gap:15px;
      padding: 100px 0px 60px 0px;
      overflow: auto;
    }
    .menu-buttons.active{
      display:flex;
      z-index: 99999;
    }
  }

  .burger_button{
    display:none;
    flex-direction: column;
    gap:5px;
    cursor: pointer;
  }

  @media(max-width:991.98px){
    .burger_button{
      display:flex;
    }
  }

  .burger_button div{
    width: 30px;
    height: 4px;
    background: #fff;
    border-radius: 3px;
  }

  .menu-buttons a,
.menu-buttons button {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  background: rgba(18, 21, 201, 0.8);
  padding: 8px 12px;
  border-radius: 5px;
  min-width: 110px;
  text-align: center;
  white-space: nowrap;
}

  .menu-buttons > a,
  .menu-buttons > .has-dropdown > button {
    font-size: 16px; /* розмір шрифту для основного меню */
  }

  @media(max-width:991.98px){
    .menu-buttons > a{
      background:none;
    }
    .menu-buttons > a{
      font-size: 24px;
      padding:0px;
    }
     .menu-buttons > .has-dropdown > button {
    display: none !important;
    }
     .menu-buttons > .has-dropdown > .dropdown {
    display: flex !important; /* або block */
    flex-direction: column;   /* якщо потрібен вертикальний список */
    gap: 15px;                /* відступ між пунктами */
  }
  }

  @media(max-width:767.98px){
    .menu-buttons > a{
      font-size: 22px;
    }
  }

  .burger_close{
    display: none;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 100%;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 30px;
  }

  @media(max-width:991.98px){
    .burger_close{
      display:flex;
    }
  }

  .burger_close div:nth-child(1n){
    width: 4px;
    height: 60%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    transform: rotate(45deg);
    background: #000;
    border-radius: 3px;
  }

  .burger_close div:nth-child(2n){
    width: 4px;
    height: 60%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    transform: rotate(-45deg);
    background: #000;
    border-radius: 3px;
  }


  .has-dropdown { position: relative; }
  .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 21, 201, 0.85);
    flex-direction: column;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    min-width: 140px;
    z-index: 1000;
  }
  .has-dropdown:hover .dropdown { display: flex; }
  @media(max-width:991.98px){
    .dropdown {
      display:none;
      flex-direction: column;
      gap:15px;
      position: relative;
      top:auto;
      left:auto;
      transform: none;
      background:none;
      box-shadow:none;
      min-width:auto;
    }
  }
  .dropdown a {
    padding: 8px 14px;
    font-size: 13px; /* менший розмір для пунктів випадаючого меню */
    font-weight: 700;
  }

  @media(max-width:991.98px){
    .dropdown a {
      background:none;
      font-size:24px;
      padding:0px;
    }
  }

  @media(max-width:767.98px){
    .dropdown a {
      font-size:22px;
    }
  }


  /* ==== FOOTER ==== */
.site-footer {
    background: rgba(255,255,255,0.05);
    border-top: 3px solid #f5c400;
    padding: 40px 0 20px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
  }
  
  .footer-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .footer-col {
    flex: 1 1 260px;
    min-width: 220px;
    text-align: left;
  }
  
  .footer-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    margin-bottom: 10px;
    color: #f5c400;
  }
  
  .footer-col h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    margin: 10px 0;
    color: #f5c400;
  }
  
  .footer-text {
    line-height: 1.6;
    font-size: 14px;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li {
    margin: 6px 0;
  }
  
  .footer-links a,
  .footer-text a {
    color: #f5c400;
    text-decoration: none;
    transition: color .2s;
  }
  
  .footer-links a:hover,
  .footer-text a:hover {
    color: #ffffff;
  }
  
  .footer-icon {
    width: 16px;
    height: 16px;
    vertical-align: -3px;
    margin-right: 4px;
    stroke: #f5c400;
  }
  
  .footer-cta {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: #1215c9;
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: filter .2s;
  }
  
  .footer-cta:hover {
    filter: brightness(1.1);
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #ccc;
    position: relative;
  }
  
  .footer-line {
    display: block;
    height: 1px;
    width: 60%;
    background: rgba(245,196,0,0.3);
    margin: 0 auto 12px;
  }

.menu-divider {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--yellow);
  margin: 15px 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ховаємо на десктопі */
@media(min-width:992px){
  .menu-divider {
    display: none;
  }
}

/* Мобільне меню - вертикальне вирівнювання */
@media(max-width:991.98px){
  .menu-buttons.active {
    display: flex;
    flex-direction: column;
    justify-content: center; /* по центру вертикально */
    align-items: center;  /* вирівнювання вліво */
    padding: 0 0 0 20px;      /* відступ зліва */
    gap: 8px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #051A54 0%, #000419 100%);
    z-index: 99999;
    overflow-y: auto;
  }

  .menu-buttons .dropdown {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }
}
.menu-divider {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--yellow);
  margin: 15px 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media(min-width:992px){
  .menu-divider {
    display: none;
  }
}

/* --- Логотип у мобільному меню --- */
.menu-logo a {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 36px;       /* змінюєш розмір логотипу */
  text-decoration: none;
  text-align: center;
  display: block;
  margin-bottom: 20px;   /* відстань між логотипом та пунктами меню */
}

.menu-logo a span:first-child { color: #f5c400; }
.menu-logo a span:last-child { color: #FFF; }

/* Логотип тільки для мобільних */
.mobile-only {
  display: none; /* за замовчуванням ховаємо */
}

@media(max-width:991.98px){
  .mobile-only {
    display: block; /* показуємо тільки на мобільних */
    font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 36px; 
  }
}
