img {
    max-width: 100%;
    height: auto;
}
/* header */
.menu {
    background-color: #1E3A5F;
    color: #FFFFFF;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.menu a{
    color: #FFFFFF;
    text-decoration: none;
}

.menu a:hover{
    color: #7DD3FC;
    text-decoration: none;
}

@media (max-width: 767px) {
    .menu .col-1 {
        display: none;
    }
}

/* Раздел Главная */
.main {
    margin-top: 30px;
    background-color: #F0F9FF;
    width: 100%;
}

.main h1 {
    padding-top: 70px;
    padding-left: 20px;
    color: #013664;
    text-align: center;
}

.main p {
    text-align: center;
    color: #284255;
}

.main a{
    color: #FFFFFF;
    background-color: #013664;
    border-color: #013664;
    margin-top: 10px;
    margin-bottom: 20px;
}

.main a.btn-outline-primary {
    color: #013664;
    background-color: transparent;
    border-color: #013664;
    margin-top: 10px;
    margin-bottom: 20px;
}

.main a:hover {
    color: #FFFFFF;
    background-color: #284255;
    border-color: #284255;
}

.main img {
    max-width: 100%;
    height: auto;
}

.main .KDO_Solutions_logo {
    margin-top: 80px;
}

.main i {
    color: #0284C7;
}

.main h2 {
    margin-top: 120px;
    color: #013664;
}

.main .card {
    margin-top: 10px;
    margin-left: 15px;
    margin-bottom: 55px;
}
.main .card .img-effect {
    overflow: hidden;
    height: 170px;
}
.main .card img {
    text-align: center;
    margin-top: 10px;
    transition: transform 0.3s ease;
    height: 100%;
}

.main .card img:hover {
    transform: scale(1.05);
}


@media (max-width: 1100px) {
    .main .col-md-4,
    .main .col-md-8 {
        width: 100%;
    }

    .KDO_Solutions_logo {
        max-width: 450px;
    }
}


/* Раздел Обо мне */
.about-me {
    background-color: #FFFFFF;
}

.about-me img {
    max-width: 100%;
    height: auto;
    margin-top: 70px;
    margin-bottom: 40px;
}
.about-me h1 {
    color: #013664;
    text-align: center;
}
.about-me p {
    text-align: justify;
    padding-right: 35px;
    text-indent: 30px;
}

@media (max-width: 1100px) {
    .about-me .col-md-4,
    .about-me .col-md-8 {
        width: 100%;
    }

    .about-logo {
        max-width: 300px;
    }
}

/* Раздел Как проходит работа */
.work {
    background-color: #315A78;
}

.work h1 {
    margin-top: 50px;
    text-align: center;
    color: #FFFFFF;
}

.work .zagolovok {
    text-align: center;
    color: #FFFFFF;
}

.work .card {
    margin-left: 20px;
    margin-bottom: 50px;
}
.work i {
    font-size: 35px;
    color: #1E3A5F;
    display: block;
    margin-bottom: 15px;
}


.step-card:hover {
    background-color: #1E3A5F;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.step-card:hover .bi {
    color: #ffffff;
}

.step-card .card-title,
.step-card .card-text {
    transition: color 0.3s ease;
}

/* Услуги и цены */
.services {
    background-color: #F0F9FF;
}

.services h1 {
    margin-top: 50px;
    text-align: center;
    color: #013664;
}

.services .podzsgslovok {
    text-align: center;
    color: #284255;
}

.services .card {
    margin-top: 10px;
    margin-left: 15px;
    margin-bottom: 27px;
}

.services a {
    color: #FFFFFF;
    background-color: #013664;
    border-color: #013664;
    margin-top: 10px;
    margin-bottom: 50px;
}

/* Контакты */
.contacts {
    background-color: #315A78;
}

.contacts h1 {
    margin-top: 50px;
    text-align: center;
    color: #FFFFFF;
}

.contacts p {
    text-align: center;
    color: #FFFFFF;
}

.contacts a {
    text-align: center;
    margin-top: 30px;
    margin-right: 10px;
    margin-bottom: 50px;
}

/* footer */
.footer {
    background-color: #1E3A5F;
    color: #FFFFFF;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 10px;
    width: 100%;
}

.footer a{
    color: #FFFFFF;
    text-decoration: none;
}

.footer a:hover{
    color: #7DD3FC;
    text-decoration: none;
}


/* cookie */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    margin: 0 auto;
    width: calc(100% - 40px);
    max-width: 1100px;
    box-sizing: border-box;
    padding: 25px;
    background: #F0F9FF;
    color: #013664;
    border: 1px solid #c7dfef;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(1, 54, 100, 0.2);
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.cookie-icon {
    font-size: 45px;
    color: #0284C7;
}

.cookie-text h3 {
    font-size: 21px;
    margin-bottom: 10px;
    color: #013664;
}

.cookie-text p {
    margin-bottom: 10px;
    color: #284255;
    line-height: 1.5;
}

.cookie-text a {
    color: #0284C7;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 150px;
}

.cookie-actions button {
    padding: 10px 18px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.2s ease;
}

.cookie-accept {
    color: #fff;
    background: #013664;
    border: 1px solid #013664;
}

.cookie-accept:hover {
    background: #0284C7;
    border-color: #0284C7;
}

.cookie-reject {
    color: #013664;
    background: transparent;
    border: 1px solid #013664;
}

.cookie-reject:hover {
    background: #dceef9;
}

@media (max-width: 700px) {
    .cookie-banner {
        bottom: 8px;
        width: calc(100% - 16px);
        padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-height: 70vh;
        overflow-y: auto;
    }

    .cookie-icon {
        display: none;
    }

    .cookie-text h3 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .cookie-text p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    .cookie-text a {
        font-size: 13px;
    }

    .cookie-actions {
        flex-direction: row;
        min-width: 0;
    }

    .cookie-actions button {
        flex: 1;
    }
}