body{
    overflow-x: hidden;
}
/* ======= ГЛАВНОЕ МЕНЮ ======= */
.navbar {
    padding: 15px 0;
    background-color: #ffffff; /* Фон можно поменять */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Тень под меню */
}

/* Логотип */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Кнопка мобильного меню */
.navbar-toggler {
    border: none;
    outline: none;
}

/* Меню */
.navbar-nav li {
    padding: 0 10px;
}

/* Ссылки в меню */
.navbar-nav li a {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    padding: 10px 15px;
    transition: all 0.3s ease;
    text-decoration:none;
}

/* При наведении */
.navbar-nav li a:hover {
    color: #007bff;
}

/* Активный пункт меню */
.navbar-nav .current-menu-item a {
    color: #007bff;
    font-weight: bold;
}

/* ======= МОБИЛЬНОЕ МЕНЮ ======= */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        padding-top: 10px;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-collapse {
        background: white;
        padding: 10px;
    }
}
.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Затемнение (можно отключить) */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.child-pages {
/*    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;*/
}

.child-page {
    text-align: center;
}

.child-page img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px auto;
}

.child-page a {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.child-page a:hover {
    color: #007bff;
}
.child-page:hover{
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    transition: all 0.5s;
}
.testimonials {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.testimonial-card:hover{
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    transition: all 0.5s;
}
.testimonial-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f8f9fa;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.testimonial-image {
    display: flex;
    justify-content: center;
    margin-top: -40px; /* Поднимаем фото над карточкой */
}

.testimonial-image img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

.blockquote {
    font-style: italic;
    color: #555;
}

.client-name {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

.client-position {
    font-size: 14px;
    color: #777;
}
/*partners*/
.partners {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.partner-item {
    text-align: center;
    padding:10px;
}

.partner-item img.partner-logo {
    width: 100%;
    max-height: 100px;
    object-fit: contain;
}
.partner-item p{
    font-size: 1.5rem;
    font-weight: 600;
}


@media (max-width: 768px) {
    .col-md-4 {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}


/* это  уже не важно так как до этого*/
.card {
    transition: 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.pagination a {
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #000;
}
.pagination a:hover {
    background: #007bff;
    color: white;
}
