/* =========================================
   E-Learning Application Page
   External CSS only
   No inline style needed in HTML
========================================= */

.elearning-highlight {
    color: #e84a5f;
}

.elearning-section-label {
    display: inline-block;
    padding: 8px 18px;
    margin-bottom: 18px;
    border-radius: 50px;
    background: rgba(232, 74, 95, 0.12);
    color: #e84a5f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.elearning-section-desc {
    max-width: 760px;
    margin: 18px auto 0;
    color: #777;
    font-size: 17px;
    line-height: 1.8;
}

/* Hero */
.elearning-hero-section {
    padding: 110px 0 90px;
    background:
        radial-gradient(circle at 90% 10%, rgba(232, 74, 95, 0.12), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f8f9fc 48%, #fff4f5 100%);
    position: relative;
    overflow: hidden;
}

.elearning-hero-section::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(232, 74, 95, 0.08);
}

.elearning-hero-section::after {
    content: "";
    position: absolute;
    left: -140px;
    bottom: -160px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(34, 35, 40, 0.05);
}

.elearning-content-wrap {
    position: relative;
    z-index: 2;
}

.elearning-badge {
    display: inline-block;
    padding: 9px 22px;
    margin-bottom: 24px;
    border-radius: 50px;
    background: rgba(232, 74, 95, 0.12);
    color: #e84a5f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.elearning-title {
    max-width: 620px;
    margin-bottom: 24px;
    color: #222328;
    font-size: 58px;
    line-height: 1.12;
    font-weight: 800;
}

.elearning-subtitle {
    max-width: 650px;
    margin-bottom: 34px;
    color: #666;
    font-size: 18px;
    line-height: 1.85;
}

.elearning-hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.elearning-hero-buttons .btn {
    padding: 15px 32px;
}

.elearning-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.elearning-trust-item {
    min-width: 145px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.045);
}

.elearning-trust-item strong {
    display: block;
    color: #222328;
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    line-height: 1;
}

.elearning-trust-item span {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 14px;
}

.elearning-image-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
}

.elearning-image-wrap img {
    width: 100%;
    max-width: 540px;
    border-radius: 30px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.13);
}

.elearning-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    text-align: left;
}

.elearning-floating-card i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(232, 74, 95, 0.12);
    color: #e84a5f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.elearning-floating-card strong {
    display: block;
    color: #222328;
    font-size: 16px;
    font-weight: 700;
}

.elearning-floating-card span {
    display: block;
    color: #777;
    font-size: 14px;
}

.card-top {
    top: 30px;
    left: -10px;
}

.card-bottom {
    right: -5px;
    bottom: 35px;
}

/* Overview */
.elearning-overview-section {
    padding: 100px 0 75px;
    background: #fff;
}

.elearning-overview-box {
    height: 100%;
    padding: 38px 34px;
    border-radius: 24px;
    background: #222328;
    color: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.elearning-overview-box span {
    display: inline-block;
    margin-bottom: 16px;
    color: #e84a5f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.elearning-overview-box h3 {
    color: #fff;
    font-size: 30px;
    line-height: 1.35;
    margin-bottom: 18px;
}

.elearning-overview-box p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.8;
}

.elearning-check-list {
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.elearning-check-list li {
    margin-bottom: 13px;
    color: rgba(255, 255, 255, 0.88);
}

.elearning-check-list i {
    margin-right: 10px;
    color: #e84a5f;
}

.elearning-mini-card {
    height: 100%;
    padding: 30px 26px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.elearning-mini-card:hover {
    transform: translateY(-8px);
    border-color: rgba(232, 74, 95, 0.25);
    box-shadow: 0 24px 55px rgba(232, 74, 95, 0.12);
}

.elearning-mini-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: rgba(232, 74, 95, 0.1);
    color: #e84a5f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.elearning-mini-card h4 {
    color: #222328;
    font-size: 21px;
    margin-bottom: 12px;
}

.elearning-mini-card p {
    color: #777;
    line-height: 1.75;
    margin-bottom: 0;
}

/* Course Types */
.elearning-course-section {
    padding: 100px 0 75px;
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

.elearning-course-card {
    height: 100%;
    padding: 34px 30px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.045);
    transition: all 0.3s ease;
}

.elearning-course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.1);
}

.featured-course {
    border-color: rgba(232, 74, 95, 0.32);
    box-shadow: 0 28px 60px rgba(232, 74, 95, 0.14);
}

.elearning-course-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 20px;
    background: rgba(232, 74, 95, 0.1);
    color: #e84a5f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.course-tag {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 16px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.course-tag.free {
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
}

.course-tag.paid {
    background: rgba(232, 74, 95, 0.12);
    color: #e84a5f;
}

.course-tag.request {
    background: rgba(34, 35, 40, 0.1);
    color: #222328;
}

.elearning-course-card h3 {
    color: #222328;
    font-size: 24px;
    margin-bottom: 14px;
}

.elearning-course-card p {
    color: #777;
    line-height: 1.75;
}

.elearning-course-card ul {
    padding-left: 18px;
    margin: 20px 0 0;
}

.elearning-course-card li {
    margin-bottom: 8px;
    color: #555;
}

/* Features */
.elearning-features-wrap {
    padding: 100px 0 75px;
    background: #fff;
}

.elearning-feature-box {
    position: relative;
    padding: 40px 30px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.045);
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.elearning-feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 26px;
    right: 26px;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: #e84a5f;
    opacity: 0;
    transition: all 0.3s ease;
}

.elearning-feature-box:hover {
    transform: translateY(-10px);
    border-color: rgba(232, 74, 95, 0.25);
    box-shadow: 0 24px 55px rgba(232, 74, 95, 0.13);
}

.elearning-feature-box:hover::before {
    opacity: 1;
    left: 0;
    right: 0;
}

.elearning-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 26px;
    border-radius: 22px;
    background: rgba(232, 74, 95, 0.1);
    color: #e84a5f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    transition: all 0.3s ease;
}

.elearning-feature-box:hover .elearning-icon {
    background: #e84a5f;
    color: #fff;
    border-radius: 50%;
    transform: translateY(-4px);
}

.elearning-feature-title {
    color: #242424;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 14px;
}

.elearning-feature-desc {
    color: #777;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Process */
.elearning-process-section {
    padding: 100px 0 75px;
    background: #f8f9fc;
}

.elearning-step-card {
    height: 100%;
    padding: 34px 26px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.045);
    transition: all 0.3s ease;
}

.elearning-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.09);
}

.elearning-step-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #e84a5f;
    color: #fff;
    font-weight: 800;
    font-family: "Poppins", sans-serif;
}

.elearning-step-card h4 {
    color: #222328;
    font-size: 20px;
    margin-bottom: 12px;
}

.elearning-step-card p {
    color: #777;
    line-height: 1.75;
    margin-bottom: 0;
}

/* Instructor CTA */
.elearning-instructor-section {
    padding: 80px 0;
    background:
        radial-gradient(circle at top right, rgba(232, 74, 95, 0.22), transparent 35%),
        linear-gradient(135deg, #222328 0%, #15161a 100%);
    color: #fff;
}

.elearning-instructor-section h2 {
    color: #fff;
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.elearning-instructor-section p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 0;
}

.light-label {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .elearning-hero-section,
    .elearning-overview-section,
    .elearning-course-section,
    .elearning-features-wrap,
    .elearning-process-section {
        padding: 75px 0 55px;
    }

    .elearning-title {
        font-size: 44px;
    }

    .elearning-floating-card {
        position: static;
        margin: 18px auto 0;
        max-width: 330px;
    }

    .elearning-instructor-section {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .elearning-title {
        font-size: 36px;
    }

    .elearning-subtitle,
    .elearning-section-desc {
        font-size: 16px;
    }

    .content-title {
        font-size: 30px;
        line-height: 40px;
    }

    .elearning-overview-box,
    .elearning-course-card,
    .elearning-feature-box,
    .elearning-step-card,
    .elearning-mini-card {
        padding: 30px 24px;
    }

    .elearning-trust-item {
        width: 100%;
    }

    .elearning-hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .elearning-instructor-section h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .elearning-title {
        font-size: 31px;
    }

    .elearning-hero-section,
    .elearning-overview-section,
    .elearning-course-section,
    .elearning-features-wrap,
    .elearning-process-section {
        padding: 60px 0 42px;
    }

    .elearning-icon,
    .elearning-course-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}