body {
    padding-top: 68px; /* Высота вашей навигационной панели. Возможно, нужно будет немного подкорректировать. */
} 

/* Hero Section Background */
.hero-section { 
    background: url('https://www.mybusinesscatalog.com/images/2025/hero_back.webp') no-repeat center center/cover;
} 

/* Hero Video Button */
.hero-video-container { position: relative; cursor: pointer; }
.hero-video-container::after {
    content: '\F4F4';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    font-size: 5rem; 
    color: #ffffff; 
    text-shadow: 0 0 20px rgba(0,0,0,0.5); 
    transition: transform 0.2s ease-in-out; 
}
.hero-video-container:hover::after { transform: translate(-50%, -50%) scale(1.1); }
.hero-video-container img {
    width: 100%;
    height: auto;
    border-radius: 3px;
}
.hero-video-container iframe {
    width: 100%;
    height: auto;
    border-radius: 3px;
    border: none;
}
.language-flag { width: 30px; margin-right: 0.5rem; vertical-align: middle; }
@media (max-width: 576px) {	.language-flag { width: 20px; } }

@media (max-width: 576px) { 
	#index_top_slogan {
	/* margin-top: 0;*/
	}
}
/*
 * Стили для блока "Use Cases" с интерактивными вкладками
 */
.use-case-nav .nav-link {
    padding: 1rem;
    color: #6c757d; /* Вторичный цвет текста */
    border-left: 3px solid transparent;
    border-radius: 0;
    transition: all 0.2s ease-in-out;
}

.use-case-nav .nav-link.active,
.use-case-nav .nav-link:hover {
    color: var(--bs-primary); /* Основной синий цвет */
    background-color: #f8f9fa; /* Светло-серый фон */
    border-left-color: var(--bs-primary);
}

.use-case-nav .nav-link.active .text-muted,
.use-case-nav .nav-link:hover .text-muted {
    color: var(--bs-body-color) !important; /* Делаем подзаголовок темнее при наведении/активации */
}

.tab-content h3 {
    color: var(--bs-dark);
}

.tab-pane {
    transition: opacity 0.3s ease-in-out;
}



/* Step Number Styles */
.step-card .step-number { 
    position: absolute; 
    top: 0; 
    left: 0; 
    font-size: 4rem; 
    font-weight: 800; 
    color: var(--bs-gray-200); 
    padding: 0 10px; 
    z-index: 1; 
    line-height: 1; 
}
.step-card .card-body { z-index: 2; position: relative; }

/* Template Section Styles */
.template-card img { transition: transform 0.2s ease-in-out; }
.template-card:hover img { transform: scale(1.05); }
.template-card, .pricing-card, .step-card { transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
.template-card:hover, .pricing-card:hover, .step-card:hover { transform: translateY(-5px); box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15)!important; }

/* Why Desktop Section Styles */
.why-desktop .feature-card { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 1.5rem; 
    padding: 1rem; 
    border-left: 4px solid #0d6efd; 
}
.why-desktop .feature-card i { 
    font-size: 2rem; 
    color: #0d6efd; 
    margin-right: 1rem; 
    flex-shrink: 0; 
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}
.why-desktop .feature-card:hover i { 
    transform: scale(1.2); 
    color: #0a58ca; 
}

/* Client Logos Slider Styles */
.client-logo { max-height: 60px; max-width: 120px; object-fit: contain; vertical-align: middle; }
.swiper-slide { display: flex; align-items: center; justify-content: center; }
.client-section { padding: 2rem 0; background-color: #f8f9fa; overflow: hidden; }



/* Pricing Section Styles */
.pricing-card { border: 1px solid #dee2e6; border-radius: 0.375rem; padding: 1.5rem; text-align: center; }

/* Modal Video Centering */
.modal-video .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}
.modal-video .modal-content {
    margin: auto;
}


/* ================================================= */
/* Стили для нового блока отзывов ("Стена Любви") */
/* ================================================= */

.testimonials-section-reworked {
    overflow: hidden; /* Скрываем все, что выходит за пределы */
}

.testimonial-marquee-container {
    max-width: 1200px;
    margin: auto;
}

.testimonial-marquee {
    display: flex;
    gap: 1.5rem; /* Отступ между колонками */
}

.testimonial-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Отступ между карточками в колонке */
    flex-shrink: 0;
    width: 100%;
}

/* Анимация для десктопов */
@media (min-width: 768px) {
    .testimonial-column {
        width: calc(33.333% - 1rem);
        animation: marquee-up 30s linear infinite;
    }
    .testimonial-column:nth-child(2) {
        animation-duration: 40s; /* Другая скорость для динамики */
        animation-direction: reverse;
    }
     .testimonial-column:nth-child(3) {
        animation-duration: 35s; 
    }
}



/* Стили для самой карточки отзыва */
.testimonial-card {
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
    text-align: left; /* Выравнивание по левому краю! */
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Отступ между лого и текстом */
}

.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain; /* Чтобы логотипы не искажались */
    background-color: #ffffff;
    border: 1px solid #eee;
}

.testimonial-author h6 {
    font-size: 0.9rem;
    font-weight: 700;
}

.testimonial-author small {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .testimonial-marquee {
        flex-direction: column; /* Колонки встают друг под друга */
    }
    .testimonial-column {
        width: 100%;
        animation: none !important; /* Отключаем анимацию */
    }
}

.pricing-card {
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.pricing-card-popular {
    position: relative;
    transform: scale(1.05); /* Делаем популярную карточку чуть больше */
}
.pricing-card .card-header {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}
.card-price .h2 {
    color: var(--bs-dark);
}
.pricing-features li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.pricing-features i {
    color: var(--bs-primary);
}
.pricing-features .text-muted i {
    color: #adb5bd; /* Серый цвет для иконок "X" */
}
.badge.bg-primary-soft {
    color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), 0.15) !important;
}

.pricing-card {
    border: 1px solid #dee2e6; /* Стандартная рамка Bootstrap */
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.pricing-card-popular {
    /* Выделяем популярную карточку рамкой и масштабом */
    border-width: 2px !important; 
    transform: scale(1.03);
}

/* На мобильных убираем эффект увеличения, чтобы не ломать сетку */
@media (max-width: 991px) {
    .pricing-card-popular {
        transform: scale(1);
    }
}

.card-price .h2 {
    color: var(--bs-dark);
}

.pricing-features li {
    font-size: 0.9rem; /* Чуть уменьшил шрифт для компактности */
    margin-bottom: 0.5rem;
}

.pricing-features i {
    color: var(--bs-primary);
    position: relative;
    top: 2px; /* Легкая коррекция для идеального выравнивания иконки */
}

.pricing-features .text-muted i {
    color: #adb5bd; /* Серый цвет для иконок "X" */
}
.pricing-card-description {
    min-height: 4.5em; /* Резервирует место примерно для 3 строк текста */
}

/* =================================================================== */
/* Why Desktop Section Styles
/* =================================================================== */
.why-desktop-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1); /* Легкий фон основного цвета */
    color: var(--bs-primary); /* Основной цвет для иконки */
    margin-bottom: 1rem;
}

.why-desktop-icon .bi {
    font-size: 2rem; /* Размер иконки */
    line-height: 1;
}

/* 1. Делаем каждый слайд flex-контейнером */
.client-slider .swiper-slide {
    display: flex;
    justify-content: center; /* Центрируем по горизонтали */
    align-items: center;     /* Центрируем по вертикали */
    height: 80px;            /* Задаем общую высоту для всех слайдов, чуть больше логотипа */
}

/* 2. Стилизуем сам логотип (изображение) */
.client-slider .client-logo {
    height: 60px;     /* Ваша желаемая высота */
    width: auto;      /* Позволяем ширине изменяться пропорционально */
    max-width: 100%;  /* Гарантируем, что логотип не выйдет за пределы слайда */
    object-fit: contain; /* Дополнительная гарантия, что изображение впишется без искажений */
}

/*
========================================
  Supported Languages Grid
========================================
*/
.language-grid {
    display: grid;
    /* Создает колонки шириной не менее 150px, 
       автоматически заполняя доступное пространство */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem; /* Расстояние между элементами */
    max-width: 900px; /* Ограничивает максимальную ширину блока на больших экранах */
    margin-left: auto;
    margin-right: auto;
}

.language-item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    background-color: #f8f9fa; /* Цвет Bootstrap bg-light */
    border: 1px solid #dee2e6;  /* Цвет границ Bootstrap */
    color: #212529; /* Цвет текста по умолчанию */
    border-radius: 0.375rem; /* Скругление углов */
    text-align: left;
    white-space: nowrap; /* Предотвращает перенос текста на новую строку */
}

.language-item img {
    width: 20px;
    height: 15px;
    margin-right: 0.75rem; /* Отступ справа от флага */
    border-radius: 3px;
    flex-shrink: 0; /* Предотвращает сжатие иконки */
}
