.licenses-section {
    margin: 0 auto;
    padding: 40px 0;
}

.licenses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.licenses-title {
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    font-size: 45px;
    color: #2b68a4;
    margin: 0;
}

.licenses-arrows {
    display: none;
    gap: 15px;
    margin-top: 5px;
}

.licenses-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s;
    transition: opacity 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.licenses-arrow img {
    height: 41px;
}

.licenses-arrow:hover {
    opacity: 0.8;
}

.licenses-arrow.disabled {
    opacity: 0;
    cursor: not-allowed;
}

.licenses-content {
    display: flex;
    gap: 1rem;
}

.licenses-description {
    font-size: 30px;
    line-height: 1.4;
    color: #666;
    width: 70%;
    padding: 3rem 0;
}

.licenses-slider-container {
    position: relative;
    overflow: hidden;
    padding: 3rem 1rem;
    max-width: 70%;
}

.licenses-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 40px) / 2);
    transition: transform 0.5s ease;
    gap: 15px;
    margin-top: 0;
}

.license-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 60px;
    overflow: hidden;
    aspect-ratio: 1/1;

}

.license-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    aspect-ratio: 1/1;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}


.license-image:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

@media (max-width: 1600px) {
    .licenses-description {
        font-size: 20px;
        width: 90%;
    }

    .licenses-arrow img {
        height: 36px;
    }
}

@media (max-width: 1024px) {
    .licenses-section {
        padding: 40px 0 0;
    }

    .licenses-slider-container {
        padding: 2rem 1rem;
    }

    .licenses-track {
        grid-auto-columns: calc((100% - 10px) / 3);
        gap: 11px;
    }

    .licenses-description {
        font-size: 14px;
        width: 100%;
        padding: 2rem 0;
        ;
    }

    .licenses-title {
        font-size: 20px;
    }

    .license-slide {
        border-radius: 10px;
    }

    .licenses-arrow img {
        height: 26px;
    }


}


@media (max-width: 767px) {
    .licenses-section {
        margin-bottom: 30px;
    }

    .licenses-arrow img {
        height: 26px;
    }

    .licenses-track {
        grid-auto-columns: calc((100% - 20px));
    }

    .licenses-description {
        display: none;
    }

    .licenses-slider-container {
        position: relative;
        overflow: hidden;
        padding: 1.5rem 1.5rem;
        max-width: 100%;
    }

    .licenses-title {
        font-size: 24px;

    }

    .licenses-track {
        grid-auto-columns: 100%;
    }

    .licenses-header {
        align-items: flex-start;
        gap: 5px;
        padding-inline: 1rem;
        padding-block: 0;
    }

    .license-slide {
        aspect-ratio: unset;
        border-radius: 10px;
        max-height: 360px;
    }

}

@media (max-width: 400px) {
    .license-slide {
        aspect-ratio: unset;
        max-height: 290px;
    }


    .license-image {
        max-height: 300px;
        aspect-ratio: 5/4;
    }
}