/* Figma-like reflected yellow CTA style with hover -> blue */
.skill-bloomer-yellow {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #000;
    border-radius: .75rem;
    /* rounded-lg */
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.15), 0 10px 18px rgba(0, 0, 0, 0.06);
    /* match the transition used for button transforms */
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    display: inline-flex;
    /* keeps icon and text aligned */
    align-items: center;
    gap: .5rem;
    position: relative;
}

/* on hover, turn blue and change text/icon color to white */
.skill-bloomer-yellow:hover {
    background: linear-gradient(135deg, #0745FF 0%, #004ff8 100%);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* a soft, offset shadow backing (Figma-style) */
.skill-bloomer-yellow::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    right: -8px;
    bottom: -8px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: .75rem;
    z-index: -1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.skill-bloomer-yellow:hover::after {
    opacity: 0.2;
    transform: translate(2px, 6px) scale(1.02);
}

/* focus-visible for accessibility */
.skill-bloomer-yellow:focus-visible {
    outline: 2px solid rgba(7, 69, 255, 0.2);
    outline-offset: 2px;
}

/* Join Now button highlight glow effect */
.enrolled-button.skill-bloomer-yellow {
    animation: joinNowBounce 1.5s ease-in-out infinite;
    position: relative;
    font-weight: 700;
}

.enrolled-button.skill-bloomer-yellow .text {
    font-weight: 700;
}

.enrolled-button.skill-bloomer-yellow::after {
    display: none;
}

@keyframes joinNowBounce {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 0 5px rgba(255, 208, 62, 0.5),
            0 0 15px rgba(255, 208, 62, 0.4),
            0 0 25px rgba(255, 208, 62, 0.3);
    }

    50% {
        transform: translateY(-6px);
        box-shadow: 0 0 10px rgba(255, 208, 62, 0.8),
            0 0 25px rgba(255, 208, 62, 0.6),
            0 0 40px rgba(255, 208, 62, 0.4);
    }
}


/* Webinar Slider Styles - Large Overlay Cards Similar to Instructor Slider */
.webinar-slider-card {
    min-width: 500px;
    max-width: 500px;
    height: 350px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.webinar-slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.webinar-slider-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webinar-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    color: white;
}

.webinar-slider-category {
    background: rgba(236, 241, 255, 0.95);
    color: #0745FF;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.webinar-slider-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.webinar-slider-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    line-height: 1.5;
    max-width: 400px;
}

.webinar-slider-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.webinar-slider-meta i {
    margin-right: 6px;
}

.webinar-slider-btn {
    padding: 12px 32px;
    background: #0745FF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(7, 69, 255, 0.3);
}

.webinar-slider-btn:hover {
    background: #0536cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 69, 255, 0.4);
}

.webinar-slider-btn.disabled {
    background: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 768px) {
    .webinar-slider-card {
        min-width: 380px;
        max-width: 380px;
        height: 280px;
    }

    .webinar-slider-title {
        font-size: 22px;
    }

    .webinar-slider-description {
        font-size: 14px;
    }

    .webinar-slider-overlay {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .webinar-slider-card {
        min-width: 320px;
        max-width: 320px;
        height: 240px;
    }

    .webinar-slider-title {
        font-size: 18px;
    }

    .webinar-slider-description {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .webinar-slider-meta {
        font-size: 12px;
        gap: 12px;
        flex-direction: column;
    }

    .webinar-slider-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}