:root {
  --primary-dark: #0D2B4E;    /* Темно-синий (основной) */
  --primary-accent: #1A5D9F;  /* Синий акцентный */
  --secondary: #8B939C;       /* Серый (для текста) */
  --accent: #E74C3C;          /* Красный (для важных элементов) */
  --light-bg: #F5F7FA;        /* Светло-серый фон */
  --pure-white: #FFFFFF;
  --tech-blue: #2C3E50;       /* Темный сине-серый */
  --tech-teal: #1ABC9C;       /* Бирюзовый акцент */
  --tech-gray: #95A5A6;       /* Серый */
  --tech-light: #ECF0F1;      /* Светлый фон */
  --tech-accent: #E67E22;     /* Оранжевый для кнопок */
  --archive-dark: #3A3226;    /* Темно-коричневый */
  --archive-light: #D7CEC7;   /* Светло-бежевый */
  --archive-accent: #8B5A2B;  /* Коричневый акцент */
  --archive-special: #6B8E23; /* Оливковый для выделения */
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("./fonts/Roboto"),
       local("./fonts/Roboto-Regular")
      }
html {
  scroll-behavior: smooth;
}
body{
    font-family: Roboto, sans-serif;
    transition: opacity 1.5s ease-in-out;
}
h2,h3{
  text-transform: uppercase;
}
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
/* Стили для переключателя */
.lang-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  margin-left: 0.3rem;
}
.lang-btn.active, .lang-btn:disabled {
  background-color: rgba(255, 255, 255, 1);
  border-color: white !important;
  color: black;
  opacity: 1;
  cursor: default;
}
/* Гарантируем, что AOS элементы скрыты до инициализации */
[data-aos] {
  visibility: hidden;
}
[data-aos].aos-animate {
  visibility: visible;
}
header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('../img/hero-bg.jpeg') no-repeat center/cover;
  min-height: 400px;
  display: flex;
  align-items: center;
}
#header-main{
  height: 500px;
}
#header{
  background-image: url("../img/header.png");
  height: 290px;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}
.card {
  transition: transform 0.3s;
  border: 1px solid #dee2e6 !important; /* Четкие рамки */
}
.card:hover {
  transform: translateY(-5px);
}
.card-text,
.service-card__description{
  min-height: 150px;
}
/* Стили для иконок */
.fa-3x {
  transition: transform 0.3s;
}
.card:hover .fa-3x {
  transform: scale(1.1);
}
.text-primary {
  color: rgb(33, 37, 41) !important; /* Цвет Bootstrap primary */
  opacity: 0.8;
}
.btn-outline-dark {
  border-width: 1px;
}
.bi-telephone, .bi-envelope{
  transition: color 0.3s;
}
.bi-telephone a{ color: #fff; text-decoration: none; }
.bi-telephone a:hover{ color: #25d366; } /* Цвет WhatsApp */
.bi-envelope a:hover{ color: #ea4335; } /* Цвет Gmail */

/* Медиа-запросы для изображений */
@media (max-width: 768px) {
  img {
      max-width: 100%;
      height: auto;
  }
  .hero-bg {
      background-size: cover !important; /* Для мобильных */
  }
}
.card {
  background: var(--pure-white);
  border-left: 4px solid var(--primary-accent);
}
.btn-primary:hover {
  background-color: #0D2B4E;
  transform: translateY(-2px);
}
.company-details p{
margin: 0;
}
.company-details-phone p{
  margin: 0;
}
.company-details-phone a{
  color: white;
  text-decoration: none;
}
.company-details-phone:hover a{
  transform: scale(1.1);
}
.company-details-email a{
  color: white;
  text-decoration: none;
}
.company-details-email a:hover{
  color: #ea4335;
}
.call-to-action {
  position: relative;
  clip-path: inset(0px);
  padding: 80px 0px;
  text-shadow: 1px 1px 2px black, 0 0 1em black; /* Параметры тени */
}
.call-to-action:before {
  content: "";
  background: 
color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}
.call-to-action .container {
  position: relative;
  z-index: 3;
}
.dark-background {
  --background-color: #0e1a18;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #203b37;
  --contrast-color: #ffffff;
}
section, .section {
  color: var(--default-color);
  background-color: var(--background-color);
  --scroll-margin-top: 74px;
  padding: 60px 0px;
  overflow: clip;
}
.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* Основные стили секции */
.contact-section {
  padding: 80px 0;
}

.contact-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(13, 43, 78, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(26, 93, 159, 0.1);
}

/* Текст с градиентом */
.text-gradient {
  background: linear-gradient(90deg, #0D2B4E 0%, #1A5D9F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Элементы контактов */
.contact-methods {
  max-width: 500px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px black, 0 0 1em black; /* Параметры тени */
}

.contact-item {
  transition: all 0.3s ease;
}

.phone-link, .email-link {
  text-decoration: none;
  transition: all 0.3s;
  display: block;
  text-shadow: 1px 1px 2px black, 0 0 1em black; /* Параметры тени */
}

.phone-link:hover {
  color: #25d366;
  transform: translateY(-2px);
}

.email-link:hover {
  color:#ea4335;
  transform: translateY(-2px);
}

.contact-label {
  font-size: 0.9rem;
  margin-top: 5px;text-shadow: 1px 1px 2px black, 0 0 1em black; /* Параметры тени */
}

/* Разделитель */
.contact-divider {
  position: relative;
  margin: 5px 0;text-shadow: 1px 1px 2px black, 0 0 1em black; /* Параметры тени */
}

.contact-divider:before,
.contact-divider:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
}

.contact-divider:before {
  left: 0;
}

.contact-divider:after {
  right: 0;
}

/* Призыв к действию */
.cta-text {
  font-size: 1.2rem;text-shadow: 1px 1px 2px black, 0 0 1em black; /* Параметры тени */
}

.highlight-text {
  font-weight: 600;text-shadow: 1px 1px 2px black, 0 0 1em black; /* Параметры тени */
}

/* Адаптивность */
@media (max-width: 768px) {
  .contact-section {
    padding: 50px 0;
  }
  
  .phone-link, .email-link {
    font-size: 1.5rem;
  }
}
.logo {
  width: 200px;
  height: 200px;
  background: rgba(100, 100, 100, 0.3); /* Полупрозрачный серый */
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: 
      0 0 15px rgba(255, 255, 255, 0.8), /* Белое свечение */
      0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.gear {
  font-size: 50px;
  margin-bottom: 10px;
  animation: rotate 8s linear infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); /* Свечение иконки */
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.about-company {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
  line-height: 1.6;
  color: #333;
}

.about-company__title {
  color: #2a5885;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.about-company__title:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #2a5885;
  margin-top: 10px;
}

.about-company__paragraph {
  margin-bottom: 20px;
  font-size: 16px;
}

.about-company__highlight {
  background-color: #f5f9ff;
  padding: 20px;
  border-left: 4px solid #2a5885;
  margin: 25px 0;
  border-radius: 0 4px 4px 0;
}

.about-company__highlight p {
  margin: 0;
  font-style: italic;
}

strong {
  color: #2a5885;
  font-weight: 600;
}

.service-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: white;
  font-family: 'Segoe UI', Roboto, sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.service-card__content {
  padding: 24px;
}

.service-card__title {
  color: #2a5885;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.service-card__description {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.service-card__actions {
  display: flex;
  padding: 0 16px 16px 16px;
  gap: 12px;
}

.service-card__button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.service-card__button--primary {
  background-color: #2a5885;
  color: white;
}

.service-card__button--primary:hover {
  background-color: #1d456b;
}

.service-card__button--secondary {
  background-color: white;
  color: #2a5885;
  border: 1px solid #2a5885;
}

.service-card__button--secondary:hover {
  background-color: #f5f9ff;
}

.feature-list,
.benefits-list {
  margin: 8px 0 0 0;
  padding-left: 20px;
}

.feature-list__item,
.benefits-list__item {
  margin-bottom: 8px;
  position: relative;
}

.feature-list__item::before {
  content: "•";
  color: #2a5885;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.service-card__quote {
  background-color: #f8fafd;
  border-left: 4px solid #2a5885;
  padding: 16px;
  margin: 24px 0;
  font-style: italic;
  color: #444;
}

.service-card__features p,
.service-card__features ul,
.service-card__features li {
  margin: 0;
}

.logistics-section {
  background-color: #f5f9ff;
  padding: 80px 0;
}

.logistics-section__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logistics-section__header {
  margin-bottom: 50px;
  text-align: center;
}

.logistics-section__title {
  color: #1a3e72;
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.logistics-section__subtitle {
  font-size: 20px;
  color: #2a5885;
  font-weight: 500;
}

.logistics-section__content {
  display: flex;
  gap: 60px;
}

.logistics-section__main {
  flex: 1;
}

.logistics-section__lead {
  line-height: 1.6;
  color: #333;
}

.stat-card {
  background: white;
  border-radius: 10px;
  padding: 5px 8px 10px 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  max-width: 350px;
  text-align: center;
}

.stat-card__value {
  font-size: 42px;
  font-weight: 700;
  color: #2a5885;
  margin-bottom: 10px;
}

.stat-card__label {
  font-size: 16px;
  color: #555;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.check-list__item {
  padding-left: 30px;
  margin-bottom: 12px;
  position: relative;
  font-size: 16px;
}

.check-list__item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232a5885'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.experience-title,
.partnership-title {
  color: #1a3e72;
  font-size: 24px;
  margin: 40px 0 20px 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0 30px;
}

.industry-card {
  background: white;
  border: 1px solid #e0e8f5;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  font-size: 15px;
  transition: all 0.3s ease;
}

.industry-card:hover {
  background: #2a5885;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logistics-section__quote {
  background: white;
  border-left: 4px solid #2a5885;
  padding: 25px;
  margin: 40px 0;
  font-style: italic;
  font-size: 18px;
  color: #333;
  position: relative;
}

.logistics-section__cta {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 280px;
}

.action-button {
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.action-button--primary {
  background-color: #2a5885;
  color: white;
  border: none;
}

.action-button--primary:hover {
  background-color: #1d456b;
  transform: translateY(-2px);
}

.action-button--secondary {
  background-color: white;
  color: #2a5885;
  border: 1px solid #2a5885;
}

.action-button--secondary:hover {
  background-color: #f0f5ff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .logistics-section__content {
      flex-direction: column;
  }

  .logistics-section__cta {
      width: 100%;
      flex-direction: row;
      flex-wrap: wrap;
  }

  .action-button {
      flex: 1 1 200px;
  }

  .industry-grid {
      grid-template-columns: 1fr 1fr;
  }
}

.archive-services {
  background: #f8fafc;
  padding: 60px 0;
  font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
}

.archive-services__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.archive-services__title {
  color: #1a3e72;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.archive-services__title:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #2a5885;
  margin: 15px auto 0;
}

.archive-services__content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.archive-services__text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.archive-services__text:last-child {
  margin-bottom: 0;
}

strong {
  color: #1a3e72;
  font-weight: 600;
}

@media (max-width: 768px) {
  .archive-services__title {
      font-size: 28px;
  }

  .archive-services__content {
      padding: 20px;
  }
}