.section {
    margin: 0px 10%;
    margin-top: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #003543;
}

.about__text {
    margin-bottom: 60px;
}

.about__desc {
    display: flex;
    gap: 40px;
    margin-bottom: 10px;
}

.about__desc p {
    font-size: 16px;
}

.about__link {
    color: #0196BB;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid white;
    text-decoration: none !important;
}

.about__link:hover {
    border-bottom: 1px solid #0196BB;
}

.about__content {
    background-image: url('https://accmedical.ru/wp-content/uploads/2026/08/rectangle-2.png');
    height: 85vh;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
}

.about__cards {
    display: flex;
    background: #FFFFFF;
    padding: 30px 10px;
    border-radius: 8px;
    justify-content: space-between;
    position: absolute;
    transition: transform 0.1s linear;
    top: 0;
    left: 20px;
    right: 20px;
    width: auto;
}

.about__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: auto 0;
    border-left: 1px solid #C0D8DF;
    padding-left: 20px;
}

.about__card:first-child {
    border-left: none;
}

.about__card-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #0196BB;
    margin-bottom: 0 !important;
}

.about__card p {
    margin-bottom: 0 !important;
}

.about__card-desc {
    font-size: 14px;
    color: #49585B;
}

@media screen and (max-width: 968px) {
    .about__cards {
        flex-direction: column;
        padding: 10px 20px;
    }

    .about__card {
        border-left: none;
        border-bottom: 1px solid #C0D8DF;
        padding: 12px 0px;
    }

    .about__card:last-child {
        border-bottom: none;
    }

    .about__card-subtitle {
        font-size: 16px;
    }

    .about__card-desc {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
        section {
        margin: 80px 5% !important;
    }

    .about__desc {
        gap: 20px;
    }

    .about__desc p {
        font-size: 14px;
    }
}