:root {
  --body-bg-color: #ffffff;
  --body-text-color: #000000;
  --heading-color: #000000;
  --hero-gradient1: #aea3a3;
  --hero-gradient2: #ffffff;
  --footer-bg-color: #1f2a2e;
  --link-color: #ffffff;
  --header-bg-color: #ffffff;
  --font-family: Monaco, 'Menlo', monospace;
  --nav-link-color: #e4e3e2;
  --footer-text-color: #ffffff;
  --header-text-color: #f2f2f2;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
  
h1 {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
:root{
  --dark: #1F2A2E;
  --orange: #ff6600;
}

/* --- H2 --- */
h2{
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
  font-weight: 800;
  color: var(--dark) !important;
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  animation: titleFade 0.7s ease both;
}

/* Оранжева линия под H2 */
h2::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 60px;
  background: var(--orange) !important;
  border-radius: 6px;
  animation: underlineGrow 0.8s ease both;
}

/* --- H3 --- */
h3{
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
  font-weight: 700;
  color: var(--dark) !important;
  position: relative;
  margin-bottom: 18px;
  padding-left: 14px;
  animation: subtitleSlide 0.7s ease both;
}

/* Оранжева декоративна лента вляво на H3 */
h3::before{
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 70%;
  background: var(--orange) !important;
  border-radius: 4px;
  animation: barGlow 2.5s infinite ease-in-out;
}

/* --- KEYFRAMES --- */
@keyframes titleFade{
  0%{opacity:0; transform: translateY(12px);}
  100%{opacity:1; transform: translateY(0);}
}

@keyframes underlineGrow{
  0%{width:0;}
  100%{width:60px;}
}

@keyframes subtitleSlide{
  0%{opacity:0; transform: translateX(-12px);}
  100%{opacity:1; transform: translateX(0);}
}

@keyframes barGlow{
  0%{box-shadow: 0 0 4px rgba(255,102,0,0.3);}
  50%{box-shadow: 0 0 12px rgba(255,102,0,0.55);}
  100%{box-shadow: 0 0 4px rgba(255,102,0,0.3);}
}

/* --- Mobile --- */
@media (max-width: 700px){
  h2::after{ height: 3px; width: 50px; }
  h3::before{ width: 5px; }
}

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: #f58f09 !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: #cd780c !important;
}
.footer a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}
  .footer img {
        filter: brightness(0) invert(1);
      }

 .navbar {
  background-color: transparent !important;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;

}
.navbar.scrolled {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  padding: 155px 0 65px;
  position: relative;
  color: var(--header-text-color);
  overflow: visible !important; /* ФИКС — иначе сянката се реже */
}

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

/* Сянка отдолу — гарантирано видима */
.hero-section.with-bg::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px; /* 100% видима под банера */
  width: 100%;
  height: 90px;
  pointer-events: none;
  z-index: 5 !important; /* НАЙ-ОТГОРЕ */
  box-shadow: 0px 40px 60px rgba(43, 42, 42, 0.795);
}

/* Твоят overlay */
.hero-section.with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1f2a2e7e);
  opacity: 0.5;
  z-index: 2; /* overlay е под сянката */
}

/* Контейнерът е най-отпред */
.hero-section .container {
  position: relative;
  z-index: 10;
}

/* Мобилни */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-section.with-bg::after {
    bottom: 0px;
    height: 70px;
    box-shadow: 0 30px 40px rgba(0,0,0,0.55);
  }
}

  .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;
  }
}


.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.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: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}

            


    .contact-container {
  width: 500px;
  margin: 100px auto 35px;
  padding: 15px 21px;
  background: #fff;
  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;
}


:root{
  --dark: #1F2A2E;
  --orange: #ff6600;
}

/* Основна таблица */
.styled-table{
  width: 100%;
  border-collapse: collapse !important;
  background: var(--dark) !important;
  color: #fff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45) !important;
  animation: tableFade 0.8s ease both;
}

/* Заглавия */
.styled-table th{
  padding: 16px 20px !important;
  background: var(--orange) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 16px;
  letter-spacing: .6px;
  text-align: left;
  animation: headerSlide 0.7s ease both;
}

/* Редове */
.styled-table td{
  padding: 14px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
  font-size: 15px;
  color: #e5ecec !important;
  position: relative;
}

/* Декоративна оранжева лента */
.styled-table td:first-child::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: calc(100% - 16px);
  background: var(--orange) !important;
  border-radius: 4px;
  animation: glowLine 2.8s infinite ease-in-out;
}

/* Hover ефект */
.styled-table tr:hover td{
  background: rgba(255,102,0,0.08) !important;
  transition: 0.25s ease;
}

/* Анимации */
@keyframes headerSlide{
  0%{ transform: translateY(-10px); opacity: 0; }
  100%{ transform: translateY(0); opacity: 1; }
}
@keyframes tableFade{
  0%{ opacity:0; transform: scale(.97); }
  100%{ opacity:1; transform: scale(1); }
}
@keyframes glowLine{
  0%{ box-shadow: 0 0 0 rgba(255,102,0,0.0); }
  50%{ box-shadow: 0 0 12px rgba(255,102,0,0.5); }
  100%{ box-shadow: 0 0 0 rgba(255,102,0,0.0); }
}

/* Мобилен изглед */
@media (max-width: 700px){
  .styled-table th,
  .styled-table td{
    font-size: 14px !important;
    padding: 12px 14px !important;
  }
}


:root{
  --dark: #1F2A2E;
  --orange: #ff6600;
}

/* Основен UL */
.styled-list{
  list-style: none !important;
  margin: 0;
  padding: 0;
  background: var(--dark) !important;
  padding: 22px 26px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  animation: listFade 0.8s ease both;
}

/* LI елементи */
.styled-list li{
  position: relative;
  padding: 12px 18px 12px 42px;
  margin-bottom: 10px;
  color: #e5ecec !important;
  font-size: 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  transition: 0.25s ease;
  overflow: hidden;
}

/* Оранжева икона-кръг вляво */
.styled-list li::before{
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange) !important;
  box-shadow: 0 0 10px rgba(255,102,0,0.5);
  animation: glowDot 2.4s infinite ease-in-out;
}

/* Hover ефект за всеки ред */
.styled-list li:hover{
  background: rgba(255,102,0,0.10) !important;
  transform: translateX(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* Анимации */
@keyframes listFade{
  0%{ opacity:0; transform: translateY(10px); }
  100%{ opacity:1; transform: translateY(0); }
}

@keyframes glowDot{
  0%{ box-shadow: 0 0 4px rgba(255,102,0,0.3); }
  50%{ box-shadow: 0 0 14px rgba(255,102,0,0.6); }
  100%{ box-shadow: 0 0 4px rgba(255,102,0,0.3); }
}

/* Мобилен изглед */
@media (max-width: 700px){
  .styled-list{
    padding: 18px 20px;
  }
  .styled-list li{
    font-size: 15px;
    padding: 12px 14px 12px 40px;
  }
}
