.header {
    background: linear-gradient(135deg, #002E5C 0%, #0C1A31 100%);
    color: white;
    position: relative;
    z-index: 1;
    padding-bottom: 1px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo > a {
    display: block;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.logo-image img {
  max-height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-text-content {
  max-width: 200px;
}

.logo-text {
  font-size: 1.5rem;
  font-style: italic;
  color: #ffffff;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px !important;
    padding: 15px 5%;
    flex-wrap: wrap;
}

.image-box {
    max-width: 300px;
    max-height: 80px;
    padding: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.image-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    pointer-events: all;
}

.image-box:hover img {
    transform: scale(1.02);
}

.contact {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.contact-item img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.contact-item:hover img {
    filter: brightness(0) invert(0.8);
}

.navigation-content {
    background: rgba(223, 223, 223, 0.212);
    font-size: 16px;
    height: 64px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.navigation-content button {
    display: none;
}

.blur {
    border-top: solid 1px;
    border-bottom: solid 1px;
    color: rgba(255, 255, 255, 0.432);
    padding: 5px 0;
    width: 100%;
}

/* Главное меню */
#navbar {
    display: flex;
    list-style: none;
    padding: 0;
    position: relative;
}

#navbar li {
    position: relative;
    margin: 0 15px;
    padding: 5px;
}

#navbar li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#navbar li a:hover {
    color: #4B8DFF;
}

/* Вылетающее меню */
#navbar li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444;
    padding: 10px 0;
    list-style: none;
    min-width: 150px;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

#navbar li ul li {
    margin: 0;
    padding: 0;
}

#navbar li ul li a {
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    display: block;
    white-space: nowrap;
}

#navbar li ul li a:hover {
    background-color: #4B8DFF;
    color: white;
}

#navbar li:hover>ul {
    display: block;
}

/* Слайдер */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 550px;
    margin: 10px auto 30px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.mobile-slide {
	min-width: 100%;
    position: relative;
    transition: opacity 0.5s ease-in-out;
    height: 550px;
}

.mobile-slide img {
	border-radius: 10px;
}

.slide {
    min-width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
    height: 550px;
}

.slide.active {
    opacity: 1;
    display: block;
}

.slide-content {
    position: relative;
    height: 100%;
}

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

.slide-text {
    position: absolute;
    text-align: justify;
    bottom: 30px;
    left: 50px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 30px;
    border-radius: 10px;
    max-width: 50%;
    animation: slideTextFadeIn 1s ease-in-out;
}

.slide-text a {
    color: #067EFF;
}

@keyframes slideTextFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.prev-slider,
.next-slider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: background 0.3s ease;
}

.prev-slider:hover,
.next-slider:hover {
    box-shadow: none;
}

.prev-slider:hover~.slider-wrapper .slide-content img {
    box-shadow: inset 10px 0 100px -5px rgba(0, 0, 0, 1);
}

.next-slider:hover~.slider-wrapper .slide-content img {
    box-shadow: inset -10px 0 100px -5px rgba(0, 0, 0, 1);
}

.prev-slider {
    left: 10px;
}

.next-slider {
    right: 10px;
}

.slider-indicators {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.indicator {
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
}

.indicator.active {
    background: #0049A3;
}

/* Бургерное меню */

/* Базовые стили для мобильного меню */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #2c3e50;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
  overflow-y: auto;
  padding: 80px 20px 30px;
  box-sizing: border-box;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Стили для списка меню */
#mobile-navbar.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mobile-navbar.menu > li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

#mobile-navbar.menu a {
  display: block;
  color: #ecf0f1;
  text-decoration: none;
  padding: 15px 20px;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
}

#mobile-navbar.menu a:hover {
  background: #34495e;
  color: #3498db;
}

/* Стили для подменю */
#mobile-navbar .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0,0,0,0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-navbar .sub-menu.active {
  max-height: 1000px;
}

#mobile-navbar .sub-menu a {
  padding-left: 40px;
  font-size: 16px;
}

.menu-item-has-children > a.active::after {
  transform: rotate(180deg);
}

/* Стили для бургер-иконки (добавьте этот элемент в ваш HTML) */
.burger-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 30px;
  z-index: 1001;
  cursor: pointer;
  display: none; /* По умолчанию скрыто, показывать только на мобильных */
}

.burger-line {
  position: absolute;
  width: 70%;
  margin-left: -13px;
  height: 4px;
  background: #2c3e50;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-line:nth-child(1) {
  top: 0;
}

.burger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
  color: black;
}

.burger-line:nth-child(3) {
  bottom: 0;
}

.burger-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
  background: red;
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
  background: red;
}


@media (max-width: 992px) {
  .burger-btn {
    display: block;
  }
  
  body.menu-open {
    overflow: hidden;
  }
}