/* Основные заголовки */
h1, h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    /*color: #212529;*/
}

/* Подзаголовки */
h3, h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
}

/* Аккордеон-заголовки */
.accordion-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}


/* Основные стили */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

.header {
    position: relative;
    z-index: 1000;
}

.logo {
    /*height: 60px;*/
    width: auto;
}

.navbar {
    padding: 15px 0;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
}

/* Кнопка наверх */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    transition: all 0.3s;
}

.scroll-top.show {
    opacity: 1;
}


/* Стили для главной страницы */
.hero-section {
    background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
    position: relative;
    overflow: hidden;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
}

.icon-box {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-card {
    transition: transform 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.work-step {
    background: white;
    border-radius: 10px;
    height: 100%;
    transition: transform 0.3s ease;
}

.work-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.grayscale:hover {
    filter: grayscale(0);
    opacity: 1;
}







/* Стили для страницы "О компании" */
.page-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.icon-box {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.team-member img {
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.achievement-item {
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}


.my-primary {
    background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
}

/* Стили для секции "О компании" */
.company-description {
    background-color: #f8f9fa;
}

.company-card {
    position: relative;
    overflow: hidden;
}

.company-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #0d6efd, #0dcaf0);
}

.company-content {
    line-height: 1.8;
    color: #495057;
}

.company-content h2,
.company-content h3,
.company-content h4 {
    color: #212529;
    font-weight: 600;
}

.mission-block {
    border-left: 3px solid #0d6efd;
}

.quote-block {
    background-color: rgba(13, 110, 253, 0.05);
    font-size: 1.1rem;
}

.highlight-block {
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

.principles-list {
    counter-reset: principle-counter;
}

.principles-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.8rem;
}

.principles-list .badge {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: normal;
}

.cta-block {
    border-top: 1px dashed #dee2e6;
}

@media (max-width: 767.98px) {
    .company-card {
        padding: 2rem !important;
    }

    .company-content {
        font-size: 0.95rem;
    }
}


/* Стили для страницы контактов */
.contact-info {
    position: relative;
    overflow: hidden;
}

.contact-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #0d6efd, #0dcaf0);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    position: relative;
    overflow: hidden;
}

.contact-form:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #198754, #20c997);
}

.map-container {
    border: 1px solid #dee2e6;
}

.office-card {
    transition: transform 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}



/* Стили для страницы учебного центра */
.training-hero {
    background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
    position: relative;
}

.hero-certificate {
    max-height: 180px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.license-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.license-box {
    border-left: 3px solid #0d6efd;
}

.training-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.advantage-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.training-gallery img {
    transition: transform 0.3s ease;
}

.training-gallery img:hover {
    transform: scale(1.03);
}

/* Адаптивность */
@media (max-width: 767.98px) {
    .training-hero {
        text-align: center;
        padding: 3rem 0;
    }

    .hero-certificate {
        margin-top: 2rem;
    }

    .advantages-list .d-flex {
        flex-direction: column;
    }

    .advantage-icon {
        margin-bottom: 1rem;
    }
}

/* Адаптивность */
@media (max-width: 767.98px) {
    .contact-info,
    .contact-form {
        padding: 2rem !important;
    }

    .map-container iframe {
        height: 300px;
    }
}



/* Адаптивность */
@media (max-width: 767.98px) {
    .page-header {
        padding: 1.5rem 0;
    }

    .team-member {
        margin-bottom: 1.5rem;
    }

    .achievement-item {
        margin-bottom: 1rem;
    }
}





/* Адаптивность */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 15px;
    }

    .nav-item {
        margin-bottom: 5px;
    }
}


/* Стили для страницы услуг */
.services-hero {
    background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
}

.accordion-button {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.accordion-body {
    padding: 1.5rem;
}

.accordion-body ul {
    padding-left: 0;
}

.accordion-body li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.accordion-body li:last-child {
    border-bottom: none;
}

/* Адаптивность */
@media (max-width: 767.98px) {
    .services-hero {
        padding: 2rem 0;
        text-align: center;
    }

    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }

    .accordion-body {
        padding: 1rem;
    }
}


/* Стили для страницы свидетельств */
.certificates-hero {
    background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
}

.certificate-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.certificate-img {
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #eee;
}

.certificate-img img {
    transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-img img {
    transform: scale(1.03);
}


/* Стили для страницы отзывов */
.reviews-hero {
    background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
}

.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.review-img {
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #eee;
}

.review-img img {
    transition: transform 0.3s ease;
}

.review-card:hover .review-img img {
    transform: scale(1.03);
}

.highlight-block {
    background-color: #1e5799;
    color: white;
    padding: 2rem;
}

.nav-link.active {
    color: #fff;
    position: relative;
    font-weight: 600;
}

/* Или альтернативный вариант с подчеркиванием */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #fff;
}

/* Для светлой темы навбара */
.navbar-light .nav-link.active {
    color: rgb(33, 33, 35);
}
.navbar-light .nav-link.active::after {
    background-color: rgb(0, 55, 255);
}

/* Стили для изображений на странице услуг */
.services-hero img {
    z-index: 0;
}

.object-fit-cover {
    object-fit: cover;
}

.accordion-item img {
    transition: transform 0.3s ease;
}

.accordion-item:hover img {
    transform: scale(1.03);
}


/* Стили для страницы услуги */
.service-hero {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.service-content img {
    transition: transform 0.3s ease;
}

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

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}






/* Адаптивность */
@media (max-width: 767.98px) {
    .service-hero .col-md-6:last-child {
        margin-top: 2rem;
    }

    .service-content .table-responsive {
        font-size: 0.9rem;
    }
}

/* Адаптивность */
@media (max-width: 767.98px) {
    .reviews-hero {
        padding: 2rem 0;
        text-align: center;
    }

    .review-card {
        margin-bottom: 1.5rem;
    }

    .highlight-block {
        text-align: center;
    }

    .highlight-block .btn {
        width: 100%;
    }
}

/* Адаптивность изображений */
@media (max-width: 767.98px) {
    .services-hero .col-lg-4 {
        text-align: center !important;
        margin-top: 1.5rem;
    }

    .accordion-body img.float-md-end {
        float: none !important;
        margin: 0 auto 1rem !important;
        display: block;
    }
}


/* Адаптивность */
@media (max-width: 767.98px) {
    .certificates-hero {
        padding: 2rem 0;
        text-align: center;
    }

    .certificate-card {
        margin-bottom: 1.5rem;
    }
}

/*Группа кнопок для меню категорий*/
/* Адаптивность */
@media (max-width: 1134px) {
    .menu-group-btn {
        display: none;
    }

}