/*Текст навігація, класси : ( навігація кнопки, зміна мови, випадаюче меню, назва сайту )  */
.navbar-brand, .nav-link, .language-switcher{

    font-family: Romul;
    font-weight: 100;
  }
  
  
  /* Текст футер, власні класси: ( bottem-email, bottc-contact, bott-all other text )  */
  .bottem, .bottc,.bott{
  
    font-family: segoeu;
    font-weight: 300;
  }
  
  
  /* Текст : команда  */
  .textproj, .textcardh{
  
    font-family: Fixel;
    font-weight: 100;
    
  }
  
  
  /* Текст : інформація  */
  .textcardo{
  
    font-family: FixelL;
    font-weight: 100;
    
  }
  /* Центрування навігації та відступи між кнопками */
  .nav-link {
      color: #000;
      text-decoration: none;
    }
    .nav-link:hover {
      text-decoration: underline;
    }
  
    
    /* Розширення відступів у навігації */
    .navbar .nav-link {
      padding: 0 15px;
    }

/* Анімація прокрутки */
.smooth-scroll {
  scroll-behavior: smooth;
}

/* Загальні стилі для навігації */
.navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 40px;
  background-color: #f8f9fa;
  position: fixed; /*navbar фіксованим */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top 0.3s ease-in-out; 
}

body {
  padding-top: 80px; 
}

.navbar-brand {
  display: flex;
  align-items: center;
  width: 180px;
  gap: 20px;
}

.navbar-brand img {
  height: 50px;
}

.desktop-menu {
  display: flex;
  gap: 30px;
  flex-grow: 1;
  justify-content: center;
  
}

.language-switcher {
  display: flex;
  width: 110px;
  gap: 20px;
  align-items: center;
}


.lang-btn {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #000;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.lang-btn:hover {
  color: #007bff;
}

.lang-btn:active {
  font-weight: bold;
  color: #007bff;
}




/* Бургер-меню */
.navbar-toggler {
  display: none;
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
}



.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1040;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-open .menu-overlay {
  display: block;
  opacity: 1;
}

.menu-slide {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 1050;
  transition: right 0.4s ease;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
}

.menu-open .menu-slide {
  right: 0;
}

/* Адаптивність */
@media (max-width: 992px) {
  .desktop-menu, .language-switcher {
    display: none;
  }

  .navbar-toggler {
    display: block;
  }
}

/* Ховаємо зміну мов разом із десктопним меню при малих екранах */
@media (max-width: 1200px) {
  .desktop-menu, .language-switcher {
      display: none !important;
  }
  .navbar-toggler {
      display: block !important;
  }
}


/* При ширині менше 1024px */
@media (max-width: 1024px) {
  .desktop-menu .language-switcher {
      display: none !important;
  }
  .navbar-toggler {
      display: block !important;
  }
}

/* При ширині менше 768px */
@media (max-width: 768px) {
  .desktop-menu .language-switcher{
      display: none !important;
  }
  .navbar-toggler {
      display: block !important;
  }
}

/* Показуємо зміну мов та меню тільки на великих екранах */
@media (min-width: 1200px) {
  .desktop-menu, .language-switcher {
      display: flex !important;
  }
  .navbar-toggler {
      display: none !important;
  }
}


/* Базове позиціонування бургер-меню */
.navbar-toggler {
  position: absolute;
  right: 15px; /* Вирівнюємо по правому краю */
  top: 55%; /* Опускаємо нижче */
  transform: translateY(-50%);
}

/* Адаптація для мобільних пристроїв */
@media (max-width: 768px) {
  .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between; /* Вирівнюємо контент */
      padding: 10px 15px;
  }

  .navbar-toggler {
      position: static;
      margin-left: auto;
      transform: translateY(3px); /* Трішки опускаємо */
  }
}







  
/* main */
section {
  padding: 50px 0;
}

.sections{
  margin-bottom: 50px;
}





.project-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.project-card:hover {
  transform: scale(1.02);
}

.project-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f8f9fa;
}

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

.card-body {
  display: flex;
  flex-direction: column;
  padding: 20px;
  text-align: center;
}

.card-title {
  flex-grow: 1;
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 20px;

}

.card-text {
  flex-grow: 1;
  font-size: 1rem;
  color: #555;
  
}

.card-body .card-title,
.card-body .card-text {

  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  text-align: center; 


}

/* Прогрес-бар */
.progress-container {
  width: 100%;
  height: 12px;
  background: #e5e5e5;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: #7f91e0; 
  border-radius: 6px;
}


.progress-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 500;
  color: #000;
}

.btn-outline-primary {
  margin-top: 20px;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: white;
}

/* Футер */
.footer-left,
.footer-right {
  width: 40%;
}
.footer-left {
  text-align: left;
}
.footer-right {
  text-align: right;
}
.footer-link {
  text-decoration: none;
  color: #000;
}
.footer-link:hover {
  text-decoration: underline;
}
.header-image,
.footer-image {
  max-height: 75px; /* Розмір можна змінювати */
}


footer .gap-3 a {
    font-size: 1.25rem; /* Збільшуємо розмір іконок */
  }
  footer img {
    margin: 0 auto;
  }




  .project-img-containerl{

    width: 100%;
    max-height: auto; 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa; 


  }