.drosly-partners-section {
        position: relative;
        min-width: 0;
    }

    .drosly-partners-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 16px;
    }

    .drosly-partners-heading h2 {
        min-width: 0;
        margin: 0;
    }

    .drosly-scroll-controls {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
    }

    .drosly-scroll-button {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(2, 55, 32, .12);
        border-radius: 50%;
        color: #064e3b;
        background: #fff;
        box-shadow: 0 8px 20px rgba(2, 55, 32, .08);
        transition: transform .2s ease, color .2s ease, background .2s ease, opacity .2s ease, box-shadow .2s ease;
    }

    .drosly-scroll-button svg {
        width: 19px;
        height: 19px;
    }

    .drosly-scroll-button:hover:not(:disabled),
    .drosly-scroll-button:focus-visible:not(:disabled) {
        color: #fff;
        background: #006747;
        box-shadow: 0 11px 25px rgba(2, 55, 32, .18);
        transform: translateY(-1px);
        outline: none;
    }

    .drosly-scroll-button:disabled {
        opacity: .32;
        cursor: default;
        box-shadow: none;
    }

    .drosly-scroll-button[hidden] {
        display: none !important;
    }

    .drosly-partners-list {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto !important;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 3px 2px 8px;
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 2px;
        overscroll-behavior-inline: contain;
        touch-action: pan-x pan-y pinch-zoom;
        cursor: grab;
    }

    .drosly-partners-list.is-grabbing {
        cursor: grabbing;
        user-select: none;
    }

    .drosly-partners-list::-webkit-scrollbar {
        display: none;
    }

    .drosly-partner-pill {
        position: relative;
        flex: 0 0 auto;
        text-decoration: none;
        min-height: 42px;
        border-radius: 9999px;
        transition:
            transform .22s ease,
            box-shadow .22s ease,
            border-color .22s ease,
            background-color .22s ease,
            color .22s ease;
        will-change: transform, box-shadow;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
        scroll-snap-align: start;
    }

    .drosly-partner-pill:hover {
        transform: translateY(-2px) scale(1.015);
        box-shadow: 0 10px 24px rgba(2, 55, 32, 0.10);
        border-color: rgba(2, 55, 32, 0.18);
    }

    .drosly-partner-pill:focus,
    .drosly-partner-pill:focus-visible {
        outline: none;
        transform: translateY(-1px);
        box-shadow:
            0 0 0 4px rgba(46, 185, 126, 0.14),
            0 10px 24px rgba(2, 55, 32, 0.12);
        border-color: rgba(46, 185, 126, 0.55);
    }

    .drosly-partner-pill:active {
        transform: translateY(0) scale(0.99);
        box-shadow: 0 4px 10px rgba(2, 55, 32, 0.08);
    }

    .drosly-partner-pill__logo {
        display: block;
        flex-shrink: 0;
        border-radius: 9999px;
        background: #fff;
        padding: 2px;
        transition: transform .22s ease;
    }

    .drosly-partner-pill:hover .drosly-partner-pill__logo {
        transform: scale(1.06);
    }

    .drosly-partner-pill__text {
        display: inline-block;
        line-height: 1;
    }

    /* Coursera-like gentle glow/focus feel */
    .drosly-partner-pill::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        opacity: 0;
        transition: opacity .22s ease;
        background: linear-gradient(
            135deg,
            rgba(255,255,255,0.24),
            rgba(255,255,255,0.00) 45%,
            rgba(46,185,126,0.08)
        );
    }

    .drosly-partner-pill:hover::before,
    .drosly-partner-pill:focus-visible::before {
        opacity: 1;
    }

    @media (prefers-reduced-motion: reduce) {
        .drosly-partner-pill,
        .drosly-partner-pill__logo,
        .drosly-partner-pill::before {
            transition: none;
        }

        .drosly-partner-pill:hover,
        .drosly-partner-pill:focus,
        .drosly-partner-pill:focus-visible,
        .drosly-partner-pill:active {
            transform: none;
        }
    }

    @media (max-width: 640px) {
        .drosly-partners-heading {
            align-items: flex-end;
            gap: 10px;
        }

        .drosly-partners-heading h2 {
            font-size: 1.25rem;
            line-height: 1.3;
        }

        .drosly-scroll-controls {
            gap: 6px;
        }

        .drosly-scroll-button {
            width: 36px;
            height: 36px;
        }

        .drosly-partners-list {
            margin-inline: -2px;
            padding-bottom: 10px;
        }
    }

    .drosly-learning-paths{
    position: relative;
}

.drosly-learning-paths__grid{
    align-items: stretch;
}

.drosly-role-card{
    position: relative;
    min-height: 158px;
    justify-content: center;
    text-decoration: none;
    border-radius: 18px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fcfefd 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease,
        background-color .24s ease;
    will-change: transform, box-shadow;
    overflow: hidden;
}

.drosly-role-card::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .24s ease;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.65) 0%,
            rgba(255,255,255,0.10) 45%,
            rgba(2,192,111,0.06) 100%
        );
}

.drosly-role-card:hover{
    transform: translateY(-4px);
    border-color: rgba(2, 103, 71, 0.14);
    box-shadow:
        0 14px 36px rgba(2, 55, 32, 0.10),
        0 4px 10px rgba(15, 23, 42, 0.04);
}

.drosly-role-card:hover::before{
    opacity: 1;
}

.drosly-role-card:focus,
.drosly-role-card:focus-visible{
    outline: none;
    transform: translateY(-2px);
    border-color: rgba(46, 185, 126, 0.45);
    box-shadow:
        0 0 0 4px rgba(46, 185, 126, 0.14),
        0 14px 34px rgba(2, 55, 32, 0.12);
}

.drosly-role-card:active{
    transform: translateY(0) scale(.99);
}

.drosly-role-card__icon-wrap{
    position: relative;
    flex-shrink: 0;
    transition:
        transform .24s ease,
        box-shadow .24s ease;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}

.drosly-role-card:hover .drosly-role-card__icon-wrap{
    transform: scale(1.08);
    box-shadow:
        0 10px 24px rgba(2, 55, 32, 0.10),
        inset 0 0 0 1px rgba(255,255,255,0.35);
}

.drosly-role-card__icon{
    transition: transform .24s ease, color .24s ease;
}

.drosly-role-card:hover .drosly-role-card__icon{
    transform: scale(1.05);
}

.drosly-role-card__title{
    transition: color .24s ease, transform .24s ease;
    color: #1f2937;
    max-width: 100%;
    word-break: break-word;
}

.drosly-role-card:hover .drosly-role-card__title{
    color: #006747;
    transform: translateY(-1px);
}

.drosly-role-card__meta{
    transition: color .24s ease, opacity .24s ease;
    color: #9ca3af;
}

.drosly-role-card:hover .drosly-role-card__meta{
    color: #6b7280;
}

@media (max-width: 640px){
    .drosly-role-card{
        min-height: 146px;
        padding: 16px 12px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce){
    .drosly-role-card,
    .drosly-role-card::before,
    .drosly-role-card__icon-wrap,
    .drosly-role-card__icon,
    .drosly-role-card__title,
    .drosly-role-card__meta{
        transition: none !important;
    }

    .drosly-role-card:hover,
    .drosly-role-card:focus,
    .drosly-role-card:focus-visible,
    .drosly-role-card:active{
        transform: none !important;
    }
}


.drosly-course-grid{
    align-items: stretch;
}

.drosly-course-grid > *{
    height: 100%;
    min-width: 0;
}

.drosly-course-card{
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    text-decoration: none;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease,
        background-color .24s ease;
    will-change: transform, box-shadow;
}

.drosly-course-card::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .24s ease;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.35) 0%,
        rgba(255,255,255,0) 40%,
        rgba(2,103,71,.05) 100%
    );
}

.drosly-course-card:hover{
    transform: translateY(-5px);
    border-color: rgba(2, 103, 71, 0.14);
    box-shadow:
        0 18px 36px rgba(2, 55, 32, 0.08),
        0 6px 14px rgba(15, 23, 42, 0.04);
}

.drosly-course-card:hover::before{
    opacity: 1;
}

.drosly-course-card:focus,
.drosly-course-card:focus-visible{
    outline: none;
    transform: translateY(-3px);
    border-color: rgba(46, 185, 126, 0.45);
    box-shadow:
        0 0 0 4px rgba(46, 185, 126, 0.14),
        0 18px 34px rgba(2, 55, 32, 0.10);
}

.drosly-course-card:active{
    transform: translateY(-1px) scale(.992);
}

.drosly-course-card__image-wrap{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.drosly-course-card__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.drosly-course-card:hover .drosly-course-card__image{
    transform: scale(1.04);
}

.drosly-course-card__body{
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 14px 14px 15px;
    min-height: 0;
}

.drosly-course-card__provider{
    font-size: 14px;
    line-height: 1.35;
    color: #6b7280;
    margin-bottom: 8px;
    min-height: 19px;
}

.drosly-course-card__title{
    font-size: 1.02rem;
    line-height: 1.45;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: calc(1.45em * 2);
    transition: color .24s ease;
}

.drosly-course-card:hover .drosly-course-card__title{
    color: #023720;
}

.drosly-course-card__category{
    font-size: 13px;
    line-height: 1.4;
    color: #9ca3af;
    margin: 0 0 10px 0;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 18px;
}

.drosly-course-card__rating{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 1;
    color: #111827;
    margin-top: auto;
    padding-top: 6px;
}

.drosly-course-card__rating svg{
    width: 15px;
    height: 15px;
    color: #111827;
    flex-shrink: 0;
}

@media (max-width: 767px){
    .drosly-course-card{
        border-radius: 16px;
    }

    .drosly-course-card__body{
        padding: 12px 12px 14px;
    }

    .drosly-course-card__provider{
        font-size: 13px;
        margin-bottom: 6px;
        min-height: 17px;
    }

    .drosly-course-card__title{
        font-size: .95rem;
    }

    .drosly-course-card__category{
        font-size: 12px;
    }

    .drosly-course-card__rating{
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce){
    .drosly-course-card,
    .drosly-course-card::before,
    .drosly-course-card__image,
    .drosly-course-card__title{
        transition: none !important;
    }

    .drosly-course-card:hover,
    .drosly-course-card:focus,
    .drosly-course-card:focus-visible,
    .drosly-course-card:active{
        transform: none !important;
    }
}

.drosly-recommended-section{
    position: relative;
}

.drosly-recommended-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.drosly-recommended-head__title-wrap{
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.drosly-recommended-title{
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.15;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.drosly-recommended-icon{
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #006747;
    background: linear-gradient(180deg, #ecfdf5 0%, #dff7ec 100%);
    border: 1px solid rgba(0, 103, 71, 0.10);
    box-shadow: 0 8px 24px rgba(2, 55, 32, 0.06);
    transition: transform .22s ease, box-shadow .22s ease;
    flex-shrink: 0;
}

.drosly-recommended-icon svg{
    width: 24px;
    height: 24px;
    display: block;
}

.drosly-recommended-section:hover .drosly-recommended-icon{
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(2, 55, 32, 0.10);
}

.drosly-recommended-link{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    text-decoration: none;
    color: #02C06F;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    padding: 8px 12px;
    transition: color .22s ease, background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.drosly-recommended-link:hover{
    color: #006747;
    background: rgba(2, 192, 111, 0.08);
    transform: translateY(-1px);
}

.drosly-recommended-link:focus,
.drosly-recommended-link:focus-visible{
    outline: none;
    color: #006747;
    background: rgba(2, 192, 111, 0.10);
    box-shadow: 0 0 0 4px rgba(46, 185, 126, 0.14);
}

.drosly-recommended-link svg{
    transition: transform .22s ease;
}

.drosly-recommended-link:hover svg,
.drosly-recommended-link:focus-visible svg{
    transform: translateX(2px);
}

@media (max-width: 640px){
    .drosly-recommended-head{
        align-items: flex-start;
        flex-direction: column;
    }

    .drosly-recommended-head__title-wrap{
        width: 100%;
    }

    .drosly-recommended-title{
        font-size: 1.6rem;
    }

    .drosly-recommended-link{
        padding-left: 0;
        padding-right: 0;
    }
}



/* =========================
   Trending boxes
========================= */
.trending-box{
    position: relative;
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease,
        background-color .24s ease;
    border: 1px solid rgba(2, 55, 32, 0.06);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    will-change: transform, box-shadow;
    overflow: visible;
}

.trending-box::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .24s ease;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.32) 0%,
            rgba(255,255,255,0) 40%,
            rgba(2,103,71,.06) 100%
        );
}

.trending-box:hover{
    transform: translateY(-4px);
    border-color: rgba(2, 103, 71, 0.14);
    box-shadow:
        0 16px 34px rgba(2, 55, 32, 0.08),
        0 5px 14px rgba(15, 23, 42, 0.04);
}

.trending-box:hover::before{
    opacity: 1;
}

.trending-box:focus-within{
    transform: translateY(-2px);
    border-color: rgba(46, 185, 126, 0.42);
    box-shadow:
        0 0 0 4px rgba(46, 185, 126, 0.12),
        0 16px 34px rgba(2, 55, 32, 0.09);
}

/* =========================
   Section title link
========================= */
.trending-box-link{
    color: #111827;
    text-decoration: none;
    transition:
        color .22s ease,
        transform .22s ease;
}

.trending-box-link:hover{
    color: #023720;
    transform: translateX(2px);
}

.trending-box-link:focus,
.trending-box-link:focus-visible{
    outline: none;
    color: #023720;
}

.trending-box-link__arrow{
    transition: transform .22s ease;
}

.trending-box-link:hover .trending-box-link__arrow,
.trending-box-link:focus-visible .trending-box-link__arrow{
    transform: translateX(2px);
}

/* =========================
   Inner course item
========================= */
.trending-course-item{
    position: relative;
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease,
        background-color .24s ease;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    will-change: transform, box-shadow;
}

.trending-course-item::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .24s ease;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.48) 0%,
            rgba(255,255,255,0) 48%,
            rgba(46,185,126,.06) 100%
        );
}

.trending-course-item:hover{
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(2, 103, 71, 0.12);
    box-shadow:
        0 12px 24px rgba(2, 55, 32, 0.07),
        0 4px 10px rgba(15, 23, 42, 0.04);
}

.trending-course-item:hover::before{
    opacity: 1;
}

.trending-course-item:focus,
.trending-course-item:focus-visible{
    outline: none;
    transform: translateY(-2px);
    border-color: rgba(46, 185, 126, 0.42);
    box-shadow:
        0 0 0 4px rgba(46, 185, 126, 0.12),
        0 10px 22px rgba(2, 55, 32, 0.08);
}

.trending-course-item:active{
    transform: translateY(-1px) scale(.992);
}

.trending-course-item img{
    transition: transform .28s ease;
}

.trending-course-item:hover img{
    transform: scale(1.04);
}

/* =========================
   Provider name + tooltip
========================= */
.trending-provider{
    position: relative;
    display: inline-block;
    max-width: 100%;
    cursor: default;
    transition:
        color .22s ease,
        transform .22s ease;
}

.trending-provider:hover{
    color: #023720;
    transform: translateY(-1px);
}

.has-name-tooltip::after{
    content: attr(data-name-tooltip);
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    background: #023720;
    color: #fff;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(2, 55, 32, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 20;
    pointer-events: none;
}

.has-name-tooltip::before{
    content: "";
    position: absolute;
    left: 14px;
    bottom: calc(100% + 4px);
    width: 8px;
    height: 8px;
    background: #023720;
    transform: rotate(45deg) translateY(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 19;
    pointer-events: none;
}

.has-name-tooltip:hover::after,
.has-name-tooltip:hover::before,
.has-name-tooltip:focus-visible::after,
.has-name-tooltip:focus-visible::before{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
    .trending-box,
    .trending-box::before,
    .trending-box-link,
    .trending-box-link__arrow,
    .trending-course-item,
    .trending-course-item::before,
    .trending-course-item img,
    .trending-provider,
    .has-name-tooltip::after,
    .has-name-tooltip::before{
        transition: none !important;
    }

    .trending-box:hover,
    .trending-box:focus-within,
    .trending-box-link:hover,
    .trending-course-item:hover,
    .trending-course-item:focus,
    .trending-course-item:focus-visible,
    .trending-course-item:active,
    .trending-provider:hover{
        transform: none !important;
    }
}


.explore-category-pill{
    position: relative;
    text-decoration: none;
    border: 1px solid rgba(2, 55, 32, 0.05);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background-color .22s ease,
        color .22s ease;
    will-change: transform, box-shadow;
}

.explore-category-pill::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .22s ease;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.28) 0%,
        rgba(255,255,255,0) 48%,
        rgba(46,185,126,.06) 100%
    );
}

.explore-category-pill:hover{
    transform: translateY(-2px) scale(1.015);
    background-color: rgba(190, 235, 217, 0.9);
    border-color: rgba(2, 103, 71, 0.12);
    box-shadow:
        0 10px 20px rgba(2, 55, 32, 0.08),
        0 3px 8px rgba(15, 23, 42, 0.04);
}

.explore-category-pill:hover::before{
    opacity: 1;
}

.explore-category-pill:focus,
.explore-category-pill:focus-visible{
    outline: none;
    transform: translateY(-1px);
    border-color: rgba(46, 185, 126, 0.42);
    box-shadow:
        0 0 0 4px rgba(46, 185, 126, 0.12),
        0 10px 22px rgba(2, 55, 32, 0.08);
}

.explore-category-pill:active{
    transform: translateY(0) scale(.99);
}

.explore-category-pill__icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform .22s ease;
}

.explore-category-pill__icon svg{
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
    stroke: currentColor;
}

.explore-category-pill:hover .explore-category-pill__icon{
    transform: scale(1.08);
}

.explore-category-pill__text{
    display: inline-block;
    line-height: 1;
}

@media (prefers-reduced-motion: reduce){
    .explore-category-pill,
    .explore-category-pill::before,
    .explore-category-pill__icon{
        transition: none !important;
    }

    .explore-category-pill:hover,
    .explore-category-pill:focus,
    .explore-category-pill:focus-visible,
    .explore-category-pill:active{
        transform: none !important;
    }
}


/* =========================
   Hot releases - force custom animation
========================= */
.drosly-course-card.drosly-course-card--hot{
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease,
        background-color .24s ease !important;
    will-change: transform, box-shadow;
}

.drosly-course-card.drosly-course-card--hot::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .24s ease;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.36) 0%,
            rgba(255,255,255,0) 44%,
            rgba(46,185,126,.08) 100%
        );
}

.drosly-course-card.drosly-course-card--hot:hover{
    transform: translateY(-4px);
    border-color: rgba(2, 103, 71, 0.14);
    box-shadow:
        0 18px 34px rgba(2, 55, 32, 0.12),
        0 6px 14px rgba(15, 23, 42, 0.05);
}

.drosly-course-card.drosly-course-card--hot:hover::before{
    opacity: 1;
}

.drosly-course-card.drosly-course-card--hot:focus,
.drosly-course-card.drosly-course-card--hot:focus-visible{
    outline: none;
    transform: translateY(-2px);
    border-color: rgba(46, 185, 126, 0.42);
    box-shadow:
        0 0 0 4px rgba(46, 185, 126, 0.14),
        0 18px 34px rgba(2, 55, 32, 0.12);
}

.drosly-course-card.drosly-course-card--hot:active{
    transform: translateY(-1px) scale(.992);
}

.drosly-course-card.drosly-course-card--hot .drosly-course-card__image{
    transition: transform .30s ease;
}

.drosly-course-card.drosly-course-card--hot:hover .drosly-course-card__image{
    transform: scale(1.04);
}

/* اسم الشركة */
.drosly-course-card--hot .hot-company-name{
    position: relative;
    display: inline-block;
    max-width: 100%;
    cursor: default;
    transition: color .22s ease, transform .22s ease;
}

.drosly-course-card--hot .hot-company-name:hover{
    color: #023720;
    transform: translateY(-1px);
}

.drosly-course-card--hot .hot-company-name::after{
    content: attr(data-company-tooltip);
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    background: #023720;
    color: #fff;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(2, 55, 32, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 30;
    pointer-events: none;
}

.drosly-course-card--hot .hot-company-name::before{
    content: "";
    position: absolute;
    left: 14px;
    bottom: calc(100% + 4px);
    width: 8px;
    height: 8px;
    background: #023720;
    transform: rotate(45deg) translateY(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 29;
    pointer-events: none;
}

.drosly-course-card--hot .hot-company-name:hover::after,
.drosly-course-card--hot .hot-company-name:hover::before,
.drosly-course-card--hot .hot-company-name:focus-visible::after,
.drosly-course-card--hot .hot-company-name:focus-visible::before{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* زر explore courses */
.gradient-section a[href="/courses"]{
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background-color .22s ease,
        color .22s ease;
}

.gradient-section a[href="/courses"]:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(2, 55, 32, 0.14);
}

.gradient-section a[href="/courses"]:focus,
.gradient-section a[href="/courses"]:focus-visible{
    outline: none;
    transform: translateY(-1px);
    box-shadow:
        0 0 0 4px rgba(255,255,255,0.18),
        0 12px 24px rgba(2, 55, 32, 0.16);
}

.gradient-section a[href="/courses"] svg{
    transition: transform .22s ease;
}

.gradient-section a[href="/courses"]:hover svg,
.gradient-section a[href="/courses"]:focus-visible svg{
    transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce){
    .drosly-course-card.drosly-course-card--hot,
    .drosly-course-card.drosly-course-card--hot::before,
    .drosly-course-card.drosly-course-card--hot .drosly-course-card__image,
    .drosly-course-card--hot .hot-company-name,
    .drosly-course-card--hot .hot-company-name::after,
    .drosly-course-card--hot .hot-company-name::before,
    .gradient-section a[href="/courses"],
    .gradient-section a[href="/courses"] svg{
        transition: none !important;
    }

    .drosly-course-card.drosly-course-card--hot:hover,
    .drosly-course-card.drosly-course-card--hot:focus,
    .drosly-course-card.drosly-course-card--hot:focus-visible,
    .drosly-course-card.drosly-course-card--hot:active,
    .gradient-section a[href="/courses"]:hover,
    .gradient-section a[href="/courses"]:focus,
    .gradient-section a[href="/courses"]:focus-visible,
    .drosly-course-card--hot .hot-company-name:hover{
        transform: none !important;
    }
}



/* =========================================
   Goal tags section
========================================= */
.goal-tag-card{
    position: relative;
    text-decoration: none;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease,
        background-color .24s ease;
    will-change: transform, box-shadow;
}

.goal-tag-card::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .24s ease;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.45) 0%,
            rgba(255,255,255,0) 48%,
            rgba(46,185,126,.06) 100%
        );
}

.goal-tag-card:hover{
    transform: translateY(-3px);
    border-color: rgba(2, 103, 71, 0.12);
    box-shadow:
        0 12px 24px rgba(2, 55, 32, 0.08),
        0 4px 10px rgba(15, 23, 42, 0.04);
}

.goal-tag-card:hover::before{
    opacity: 1;
}

.goal-tag-card:focus,
.goal-tag-card:focus-visible{
    outline: none;
    transform: translateY(-2px);
    border-color: rgba(46, 185, 126, 0.42);
    box-shadow:
        0 0 0 4px rgba(46, 185, 126, 0.12),
        0 12px 24px rgba(2, 55, 32, 0.08);
}

.goal-tag-card:active{
    transform: translateY(-1px) scale(.992);
}

.goal-tag-card__icon{
    transition: transform .24s ease, box-shadow .24s ease;
}

.goal-tag-card:hover .goal-tag-card__icon{
    transform: scale(1.06);
}

/* =========================================
   Promo banners
========================================= */
.promo-banner{
    transition:
        transform .26s ease,
        box-shadow .26s ease,
        border-color .26s ease;
    will-change: transform, box-shadow;
    border: 1px solid rgba(255,255,255,0.04);
}

.promo-banner::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity .26s ease;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.12) 0%,
            rgba(255,255,255,0) 42%,
            rgba(46,185,126,.10) 100%
        );
}

.promo-banner:hover{
    transform: translateY(-4px);
    box-shadow:
        0 18px 36px rgba(2, 55, 32, 0.16),
        0 6px 14px rgba(15, 23, 42, 0.06);
}

.promo-banner:hover::before{
    opacity: 1;
}

.promo-banner:focus-within{
    transform: translateY(-2px);
    box-shadow:
        0 0 0 4px rgba(46, 185, 126, 0.14),
        0 18px 36px rgba(2, 55, 32, 0.16);
}

.promo-banner__image{
    transition: transform .30s ease;
    will-change: transform;
}

.promo-banner:hover .promo-banner__image{
    transform: scale(1.035);
}

.promo-banner__link{
    transition:
        transform .22s ease,
        opacity .22s ease,
        color .22s ease;
}

.promo-banner__link:hover{
    transform: translateX(2px);
}

.promo-banner__link:focus,
.promo-banner__link:focus-visible{
    outline: none;
}

.promo-banner__link svg{
    transition: transform .22s ease;
}

.promo-banner__link:hover svg,
.promo-banner__link:focus-visible svg{
    transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce){
    .goal-tag-card,
    .goal-tag-card::before,
    .goal-tag-card__icon,
    .promo-banner,
    .promo-banner::before,
    .promo-banner__image,
    .promo-banner__link,
    .promo-banner__link svg{
        transition: none !important;
    }

    .goal-tag-card:hover,
    .goal-tag-card:focus,
    .goal-tag-card:focus-visible,
    .goal-tag-card:active,
    .promo-banner:hover,
    .promo-banner:focus-within,
    .promo-banner__link:hover{
        transform: none !important;
    }
}

/* =========================================
Arabic Hero Slider Typography Fix
========================================= */

html[dir="rtl"] #carousel-heroS [data-carousel-item] {
direction: rtl;
}

html[dir="rtl"] #carousel-heroS [data-carousel-item] > div {
flex-direction: row-reverse;
}

/* صندوق النص */
html[dir="rtl"] #carousel-heroS .hero-slide-content {
text-align: right !important;
direction: rtl;
width: min(100%, 330px);
padding: 34px 32px 38px !important;
border-radius: 22px !important;
}

/* العنوان */
html[dir="rtl"] #carousel-heroS h2 {
font-size: 2.2rem !important;
line-height: 1.35 !important;
font-weight: 800 !important;
letter-spacing: 0 !important;
margin-bottom: 10px !important;
color: #064e3b !important;
}

/* الوصف */
html[dir="rtl"] #carousel-heroS p {
font-size: 1rem !important;
line-height: 1.8 !important;
font-weight: 400;
margin-bottom: 18px !important;
color: #6b7280 !important;
}

/* الأزرار */
html[dir="rtl"] #carousel-heroS .flex.items-center.gap-3 {
justify-content: flex-start !important;
flex-direction: row !important;
gap: 10px !important;
}

html[dir="rtl"] #carousel-heroS .btn {
min-height: 46px;
padding: 10px 19px !important;
font-size: 1rem !important;
font-weight: 700 !important;
line-height: 1.3 !important;
border-radius: 10px !important;
white-space: nowrap;
}

/* زخرفة الكتاب لا تدخل بالنص */
html[dir="rtl"] #carousel-heroS .hero-slide-content > span.absolute {
right: auto !important;
left: 0 !important;
opacity: .18;
pointer-events: none;
}

html[dir="rtl"] #carousel-heroS .hero-slide-content > span.absolute img {
width: 135px !important;
}

/* شاشة متوسطة */
@media (max-width: 1024px) {
html[dir="rtl"] #carousel-heroS .hero-slide-content {
width: min(100%, 310px);
padding: 28px 25px 34px !important;
}

html[dir="rtl"] #carousel-heroS h2 {
font-size: 1.9rem !important;
}

html[dir="rtl"] #carousel-heroS p {
font-size: .92rem !important;
line-height: 1.7 !important;
}
}

/* الجوال */
@media (max-width: 640px) {
html[dir="rtl"] #carousel-heroS .hero-slide-content {
width: 100%;
padding: 24px 20px 28px !important;
text-align: center !important;
}

html[dir="rtl"] #carousel-heroS h2 {
font-size: 1.65rem !important;
line-height: 1.4 !important;
}

html[dir="rtl"] #carousel-heroS p {
font-size: .9rem !important;
line-height: 1.65 !important;
}

html[dir="rtl"] #carousel-heroS .flex.items-center.gap-3 {
justify-content: center !important;
flex-wrap: wrap;
}

html[dir="rtl"] #carousel-heroS .btn {
font-size: .9rem !important;
min-height: 42px;
padding: 9px 15px !important;
}
}
