html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Применяем Poppins ко всем элементам */
html, body {
    font-family: 'Poppins', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Уточняем для элементов, которые могут наследоваться иначе */
h1, h2, h3, h4, h5, h6, .navbar-brand, .nav-link, .btn {
    font-family: 'Poppins', sans-serif;
}

.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;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Цвет кнопки из макета (темно-синий) */
.btn-contact {
    background-color: #0a0a3c; /* Подберите точный код под ваш бренд */
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

    .btn-contact:hover {
        background-color: #1a1a5c;
        color: white;
    }

/* Стилизация ссылок */
.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Убираем стандартную тень, если она не нужна */
.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* Эффект для ссылок в меню */
.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
    color: #333 !important; /* Базовый цвет */
}

    /* Изменение цвета при наведении */
    .navbar-nav .nav-link:hover {
        color: #0d6efd !important; /* Цвет при наведении (можно заменить на свой) */
    }

    /* Опционально: подчеркивание, которое "вырастает" из центра */
    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 5px;
        left: 50%;
        background-color: #0d6efd;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .navbar-nav .nav-link:hover::after {
        width: 70%; /* Линия подчеркивания появляется под текстом */
    }

/* Ховер для главной кнопки "Contact Us" */
.btn-contact {
    background-color: #0a0a3c;
    color: white;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .btn-contact:hover {
        background-color: #1a1a5c; /* Чуть светлее основной заливки */
        color: #ffffff;
        transform: translateY(-1px); /* Легкий эффект приподнимания */
        box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Усиление тени */
    }

    .btn-contact:active {
        transform: translateY(0); /* Возвращение на место при клике */
    }

.hero-section {
    /* Путь к вашему фото */
    background: linear-gradient(rgba(0, 0, 30, 0.6), rgba(0, 0, 30, 0.6)), url('/images/index_main.jpg') no-repeat center center;
    background-size: cover;
    min-height: 80vh; /* Высота блока — 80% видимой части экрана */
    position: relative;
    padding: 100px 0;
}

.hero-title {
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.hero-subtitle {
    max-width: 900px;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85) !important; /* Чуть ярче стандартного text-white-50 */
}

/* Убираем стандартные отступы контейнера, если нужно на весь экран */
main {
    padding-bottom: 0 !important;
}

.about-section {
    background-color: #ffffff;
    color: #1a1a1a; /* Глубокий темный цвет для текста */
}

.about-title {
    font-size: 1.75rem;
    line-height: 1.4;
    color: #000;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444; /* Чуть мягче основного черного для основного текста */
}

/* Эффект для картинки */
.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Закругление углов как на макете */
    border-radius: 20px !important;
    transition: transform 0.4s ease;
}

/* Небольшой интерактив: картинка чуть увеличивается при наведении */
.image-wrapper:hover img {
    transform: scale(1.02);
}

/* Адаптивность для мобильных */
@media (max-width: 991px) {
    .about-title {
        font-size: 1.5rem;
    }
}

.service-card {
    transition: transform 0.3s ease;
}

    /* Эффект при наведении на всю карточку */
    .service-card:hover {
        transform: translateY(-5px);
    }

/* Синий квадрат с номером */
.service-number {
    background-color: #0a0a3c; /* Тот же цвет, что у кнопки в хедере */
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: bold;
    font-size: 1.25rem;
    border-radius: 6px; /* Небольшое скругление */
}

.services-section h4 {
    color: #1a1a1a;
    min-height: 3rem; /* Чтобы заголовки разной длины не смещали текст */
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-section p {
    line-height: 1.6;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .service-number {
        width: 40px;
        height: 40px;
    }
}

.client-card {
    border: 1px solid #f0f0f0; /* Очень тонкая рамка */
    border-radius: 20px;
    background-color: #fff;
    transition: all 0.3s ease;
    text-align: left; /* Текст выровнен по левому краю внутри карточек */
}

    .client-card:hover {
        border-color: #0a0a3c;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transform: translateY(-5px);
    }

.client-icon-box {
    background-color: #0a0a3c;
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

    .client-icon-box i {
        font-size: 1.4rem;
    }

.client-card h5 {
    font-size: 1.1rem;
    text-transform: none; /* Убираем капс, если в HTML написали обычно, либо оставляем как в макете */
    letter-spacing: -0.5px;
}

.client-card p {
    line-height: 1.5;
    font-size: 0.9rem;
}

.workflow-section {
    /* Можно использовать градиент для глубины, как в макете */
    background: linear-gradient(145deg, #050529 0%, #0a0a3c 100%);
}

.workflow-description {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 500px;
}

.workflow-image-container img {
    border-radius: 30px !important;
    object-fit: cover;
}

/* Стили для цитаты */
.quote-text {
    line-height: 1.6;
    color: #e0e0e0;
}

.ls-wide {
    letter-spacing: 1.5px;
}

/* Кастомный стиль для футера цитаты (убираем стандартное тире Bootstrap) */
.blockquote-footer::before {
    content: "" !important;
}

.workflow-section hr {
    height: 1px;
    border: none;
    background-color: #fff;
}

.why-choose-us .row {
    align-items: flex-start; /* Прижимает обе колонки к верху */
}

.why-choose-us h2 {
    margin-top: 0 !important;
    line-height: 1.1;
}

/* Кружочки с цифрами */
.feature-number {
    width: 58px;
    height: 58px;
    border: 1px solid #0a0a3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #0a0a3c;
    /* Убираем любой возможный margin сверху, чтобы выровнять с H2 */
    margin-top: 0;
}

/* Настройка фото: чтобы оно не толкало текст, а шло сразу под ним */
.main-image-wrapper img {
    width: 100%;
    border-radius: 28px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Тонкая настройка: если заголовок визуально выше цифры 01, 
   добавь паддинг колонке с цифрами */
@media (min-width: 992px) {
    .col-lg-7 {
        padding-top: 10px;
    }
}

.blue-separator {
    width: 100%;
    height: 60px; /* Высота полоски как на скрине */
    background-color: #050529; /* Темно-синий основной цвет */
    margin: 0; /* Убираем отступы, чтобы прилегала плотно к секциям */
}

.example-card {
    border-radius: 12px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

    .example-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

/* Цвета карточек из макета */
.card-green {
    background-color: #6ed98d;
}

.card-blue {
    background-color: #4b44f2;
}

.card-red {
    background-color: #f2544b;
}

.illustration-box {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .illustration-box img {
        max-height: 100%;
    }

.learn-more-link {
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

    .learn-more-link:hover {
        opacity: 0.8;
    }

    .learn-more-link i {
        transition: transform 0.3s ease;
    }

    .learn-more-link:hover i {
        transform: translateX(5px);
    }

.faq-section {
    background-color: #f8f9fa; /* Легкий фон для контраста с карточками */
}

.faq-main-title {
    color: #0a0a3c;
}

.faq-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

    .faq-card:hover {
        border-color: rgba(0,0,0,0.05);
        transform: translateY(-2px);
    }

.faq-question {
    color: #333;
    font-size: 1rem;
}

.faq-icon {
    font-size: 1.2rem;
    color: #333;
}

.faq-card.active {
    background-color: #fff;
}

    .faq-card.active .faq-icon {
        color: #6ed98d; /* Тот самый зеленый из макета */
    }

.faq-answer p {
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq-question {
        font-size: 0.95rem;
    }
}

/* Убираем стандартные стили аккордеона Bootstrap */
.faq-card {
    border: none !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

    .faq-card .accordion-button {
        background-color: transparent !important;
        color: #0a0a3c !important;
        font-weight: 600;
        padding: 1.5rem;
        box-shadow: none !important;
        border: none;
    }

        /* Кастомная иконка плюс/минус */
        .faq-card .accordion-button::after {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a0a3c'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E") !important;
            background-size: 1.5rem;
            width: 1.5rem;
            height: 1.5rem;
        }

        .faq-card .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ed98d'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E") !important;
        }

    .faq-card .accordion-body {
        padding: 0 1.5rem 1.5rem;
        font-size: 0.95rem;
        line-height: 1.6;
    }

.faq-main-title {
    color: #050529;
    font-size: 2.25rem;
}

.contact-box {
    border: 1px solid #e0e0e0;
    border-radius: 4px; /* На макете углы почти острые */
    background-color: #fff;
}

.custom-input {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: #333;
}

    .custom-input:focus {
        border-color: #050529;
        box-shadow: none;
    }

.btn-send {
    background-color: #050529 !important;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .btn-send:hover {
        background-color: #0a0a3c !important;
        transform: translateY(-2px);
    }

.form-control::placeholder {
    color: #adb5bd;
}

/* Стили для валидации */
.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.cta-section {
    background: linear-gradient(rgba(5, 5, 41, 0.7), rgba(5, 5, 41, 0.7)), url('/images/index_cta.jpg'); /* Тот самый абстрактный синий фон */
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Создает легкий эффект параллакса */
    border-radius: 0;
    position: relative;
}

    .cta-section h2 {
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .cta-section .btn-light {
        color: #050529; /* Темно-синий цвет текста кнопки в тон фона */
        border: none;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }

        .cta-section .btn-light:hover {
            background-color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
        }

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section .btn-lg {
        width: 100%;
        padding: 15px;
    }
}

.headline-main {
    color: #fff;
    line-height: 1.2;
    letter-spacing: -1px;
    font-size: clamp(16px, 2vw, 30px);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.btn-start {
    background-color: #050529 !important;
    border: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

    .btn-start:hover {
        transform: translateY(-3px);
        background-color: #0a0a3c !important;
    }

/* Оформление картинки справа */
.main-image-wrapper-about img {
    width: 100%;
}


/* Адаптивность для мобильных */
@media (max-width: 991px) {
    .headline-main {
        font-size: 2.2rem;
    }

    .text-container {
        padding-right: 0 !important;
        text-align: center;
        margin-bottom: 30px;
    }

    .main-image-wrapper-about {
        height: 300px !important; /* Ограничиваем высоту на мобилке */
    }
}

.empower-section {
    background-color: #ffffff;
}

.empower-image-wrapper img {
    border-radius: 28px !important; /* Большое скругление из макета */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.empower-image-wrapper:hover img {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.empower-content h2.headline-text {
    color: #050529; /* Темно-синий, используемый в бренде */
    line-height: 1.2;
    letter-spacing: -1px;
}

.empower-paragraph {
    font-size: 1.05rem;
    line-height: 1.8; /* Увеличенный межстрочный интервал */
    color: #6c757d;
}

/* Адаптивность для мобильных */
@media (max-width: 991px) {
    .empower-content {
        text-align: center;
        padding-top: 20px;
    }

        .empower-content h2.headline-text {
            font-size: 2.2rem;
        }
}

.vendor-partner-section {
    min-height: 70vh; /* Секция на весь экран (опционально) */
    display: flex;
    align-items: center;
}

    /* Настройка заголовка */
    .vendor-partner-section h2.headline-main {
        line-height: 1.2;
        letter-spacing: -1px;
    }

    /* Настройка текста */
    .vendor-partner-section p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

/* Абсолютный фон для правой стороны */
.partner-image-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%; /* Занимает ровно половину ширины */
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

    /* Чтобы картинка не искажалась */
    .partner-image-background img {
        object-fit: cover;
        object-position: left center; /* Выравниваем по левому краю картинки */
        /* Добавляем легкое свечение/градиент на границе с текстом */
        mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%);
        -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%);
    }

/* Убеждаемся, что текст поверх фона */
.z-1 {
    z-index: 1;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 991px) {
    .vendor-partner-section {
        min-height: auto;
    }

    .partner-image-background {
        position: relative;
        width: 100%;
        height: 300px; /* Фиксированная высота для картинки на мобилке */
        order: 2; /* Картинка идет после текста */
    }

    .vendor-partner-section .col-lg-6:first-child {
        order: 1; /* Текст идет первым */
        text-align: center;
        padding-bottom: 30px;
    }

    .vendor-partner-section .pe-lg-5 {
        padding-right: 0 !important;
    }
}

.what-we-do-section {
    background-color: #fff;
}

.process-wrapper {
    padding: 20px 0;
}

/* Пунктирная линия между кругами */
.process-line {
    position: absolute;
    top: 50px; /* Половина высоты круга */
    left: 15%;
    right: 15%;
    height: 2px;
    border-top: 2px dashed #dee2e6;
    z-index: 0;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.process-item h5 {
    color: #0a0a3c;
}

/* Адаптивность для мобильных */
@media (max-width: 991px) {
    .process-item {
        margin-bottom: 40px;
    }

    .process-line {
        display: none;
    }
}

.why-choose-us h2 {
    color: #050529;
}

.laptop-img-wrapper img {
    width: 100%;
    /* Скругление как на макете */
    border-radius: 20px !important;
}

/* Стилизация номеров (фиолетовые круги) */
.feature-number-about {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border: 1px solid #6C6C8A;
    color: #060847; /* Яркий фиолетовый текст */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
/*    font-weight: bold;*/
    font-size: 1.1rem;
}

.feature-item h5 {
    color: #050529;
    font-size: 1.2rem;
}

.feature-item p {
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 991px) {
    .why-choose-us {
        text-align: center;
    }

    .feature-item {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }

    .feature-number {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }

    .laptop-img-wrapper {
        margin-bottom: 20px;
    }
}

/* Основная секция, которая должна быть position: relative */
.services-hero-section-dynamic {
    position: relative;
    width: 100%;
    min-height: 80vh; /* Минимальная высота секции, чтобы текст поместился на пустом месте */
    overflow: hidden;
    background-color: #F7F7F9; /* Или белый фон, как на макете */
}

/* Контейнер для PNG-картинки фона */
.hero-image-overlay-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Картинка на нижнем слое */
    display: flex;
    align-items: flex-end; /* Заставляем картинку прижаться к низу секции */
    justify-content: center;
}

    /* Сама картинка внутри фона */
    .hero-image-overlay-bg img {
        width: 100%;
        max-height: 100%; /* Картинка не должна быть выше секции */
        object-fit: contain; /* Картинка масштабируется, сохраняя пропорции, и прижимается к низу */
        object-position: center bottom;
    }

/* Контейнер для текста, который должен быть поверх */
.hero-content-overlay-text {
    width: 100%;
    position: relative;
    z-index: 10; /* Поднимаем текст над картинкой */
    /* Добавляем верхний отступ, чтобы текст не наезжал на самый верх секции */
    padding-top: 10vh !important;
}

    /* Стилизация заголовка и текста */
    .hero-content-overlay-text h1 {
        letter-spacing: -1px;
    }

/* Стили кнопки */
.btn-dark-blue {
    background-color: #0a0a3c !important;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .btn-dark-blue:hover {
        background-color: #1a1a5c !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }

/* Адаптивность для мобильных */
@media (max-width: 991px) {
    .services-hero-section-dynamic {
        min-height: auto; /* На мобилке пусть высота зависит от контента */
        padding-bottom: 50px; /* Добавим отступ снизу */
    }

    .hero-content-overlay-text {
        padding-top: 50px !important;
    }

    .hero-image-overlay-bg {
        position: relative; /* На мобилке пусть картинка идет после текста */
        height: auto;
        margin-top: 30px;
    }

        .hero-image-overlay-bg img {
            max-height: 300px; /* Ограничим высоту на телефоне */
        }
}

.pricing-card {
    transition: all 0.3s ease;
}

    .pricing-card:hover {
        transform: translateY(-5px);
    }

.ls-wide {
    letter-spacing: 1px;
}

.pricing-card ul li {
    font-size: 0.95rem;
    color: #4a4a4a;
}

.pricing-card .bi-check2 {
    font-size: 1.2rem;
}

/* Стили для кнопок-аутлайнов, чтобы они соответствовали бренду */
.btn-outline-primary {
    color: #4b44f2;
    border-color: #e9e8ff;
    background-color: #f0efff;
}

    .btn-outline-primary:hover {
        background-color: #4b44f2;
        border-color: #4b44f2;
        color: #fff;
    }

.cta-final-section {
    min-height: 400px;
    display: flex;
    align-items: center;
    background-color: #050529; /* Запасной цвет фона */
}

/* Контейнер для фонового изображения */
.cta-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Затемнение для лучшей читаемости текста */
    filter: brightness(0.7);
}

.cta-final-section h2 {
    letter-spacing: -1px;
}

/* Стили кнопки Contact Us */
.cta-button {
    color: #050529 !important;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 25px rgba(0,0,0,0.3);
        background-color: #f8f9fa !important;
    }

.z-1 {
    z-index: 1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cta-final-section h2 {
        font-size: 2.2rem;
    }
}

.text-dark-blue {
    color: #050529;
}

.who-we-work-with-section p {
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Обертка для изображения с кастомными скруглениями */
.image-mask-wrapper {
    position: relative;
    padding: 10px;
}

.custom-mask-img {
    width: 100%;
    /* Скругление углов как на макете */
    border-top-left-radius: 80px !important;
    border-bottom-right-radius: 80px !important;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

    .custom-mask-img:hover {
        transform: scale(1.02);
    }

/* Адаптивность */
@media (max-width: 991px) {
    .who-we-work-with-section {
        text-align: center;
    }

    .custom-mask-img {
        border-top-left-radius: 50px !important;
        border-bottom-right-radius: 50px !important;
        margin-top: 20px;
    }
}

.solve-problems-section {
    background: linear-gradient(180deg, #101050 0%, #050529 100%);
    /* Или просто однородный темно-синий из макета */
    background-color: #0d1282;
    position: relative;
    z-index: 1;
}

    .solve-problems-section h2 {
        letter-spacing: -1px;
    }

.icon-box {
    color: #fff;
    opacity: 0.9;
}

.solve-problems-section p {
    font-weight: 300;
}

/* Эффект при наведении на элемент (опционально) */
.solve-problems-section .col-md-6:hover .icon-box {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Разделительная линия снизу, как на макете */
.solve-problems-section .container::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-top: 80px;
}

.solve-problems-section {
    /* Темно-синий фон из макета */
    background-color: #0d1282;
    padding-top: 100px; /* Отступ, чтобы текст не наезжал на волну */
}

/* Контейнер для волны */
.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .wave-top svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 80px; /* Высота изгиба волны */
    }

    .wave-top .shape-fill {
        /* Цвет должен быть ТАКИМ ЖЕ, как фон секции ВЫШЕ (например, белый) */
        fill: #f8f9fa;
    }

/* Для мобильных устройств уменьшаем высоту волны */
@media (max-width: 768px) {
    .wave-top svg {
        height: 40px;
    }

    .solve-problems-section {
        padding-top: 60px;
    }
}

.z-2 {
    z-index: 2;
}

.text-dark-blue {
    color: #050529;
}

.work-process-section p {
    font-weight: 300;
}

/* Контейнер для изображения процесса */
.process-image-container {
    position: relative;
    z-index: 1;
}

.process-mask-img {
    width: 100%;
    /* Скругления: верхний правый и нижний левый — как на макете */
    border-top-right-radius: 80px !important;
    border-bottom-left-radius: 80px !important;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
}

    .process-mask-img:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    }

/* Адаптивность для мобильных */
@media (max-width: 991px) {
    .work-process-section {
        text-align: center;
    }

    .process-mask-img {
        border-top-right-radius: 50px !important;
        border-bottom-left-radius: 50px !important;
        margin-top: 20px;
    }

    /* Меняем порядок, чтобы на мобилке текст был сверху, а картинка снизу */
    .order-2 {
        order: 2;
    }

    .order-1 {
        order: 1;
    }
}

.workflow-timeline {
    position: relative;
    padding-left: 60px; /* Отступ для линии и номеров */
}

    /* Сама вертикальная линия */
    .workflow-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 24px;
        height: 90%;
        width: 2px;
        background-color: #060847; /* Светлая линия */
        z-index: 1;
    }

.timeline-item {
    position: relative;
    margin-bottom: 40px; /* Расстояние между этапами */
}

/* Круг с номером */
.timeline-number {
    position: absolute;
    left: -60px;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: #0a0a3c; /* Темно-синий из макета */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
}

.timeline-content {
    padding-top: 10px;
}

    .timeline-content h4 {
        color: #0a0a3c;
        margin-bottom: 10px;
    }

    .timeline-content p {
        font-size: 1.05rem;
        line-height: 1.6;
    }

/* Убираем лишний хвост линии у последнего элемента */
.timeline-item:last-child {
    margin-bottom: 0;
}

/* Адаптивность для мобильных */
@media (max-width: 576px) {
    .workflow-timeline {
        padding-left: 50px;
    }

        .workflow-timeline::before {
            left: 20px;
        }

    .timeline-number {
        left: -50px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Глубокий темно-синий цвет как на макете */
.bg-dark-navy {
    background-color: #050529;
}

.cta-content-wrapper {
    max-width: 500px;
}

    .cta-content-wrapper h2 {
        letter-spacing: -1px;
        line-height: 1.2;
    }

/* Стили кнопки */
.start-project-btn {
    color: #050529 !important;
    border: none;
    transition: all 0.3s ease;
}

    .start-project-btn:hover {
        background-color: #ffffff !important;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

/* Обеспечиваем заполнение картинкой всей высоты колонки */
.object-fit-cover {
    object-fit: cover;
}

/* Адаптивность */
@media (max-width: 991px) {
    .cta-image-wrapper {
        height: 350px; /* Фиксированная высота картинки на мобилках */
    }

    .cta-content-wrapper {
        text-align: center;
    }
}

/* Основные стили для секции с одной картинкой */
.case-studies-section-single {
    background-color: #F2F6FF; /* Светлый фон из макета */
}

    /* Стилизация заголовка и текста */
    .case-studies-section-single .headline-text {
        color: #0a0a3c;
        letter-spacing: -1px;
        line-height: 1.2;
    }

    .case-studies-section-single .description-text {
        font-weight: 300;
    }

/* Стили большой картинки слева */
.single-image-wrapper {
    position: relative;
    z-index: 1;
}

.custom-rounded-img {
    width: 100%;
    /* Очень сильное скругление углов, как на макете image_bac947.png */
    border-radius: 40px !important;
    transition: transform 0.4s ease;
}

/* Эффект при наведении на картинку (опционально) */
.single-image-wrapper:hover .custom-rounded-img {
    transform: scale(1.03);
}

/* Стили кнопки */
.btn-dark-navy {
    background-color: #050529;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

    .btn-dark-navy:hover {
        background-color: #0a0a3c;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

/* Адаптивность для мобильных */
@media (max-width: 991px) {
    .case-studies-section-single {
        text-align: center;
    }

    .single-image-wrapper {
        margin-bottom: 30px;
    }

    .custom-rounded-img {
        border-radius: 20px !important; /* На мобилке меньше скругление */
    }
}

.portfolio-solutions h2 {
    color: #050529;
    font-size: 2.25rem;
    letter-spacing: -0.5px;
}

.solution-image-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Закругление как на макете */
    border-radius: 24px !important;
}

/* Кнопка в стиле APEXLOGIC */
.btn-dark-navy {
    background-color: #050529;
    color: #ffffff;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-dark-navy:hover {
        background-color: #0a0a3c;
        color: #ffffff;
        transform: translateY(-2px);
    }

/* Эффект для карточек с изображениями */
.solution-image-card {
    transition: transform 0.4s ease;
}

    .solution-image-card:hover {
        transform: scale(1.02);
    }

/* Адаптивность для мобильных устройств */
@media (max-width: 991px) {
    .portfolio-solutions .row {
        text-align: center;
        margin-bottom: 4rem !important;
    }

    .portfolio-solutions h2 {
        font-size: 1.8rem;
    }
}

/* Основные цвета */
.bg-navy-accent {
    background-color: #1a2d37;
}
/* Тот самый темно-синий из макета */
.text-navy {
    color: #050529;
}

.text-accent {
    color: #1a2d37;
}

/* Карточка */
.contact-container {
    min-height: 700px;
}

/* Инпуты как на макете (только нижняя граница) */
.border-bottom-only {
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding-left: 0;
    background-color: transparent !important;
}

    .border-bottom-only:focus {
        box-shadow: none;
        border-bottom-color: #1a2d37;
    }

.btn-navy {
    background-color: #050529;
    color: white;
    border-radius: 4px;
    transition: 0.3s;
}

/* Основные стили секции */
.bg-navy-accent {
    background-color: #1a2d37;
    transition: all 0.3s ease;
}

.absolute-map-container {
    position: absolute;
    top: 120px;
    bottom: 120px;
    right: 10%;
    width: 450px;
    z-index: 10;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #fff;
    display: block; /* По умолчанию видна */
}

/* Логика для 1200px (Bootstrap XL breakpoint) */
@media (max-width: 1199.98px) {
    /* Скрываем карту */
    .absolute-map-container {
        display: none !important;
    }

    /* Скрываем синий прямоугольник справа, чтобы белая часть стала на весь экран */
    .col-lg-4.bg-navy-accent {
        display: none !important;
    }

    /* Растягиваем левую колонку на всю ширину */
    .col-lg-8 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Дополнительно: можно отцентрировать контент для красоты на планшетах */
    .form-wrapper {
        max-width: 700px;
        margin: 0 auto;
    }
}

/* Стили полей (оставляем ваши) */
.border-bottom-only {
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding-left: 0;
    background-color: transparent !important;
}

.btn-navy {
    background-color: #050529;
    color: white;
}

.policy-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-title {
    text-align: center;
    text-transform: uppercase;
    color: #050529;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
}

.meta-info {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

h2 {
    color: #050529;
    font-size: 20px;
    margin-top: 30px;
}

p, li {
    text-align: justify;
}

ul {
    margin-bottom: 20px;
}

.contact-info {
    margin-top: 40px;
    padding: 20px;
    background-color: #f0f2f5;
    border-radius: 4px;
}

strong {
    color: #111;
}

.site-footer {
    background-color: #ffffff;
    padding: 40px 0 20px;
    font-family: 'Inter', -apple-system, sans-serif;
    border-top: 1px solid #f0f0f0;
}

.footer-logo-row {
    margin-bottom: 20px;
}

.f-logo {
    height: 100px;
    display: block;
}

.f-divider {
    border: 0;
    border-top: 1px solid #eeeeee;
    margin: 20px 0;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
}

.f-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .f-nav li {
        margin-bottom: 10px;
    }

    .f-nav a {
        color: #1a2b4b; /* Темно-синий из макета */
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
    }

.f-title {
    font-size: 16px;
    font-weight: 700;
    color: #0d1c2e;
    margin-bottom: 15px;
}

.f-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
}

    .f-contact-item a {
        color: #007bff;
        text-decoration: none;
    }

.footer-bottom {
    text-align: center;
    padding-top: 15px;
}

    .footer-bottom p {
        font-size: 12px;
        color: #999;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 30px;
    }

    .f-logo {
        margin: 0 auto;
    }
}

/* Убираем ограничения контейнера для лого */
.navbar-logo-link {
    padding: 0;
    margin-right: 2rem;
    display: flex;
    align-items: center;
}

/* Настройка самого логотипа */
.main-logo {
    height: 100px; /* Установи нужную высоту, например 80 или 100 */
    width: auto;
    object-fit: contain;
    /* Отрицательный маржин позволяет логотипу игнорировать падинги нава */
    margin-top: -10px;
    margin-bottom: -10px;
    transition: transform 0.3s ease;
}

    .main-logo:hover {
        transform: scale(1.05);
    }

/* Стили навигации */
/*.nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 15px;
    padding: 0 15px !important;
}*/

/*    .nav-link:hover {
        color: #1a3a5f !important;
    }
*/
/* Кнопка */
.btn-contact {
    background-color: #0d1c2e;
    color: white !important;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 4px;
    transition: all 0.3s;
}

    .btn-contact:hover {
        background-color: #1a3a5f;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

/* Адаптация под мобилки */
@media (max-width: 991px) {
    .main-logo {
        height: 50px; /* На мобильных чуть меньше, чтобы не перекрывать всё */
        margin: 5px 0;
    }

    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }

    .d-flex {
        justify-content: center;
    }
}

/* Стили для полей ввода */
.custom-input {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
}

    .custom-input::placeholder {
        color: #b0b0b0;
    }

    .custom-input:focus {
        border-color: #0d1c2e;
        box-shadow: none;
        outline: none;
    }

/* Стили для кнопки SEND */
.btn-send {
    background-color: #050a2e; /* Очень темный синий как на скрине */
    color: white;
    border: none;
    border-radius: 6px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

    .btn-send:hover {
        background-color: #0d1c2e;
        color: white;
    }

/* Центрирование заголовка */
#contactModal .modal-body h2 {
    font-size: 32px;
}

/* Опционально: эффект блюра для заднего фона при открытии */
.modal-backdrop.show {
    opacity: 0.5;
    backdrop-filter: blur(4px);
}

/* Выравнивание текста ошибок под инпутами */
.invalid-feedback {
    font-size: 12px;
    margin-top: 4px;
    margin-left: 2px;
}

/* Стиль инпутов при ошибке (красная рамка) */
.was-validated .form-control:invalid {
    border-color: #dc3545;
    background-image: none; /* Убираем стандартную иконку Bootstrap, если она мешает */
}

/* Стиль инпутов при успехе (зеленая рамка - по желанию) */
.was-validated .form-control:valid {
    border-color: #198754;
}

/* Убираем синюю тень Bootstrap при фокусе, если есть ошибка */
.form-control.is-invalid:focus, .was-validated .form-control:invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.1);
}

.navbar-nav .nav-link {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 40px; /* Должно совпадать с высотой кнопки или логотипа */
    display: flex;
    align-items: center;
}

.background-light-blue {
    background: #E3F0FF;
}