.top-header {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #dee2e6;
}
ul, li { 
    list-style-type: none; 
}
.hero-section {
    margin-top: 15px;
}
.hero-text {
    padding-left: 0;
}
.org-name {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
}
.header-column {
    padding: 0 15px;
}
.header-title {
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 5px;
    padding-left: 0;
    margin-left: 0;
    color:#f9b000
}
.header-contact {
    margin-bottom: 5px;
}
.social-icon {
    margin-right: 10px;
    font-size: 20px;
}
.main-header {
    background-color: #606060;
    padding: 15px 0;
}
.nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0 10px;
    font-weight: 500;
}
.nav-link#home {
    padding-left: 0;
} 
.nav-link:hover {
    color: white;
}
@media (max-width: 768px) {
    .header-column {
        margin-bottom: 15px;
        text-align: center;
    }
    .org-name {
        font-size: 20px;
    }
}

.header {
    background-color: #606060;
    padding: 15px 0;
}
.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}
.logo:hover {
    color: #f8f9fa;
}
.contact-info {
    color: white;
    margin-right: 20px;
}
.social-links a {
    color: white;
    font-size: 24px;
    margin-left: 15px;
    transition: all 0.3s ease;
}
.social-links a:hover {
    transform: scale(1.1);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-nav {
    padding-left: 0;
}

.consult-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    border-radius: 50px;
    padding: 15px 25px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background-color: #f9b000;
    border: none;
    color: white;
    transition: all 0.3s ease;
}
.consult-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.modal-header {
    background-color: #606060;
    color: white;
    border-bottom: none;
}
.modal-footer {
    border-top: none;
}
.form-control:focus {
    border-color: #f9b000;
    box-shadow: 0 0 0 0.2rem rgba(97, 68, 0, 0.25);
}

.highlight-title {
    background: #F9B000;
    background: linear-gradient(90deg,rgba(249, 176, 0, 1) 66%, rgba(255, 255, 255, 1) 100%);
    color: black;
    display: inline-block;
    padding: 20px 200px 10px 20px;
    margin: 0 0 10px -20px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .highlight-title {
        padding: 15px 50px 10px 15px;
        margin-left: 0;
        clip-path: none;
    }
}
.hero-text {
    position: relative;
    z-index: 1;
}

.hero-text p {
    margin-bottom: 10px;
}

/* Стили для многоколоночного списка */
.multi-column-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 30px;
    margin: 20px 0;
    flex-grow: 1;
}

.list-item {
    padding: 8px 0;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.3;
}

.list-item:before {
    content: "•";
    color: #F9B000;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.bulb-img {
    max-width: 100%;
    width: 280px;
    height: auto;
    margin-top: 0;
    object-fit: contain;
}

/* Для планшетов (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .bulb-img {
        width: 180px; /* Уменьшаем размер для планшетов */
        margin: 20px auto;
        display: block;
    }

    /* Убедимся, что строки складываются правильно */
    .row.align-items-center {
        flex-direction: column;
    }

    .col-md-8 {
        width: 100%;
        order: 1; /* Текст сначала */
    }

    .col-md-4 {
        width: 100%;
        order: 2; /* Изображение после текста */
        text-align: center;
    }
}

/* Для мобильных устройств (меньше 768px) */
@media (max-width: 767px) {
    .bulb-img {
        width: 150px;
        margin: 30px auto;
        display: block;
    }
}

/* Для десктопов (больше 992px) */
@media (min-width: 992px) {
    .bulb-img {
        width: 280px;
        margin-left: auto;
        margin-right: 0;
    }

    .col-md-4 {
        display: flex;
        align-items: flex-start; /* Выравниваем по верху */
        justify-content: center;
    }
}

.services-container {
        margin: 0px 10px;
    }

@media (max-width: 992px) {
    .services-container {
        flex-direction: column;
    }

    .multi-column-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .multi-column-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlight-title {
        padding: 15px 20px;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .multi-column-list {
        grid-template-columns: 1fr;
    }
    .services-container {
        margin: 0px 20px;
    }
}

.ano {
    margin-bottom: 150px;
}

.hero-section .container {
    position: relative;
}

/* Стили для сетки услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки */
    gap: 30px; /* Расстояние между колонками */
    margin-top: 40px;
}

.service-column {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-list {
    padding-left: 20px;
    list-style-type: none;
}

.list-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.list-item:before {
    content: "•";
    color: #F9B000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Адаптация для планшетов */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 колонка */
    }
    
    .service-column {
        margin-bottom: 20px;
    }
}


/* help */
.services-grid-help {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки */
    gap: 30px; /* Расстояние между колонками */
    margin-top: 40px;
}
/* Адаптация для планшетов */
@media (max-width: 992px) {
    .services-grid-help {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .services-grid-help {
        grid-template-columns: 1fr; /* 1 колонка */
    }
    
    .service-column {
        margin-bottom: 20px;
    }
}


.help-h3{
    text-align: center;
}

.row.align-items-center {
    align-items: center !important;
}


.highlight-title {
    margin-top: 0;
    padding-top: 0;
}

:root {
    --primary-color: #F9B000;
    --secondary-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    background-color: #f5f5f5;
    font-family: 'Roboto', sans-serif;
}


.section-title {
    color: var(--secondary-color);
    margin-bottom: 50px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: none;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.expertise-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.expertise-card:hover:before {
    transform: scaleX(1);
}

.card-body {
    padding: 30px;
}

.card-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card-text {
    color: #666;
    line-height: 1.6;
}

/* Анимация при наведении */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.expertise-card:hover {
    animation: pulse 0.5s ease;
}

/* Модальное окно с подкатегориями */
.modal-subcategories .list-group-item {
    border-left: 3px solid var(--primary-color);
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

.modal-subcategories .list-group-item:hover {
    background-color: rgba(249, 176, 0, 0.1);
    padding-left: 20px;
}

.consultation-btn {
    background-color: rgb(249, 176, 0);
    border-color: rgb(249, 176, 0);
    color: white; /* Белый текст */
    font-weight: 600;
    transition: all 0.3s ease;
}

.consultation-btn:hover {
    background-color: rgb(230, 160, 0);
    border-color: rgb(230, 160, 0);
    color: white; /* Белый текст при наведении */
}

.consultation-btn:active,
.consultation-btn:focus {
    background-color: rgb(210, 150, 0);
    border-color: rgb(210, 150, 0);
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(249, 176, 0, 0.5);
}

/* Стили для страницы Документы */
.container_smol {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.doc-img-sm {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

.text {
    flex-grow: 1;
}

.bold-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: #343a40;
    margin-bottom: 15px;
    line-height: 1.4;
}

.normal-text {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.doc-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.doc-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.doc-img:hover {
    transform: scale(1.02);
}

/* Адаптивность */
@media (max-width: 768px) {
    .container_smol {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .doc-img-sm {
        width: 100px;
        height: 100px;
    }

    .doc-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bold-text {
        font-size: 1.1rem;
    }
}

/* Соответствие стилям главной страницы */
.hero-section {
    padding: 60px 0;
}

.section-title {
    color: #343a40;
    margin-bottom: 50px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #F9B000;
    margin: 15px auto 0;
}

/* Стили для страницы Партнёры */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки на всех устройствах */
    gap: 40px; /* Увеличиваем расстояние между карточками */
    margin-top: 40px;
    max-width: 1000px; /* Ограничиваем максимальную ширину */
    margin-left: auto;
    margin-right: auto;
}

.partner-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 280px; /* Немного увеличиваем высоту */
    display: flex;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.partner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 25px; /* Увеличиваем отступы */
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-img {
    transform: scale(1.05);
}

.partner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-overlay {
    transform: translateY(0);
}

.partner-name {
    font-weight: 600;
    font-size: 1.2rem; /* Увеличиваем размер шрифта */
    display: block;
    text-align: center;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partner-card {
    animation: fadeInUp 0.6s ease forwards;
}

.partner-card:nth-child(1) { animation-delay: 0.1s; }
.partner-card:nth-child(2) { animation-delay: 0.2s; }
.partner-card:nth-child(3) { animation-delay: 0.3s; }
.partner-card:nth-child(4) { animation-delay: 0.4s; }

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .partners-grid {
        gap: 30px;
    }

    .partner-card {
        height: 250px;
    }

    .partner-img {
        padding: 20px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
        gap: 25px;
        max-width: 400px;
    }

    .partner-card {
        height: 220px;
    }

    .partner-img {
        padding: 15px;
    }
}

/* Для очень маленьких мобильных */
@media (max-width: 480px) {
    .partners-grid {
        gap: 20px;
    }

    .partner-card {
        height: 200px;
    }

    .partner-name {
        font-size: 1.1rem;
    }
}

/* Соответствие стилям главной страницы */
.hero-section {
    padding: 60px 0;
}

.section-title {
    color: #343a40;
    margin-bottom: 50px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #F9B000;
    margin: 15px auto 0;
}
/* Стили для страницы О нас */
/* Стили для страницы О нас с 6 плашками */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки на десктопе */
    gap: 25px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.about-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 120px;
    width: 100%;
    max-width: 280px;
    display: flex;
    border: 3px solid #F9B000;
    cursor: pointer; /* Показываем, что элемент кликабельный */
}

.about-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(249, 176, 0, 0.2);
    background: linear-gradient(135deg, #F9B000 0%, #ffcc40 100%);
}

.about-card:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.about-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.about-name {
    font-weight: 700;
    font-size: 1.3rem;
    color: #343a40;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.about-card:hover .about-name {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки */
        max-width: 800px;
    }

    .about-card {
        height: 110px;
        max-width: 250px;
    }

    .about-name {
        font-size: 1.2rem;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr; /* 1 колонка */
        gap: 20px;
        max-width: 400px;
    }

    .about-card {
        height: 100px;
        max-width: 300px;
    }

    .about-name {
        font-size: 1.1rem;
    }
}


/* Соответствие стилям главной страницы */
.hero-section {
    padding: 60px 0;
}

.section-title {
    color: #343a40;
    margin-bottom: 50px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #F9B000;
    margin: 15px auto 0;
}

.max-img-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    vertical-align: -2px;
}

.content-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}