/* --- Оранжевый блок --- */
.top-bar {
  background-color: #ffbc5c;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 10px 0;
}


  .contact-box .contact-item {
    font-weight: bold;
    color: black;
    text-align: center;
  }

  /* --- Меню --- */
  .navbar-custom {
    position: fixed;
    top: 40px; /* смещение на высоту оранжевого блока */
    left: 0;
    right: 0;
    /*background-color: rgba(0, 0, 0, 0.5);*/
    padding: 10px;
    z-index: 10;
    
  }

  /* Добавим отступ сверху всему контенту ниже */
  .offset-header {
    margin-top: 45px!important; /* высота оранжевого блока (52px) + меню (40px) */
  }

  /* Мобильная адаптация */
  @media (max-width: 768px) {
    .navbar-custom {
      top: 102px;
    }

    .offset-header {
      margin-top: 120px; /* увеличиваем отступ на мобилках */
    }
  }

  /* Логотип и консультация */
  .navbar-custom .navbar-brand,
  .navbar-custom .consultation-text {
    color: black;
    font-weight: bold;
    text-transform: uppercase;
  }

  .consultation-text {
    text-align: right;
  }

  /* Ссылки меню */
  .navbar-custom .nav-link,
  .navbar-custom .dropdown-item {
    color: black;
    font-weight: bold;
    text-transform: uppercase;
  }

  .navbar-custom .nav-link:hover,
  .navbar-custom .dropdown-item:hover {
    color: #FFD700;
    background-color: transparent;
  }

  .dropdown-menu {
    background-color: white;
    border: 1px solid #ddd;
     border-radius: 0 !important; 
     padding: 0; 
  }

  .dropdown-menu .dropdown-item {
    color: black;
    border-radius: 0 !important;
  }

  .dropdown-menu .dropdown-item:hover {
    background-color: #BF8845;
    color: black;
  }









  /* Видео секция */
.video-section {
  position: relative;
  background: none;
  padding: 0;
  color: white;
  text-align: center;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 650px; /* Увеличено на 30% */
  z-index: 1;
}


  .video-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .video-texts {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    color: white;
    text-align: center;
    pointer-events: none;
    z-index: 5;
  }
  .first-text{
    font-size: 30px;
    text-transform: uppercase;
     font-weight: 700;
  }
  .main_h1{
    font-size: 50px!important;
  }
  .third-text{
    font-size: 25px;
  }
  .dropdown-item{
    color: white!important;
  }
 


  .btn-orange {
   background-color:#BF8845;
    color: black;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 45px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-bottom: 10px;
  }

  .btn-orange:hover {
    background-color: #cc8400;
    color: black;
    text-decoration: none;
  }

  @media (max-width: 768px) {
    .video-texts h1 {
      font-size: 2.7rem;
    }
    .video-texts p.first-text {
      font-size: 1.35rem;
    }
    .video-texts p.third-text {
      font-size: 1.05rem;
    }
    .btn-orange {
      padding: 14px 35px;
      font-size: 0.9rem;
    }
    .consultation-text {
      font-size: 0.85rem;
    }
    .menu_mobile{
      margin-top: 46px;
    }
    .top-bar{
      padding: 12px 0;
    }
    .logo{
      margin-top: 20px!important;
      width: 100%;
      max-width: 220px!important;
    }
  }
  .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
}

 @media (max-width: 992px) {
   .logo{
      margin-top: 20px!important;
      width: 100%;
      max-width: 220px!important;
    }
 }

  @media (max-width: 480px) {
    .video-texts h1 {
      font-size: 2rem;
    }
    .video-texts p.first-text,
    .video-texts p.third-text {
      font-size: 0.85rem;
    }
    .btn-orange {
      padding: 12px 28px;
      font-size: 0.8rem;
    }
    .consultation-text {
      font-size: 0.75rem;
    }
  }



/* Логотип по ширине */


@media (max-width: 991px) {
  .consultation-text {
    display: none; /* Скрываем на мобильных */
  }

  .navbar-nav {
    flex-direction: column;
  }
}
.carousel-item>h5{
   color: #BF8845!important;
}
.carousel-control-next-icon{
  background-color: #BF8845!important;
}.carousel-control-prev-icon{
   background-color: #BF8845!important;
}

 .services-section {
    background-color: #000; /* полностью черный фон */
    padding: 40px 0; /* сверху и снизу больше пространства */
  }
  .services-section .card {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    background-color: #111; /* темно-серый фон для карточек */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #eee;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .services-section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
  }
  .services-section .card-body {
    flex-grow: 1;
  }
  .services-section .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #BF8845; /* золотистый цвет заголовков */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }
  .services-section ul {
    padding-left: 20px;
    list-style-type: disc;
    color: #ccc;
  }
  .services-section ul li {
    margin-bottom: 10px;
    line-height: 1.5;
  }
  @media (max-width: 767.98px) {
    .services-section {
      padding: 30px 10px;
    }
    .services-section .card-title {
      font-size: 1.2rem;
    }
  }


   .info-section {
    background-color: #f8f9fa; /* светлый фон для контраста */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
  }
  .info-section h5 {
    font-weight: 600;
    color: #003366;
    border-bottom: 2px solid #ffd700; /* золотая линия под заголовком */
    padding-bottom: 8px;
    margin-bottom: 20px;
  }
  .info-section ul li,
  .info-section ol li {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #333;
  }
  .info-section strong {
    color: #0056b3;
  }
  .info-section ol {
    padding-left: 1.3rem;
  }
  .info-section li .mt-3 {
    margin-top: 1rem !important;
  }



  #testimonialCarouselWrapper {
    background-color: #f4f6f8;
    padding: 60px 0;
  }

  #testimonialCarousel .carousel-inner {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a202c;
  }

  #testimonialCarousel .carousel-item {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
  }

  #testimonialCarousel .carousel-item:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  }

  #testimonialCarousel .carousel-item h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2b6cb0;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }

  #testimonialCarousel .carousel-item p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1rem;
    font-style: italic;
  }

  #testimonialCarousel .carousel-item p.fw-semibold {
    font-weight: 600;
    font-style: normal;
    color: #1a202c;
    margin-bottom: 0;
  }

  /* Навигационные стрелки */
  #testimonialCarousel .carousel-control-prev-icon,
  #testimonialCarousel .carousel-control-next-icon {
    background-color: #2b6cb0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.5);
    transition: background-color 0.3s ease;
  }

  #testimonialCarousel .carousel-control-prev-icon:hover,
  #testimonialCarousel .carousel-control-next-icon:hover {
    background-color: #1e4e89;
  }

  #testimonialCarousel .carousel-control-prev {
    left: -60px;
  }

  #testimonialCarousel .carousel-control-next {
    right: -60px;
  }

  @media (max-width: 767.98px) {
    #testimonialCarousel .carousel-item {
      padding: 30px 20px;
    }
    #testimonialCarousel .carousel-item h5 {
      font-size: 1.3rem;
    }
    #testimonialCarousel .carousel-item p {
      font-size: 1rem;
    }
    #testimonialCarousel .carousel-control-prev {
      left: 10px;
    }
    #testimonialCarousel .carousel-control-next {
      right: 10px;
    }
  }



  .styled-help-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .styled-help-section h5 {
    font-weight: 600;
    color: #BF8845!important;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 1.25rem;
  }

  .styled-help-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
  }

  .styled-help-section ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
  }

  .styled-help-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: black;
    font-size: 1.4rem;
    line-height: 1;
  }

  @media (max-width: 767.98px) {
    .styled-help-section {
      padding: 20px;
    }
    .styled-help-section h5 {
      font-size: 1.1rem;
    }
    .styled-help-section ul li {
      font-size: 0.95rem;
      padding-left: 22px;
    }
    .styled-help-section ul li::before {
      font-size: 1.2rem;
    }
  }



  .info-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .info-section h5 {
    font-weight: 600;
    color: #BF8845;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 1.5rem;
  }

  .info-section p,
  .info-section li {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #333;
  }

  .info-section strong {
    color: black;
  }

  .info-section .ratio {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease;
  }

  .info-section .ratio:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  }

  @media (max-width: 767.98px) {
    .info-section {
      padding: 25px 20px;
    }
    .info-section h5 {
      font-size: 1.3rem;
    }
    .info-section p {
      font-size: 1rem;
    }
  }





  footer {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: #cbd5e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
  }

  footer .container {
    max-width: 900px;
  }

  footer p {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
  }

  footer p:first-child {
    font-weight: 600;
    color: #63b3ed; /* мягкий синий акцент */
    margin-bottom: 6px;
  }

  footer p:last-child {
    font-style: italic;
    color: #a0aec0;
  }

  @media (max-width: 576px) {
    footer p {
      font-size: 0.85rem;
    }
  }




.gold{
  background-color: #BF8845!important;
}



  html, body {
  max-width: 100%;
  overflow-x: hidden;
}