.services {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.services-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 16px;
    padding-right: 16px;
    gap: 40px;
}

@media (min-width: 992px) {
    .services-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 1200px) {
    .services-container {
        padding-left: 120px;
        padding-right: 120px;
    }
}

.services-description {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
}

.services-description h2 {
    color: var(--dark);
    font-family: 'Gilroy', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

@media (min-width: 768px) {
    .services-description h2 {
        font-size: 40px;
    }
}

@media (min-width: 1200px) {
    .services-description h2 {
        font-size: 56px;
    }
}

.services-description span {
    color: var(--gray);
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.services-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-list-item {
    display: flex;
    width: 100%;
    position: relative;
    list-style: none;
}

.services-list-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 24px;
    width: 16px;
    height: 16px;
    background-image: url('/wp-content/themes/akdev/assets/icons/btn-arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%) rotate(-45deg);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.services-list-item:has(.services-list-item-button:hover)::after {
    transform: translateY(-50%) rotate(0deg);
}

.services-list-item-button {
    display: inline-flex;
    height: auto;
    padding: 24px 16px;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: var(--dark);
    transition: color 0.3s ease;
    text-decoration: none;
    width: 100%;
    text-align: start;
    border-bottom: 1px solid var(--light-gray);
}

.services-list-item-button:hover {
    color: var(--white);
}

@media (min-width: 992px) {
    .services-container {
        flex-direction: row;
        gap: 15px;
    }
}

@media (min-width: 1200px) {
    .services-container {
        gap: 61px;
    }
}