.profile-learning-section {
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    margin: 95px 0px;
}



.profile-learning-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.profile-learning-header {
    text-align: left;
    margin-bottom: 40px;
    color: #FFFFFF;
}

.profile-learning-header h2 {
    font-family: 'Aileron', sans-serif;
    font-weight: 400;
    font-size: 64px;
    line-height: 1.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.profile-learning-header p {
    font-family: 'Abel', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.125em;
    color: #E5E6ED;
}

.profile-learning-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-item {
    display: flex;
    align-items: center;
    background-color: rgba(47, 50, 65, 0.5);
    border-radius: 12px;
    border: 2px solid #5EE19F;
    position: relative;
    overflow: hidden;
    height: 112px;
    opacity: .96;
}

ul.profile-learning-list::after {
    width: 4px;
    height: 43%;
    top: 40%;
    left: 11%;
    position: absolute;
    content: '';
    background-color: #5ad297;
}

.profile-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 577px;
    height: 100%;
    background-color: rgba(94, 225, 159, 0.92);
    border-radius: 12px 0px 0px 12px;
    z-index: 1;
}

.profile-item-main {
    flex: 0 0 577px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

.profile-subtitle {
    font-family: 'Aileron', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.25em;
    color: #171717;
    text-align: center;
}

.profile-item-details {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.profile-title {
    font-family: 'Aileron', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.2em;
    color: #FFFFFF;
    max-width: 416px;
}

.profile-number {
    font-family: 'Aileron', sans-serif;
    font-weight: 400;
    font-size: 77px;
    line-height: 0.29em;
    color: #5ED698;
}

@media (max-width: 991px) {
    .profile-item-main {
        flex: 0 0 50%;
    }

    .profile-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 50%;
    }
}

@media (max-width: 865px) {
    ul.profile-learning-list::after {
        width: 4px;
        height: 39%;
        top: 46%;
        left: 11%;
        position: absolute;
        content: '';
        background-color: #5ad297;
    }
}

@media (max-width: 768px) {
    .profile-learning-header h2 {
        font-size: 48px;
    }

    .profile-learning-header p {
        font-size: 20px;
    }

    .profile-learning-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

    .profile-item {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .profile-item::before {
        width: 100%;
        height: 60px;
        border-radius: 12px 12px 0 0;
    }

    .profile-item-main {
        flex: none;
        width: 100%;
        height: 60px;
        margin-bottom: 10px;
        display: flex;
        align-items: flex-start;
    }

    .profile-subtitle {
        font-size: 24px;
    }

    .profile-item-details {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    .profile-title {
        max-width: 100%;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .profile-number {
        font-size: 50px;
        align-self: flex-end;
        display: none;
    }

    ul.profile-learning-list::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .profile-learning-header h2 {
        font-size: 36px;
    }

    .profile-learning-header p {
        font-size: 16px;
    }

    .profile-subtitle {
        font-size: 20px;
    }

    .profile-title {
        font-size: 16px;
    }

    .profile-number {
        font-size: 40px;
    }
}