/* =====================================================
   HOME PREMIUM - EDUCATIC
===================================================== */

.educatic-home-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 48px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 35%),
        linear-gradient(135deg, #07172f 0%, #0d6efd 55%, #0b5ed7 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(13, 110, 253, .25);
    margin-bottom: 40px;
}

.educatic-home-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -130px;
    top: -130px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}

.educatic-home-hero-content {
    position: relative;
    z-index: 2;
}

.educatic-home-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.educatic-home-title {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.educatic-home-text {
    max-width: 640px;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 28px;
}

.educatic-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.educatic-home-image-wrapper {
    position: relative;
    z-index: 2;
}

.educatic-home-image-box {
    position: relative;
    background: rgba(255, 255, 255, .12);
    border-radius: 24px;
    padding: 14px;
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.educatic-home-image-box img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 18px;
}

.educatic-floating-card {
    position: absolute;
    left: -12px;
    bottom: 24px;
    background: #fff;
    color: #111827;
    border-radius: 18px;
    padding: 14px 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
    z-index: 3;
}

.educatic-floating-card strong {
    display: block;
    font-size: 18px;
    color: #0d6efd;
}

.educatic-floating-card span {
    font-size: 13px;
    color: #6c757d;
}

/* DARK MODE */
body.dark-mode .educatic-floating-card {
    background: #1f1f1f;
    color: #eaeaea;
}

body.dark-mode .educatic-floating-card span {
    color: #bbb;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .educatic-home-hero {
        padding: 34px;
    }

    .educatic-home-image-wrapper {
        margin-top: 28px;
    }
}

@media (max-width: 575px) {
    .educatic-home-hero {
        padding: 26px;
        border-radius: 22px;
    }

    .educatic-home-actions .btn {
        width: 100%;
    }

    .educatic-floating-card {
        display: none;
    }
}

/* =====================================================
   SECCIÓN 2 - CURSOS DESTACADOS ANDERCODE / EDUCATIC
===================================================== */

.educatic-home-section {
    margin-bottom: 46px;
}

.educatic-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.educatic-section-kicker {
    color: #0d6efd;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 5px;
}

.educatic-section-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}

.educatic-section-subtitle {
    color: #6c757d;
    margin: 0;
    font-size: .96rem;
    max-width: 720px;
}

.educatic-carousel-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.educatic-carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #dbe4ff;
    background: #ffffff;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
}

.educatic-carousel-btn:hover {
    background: #0d6efd;
    color: #ffffff;
    transform: translateY(-2px);
}

.educatic-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 72px) / 4);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 18px;
    scrollbar-width: none;
}

.educatic-carousel::-webkit-scrollbar {
    display: none;
}

.educatic-course-card {
    scroll-snap-align: start;
    min-width: 0;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
    border: 1px solid #edf0f5;
    display: flex;
    flex-direction: column;
}

.educatic-course-image-link {
    display: block;
    text-decoration: none;
}

.educatic-course-image-wrap {
    position: relative;
    overflow: hidden;
    background: #f1f3f5;
}

.educatic-course-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.educatic-course-card:hover .educatic-course-image {
    transform: scale(1.06);
}

.educatic-course-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .16);
}

.educatic-badge-free {
    background: linear-gradient(45deg, #dc3545, #ff4d6d);
}

.educatic-badge-discount {
    background: linear-gradient(45deg, #ff8a00, #ff4d00);
}

.educatic-badge-featured {
    background: linear-gradient(45deg, #0d6efd, #00bfff);
}

.educatic-course-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.educatic-course-title {
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.3;
    min-height: 42px;
    margin-bottom: 8px;
}

.educatic-course-title a {
    color: #111827;
    text-decoration: none;
}

.educatic-course-title a:hover {
    color: #0d6efd;
}

.educatic-course-author {
    color: #6c757d;
    font-size: .86rem;
    margin-bottom: 12px;
}

.educatic-course-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.educatic-course-price {
    font-weight: 800;
    color: #dc3545;
    font-size: 1rem;
}

.educatic-course-old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: .85rem;
    margin-left: 4px;
}

.educatic-course-rating {
    color: #6c757d;
    font-size: .88rem;
    margin-bottom: 14px;
}

.educatic-course-rating span {
    color: #ffc107;
}

.educatic-carousel-cta {
    scroll-snap-align: start;
    min-width: 0;
    min-height: 365px;
    border-radius: 20px;
    padding: 26px;
    text-decoration: none;
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .22), transparent 40%),
        linear-gradient(135deg, #0d6efd, #084298);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(13, 110, 253, .24);
    transition: .25s ease;
}

.educatic-carousel-cta:hover {
    color: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(13, 110, 253, .34);
}

.educatic-carousel-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-bottom: 18px;
}

.educatic-carousel-cta strong {
    font-size: 1.35rem;
    line-height: 1.15;
    margin-bottom: 10px;
}

.educatic-carousel-cta span {
    color: rgba(255, 255, 255, .84);
    font-size: .95rem;
}

/* DARK MODE */
body.dark-mode .educatic-section-title,
body.dark-mode .educatic-course-title a {
    color: #eaeaea;
}

body.dark-mode .educatic-section-subtitle,
body.dark-mode .educatic-course-author,
body.dark-mode .educatic-course-rating {
    color: #bbb;
}

body.dark-mode .educatic-course-card,
body.dark-mode .educatic-carousel-btn {
    background: #1f1f1f;
    border-color: #333;
}

body.dark-mode .educatic-course-image-wrap {
    background: #262626;
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .educatic-carousel {
        grid-auto-columns: calc((100% - 48px) / 3);
    }
}

@media (max-width: 991px) {
    .educatic-carousel {
        grid-auto-columns: calc((100% - 24px) / 2);
    }
}

@media (max-width: 575px) {
    .educatic-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .educatic-carousel {
        grid-auto-columns: 86%;
        gap: 16px;
    }

    .educatic-carousel-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* =====================================================
   SECCIÓN 3 - CURSOS GRATIS UDEMY
===================================================== */

.educatic-section-free .educatic-section-kicker {
    color: #198754;
}

.educatic-section-free .educatic-carousel-btn {
    color: #198754;
    border-color: rgba(25, 135, 84, .22);
}

.educatic-section-free .educatic-carousel-btn:hover {
    background: #198754;
    color: #ffffff;
}

.educatic-carousel-cta-free {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .22), transparent 40%),
        linear-gradient(135deg, #198754, #0f5132);
    box-shadow: 0 18px 40px rgba(25, 135, 84, .24);
}

.educatic-carousel-cta-free:hover {
    box-shadow: 0 26px 60px rgba(25, 135, 84, .34);
}

/* =====================================================
   SECCIÓN 4 - CUPONES CON MAYOR DESCUENTO
===================================================== */

.educatic-section-discounts .educatic-section-kicker {
    color: #fd7e14;
}

.educatic-section-discounts .educatic-carousel-btn {
    color: #fd7e14;
    border-color: rgba(253, 126, 20, .25);
}

.educatic-section-discounts .educatic-carousel-btn:hover {
    background: #fd7e14;
    color: #ffffff;
}

.educatic-carousel-cta-discounts {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .24), transparent 40%),
        linear-gradient(135deg, #fd7e14, #b54708);
    box-shadow: 0 18px 40px rgba(253, 126, 20, .25);
}

.educatic-carousel-cta-discounts:hover {
    box-shadow: 0 26px 60px rgba(253, 126, 20, .36);
}

/* =====================================================
   SECCIÓN 5 - CURSOS DESTACADOS DE LA COMUNIDAD
===================================================== */

.educatic-section-community-courses .educatic-section-kicker {
    color: #6f42c1;
}

.educatic-section-community-courses .educatic-carousel-btn {
    color: #6f42c1;
    border-color: rgba(111, 66, 193, .25);
}

.educatic-section-community-courses .educatic-carousel-btn:hover {
    background: #6f42c1;
    color: #ffffff;
}

.educatic-carousel-cta-community {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .24), transparent 40%),
        linear-gradient(135deg, #6f42c1, #3b1d7a);
    box-shadow: 0 18px 40px rgba(111, 66, 193, .25);
}

.educatic-carousel-cta-community:hover {
    box-shadow: 0 26px 60px rgba(111, 66, 193, .36);
}

/* =====================================================
   SECCIÓN 6 - NOTICIAS Y RECURSOS
===================================================== */

.educatic-section-news .educatic-section-kicker {
    color: #0dcaf0;
}

.educatic-section-news .educatic-carousel-btn {
    color: #0dcaf0;
    border-color: rgba(13, 202, 240, .28);
}

.educatic-section-news .educatic-carousel-btn:hover {
    background: #0dcaf0;
    color: #ffffff;
}

.educatic-news-card {
    scroll-snap-align: start;
    min-width: 0;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
    border: 1px solid #edf0f5;
    display: flex;
    flex-direction: column;
    transition: .25s ease;
}

.educatic-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, .12);
}

.educatic-news-image-link {
    display: block;
    text-decoration: none;
}

.educatic-news-image-wrap {
    position: relative;
    overflow: hidden;
    background: #f1f3f5;
}

.educatic-news-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.educatic-news-card:hover .educatic-news-image {
    transform: scale(1.06);
}

.educatic-news-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(45deg, #0dcaf0, #007bff);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .16);
}

.educatic-news-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.educatic-news-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: .82rem;
    margin-bottom: 10px;
}

.educatic-news-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    min-height: 45px;
}

.educatic-news-title a {
    color: #111827;
    text-decoration: none;
}

.educatic-news-title a:hover {
    color: #0d6efd;
}

.educatic-news-excerpt {
    color: #6c757d;
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: 18px;
}

.educatic-news-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 700;
    font-size: .92rem;
}

.educatic-news-link:hover {
    color: #084298;
}

.educatic-carousel-cta-news {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, .24), transparent 40%),
        linear-gradient(135deg, #0dcaf0, #075985);
    box-shadow: 0 18px 40px rgba(13, 202, 240, .25);
}

.educatic-carousel-cta-news:hover {
    box-shadow: 0 26px 60px rgba(13, 202, 240, .36);
}

/* DARK MODE */
body.dark-mode .educatic-news-card {
    background: #1f1f1f;
    border-color: #333;
}

body.dark-mode .educatic-news-image-wrap {
    background: #262626;
}

body.dark-mode .educatic-news-title a {
    color: #eaeaea;
}

body.dark-mode .educatic-news-title a:hover {
    color: #66b3ff;
}

body.dark-mode .educatic-news-meta,
body.dark-mode .educatic-news-excerpt {
    color: #bbb;
}

/* =====================================================
   SECCIÓN COMUNIDAD EDUCATIC - PREMIUM GRID
===================================================== */

.educatic-community-section {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 42px;
    margin-bottom: 46px;
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, .12), transparent 34%),
        radial-gradient(circle at bottom left, rgba(111, 66, 193, .10), transparent 32%),
        linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid #e9eef7;
    box-shadow: 0 20px 55px rgba(15, 23, 42, .07);
}

.educatic-community-section::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -150px;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(13, 110, 253, .08);
}

.educatic-community-head {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.educatic-community-head .educatic-section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 10px;
}

.educatic-community-head .educatic-section-subtitle {
    max-width: 620px;
    margin: 0 auto;
}

.educatic-community-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #eef4ff;
    color: #0d6efd;
    font-size: .92rem;
    font-weight: 700;
}

.educatic-community-highlight i {
    color: #ffc107;
}

/* Grid */
.educatic-community-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* Importante: esto evita que .social-links a rompa el diseño */
.educatic-community-section .social-links a.educatic-community-card {
    display: flex !important;
    width: 100%;
    color: #111827 !important;
    text-decoration: none;
}

.educatic-community-card {
    position: relative;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #edf0f5;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.educatic-community-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 55px rgba(15, 23, 42, .12);
    border-color: rgba(13, 110, 253, .22);
}

.educatic-community-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 25px;
    box-shadow: 0 12px 22px rgba(15, 23, 42, .14);
}

.educatic-community-info {
    min-width: 0;
}

.educatic-community-info strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 4px;
    color: #111827;
}

.educatic-community-info span {
    display: block;
    color: #6c757d;
    font-size: .85rem;
    line-height: 1.25;
}

.educatic-community-arrow {
    margin-left: auto;
    color: #adb5bd;
    font-size: 1rem;
    transition: .2s ease;
}

.educatic-community-card:hover .educatic-community-arrow {
    transform: translateX(4px);
    color: #0d6efd;
}

/* Colores */
.educatic-community-youtube .educatic-community-icon {
    background: linear-gradient(135deg, #ff0000, #b00000);
}

.educatic-community-tiktok .educatic-community-icon {
    background: linear-gradient(135deg, #111827, #ff0050);
}

.educatic-community-facebook .educatic-community-icon {
    background: linear-gradient(135deg, #1877f2, #0d47a1);
}

.educatic-community-personal .educatic-community-icon {
    background: linear-gradient(135deg, #334155, #0d6efd);
}

.educatic-community-instagram .educatic-community-icon {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.educatic-community-whatsapp .educatic-community-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.educatic-community-telegram .educatic-community-icon {
    background: linear-gradient(135deg, #229ed9, #0d6efd);
}

.educatic-community-linkedin .educatic-community-icon {
    background: linear-gradient(135deg, #0a66c2, #004182);
}

.educatic-community-udemy .educatic-community-icon {
    background: linear-gradient(135deg, #5624d0, #8710d8);
}

/* DARK MODE */
body.dark-mode .educatic-community-section {
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, .12), transparent 35%),
        linear-gradient(135deg, #1f1f1f, #181818);
    border-color: #333;
}

body.dark-mode .educatic-community-card {
    background: #242424;
    border-color: #333;
}

body.dark-mode .educatic-community-section .social-links a.educatic-community-card {
    color: #eaeaea !important;
}

body.dark-mode .educatic-community-info strong {
    color: #eaeaea;
}

body.dark-mode .educatic-community-info span {
    color: #bbb;
}

body.dark-mode .educatic-community-highlight {
    background: #243147;
    color: #66b3ff;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .educatic-community-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .educatic-community-section {
        padding: 26px;
        border-radius: 24px;
    }

    .educatic-community-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .educatic-community-card {
        min-height: 84px;
        padding: 16px;
    }

    .educatic-community-highlight {
        align-items: flex-start;
        border-radius: 18px;
        text-align: left;
    }
}

/* =====================================================
   SECCIÓN - RUTAS DE APRENDIZAJE PREMIUM
===================================================== */

.educatic-learning-section {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 44px;
    margin-bottom: 46px;
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, .12), transparent 32%),
        radial-gradient(circle at bottom right, rgba(111, 66, 193, .12), transparent 35%),
        linear-gradient(135deg, #07172f, #0f172a);
    color: #ffffff;
    box-shadow: 0 24px 65px rgba(15, 23, 42, .18);
}

.educatic-learning-section::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -150px;
    right: -120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.educatic-learning-header {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin-bottom: 30px;
}

.educatic-learning-section .educatic-section-kicker {
    color: #7dd3fc;
}

.educatic-learning-section .educatic-section-title {
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.educatic-learning-section .educatic-section-subtitle {
    color: rgba(255, 255, 255, .76);
    max-width: 720px;
}

.educatic-learning-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.educatic-learning-card {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    padding: 22px;
    border-radius: 24px;
    text-decoration: none;
    color: #ffffff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.educatic-learning-card:hover {
    color: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 28px 65px rgba(0, 0, 0, .24);
    border-color: rgba(255, 255, 255, .32);
}

.educatic-learning-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -70px;
    bottom: -70px;
    border-radius: 50%;
    opacity: .22;
    transition: .25s ease;
}

.educatic-learning-card:hover::after {
    transform: scale(1.25);
    opacity: .34;
}

.educatic-learning-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.educatic-learning-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .20);
}

.educatic-learning-badge {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
    font-weight: 800;
}

.educatic-learning-card h3 {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.educatic-learning-card p {
    color: rgba(255, 255, 255, .74);
    font-size: .93rem;
    line-height: 1.55;
    margin-bottom: 18px;
}

.educatic-learning-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.educatic-learning-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .86);
    font-size: .88rem;
    margin-bottom: 9px;
}

.educatic-learning-card li i {
    color: #22c55e;
}

.educatic-learning-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 800;
    font-size: .92rem;
    color: #ffffff;
}

.educatic-learning-footer i {
    transition: transform .2s ease;
}

.educatic-learning-card:hover .educatic-learning-footer i {
    transform: translateX(5px);
}

/* Colores por ruta */
.educatic-path-php .educatic-learning-icon {
    background: linear-gradient(135deg, #4f5b93, #232531);
}

.educatic-path-php::after {
    background: #4f5b93;
}

.educatic-path-laravel .educatic-learning-icon {
    background: linear-gradient(135deg, #ff2d20, #8f1110);
}

.educatic-path-laravel::after {
    background: #ff2d20;
}

.educatic-path-flutter .educatic-learning-icon {
    background: linear-gradient(135deg, #02569b, #13b9fd);
}

.educatic-path-flutter::after {
    background: #13b9fd;
}

.educatic-path-python .educatic-learning-icon {
    background: linear-gradient(135deg, #3776ab, #ffd43b);
}

.educatic-path-python::after {
    background: #ffd43b;
}

/* DARK MODE */
body.dark-mode .educatic-learning-section {
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, .12), transparent 32%),
        radial-gradient(circle at bottom right, rgba(111, 66, 193, .12), transparent 35%),
        linear-gradient(135deg, #0f172a, #020617);
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .educatic-learning-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .educatic-learning-section {
        padding: 26px;
        border-radius: 24px;
    }

    .educatic-learning-grid {
        grid-template-columns: 1fr;
    }

    .educatic-learning-card {
        min-height: auto;
    }
}
