/* Сброс стилей для всех элементов */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Основные стили для body */
body {
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Контейнер для содержимого */
.t-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Заголовки */
h1, .t-title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

h2, .t-title_second {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 600;
}

h3, .t-title_third {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 15px;
  font-weight: 600;
}

h4, .t-title_fourth {
  font-size: 22px;
  line-height: 1.45;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Параграфы текста */
p, .t-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.t-text_xs {
  font-size: 14px;
}

.t-text_sm {
  font-size: 15px;
}

.t-text_md {
  font-size: 16px;
}

.t-text_lg {
  font-size: 18px;
}

.t-text_xl {
  font-size: 20px;
}

.t-text_weight_bold {
  font-weight: 700;
}

/* Ссылки */
a {
  color: #0056b3;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #003d7a;
  text-decoration: underline;
}

/* Кнопки */
.t-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #0056b3;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.t-btn:hover {
  background-color: #003d7a;
  text-decoration: none;
  color: #fff;
}

.t-btn_sm {
  padding: 8px 20px;
  font-size: 14px;
}

.t-btn_lg {
  padding: 15px 40px;
  font-size: 18px;
}

.t-btn_secondary {
  background-color: #6c757d;
}

.t-btn_secondary:hover {
  background-color: #545b62;
}

.t-btn_border {
  background-color: transparent;
  border: 2px solid #0056b3;
  color: #0056b3;
}

.t-btn_border:hover {
  background-color: #0056b3;
  color: #fff;
}

/* Сетка */
.t-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.t-col {
  padding-left: 15px;
  padding-right: 15px;
  flex: 1 0 0%;
}

.t-col-12 {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.t-col-6 {
  width: 50%;
  padding-left: 15px;
  padding-right: 15px;
}

.t-col-4 {
  width: 33.333%;
  padding-left: 15px;
  padding-right: 15px;
}

.t-col-3 {
  width: 25%;
  padding-left: 15px;
  padding-right: 15px;
}

/* Отступы блоков */
.t-section {
  padding: 60px 0;
}

.t-section_sm {
  padding: 40px 0;
}

.t-section_lg {
  padding: 80px 0;
}

.t-margin_auto {
  margin-left: auto;
  margin-right: auto;
}

.t-align_center {
  text-align: center;
}

.t-align_left {
  text-align: left;
}

.t-align_right {
  text-align: right;
}

/* Изображения */
.t-img {
  max-width: 100%;
  height: auto;
}

.t-img_responsive {
  width: 100%;
  height: auto;
}

.t-img_circle {
  border-radius: 50%;
}

/* Формы */
.t-form {
  max-width: 600px;
  margin: 0 auto;
}

.t-input {
  display: block;
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  margin-bottom: 15px;
}

.t-input:focus {
  border-color: #0056b3;
  outline: none;
}

.t-input-group {
  margin-bottom: 20px;
}

.t-input-title {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

textarea.t-input {
  min-height: 120px;
  resize: vertical;
}

/* Карточки */
.t-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.t-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.t-card__img {
  width: 100%;
  height: auto;
}

.t-card__content {
  padding: 20px;
}

.t-card__title {
  font-size: 22px;
  margin-bottom: 10px;
}

.t-card__desc {
  font-size: 16px;
  margin-bottom: 15px;
}

/* Навигация/Меню */
.t-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.t-menu__item {
  margin-right: 20px;
}

.t-menu__item:last-child {
  margin-right: 0;
}

.t-menu__link {
  display: block;
  padding: 10px 0;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.t-menu__link:hover {
  color: #0056b3;
}

.t-menu__link_active {
  color: #0056b3;
  font-weight: 700;
}

/* Хедер */
.t-header {
  padding: 20px 0;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.t-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.t-header__logo {
  max-height: 40px;
}

/* Футер */
.t-footer {
  padding: 40px 0;
  background-color: #f8f9fa;
  color: #6c757d;
}

.t-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.t-footer__col {
  margin-bottom: 20px;
}

.t-footer__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.t-footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.t-footer__menu-item {
  margin-bottom: 8px;
}

.t-footer__menu-link {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.t-footer__menu-link:hover {
  color: #0056b3;
}

.t-footer__bottom {
  width: 100%;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

/* Утилиты */
.t-hidden {
  display: none;
}

.t-opacity-50 {
  opacity: 0.5;
}

.t-opacity-75 {
  opacity: 0.75;
}

.t-bg-light {
  background-color: #f8f9fa;
}

.t-bg-dark {
  background-color: #343a40;
  color: #fff;
}

.t-bg-primary {
  background-color: #0056b3;
  color: #fff;
}

.t-bg-secondary {
  background-color: #6c757d;
  color: #fff;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1200px) {
  .t-container {
    max-width: 960px;
  }
  
  h1, .t-title {
    font-size: 38px;
  }
  
  h2, .t-title_second {
    font-size: 32px;
  }
}

@media (max-width: 992px) {
  .t-container {
    max-width: 720px;
  }
  
  .t-col-md-12 {
    width: 100%;
  }
  
  .t-col-md-6 {
    width: 50%;
  }
  
  h1, .t-title {
    font-size: 34px;
  }
  
  h2, .t-title_second {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .t-container {
    max-width: 540px;
  }
  
  .t-col-sm-12 {
    width: 100%;
  }
  
  h1, .t-title {
    font-size: 30px;
  }
  
  h2, .t-title_second {
    font-size: 26px;
  }
  
  h3, .t-title_third {
    font-size: 22px;
  }
  
  .t-section {
    padding: 40px 0;
  }
  
  .t-section_lg {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .t-col {
    width: 100%;
  }
  
  h1, .t-title {
    font-size: 28px;
  }
  
  h2, .t-title_second {
    font-size: 24px;
  }
  
  .t-btn {
    width: 100%;
  }
  
  .t-section {
    padding: 30px 0;
  }
}

/* Анимации */
.t-animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.t-fadeIn {
  animation-name: fadeIn;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.t-fadeInUp {
  animation-name: fadeInUp;
}

/* Дополнительные стили */
.t-width-100 {
  width: 100%;
}

.t-flex {
  display: flex;
}

.t-flex-wrap {
  flex-wrap: wrap;
}

.t-flex-column {
  flex-direction: column;
}

.t-items-center {
  align-items: center;
}

.t-justify-center {
  justify-content: center;
}

.t-justify-between {
  justify-content: space-between;
}

.t-justify-around {
  justify-content: space-around;
}

.t-mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.t-m-0 {
  margin: 0;
}

.t-my-10 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.t-my-20 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.t-my-30 {
  margin-top: 30px;
  margin-bottom: 30px;
}

.t-my-40 {
  margin-top: 40px;
  margin-bottom: 40px;
}

.t-py-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.t-py-20 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.t-py-30 {
  padding-top: 30px;
  padding-bottom: 30px;
}

.t-py-40 {
  padding-top: 40px;
  padding-bottom: 40px;
}

.t-rounded {
  border-radius: 4px;
}

.t-rounded-lg {
  border-radius: 8px;
}

.t-shadow {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.t-shadow-lg {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Цвета */
.t-text-primary {
  color: #0056b3;
}

.t-text-secondary {
  color: #6c757d;
}

.t-text-white {
  color: #fff;
}

.t-text-dark {
  color: #333;
}

.t-text-muted {
  color: #6c757d;
}