html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Стили для навигационной панели */
.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.nav-item {
  text-align: center;
}
html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Стили для навигационной панели */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Фиксированный логотип */
.fixed-brand {
  font-size: 1.8rem;
  font-weight: bold;
  padding: 0;
  text-decoration: none;
  color: inherit;
  margin-right: 30px;
}

.fixed-brand:hover {
  text-decoration: none;
  color: #0d6efd;
}

/* Контейнер для навигационных элементов */
.nav-items-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item {
  text-align: center;
}

/* Кнопки авторизации */
.auth-buttons {
  margin-left: auto;
}

/* Настройки для сворачиваемого меню */
.navbar-collapse {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Стили для кнопок входа и регистрации */
.btn-outline-primary {
  border-radius: 4px;
  padding: 6px 12px;
  transition: all 0.3s ease;
}

.btn-primary {
  border-radius: 4px;
  padding: 6px 12px;
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .nav-item.d-flex {
    flex-direction: column;
    margin-top: 10px;
  }
}

/* Стили для секции hero */
.hero-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.hero-section h1 {
  font-weight: 700;
  color: #212529;
  margin-bottom: 20px;
}

.hero-section p {
  color: #6c757d;
  font-size: 1.25rem;
}

/* Стили для секции с преимуществами */
.features-section {
  padding: 80px 0;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(13, 110, 253, 0.1);
  margin-bottom: 1rem;
}

/* Стили для отзывов */
.testimonial-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.testimonial-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.testimonial-text {
  font-style: italic;
  color: #495057;
}

/* Стили для CTA секции */
.cta-section {
  padding: 60px 0;
}

.cta-content {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Стили для footer */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

/* Стили для ховера навигации */
.nav-hover {
  position: relative;
  transition: color 0.3s ease;
}

.nav-hover:hover {
  color: #0d6efd !important;
}

/* Стили для кнопок входа и регистрации */
.btn-outline-primary {
  border-radius: 4px;
  padding: 6px 12px;
  transition: all 0.3s ease;
}

.btn-primary {
  border-radius: 4px;
  padding: 6px 12px;
  transition: all 0.3s ease;
}

/* Responsive стили */
@media (max-width: 576px) {
  .fixed-brand {
    position: static;
    transform: none;
    margin-bottom: 10px;
  }

  .nav-items-container {
    padding-left: 0;
    flex-direction: column;
    gap: 10px;
  }

  .auth-buttons {
    margin-left: 0;
    margin-top: 10px;
    flex-direction: column;
    width: 100%;
  }

  .auth-buttons .btn {
    width: 100%;
  }

  .navbar-collapse {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}
