.technologies-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 80px 16px;
    width: 100%;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.technologies-list-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.technologies-list-content {
    display: none;
}

.technologies-list-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.technologies-list-item {
    display: none;
    flex-direction: column;
    padding: 24px 16px;
    gap: 24px;
}

.technologies-list-group.active .technologies-list-item {
    display: flex;
}

.technologies-list-button {
    display: flex;
    width: 100%;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    text-decoration: none;
}

.technologies-list-button.secondary-button {
    justify-content: flex-start;
    padding: 24px 16px;
    height: auto;
}

.technologies-list-button::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;
}

.technologies-list-button.secondary-button:hover::after,
.technologies-list-group.active .technologies-list-button.secondary-button::after {
    transform: translateY(-50%) rotate(0deg);
}


.technologies-list-item-header {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 16px;
}

.technologies-list-item-header h3 {
    color: var(--white);
    font-family: 'Gilroy', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-align: start;
}

.technologies-list-item-description {
    display: flex;
    width: 100%;
}

.technologies-list-item-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.technologies-list-item-content-item {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
}

.technologies-container h2 {
    font-size: 32px;
    color: var(--white);
    text-align: center;
    font-family: 'Gilroy', sans-serif;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

@media (min-width: 768px) {
    .technologies-container h2 {
        font-size: 40px;
        align-self: flex-start;
    }

    .technologies-list-item-content-item {
        width: 30%;
    }

    .technologies-list-item-content {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {
    section:has(.technologies-container) {
        background: var(--dark);
    }

    .technologies-container {
        overflow: visible;
    }

    .technologies-list::after {
        content: '';
        position: absolute;
        bottom: -300px;
        right: 0;
        width: 600px;
        height: 600px;
        background-image: url('/wp-content/themes/akdev/assets/icons/gradient.svg');
        background-size: cover;
        filter: blur(100px);
        pointer-events: none;
        z-index: 1;
    }

    .technologies-container h2,
    .technologies-list {
        position: relative;
        z-index: 1;
    }

    .technologies-list {
        flex-direction: row;
        gap: 100px;
    }

    .technologies-list-buttons {
        width: 50%;
        flex-shrink: 0;
        max-width: 440px;
    }

    .technologies-list-content {
        width: 50%;
        display: flex;
        padding: 0;
        align-items: flex-start;
    }

    .technologies-list-content:empty {
        display: none;
    }

    .technologies-list-group {
        width: 100%;
    }

    .technologies-list-group .technologies-list-item {
        display: none !important;
    }

    .technologies-list-content .technologies-list-item {
        display: flex;
        padding: 0;
        width: 100%;
    }

    .technologies-list-item-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .technologies-list-item-content-item {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .technologies-list {
        justify-content: space-between;
    }

    .technologies-container h2 {
        font-size: 56px;
    }

    .technologies-container {
        padding: 80px 120px 200px 120px;
    }

    .technologies-list-item-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .technologies-list-item-content-item {
        width: calc(50% - 8px);
    }
}