@import url("https://fonts.googleapis.com/css2?family=Arimo:wght@400;700&family=Open+Sans&display=swap");

/*===========================
    01. COMMON CSS 
===========================*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Arimo', sans-serif;
  font-weight: normal;
  font-style: normal;
  color: #5B657E;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

a:focus,
input:focus,
textarea:focus,
button:focus,
.btn:focus,
.btn.focus,
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
  text-decoration: none;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

a:hover {
  color: #5864FF;
}

a {
  -webkit-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

a,
a:focus,
a:hover {
  text-decoration: none;
}

i,
span,
a {
  display: inline-block;
}

img,
svg {
  vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Arimo', sans-serif;
  font-weight: 700;
  margin: 0px;
  color: #162447;
}

.section-title p {
  font-size: 18px;
  line-height: 28px;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
}

h1 { font-size: 45px; }
h2 { font-size: 30px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

ul, ol {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

p {
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  margin: 0px;
  font-family: "Open Sans", sans-serif;
}

.img-bg {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/*====== SCROLL TO TOP ======*/
.scroll-top {
  width: 45px;
  height: 45px;
  background: #5864FF;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #fff;
  border-radius: 5px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9;
  cursor: pointer;
  transition: all 0.3s ease-out 0s;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.scroll-top:hover {
  color: #fff;
  background: rgba(88, 100, 255, 0.8);
}

/*===== PRELOADER =====*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  display: table;
  height: 100%;
  width: 100%;
  background: #fff;
  z-index: 99999;
}
.preloader .loader {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

/*===== NAVBAR =====*/
.navbar-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  transition: all 0.3s ease-out 0s;
}

.sticky {
  position: fixed;
  z-index: 99;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-out 0s;
}

.sticky .navbar {
  padding: 20px 0;
  margin-top: -10px;
  margin-bottom: -10px;
}

.sticky .navbar .navbar-nav .nav-item a {
  color: #162447;
}

.navbar {
  padding: 20px 0;
  border-radius: 5px;
  position: relative;
  transition: all 0.3s ease-out 0s;
}

.navbar-brand img {
  max-width: 180px;
}

.navbar-toggler {
  padding: 0;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler .toggler-icon {
  width: 30px;
  height: 2px;
  background-color: #fff;
  display: block;
  margin: 5px 0;
  position: relative;
  transition: all 0.3s ease-out 0s;
}

.navbar-toggler.active .toggler-icon:nth-of-type(1) {
  transform: rotate(45deg);
  top: 7px;
}
.navbar-toggler.active .toggler-icon:nth-of-type(2) {
  opacity: 0;
}
.navbar-toggler.active .toggler-icon:nth-of-type(3) {
  transform: rotate(135deg);
  top: -7px;
}

@media (max-width: 991px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 9;
    box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.1);
  }
  .navbar-nav {
    padding: 20px 30px;
  }
}

.navbar-nav .nav-item {
  position: relative;
  margin-left: 40px;
}

@media (max-width: 991px) {
  .navbar-nav .nav-item {
    margin-left: 0px;
  }
}

.navbar-nav .nav-item a {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  transition: all 0.3s ease-out 0s;
  padding: 10px 0;
  position: relative;
  z-index: 1;
}

.navbar-nav .nav-item a::before {
  content: "";
  position: absolute;
  height: 5px;
  width: 0;
  border-radius: 16px;
  background: #fdd446;
  bottom: 15px;
  left: 0;
  z-index: -1;
  transition: all 0.3s ease-out 0s;
}

@media (max-width: 991px) {
  .navbar-nav .nav-item a {
    display: inline-block;
    padding: 6px 0px;
    color: #162447;
  }
  .navbar-nav .nav-item a::before {
    bottom: 0;
  }
}

.navbar-nav .nav-item a:hover::before, 
.navbar-nav .nav-item a.active::before {
  width: 100%;
}


/* ====== HERO SECTION ===== */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 50px 0 80px;
  background-image: url("../img/hero/hero-bg.svg");
  background-position: top center;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 150px;
  }
}

.hero-section .hero-content h1 {
  font-size: 60px;
  margin-bottom: 35px;
  color: #fff;
}

@media (max-width: 991px) {
  .hero-section .hero-content h1 { font-size: 42px; }
  .hero-section .hero-img { padding-top: 50px; padding-bottom: 50px; }
  .hero-section .hero-img img { width: 100%; }
}


/* ====== FEATURE & BOX STYLES ====== */
.feature-section .single-feature {
  text-align: center;
  padding: 30px 10px;
}

.feature-section .single-feature .icon, 
.single-feature-extended .icon {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(88, 100, 255, 0.1);
  color: #5864FF;
  margin: auto;
  margin-bottom: 30px;
  font-size: 65px;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.single-feature-extended .icon i {
  font-size: 42px !important; 
  line-height: 1 !important;
}

.single-feature .feature-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 60px !important; 
  margin-bottom: 15px !important;
}

.single-feature .feature-icon i {
  font-size: 36px !important; 
  line-height: 1 !important;
}

.feature-extended-wrapper {
  padding: 70px 0;
  background: rgba(88, 100, 255, 0.1);
}

.single-feature-extended {
  padding: 30px;
}

/* ===== ABOUT CSS ====== */
.about-section {
  position: relative;
  z-index: 1;
}

.about-section .about-img {
  position: relative;
  z-index: 1;
  padding: 20px 0;
}

@media (max-width: 991px) {
  .about-section .about-img { margin-bottom: 70px; }
}

.about-section .about-img .shape {
  position: absolute;
  z-index: -1;
}

#about {
    padding-bottom: 80px !important;
}

/* Делаем фон единым для всей секции и уменьшаем гигантский отступ 100px */
#why {
    padding-top: 90px !important;
    background: rgba(88, 100, 255, 0.05) !important; /* Легкий фиолетово-синий оттенок */
}

/* Убираем дублирующийся фон и отступы у внутреннего контейнера */
.feature-extended-wrapper {
    padding: 0 !important;
    background: transparent !important;
}

/* Возвращаем позицию синей кляксы (shape-1) */
.about-section .about-img .shape.shape-1 {
  top: 50%;
  transform: translateY(-50%);
  left: -70px;
}
@media (max-width: 1199px) { .about-section .about-img .shape.shape-1 { width: 80%; } }
@media (max-width: 767px) { .about-section .about-img .shape.shape-1 { width: 70%; left: -20px; } }

/* Возвращаем позицию точек (shape-2) */
.about-section .about-img .shape.shape-2 {
  bottom: 0;
  right: 50px;
}
@media (max-width: 1199px) { .about-section .about-img .shape.shape-2 { width: 75%; } }
@media (max-width: 991px) { .about-section .about-img .shape.shape-2 { right: 120px; } }
@media (max-width: 767px) { .about-section .about-img .shape.shape-2 { bottom: 30px; right: 20px; } }


/* ======= FOOTER CSS ======= */
.footer {
  background-image: url("../img/footer/footer-bg.svg");
  background-size: cover;
  background-position: top right;
  padding-top: 200px;
  margin-top: -20px;
}

@media (max-width: 991px) {
  .footer { padding-top: 250px; }
}
@media (max-width: 767px) {
  .footer { padding-top: 120px; background: #5864FF; }
}

.footer .widget-wrapper .footer-widget {
  margin-bottom: 40px;
}

.footer .widget-wrapper .footer-widget .socials {
  display: flex;
  align-items: center;
}

.footer .widget-wrapper .footer-widget .socials li {
  margin-right: 20px;
}

.footer .widget-wrapper .footer-widget .socials li a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer .widget-wrapper .footer-widget .socials li a:hover {
  color: #5864FF;
  background: #fff;
}

.footer .widget-wrapper .footer-widget h3 {
  margin-bottom: 25px;
  color: #fff;
}

.footer .widget-wrapper .footer-widget ul.links li {
  font-size: 18px;
  line-height: 34px;
}

.footer .widget-wrapper .footer-widget ul.links li a {
  color: #fff;
}

.footer .widget-wrapper .footer-widget ul.links li a:hover {
  padding-left: 8px;
}

/* --- МОБИЛЬНАЯ АДАПТАЦИЯ (OVERRIDE) --- */
    @media (max-width: 991px) {
        /* 1. Убираем гигантский отступ сверху */
        .hero-section {
            padding-top: 130px !important; 
            padding-bottom: 20px !important;
        }

        /* 2. Делаем шапку прозрачной, чтобы синий фон доходил до самого верха */
        .navbar-area {
            background-color: transparent !important;
            box-shadow: none !important;
        }

        /* 3. Когда начинаем скроллить вниз - возвращаем белую шапку */
        .navbar-area.sticky {
            background-color: rgba(255, 255, 255, 0.95) !important;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
        }

        /* 4. Делаем выпадающее мобильное меню читаемым (на белом фоне) */
        .navbar-collapse {
            background-color: white;
            border-radius: 8px;
            padding: 15px;
            margin-top: 10px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }
 body {
        overflow-x: hidden;
    }

    @media (min-width: 992px) {
            .hero-dashboard-img {
                width: 50%;          /* Увеличиваем ширину (и высоту пропорционально) */
                max-width: 50%;      /* Игнорируем ограничения колонок */
                transform: translateY(20px); /* Слегка опускаем вниз для баланса с текстом */
            }
        }

    /* 3. ТЕЛЕФОНЫ: Оставляем 100%, чтобы картинка аккуратно вписалась в экран */
    @media (max-width: 991px) {
        .hero-dashboard-img {
            width: 100%;
            max-width: 100%;
        }
    }
        .navbar-expand-lg .navbar-nav .lang-item a::before,
    .navbar-expand-lg .navbar-nav .lang-item a::after {
        display: none !important; 
    }

    /* 2. Общие стили для переключателя */
    .lang-item a {
        position: relative;
        padding: 5px 2px !important;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .lang-separator {
        color: #a0a0a0 !important; /* Серый цвет, хорошо виден и на белом, und auf Blau */
        font-weight: 300;
    }

    .lang-item a .underline {
        position: absolute;
        bottom: 0px; 
        left: 0;
        width: 0%;
        height: 2px;
        background-color: #fbd01e; 
        transition: width 0.3s ease;
    }

    .lang-item a:hover .underline,
    .lang-item a.active .underline {
        width: 100%;
    }

    /* ============================================== */
    /* МАГИЯ АДАПТИВНОСТИ: МОБИЛЬНАЯ ВЕРСИЯ (< 992px) */
    /* ============================================== */
    @media (max-width: 991px) {
        .navbar-nav .lang-item {
            padding: 10px 0; /* Выравниваем по высоте с остальными пунктами меню */
        }
        .lang-item a {
            color: #4b5563 !important; /* Темно-серый текст для белого фона */
            font-size: 16px;
        }
        .lang-item a.active {
            color: #00e5ff !important; /* Наш фирменный циан */
        }
    }

    /* ============================================== */
    /* МАГИЯ АДАПТИВНОСТИ: ДЕСКТОП (>= 992px)         */
    /* ============================================== */
    @media (min-width: 992px) {
        .navbar-nav .lang-item {
            margin-left: 20px; /* Отступ от других пунктов */
        }
        .lang-item a {
            color: rgba(255, 255, 255, 0.7) !important; /* Белый полупрозрачный текст для синего фона */
        }
        .lang-item a:hover {
            color: #ffffff !important;
        }
        .lang-item a.active {
            color: #00e5ff !important; 
        }
    }
    }
@media (max-width: 767px) {
    /* 1. Уменьшаем главный заголовок "LIMS, LES & eQMS" */
    .hero-content h1:first-of-type {
        font-size: 2.8rem !important; 
        line-height: 1.1 !important;
        margin-bottom: 10px !important;
    }

    /* 2. Уменьшаем подзаголовок "Compliance-by-Design" */
    .hero-content h1:nth-of-type(2) {
        font-size: 1.6rem !important;
        margin-top: 0 !important; 
        margin-bottom: 20px !important;
    }

    /* 3. Делаем абзац чуть компактнее */
    .hero-content p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 30px !important;
    }

    /* 4. Кнопка: уменьшаем отступы, чтобы она гарантированно влезла */
    .hero-content a {
        padding: 12px 25px !important;
        font-size: 14px !important;
        display: block !important; /* Делаем кнопку во всю ширину для удобства пальца */
        text-align: center;
    }
}

.navbar-area.sticky .navbar-toggler .toggler-icon {
    background-color: #162447 !important; /* Темно-синий цвет, как у текста */
}



/* 1. Общее выравнивание текста по левому краю */
.single-feature,
.single-feature-extended {
    text-align: left !important;
}

/* --- 2. Блок "Vorteile / Benefits" (Круглые иконки) --- */
.feature-section .single-feature-extended .icon,
.single-feature-extended .icon {
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 20px !important;
      justify-content: center !important;
}

.single-feature-extended .icon i {
    font-size: 32px !important;
}

/* --- 3. Блок "Funktionen / Features" (Иконки без круга) --- */
.single-feature .feature-icon {
    justify-content: center !important;
    margin-bottom: 15px !important;
}

.single-feature .feature-icon i {
    font-size: 30px !important;
    color: #5864FF;
}
/* ========================================= */
/* UTILITY CLASSES (Margins & Paddings)      */
/* ========================================= */
.mt-5 { margin-top: 5px; }
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mt-25 { margin-top: 25px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-60 { margin-top: 60px; }
.mt-70 { margin-top: 70px; }
.mt-80 { margin-top: 80px; }
.mt-90 { margin-top: 90px; }
.mt-100 { margin-top: 100px; }
.mb-5 { margin-bottom: 5px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.mb-100 { margin-bottom: 100px; }

.pt-5 { padding-top: 5px; }
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pt-40 { padding-top: 40px; }
.pt-50 { padding-top: 50px; }
.pt-60 { padding-top: 60px; }
.pt-80 { padding-top: 80px; }
.pt-90 { padding-top: 90px; }
.pt-100 { padding-top: 100px; }
.pb-5 { padding-bottom: 5px; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }
.pb-40 { padding-bottom: 40px; }
.pb-50 { padding-bottom: 50px; }
.pb-60 { padding-bottom: 60px; }