﻿/* =========================================================
   LANDING PUBLIC
   ========================================================= */

.landing-page {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    color: #212529;
}


/* =========================================================
   SECTION
   ========================================================= */

.landing-section {
    width: 100%;
    padding: 60px 0;
}

    .landing-section:nth-child(even) {
        background: #f8f9fa;
    }

.landing-section__header {
    margin-bottom: 30px;
}

.landing-section__title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}


/* =========================================================
   COMPONENT
   ========================================================= */

.landing-component {
    margin-bottom: 30px;
}

    .landing-component:last-child {
        margin-bottom: 0;
    }

.landing-component__title {
    margin-bottom: 16px;
    font-size: 1.35rem;
    font-weight: 600;
}

.landing-component__content {
    font-size: 1rem;
    line-height: 1.7;
}

    .landing-component__content img {
        max-width: 100%;
        height: auto;
    }


/* =========================================================
   IMAGE
   ========================================================= */

.landing-component__image {
    margin-bottom: 20px;
    text-align: center;
}

    .landing-component__image img {
        display: inline-block;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }


/* =========================================================
   LINK
   ========================================================= */

.landing-component__link {
    margin-top: 20px;
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .landing-section {
        padding: 45px 0;
    }

    .landing-section__title {
        font-size: 1.75rem;
    }

    .landing-component__title {
        font-size: 1.2rem;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .landing-section {
        padding: 35px 0;
    }

    .landing-section__header {
        margin-bottom: 20px;
    }

    .landing-section__title {
        font-size: 1.5rem;
    }

    .landing-component {
        margin-bottom: 25px;
    }

    .landing-component__title {
        font-size: 1.1rem;
    }

    .landing-component__content {
        font-size: 0.95rem;
    }

    .landing-component__link .btn {
        width: 100%;
    }
}
/* =========================================================
   LANDING - COURSE FEATURE
========================================================= */

.landing-feature {
    background: #f8f9fa;
}

.landing-section-title {
    font-size: 2rem;
    color: #212529;
}

.landing-course-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .landing-course-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }

.landing-course-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f3f5;
}

    .landing-course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

.landing-course-card:hover .landing-course-image img {
    transform: scale(1.05);
}

.landing-course-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.landing-course-title {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 14px;
    color: #212529;
}

.landing-course-description {
    color: #6c757d;
    line-height: 1.7;
    font-size: 0.95rem;
    flex: 1;
}

.landing-course-action {
    margin-top: 20px;
}

    .landing-course-action .btn {
        border-radius: 50px;
        padding: 9px 22px;
        font-weight: 600;
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .landing-section-title {
        font-size: 1.6rem;
    }

    .landing-course-image {
        height: 190px;
    }

    .landing-course-body {
        padding: 20px;
    }

    .landing-course-title {
        font-size: 1.15rem;
    }
}
/* =========================================================
   LANDING - FEATURE / KHÓA HỌC
========================================================= */

.landing-feature {
    padding: 70px 0;
    background: #f8f9fa;
}

.landing-section-title {
    font-size: 32px;
    color: #222;
}

.landing-feature-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

    .landing-feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    }

.landing-course-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.landing-course-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.landing-course-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.landing-course-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    color: #222;
}

.landing-course-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.landing-course-button {
    margin-top: auto;
}

    .landing-course-button .btn {
        border-radius: 8px;
        font-weight: 600;
    }

/* =========================================================
   LANDING - COURSE CARD
========================================================= */

.landing-course-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

    .landing-course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
    }

.landing-course-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

    .landing-course-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.35s ease;
    }

.landing-course-card:hover .landing-course-card-image img {
    transform: scale(1.04);
}

.landing-course-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.landing-course-card-title {
    margin: 0 0 12px;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
}

.landing-course-card-description {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.landing-course-card .btn {
    border-radius: 8px;
    padding: 9px 20px;
    font-weight: 600;
}

@media (max-width: 767.98px) {

    .landing-course-card-image {
        height: 200px;
    }

    .landing-course-card-body {
        padding: 20px;
    }

    .landing-course-card-title {
        font-size: 1.2rem;
    }
}
/* =========================================================
   LANDING - COURSE CARD
========================================================= */

.landing-course-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .landing-course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

.landing-course-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #f5f5f5;
}

    .landing-course-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.35s ease;
    }

.landing-course-card:hover .landing-course-image img {
    transform: scale(1.04);
}

.landing-course-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.landing-course-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    color: #222;
}

.landing-course-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

    .landing-course-description p:last-child {
        margin-bottom: 0;
    }

.landing-course-body .btn {
    font-weight: 600;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .landing-course-image {
        height: 190px;
    }

    .landing-course-body {
        padding: 20px;
    }

    .landing-course-title {
        font-size: 1.2rem;
    }
}