/* style.css */

/* Общие стили */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* Навигация */
.randomNavBrand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.randomNavLink,
.randomNavLink2,
.randomNavLink3,
.randomNavLink4,
.randomNavLink5 {
    margin-left: 15px;
    transition: color 0.3s ease;
}

.randomNavLink:hover,
.randomNavLink2:hover,
.randomNavLink3:hover,
.randomNavLink4:hover,
.randomNavLink5:hover {
    color: #05578c !important;
}

/* Hero секция */
.randomHeader {
    background: url("../img/5.webp") no-repeat center center;
    background-size: cover;
    position: relative;
}

.randomHeader.py-5 {
    padding: 15rem 0 !important;
}

.randomHeader::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(5 87 140 / 60%);
}

.randomHeader .container {
    position: relative;
    z-index: 1;
}

.randomHeader h1 {
    font-size: 3rem;
    font-weight: 700;
}

.randomHeader p {
    font-size: 1.25rem;
    margin-top: 20px;
}

.randomHeroButton {
    margin-top: 30px;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 50px;
}

/* Секции */
.randomSection1,
.randomSection2,
.randomSection3,
.randomSection4,
.randomSection5,
.randomServicesSection,
.randomPrivacySection,
.randomCookiesSection,
.randomConfirmationSection {
    padding: 60px 0;
}

.randomCookiesSection {
    min-height: 100vh;
}

.randomSection1 h2,
.randomSection2 h2,
.randomSection3 h2,
.randomSection4 h2,
.randomSection5 h2,
.randomServicesSection h2,
.randomPrivacySection h2,
.randomCookiesSection h2,
.randomConfirmationSection h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.randomSection1 h2::after,
.randomSection2 h2::after,
.randomSection4 h2::after,
.randomServicesSection h2::after,
.randomPrivacySection h2::after,
.randomCookiesSection h2::after,
.randomConfirmationSection h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #05578c;
    margin-top: 10px;
}

/* Фон для альтернативных секций */
.randomSection2,
.randomSection4,
.randomCookiesSection {
    background-color: #ffffff;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Изображения */
.randomImage1,
.randomImage2,
.randomImage3,
.randomServiceImage,
.randomImage4 {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.randomImage1:hover,
.randomImage2:hover,
.randomImage3:hover,
.randomServiceImage:hover,
.randomImage4:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Отзывы клиентов */
.randomSection3 p {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Форма Контактов */
.randomForm {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.randomForm .form-label {
    font-weight: 600;
}

.randomInput1,
.randomInput2,
.randomInput3 {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
    transition: border-color 0.3s ease;
}

.randomInput1:focus,
.randomInput2:focus,
.randomInput3:focus {
    border-color: #05578c;
    box-shadow: none;
}

.randomSubmitButton {
    background-color: #05578c;
    border: none;
    transition: background-color 0.3s ease;
}

.randomSubmitButton:hover {
    background-color: #0b5ed7;
}

/* Футер */
.randomFooter,
.randomFooter2,
.randomFooter3,
.randomFooter4,
.randomFooter5 {
    background-color: #343a40;
}

.randomFooter p,
.randomFooter2 p,
.randomFooter3 p,
.randomFooter4 p,
.randomFooter5 p {
    margin: 0;
}

.randomFooterLink,
.randomFooterLink2,
.randomFooterLink3,
.randomFooterLink4,
.randomFooterLink5 {
    color: #ffffff;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.randomFooterLink:hover,
.randomFooterLink2:hover,
.randomFooterLink3:hover,
.randomFooterLink4:hover,
.randomFooterLink5:hover {
    color: #05578c;
    text-decoration: underline;
}

/* Кнопки */
.randomBackButton,
.randomStartButton {
    padding: 10px 20px;
    border-radius: 50px;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.randomBackButton:hover,
.randomStartButton:hover {
    background-color: #05578c;
    transform: translateY(-3px);
}

/* Уведомление о куки */
#cookie_note {
    background-color: rgba(52, 58, 64, 0.95);
    color: #ffffff;
    font-size: 0.9rem;
}

#cookie_note a {
    color: #05578c;
    text-decoration: underline;
}

#cookie_note a:hover {
    color: #05578c;
}

.cookie_accept {
    background-color: #05578c;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    transition: background-color 0.3s ease;
}

.cookie_accept:hover {
    background-color: #05578c;
}

/* Адаптивные стили */
@media (max-width: 992px) {
    .randomHeader h1 {
        font-size: 2.5rem;
    }

    .randomHeader p {
        font-size: 1.1rem;
    }

    .randomNavLink,
    .randomNavLink2,
    .randomNavLink3,
    .randomNavLink4,
    .randomNavLink5 {
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .randomHeader h1 {
        font-size: 2rem;
    }

    .randomHeader p {
        font-size: 1rem;
    }

    .randomSection1,
    .randomSection2,
    .randomSection3,
    .randomSection4,
    .randomSection5,
    .randomServicesSection,
    .randomPrivacySection,
    .randomCookiesSection,
    .randomConfirmationSection {
        padding: 40px 0;
    }

    .randomFooterLink,
    .randomFooterLink2,
    .randomFooterLink3,
    .randomFooterLink4,
    .randomFooterLink5 {
        margin-left: 10px;
    }
}

@media (max-width: 576px) {
    .randomHeader h1 {
        font-size: 1.5rem;
    }

    .randomHeader p {
        font-size: 0.9rem;
    }

    .randomHeroButton,
    .randomBackButton,
    .randomStartButton {
        width: 100%;
        text-align: center;
    }

    .randomNavLink,
    .randomNavLink2,
    .randomNavLink3,
    .randomNavLink4,
    .randomNavLink5 {
        margin-left: 5px;
        margin-right: 5px;
    }
}
.collapse:not(.show) {
    display: block;
}

button.navbar-toggler {
    display: none;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #05578c;
    --bs-btn-border-color: #05578c;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

@media(max-width: 767px) {
    .cookie-note .container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }
}