@charset "utf-8";

html {
    scroll-behavior: auto !important; /* Нативный скролл должен быть выключен */
}


#services {   
    scroll-margin-top: -80px !important; 
}
   
    .unique-carousel-header {
        display: flex;
        justify-content: flex-end;
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .carousel-controls {
        display: flex;
        gap: 10px;
    }

    .carousel-arrow {
        width: 50px;
        height: 50px;
        background: #FFFFFF;
        border: 1px solid #EAEAEA;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        user-select: none;
    }

    .carousel-arrow:hover {
        background: #f8f8f8;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    }

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
        fill: #333;
    }

  
#unique-carousel-container {
    width: 100%;
    overflow: hidden;
    user-select: none; 
    box-sizing: border-box;
    height: 650px;
    outline: none;
    cursor: grab;
}

#unique-carousel-container:active {
    cursor: grabbing;
}
#unique-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(.25, .1, .25, 1);
    will-change: transform;
}

.unique-carousel-item {
    flex: 0 0 calc((100% - 30px) / 3);
    height: 100%;
    margin-left: 10px;
    background: #FFFFFF;
    box-sizing: border-box;
    box-shadow: 0px 0px 10px 0px rgba(133, 136, 139, 0.23);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.info_service {
    padding: 20px !important;
    display: block !important;
    width: 100% !important; 
    box-sizing: border-box;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    font-family: 'Montserrat', sans-serif;  
    height: 100%;
    overflow-y: auto !important;     
    overflow-x: hidden; 
    user-select: text !important; 
    cursor: default;
}



    .pic_service, .info_service {
        width: 100%;
        height: 100%;
        
    }

    .pic_service img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }




.info_service::-webkit-scrollbar { width: 6px; }
.info_service::-webkit-scrollbar-track { background: #f1f1f1; }
.info_service::-webkit-scrollbar-thumb { background: #0055AC; border-radius: 10px; }

    .info_service ul
    {margin-left: -10px !important;}

    .info_service ul li 
    {margin: 4px 0px;}

    .info_service h3
    {color:#0055AC;
    font-size: 28px;
    font-weight: bold;
    margin-bottom:7px;}

    .info_service h4 
    {margin-bottom: 0px;
    margin-top: 0px;
font-size: 20px;}

    .info_service span
    {color:#0055AC;
    font-size: 18px;
    font-weight: bold;
    margin-bottom:3px;
    margin-top: 3px;}

    @media screen and (max-width: 1556px) {
        #unique-carousel-container { height: 480px; }
        .unique-carousel-item { flex: 0 0 calc((100% - 70px) / 3); height: 480px; }
         .info_service {
        padding:1px !important;  
        display: block !important;
        width: 95% !important; 
        overflow-y: scroll;
        margin-left:10px; 
        margin-right:10px;        
         word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;      
    }
    }

    @media screen and (max-width: 768px) {
        .unique-carousel-item { flex: 0 0 calc(100% - 30px); height: 470px; }
        #services {   
    scroll-margin-top:20px !important; 
}
    }