

:root {
  --body-bg-color: #000000;
  --body-text-color: #ffffff;
  --heading-color: #ffffff;
  --hero-gradient1: #aea3a3;
  --hero-gradient2: #ffffff;
  --footer-bg-color: #000000;
  --link-color: #e1c5a3;
  --header-bg-color: #000000;
  --font-family: Monaco, 'Menlo', monospace;
  --nav-link-color: #6ec0f4;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffff;
}
html {
  overflow-x: hidden;
}
body {
  --body-bg-color: #000;
  --body-text-color: #fff;
  --font-family: 'Poppins', sans-serif;

  background-color: var(--body-bg-color) !important;
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  /* overflow: hidden;  <-- премахнато оттук */
}

/* Neon lines container */
body::before,
body::after {
  content: "";
  position: fixed; /* променено от absolute на fixed */
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 94, 0, 0.12) 0,
    rgba(255, 94, 0, 0.12) 2px,
    transparent 2px,
    transparent 100px
  ),
  repeating-linear-gradient(
    -45deg,
    rgba(0, 178, 255, 0.12) 0,
    rgba(0, 178, 255, 0.12) 2px,
    transparent 2px,
    transparent 100px
  );
  animation: moveNeon 300s linear infinite;
  z-index: 0;
  pointer-events: none;
  overflow: hidden; /* тук е безопасно */
}

body::after {
  filter: blur(25px);
  opacity: 0.4;
}
/* Всички основни елементи над неоновия фон */
nav, main {
  position: relative;
  z-index: 1;
}

/* Всички основни елементи над неоновия фон */
nav, main {
  position: relative;
  z-index: 1;
}

h1 {
  position: relative;
  display: inline-block;
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(45deg, #FF5E00, #00B2FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  padding: 15px 40px;
  border-radius: 12px;
  text-shadow:
    0 0 10px rgba(255, 94, 0, 0.7),
    0 0 20px rgba(0, 178, 255, 0.7),
    0 0 30px rgba(0, 178, 255, 0.5),
    0 0 40px rgba(255, 94, 0, 0.4);
  animation: neonPulse 5s ease-in-out infinite alternate;
  z-index: 1;
}

/* Статична неонова рамка */
h1::before {
  content: "";
  position: absolute;
  inset: 0;
  border-image: linear-gradient(45deg, #FF5E00, #00B2FF) 1;
  border-radius: 12px;
  box-shadow:
    0 0 10px rgba(255, 94, 0, 0.8),
    0 0 20px rgba(0, 178, 255, 0.8),
    0 0 30px rgba(255, 94, 0, 0.5),
    inset 0 0 15px rgba(0, 178, 255, 0.3);
  z-index: -1;
}

/* Леко пулсиране на текста */
@keyframes neonPulse {
  0% {
    text-shadow:
      0 0 8px rgba(255, 94, 0, 0.6),
      0 0 16px rgba(0, 178, 255, 0.6),
      0 0 24px rgba(0, 178, 255, 0.4);
  }
  100% {
    text-shadow:
      0 0 20px rgba(255, 94, 0, 1),
      0 0 40px rgba(0, 178, 255, 1),
      0 0 60px rgba(0, 178, 255, 0.8);
  }
}






h2 {
    font-size: clamp(1.6rem, 3vw, 2rem) !important;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(45deg, #FF5E00, #00B2FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}
h3 {
    font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}
  
  section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2, h3 {
  color: var(--heading-color) !important;
}



.content-area a {
  color: #f5dbb4 !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

  .sidebar-page-list {
  padding: 0;
  margin: 0;
  margin-bottom: 17px;
  width: 279px;
}

.sidebar-page-list li {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--heading-color);
}

.sidebar-page-list li::marker {
  color: var(--link-color);
  font-size: 1.2em;
}
.sidebar-page-list li:last-child {
  border-bottom: none;
}

.sidebar-page-list li a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: var(--link-color);
}

.sidebar-page-list li a:hover {
  padding-left: 11px;
}
  
.error_page {
  min-height: 70vh;
}


  .footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
}

.footer a {
  text-decoration: none;
  color: #f3d29f !important;
}
.footer a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}
  .footer img {
        filter: brightness(0) invert(1);
      }

 .navbar {
  background-color: var(--header-bg-color) !important;
  
}

.hero-section {
 padding: 115px 0 25px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

  .hero-section.with-bg {
  background-image: url('/images/.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section.with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(0, 0, 0));
  opacity: 0.5;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

  .navbar-light .navbar-nav .nav-link {
    color: var(--nav-link-color, #141414) !important;
  }

  .navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
  /* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(in srgb, var(--header-bg-color) 65%, transparent);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}

@media screen and (min-width: 1199.98px) {
.dropdown-menu {
    top: 100%;
    left: 50% !important;
    transform: translateX(-50%);
  }
}

.navbar .dropdown-toggle::after {
  transition: transform .3s ease
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg)
}

.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
  border-radius: 12px;
  padding: .5rem 0;
  margin-top: .5rem;
  min-width: 220px;
  background: color-mix(in srgb, var(--header-bg-color) 65%, transparent) !important;
  backdrop-filter: blur(12px)
}

.custom-dropdown .dropdown-item {
  padding: .75rem 1.5rem;
  transition: all .3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(in srgb, var(--header-bg-color) 95%, transparent) !important;
}

.custom-dropdown .dropdown-item i {
  width: 16px;
  color: #6c757d;
  transition: color .3s ease
}

.custom-dropdown .dropdown-item:hover i {
  color: #fff
}

.dropdown-menu {
  opacity: 0;
  transition: all .3s ease;
  display: block;
  visibility: hidden
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible
}

@media (min-width:1199.98px) {
  .custom-dropdown {
    max-width: 200px
  }
}

@media (max-width:1199.98px) {
  .custom-dropdown {
    display: none;
    background: #f8f9fa;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    border-top: 1px solid #dee2e6
  }

  .custom-dropdown .dropdown-item:hover {
    margin: 0;
    border-radius: 0;
    transform: none
  }
}

.dropdown-menu:hover,
.dropdown:hover .dropdown-menu {
  display: block !important;
  visibility: visible;
  opacity: 1
}
.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #91919131 !important;
}

.floating-rounded-navbar {
  background-color: var(--header-bg-color) !important;
  position: absolute !important;
  top: 15px !important;
  left: 7px !important;
  right: 7px !important;
  width: calc(100% - 11px) !important;
  z-index: 2000;
  border-radius: 21px;
  transition: all 0.3s ease;
}


@media (max-width: 1199.98px) {
  .floating-rounded-navbar .navbar-collapse {
    top: 85px !important;
  }
}

.navbar-brand {
  margin-right: 0 !important;
}
            


    .contact-container {
  width: 500px;
  margin: 100px auto 35px;
  padding: 15px 21px;

  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  color: black !important;
}

@media screen and (max-width: 768px) {
  .contact-container {
    width: 100%;
    padding: 15px;
  }
}
.contact-header {
  text-align: center;
  margin-bottom: 20px;
}

.contact-header i {
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 10px;
}

.email-link {
  display: block;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  color: #0d6efd;
  text-decoration: none;
}
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--link-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--footer-bg-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--link-color), transparent 20%);
  color: var(--footer-bg-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}



.custom-section{
 
    padding: 40px 20px;
    background: linear-gradient(45deg, rgba(255, 94, 0, 0.2), rgba(0, 178, 255, 0.2));
    border-color: #FF5E00;
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.3);
}


/* Styled list - full CSS */
.styled-list {
  --neon-orange: #FF5E00;
  --neon-blue:   #00B2FF;
  --bg-card:     rgba(255,255,255,0.03);
  --text:        #E8F0FF;
  --muted:       rgba(232,240,255,0.6);

  list-style: none;
  margin: 1rem 0;
  padding: 0;
  counter-reset: styled-counter;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  z-index: 1;
}

/* две колони на по-широки екрани */
@media (min-width: 768px) {
  .styled-list { grid-template-columns: 1fr 1fr; }
}

/* всеки елемент - карта със светене и градиентна лева лента */
.styled-list li {
  position: relative;
  padding: 14px 18px 14px 72px; /* място за кръга/иконата отляво */
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  border-radius: 12px;
  border-left: 6px solid transparent;
  border-image: linear-gradient(180deg, var(--neon-orange), var(--neon-blue)) 1;
  box-shadow:
    0 6px 18px rgba(4,4,4,0.6),
    0 0 18px rgba(0,178,255,0.04),
    inset 0 0 12px rgba(255,94,0,0.02);
  overflow: hidden;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

/* лек hover ефект (не натрапчив) */
.styled-list li:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 40px rgba(4,4,4,0.65),
    0 0 30px rgba(0,178,255,0.06);
}

/* автоматичен номер в кръг (използва counter) */
.styled-list li::before {
  counter-increment: styled-counter;
  content: counter(styled-counter);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;       /* намалено от 44px */
  height: 32px;      /* намалено от 44px */
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem; /* намалено от 0.95rem */
  color: #fff;
  background: linear-gradient(135deg, rgba(255,94,0,0.95), rgba(0,178,255,0.95));
  box-shadow:
    0 4px 12px rgba(0,0,0,0.6),
    0 0 12px rgba(255,94,0,0.18),
    0 0 18px rgba(0,178,255,0.12);
  border: 2px solid rgba(255,255,255,0.06);
  z-index: 2;
}

/* ако искаш да използваш Bootstrap икона вътре в li,
   стилът за .icon върхуема мястото на номера */
.styled-list li .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;    /* намалено от 44px */
  height: 32px;   /* намалено от 44px */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,94,0,0.95), rgba(0,178,255,0.95));
  color: #fff;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.6),
    0 0 12px rgba(255,94,0,0.18);
  z-index: 2;
  transition: all 0.3s ease;
}

/* примерно увеличаване на иконата (ако използваш .bi клас) */
.styled-list li .icon > .bi,
.styled-list li .icon > svg {
  font-size: 0.9rem;  /* намалено от 1.05rem */
  width: 16px;        /* намалено от 20px */
  height: 16px;       /* намалено от 20px */
}

/* текст и подзаглавие вътре в li */
.styled-list li > .title {
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.05;
  font-size: 1rem;
}
.styled-list li > .desc {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.3;
}

/* ако искаш списък без номера/икони можеш да скриеш псевдо-елемента:
   .styled-list.no-bullets li::before { display: none; } */
