.section {
    margin: 0px 10%;
    margin-top: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #003543;
}

.specialty__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.specialty__cards a {
    text-decoration: none !important;
}

.specialty__link {
    display: block;
    padding: 5px;
    min-width: 0;
}

.specialty__cards > * {
    min-width: 0;
}

.specialty__card {
    display: flex;
    background: #0196BB;
    border-radius: 10px;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    color: #fff;
    outline: 2px solid #fff;
    outline-offset: 0;
    overflow: hidden;
}

.specialty__card:hover {
    background: #E6F4F8;
    color: #0196BB;
    outline: 2px solid #0196BB;
    outline-offset: 5px;
}

.specialty__title {
    font-size: 23px;
    margin: 20px;
}

.specialty__icon {
    width: 114px;
    height: 114px;
    align-self: flex-end;
    position: relative;
    top: 15px;
    left: 10px;
    flex-shrink: 0;
}

.specialty__card svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
    color: #67c0d6 !important;
    transition: color 0.3s ease;  
}

.specialty__card:hover .specialty__icon svg {
    color: #0196BB !important;
}

@media screen and (max-width: 968px) {
    .specialty__cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .specialty__icon {
        width: 100px;
        height: 100px;
        top: 10px;
        left: 8px;
    }
}

@media screen and (max-width: 768px) {
    .specialty__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .specialty__title  {
        font-size: 18px;
    }

    .specialty__icon {
        width: 74px;
        height: 74px;
        top: 0;
        left: 0;
    }
    .section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    section {
        margin: 80px 5% !important;
    }
}

@media screen and (max-width: 568px) {
    .specialty__cards {
        grid-template-columns: 1fr;
    }
}