.mypartners 
{position: relative;}

.cooperation-img img 
{display: block;
width: 100%;}

.cooperation {
    background: #f5f5f5;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height:250px; 
    padding: 10px 20px;   
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    cursor: pointer; 
    margin-top: 10px;
}


.cooperation::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 0;
    border-top: 4px solid #007bff;
    border-right: 4px solid #007bff;
    border-radius: 12px;
    transition: width 0.3s ease 0.1s, height 0.3s ease;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
}


.cooperation::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 0;
    border-bottom: 4px solid #007bff;
    border-left: 4px solid #007bff;
    border-radius: 12px;
    transition: width 0.3s ease 0.1s, height 0.3s ease;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
}


.cooperation:hover {
    background: #ffffff;
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12), 
                0 0 20px rgba(0, 123, 255, 0.2);
}


.cooperation:hover::before,
.cooperation:hover::after {
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: height 0.3s ease, width 0.3s ease 0.3s; 
}


.cooperation .shine {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    z-index: 4;
    pointer-events: none;
}


.cooperation:hover .shine {
    animation: shineEffect 0.8s ease;
}

@keyframes shineEffect {
    0% { left: -100%; }
    100% { left: 150%; }
}

.cooperation p
{margin-top: 3px;
margin-bottom:3px;}

.project-block 
{margin-top: 50px;
margin-bottom: 50px;}

.pb 
{border:1px solid #E9E9F4;
padding: 10px 20px;}

@media (max-width:1566px) {

.project-wrapper 
{overflow-y: auto;
    padding-right: 10px;   
    scrollbar-width: thin;
    scrollbar-color: #007bff #f0f0f0;
height: 85vh;}




.project-wrapper ::-webkit-scrollbar {
    width: 6px; 
}

.project-wrapper ::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}

.project-wrapper ::-webkit-scrollbar-thumb {
    background: #007bff; 
    border-radius: 10px;
}

.project-wrapper ::-webkit-scrollbar-thumb:hover {
    background: #0056b3; 
}

.project-block 
{margin-top:25px;
margin-bottom:10px;}

.project-block p 
{font-size: 14px;}

.cooperation {
    background: #f5f5f5;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height:150px; 
    padding: 0px 7px;   
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    cursor: pointer; 
    margin-top:5px;
}

.cooperation h3
{margin-top: 2px !important;
margin-bottom:1px !important;
font-size: 16px;}

.cooperation h4
{margin-top: 2px !important;
margin-bottom:1px !important;
font-size: 15px;}

.cooperation p
{margin-top: 2px;
margin-bottom:2px;
font-size: 14px;}

.cooperation ul
{margin-top: 4px;
margin-bottom: -3px;}

.cooperation li
{margin-top: 1px;
margin-bottom:1px;
font-size: 14px;}


} 