@font-face {
  font-family: 'Montserrat';
  src: url('ttf/Montserrat-Black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Light';
  src: url('ttf/Light.ttf') format('truetype');
  font-weight: lighter; /* или 300, ако шрифтът е "Light" */
  font-style: normal;
}

@font-face {
  font-family: 'Light';
  src: url('ttf/Montserrat-Regular.ttf') format('truetype');
  font-weight: lighter; /* или 300, ако шрифтът е "Light" */
  font-style: bold;
}

@font-face {
  font-family: 'Regular';
  src: url('ttf/Montserrat-Regular.ttf') format('truetype');
  font-weight: bold; /* или 300, ако шрифтът е "Light" */
  font-style: bold;
}

b, strong {
  font-weight: bold;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Лого */
.loading-logo {
  width: 450px;
  max-width: 80%;
  animation: zoomLogo 2s ease-in-out infinite alternate;
}

/* Анимация */
@keyframes zoomLogo {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

/* Мобилна оптимизация */
@media (max-width: 768px) {
  .loading-logo {
    width: 180px;
  }
}



/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: #fff;
  border-bottom: 4px solid;
  border-image: linear-gradient(to right, #053b89, #9b327f) 2;
}

.right-header {
  display: flex;
  align-items: center;
  gap: 45px;
}

.logo img {
  height: 43px;
}

/* Обвивка за логото и бутона */
.logo-and-button {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Десктоп бутон */
.header-app-button {
  font-family: 'Light', sans-serif;
  padding: 9px 24px;
  background-color: #1663ce;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.header-app-button:hover {
  background-color: #01458d;
}

/* Скриване на мобилния бутон по подразбиране */
.mobile-app-button {
  display: none;
}

/* Мобилен изглед */
@media (max-width: 768px) {
  .logo-and-button .header-app-button {
    display: none;
  }

  .mobile-app-button {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    text-align: center;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
  }

  .language-selector {
    margin-top: auto;
  }
}

/* Навигация на мобилни устройства */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: 'Light', sans-serif;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #053b89;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Language Selector */
.language-selector {
  position: relative;
  cursor: pointer;
  display: inline-block;
  font-family: 'Light', sans-serif;
}

.language-selector img {
  width: 24px;
  height: 24px;
  margin-right: 5px;
  vertical-align: middle;
}

.selected-lang {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.language-selector .arrow {
  margin-left: 5px;
  font-size: 14px;
}

.language-dropdown {
  position: absolute;
  top: 35px;
  right: 0;
  background-color: white;
  list-style: none;
  padding: 20px;
  border: 1px solid #ccc;
  display: none;
  flex-direction: column;
  gap: 20px;
  z-index: 100;
  border-radius: 5px;
}

.language-dropdown li {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.language-dropdown li:hover {
  color: rgb(22, 83, 153);
}

.language-selector.open .language-dropdown {
  display: flex;
}

/* Мобилно меню */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 28px;
  color: #000;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
  position: relative;
  z-index: 20;
}

/* Икона за бургер меню */
.menu-toggle .hamburger-icon {
  width: 30px;
  height: 3px;
  background-color: #053b89;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-toggle .hamburger-icon::before,
.menu-toggle .hamburger-icon::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: #053b89;
  transition: all 0.3s;
}

.menu-toggle .hamburger-icon::before {
  top: -10px;
}

.menu-toggle .hamburger-icon::after {
  top: 10px;
}

/* Мобилен изглед */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    justify-content: center; /* Центрираме бутоните по вертикала */
    align-items: center; /* Центрираме бутоните хоризонтално */
    gap: 20px;
    padding: 30px 20px;
    background-color: #fff;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transform: translateX(100%); /* Скриваме менюто по подразбиране */
    transition: transform 0.3s ease-out;
    text-align: center; /* Центрираме текстовете на бутоните */
  }

  .nav-links a {
    font-size: 18px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 20px; /* Малко повече разстояние за бутоните */
    display: block;
    width: 100%; /* Бутоните ще са с ширина 100% */
    border-bottom: 1px solid #eee; /* Лека линия под всеки бутон */
    box-sizing: border-box;
  }

  .nav-links a:hover {
    color: #053b89;
    background-color: #f1f1f1; /* Hover ефект за бутоните */
    border-radius: 5px;
  }

  .language-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    color: #000;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

    /* Анимация за бутона за меню */
    .menu-toggle.open {
      transform: rotate(90deg); /* Ротация на бутона за меню когато е активен */
    }

    .menu-toggle.open:before {
      content: "×"; /* Символ за X */
      font-size: 28px;
      color: #000;
    }

      /* Селектора за език */
  .language-selector {
    margin-top: 20px; /* Разстояние от бутоните до селектора */
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #f1f1f1;
    border-radius: 5px;
  }

  .language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    list-style: none;
    padding: 20px;
    border: 1px solid #ccc;
    display: none;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
    border-radius: 5px;
    animation: dropdownAnimation 0.3s ease-out;
  }

    /* Показване на dropdown */
    .language-selector.open .language-dropdown {
      display: flex;
    }

      /* Анимация за появяване на dropdown */
  @keyframes dropdownAnimation {
    0% {
      opacity: 0;
      transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .language-dropdown li {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-align: center;
  }

  .language-dropdown li:hover {
    color: rgb(22, 83, 153);
    background-color: #f1f1f1;
    border-radius: 5px;
  }

  /* Показване на менюто когато класът "active" е добавен */
  .right-header.active .nav-links {
    transform: translateX(0); /* Връща менюто на място */
    display: block; /* Уверяваме се, че менюто ще се покаже */
    visibility: visible; /* Осигуряваме, че е видимо */
  }

  /* Анимация за иконата */
  .right-header.active .hamburger-icon {
    background-color: transparent;
  }

  .right-header.active .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
  }

  .right-header.active .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }
}

/* Slider */
/* Slider */
.slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
}

.slides-container {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 2s ease-in-out;
}

.slide {
  position: relative;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Лек затъмняващ слой */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1));
  z-index: 1;
  pointer-events: none;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
}

/* Централно разположен текст */
.slider-text {
  font-family: 'Light', sans-serif;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  padding: 0 20px;
}

.slider-text h2 {
  font-size: 2.8em;
  margin: 0;
}

.slider-text p {
  font-size: 1.2em;
  margin-top: 10px;
}

/* timeline */

.roadmap-section {
  padding: 100px 20px;
  background: #f4f9fb;
  text-align: center;
  border-radius: 60px 60px 0 0;
    /* Извивка само отдолу */
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

.roadmap-title {
  font-family: 'Light', sans-serif;
  font-size: 42px;
  font-weight: bold;
  color: #0a3d62;
  margin-bottom: 10px;
}

.underline {
  width: 100px;
  height: 5px;
  background: #007BFF;
  margin: 0 auto 60px;
  border-radius: 2px;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  justify-content: center;
  position: relative;
}

.roadmap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 5px;
  background: #0a3d62;
  z-index: 0;
  transform: translateY(-50%);
}

.roadmap-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dot {
  width: 36px;
  height: 36px;
  background: #007BFF;
  border: 5px solid white;
  border-radius: 50%;
  z-index: 2;
}

.content {
  background: white;
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  max-width: 280px;
  text-align: center;
}

.content h3 {
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 12px;
  color: #0a3d62;
}

.content p {
  font-family: 'Light', sans-serif;
  font-size: 15px;
  color: #444;
}

/* 📱 МОБИЛЕН СТИЛ */
@media (max-width: 768px) {
  .roadmap {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .roadmap::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    height: 100%;
    transform: translateX(-50%);
  }

  .dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .content {
    margin-top: 40px;
  }
}

[data-aos] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .roadmap-section {
    padding: 60px 16px;
    border-radius: 40px 40px 0 0;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  .roadmap-title {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .underline {
    width: 60px;
    height: 4px;
    margin-bottom: 40px;
  }

  .roadmap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .roadmap::before {
    left: 50%;
    width: 3px;
    background: #0a3d62;
    opacity: 0.3; /* по-малко визуално натоварване */
  }

  .dot {
    width: 24px;
    height: 24px;
    border: 4px solid white;
  }

  .content {
    padding: 16px;
    margin-top: 32px;
    max-width: 90%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }

  .content h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .content p {
    font-size: 14px;
    line-height: 1.4;
  }
}


/* Vision & Mission секция */
.vision-mission-section {
  padding: 100px 20px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Контейнер за панелите */
.vision-mission-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
}

/* Общ стил за Vision и Mission */
.vision, .mission {
  flex: 1 1 45%;
  background-color: #0a3d62;
  color: #ffffff;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);  /* Статична сянка */
  min-width: 300px;
  position: relative;
}


/* Заглавие */
.vision h2, .mission h2 {
  font-size: 32px;
  font-family: 'Light', sans-serif;
  margin-bottom: 20px;
  font-weight: 700;
  border-left: 5px solid #007BFF;
  padding-left: 15px;
  color: #ffffff;
}

/* Текст */
.vision p, .mission p {
  font-family: 'Light', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #f1f1f1;
}

/* Декоративна линия */
.vision::after, .mission::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 4px;
  background-color: #f1f1f1;
  border-radius: 4px;
}

/* Fade-in animation */
.vision, .mission {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.vision {
  animation-delay: 0.3s;
}

.mission {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Мобилен изглед */
@media (max-width: 768px) {
  .vision-mission-container {
    flex-direction: column;
    align-items: center;
  }

  .vision, .mission {
    width: 100%;
    padding: 40px 25px;
  }

  .vision h2, .mission h2 {
    font-size: 26px;
  }

  .vision p, .mission p {
    font-size: 16px;
  }
}


/* map */

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.section-title {
  font-family: 'Light', sans-serif;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #222;
}

.left {
  flex: 1;
  min-width: 300px;
}

.desktop-map {
  max-width: 839px;
}

.mobile-map {
  display: none;
  width: 100%;
}

.right {
  flex: 0 0 300px;
  text-align: center;
}

.stat-block {
  margin-bottom: 40px;
}

.animated-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: bold;
  color: #0a3d62;
}

.stat-block:last-child .animated-number {
  color: #f80f44;
}

.label {
  font-family: 'Light', sans-serif;
  font-size: 20px;
  color: #555;
}

/* --------- МОБИЛЕН ДИЗАЙН --------- */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
  }

  .desktop-map {
    display: none;
  }

  .mobile-map {
    display: block;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .right {
    flex: none;
    text-align: center;
    width: 100%;
  }

  .animated-number {
    font-size: 48px;
  }

  .label {
    font-size: 18px;
  }
}

/* footer */
.site-footer {
  background: linear-gradient(90deg, #00091f 0%, #072a5a 47%, #072a5a 53%, #00091f 100%);
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  color: white;
  padding: 50px 20px 20px 20px; /* Добавих малко отдолу за повече пространство */
  font-family: 'Light', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 250px;
}

.footer-info-block {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-icon {
  width: 40px;
  height: 40px;
}

.footer-info-block p {
  margin: 2px 0;
  font-size: 15px;
}

.footer-divider {
  width: 120px;
  height: 1px;
  background-color: white;
  opacity: 0.5;
  margin-left: 55px;
}

.footer-divider.short {
  width: 80px;
  margin-top: 15px;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-main-logo {
  width: 250px;
  height: auto;
}

/* Footer bottom section */
.footer-bottom {
  text-align: center;
  width: 100%;
  margin-top: 40px;
}

.footer-bottom-line {
  width: 80%;  /* Центрираме линията според ширината на контейнера */
  max-width: 400px;  /* За да не стане твърде широка на големи екрани */
  height: 1px;
  background-color: white;
  opacity: 0.4;
  margin: 0 auto 10px auto;  /* Центрира по хоризонтала */
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
  text-align: center;  /* Добавяме за да се уверим, че текста също е центриран */
}

  