.home-modern {
    padding-top: 1.2rem;
}

.swiper {
    width: 100%;
}

#swiper {
    margin-bottom: 2.5rem;
    padding: 1.2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #f5fff9 0%, #ffffff 55%, #f7fbff 100%);
    box-shadow: 0 15px 45px rgba(14, 23, 38, 0.08);
}

.swiper-slide .row {
    align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
    top: 50% !important;
    color: var(--black);
}

.swiper-pagination {
    position: relative;
    margin-top: 1.3rem;
}

.image img {
    width: 100%;
    margin-top: 1rem;
    border-radius: 18px;
}

.content span {
    color: var(--green);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    background: #eafcf1;
    padding: 0.35rem 0.8rem;
    border-radius: 99px;
}

.content h3 {
    color: var(--black);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.14;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1.6px;
    font-family: "Poppins", sans-serif;
}

.content p {
    color: #4f5b66;
    font-size: 1.06rem;
    line-height: 1.65;
    margin-bottom: 1.35rem;
}

.btn {
    display: inline-block;
    font-size: 0.95rem;
    color: #fff;
    background: var(--black);
    border-radius: 0.7rem;
    cursor: pointer;
    padding: 0.68rem 1.45rem;
    text-decoration: none;
    transition: 0.25s ease;
    font-weight: 600;
    border: none;
}

.btn:hover {
    background-color: var(--green);
    color: #fff;
    transform: translateY(-1px);
}

.value-strip {
    margin-top: 2rem;
}

.value-pill {
    background: #fff;
    border: 1px solid #edf0f6;
    border-radius: 14px;
    padding: 1rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-weight: 600;
    color: #26303b;
    box-shadow: 0 8px 24px rgba(15, 28, 45, 0.05);
}

.value-pill i {
    color: var(--green);
}

.platform-highlights {
    margin-top: 3.2rem;
}

.highlight-card {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    padding: 1.4rem 1.2rem;
    min-height: 100%;
    box-shadow: 0 10px 25px rgba(17, 30, 48, 0.06);
    transition: 0.25s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    border-color: #c9f2d9;
}

.highlight-card .icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eafcf1;
    display: grid;
    place-items: center;
    margin-bottom: 0.85rem;
}

.highlight-card .icon-wrap i {
    color: var(--green);
}

.highlight-card h4 {
    font-size: 1.12rem;
    margin-bottom: 0.55rem;
    color: #182231;
}

.highlight-card p {
    margin: 0;
    color: #566173;
    line-height: 1.6;
}

.count-area {
    position: relative;
    background: linear-gradient(145deg, #131e2c 0%, #101820 70%);
    border-radius: 22px;
    padding: 55px 24px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-top: 3rem;
}
/* 
.count-area::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.34), rgba(37, 211, 102, 0));
    right: -80px;
    top: -80px;
} */

.count-area h2 {
    position: relative;
}

.count-area p {
    position: relative;
    color: #d4dde8;
}

.count-area-content {
    margin-top: 30px;
    position: relative;
}

.count-digit {
    margin: 16px 0;
    color: #fff;
    font-weight: 700;
    font-size: 46px;
}

.count-title {
    font-size: 18px;
    color: #d9e2ee;
}

.count-digit::after {
    content: "+";
}

#popular-course,
#popular-products,
#faqs,
#testimonials {
    margin-top: 2.8rem;
}

.single-course {
    border-radius: 14px;
    border: 1px solid #edf1f6;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 28, 45, 0.06);
    transition: 0.2s ease;
    cursor: pointer;
    overflow: hidden;
    min-height: 100%;
}

.single-course:hover {
    transform: translateY(-4px);
    border-color: #bdeed0;
}

.thumbnail img {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.course-info-wrapper {
    padding: 1.05rem;
}

.category-name {
    font-weight: 700;
    color: #6f7a88;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.course-title a {
    font-size: 1.23rem;
    font-weight: 600;
    color: #172133;
    display: inline-block;
    line-height: 1.35;
    text-decoration: none;
    margin-top: 0.42rem;
}

.course-price-review {
    background-color: #eefbf3;
    padding: 12px 14px;
    border-radius: 10px;
    text-align: center;
    margin-top: 0.9rem;
}

.original-price {
    color: #5f7a68;
    font-weight: 500;
    font-size: 15px;
    padding-right: 0.6rem;
}

.sale-price {
    color: var(--green);
    font-weight: 700;
    font-size: 18px;
    padding-right: 0.25rem;
}

.star-wrapper {
    margin-top: 0.7rem;
}

.voted {
    color: #ffb02e;
}

.view-all {
    margin-top: 1.6rem;
    text-align: end;
}

.learning-journey {
    margin-top: 3.4rem;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.journey-step {
    border: 1px solid #e8edf4;
    border-radius: 15px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 28, 45, 0.05);
}

.journey-step span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green);
    background: #eafcf1;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    display: inline-block;
    margin-bottom: 0.7rem;
}

.journey-step h4 {
    font-size: 1.02rem;
    margin-bottom: 0.5rem;
    color: #172133;
}

.journey-step p {
    margin: 0;
    color: #566173;
    line-height: 1.55;
}

.heading,
.course-heading {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    margin-bottom: 1.6rem;
    margin-top: 0;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #182333;
}

.heading span,
.course-heading span {
    color: var(--green);
}

.faqs-img img {
    width: 100%;
}

.c-wrapper {
    width: 100%;
}

.c-wrapper .parent-tab,
.c-wrapper .child-tab {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e7edf4;
    box-shadow: 0 8px 20px rgba(14, 26, 43, 0.04);
}

.c-wrapper .parent-tab label,
.c-wrapper .child-tab label {
    background: #fff;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.parent-tab input:checked ~ label,
.child-tab input:checked ~ label {
    background: #f5fff9;
}

.c-wrapper label span {
    color: #1b2a3b;
    font-size: 1rem;
    font-weight: 600;
}

.parent-tab label .icon {
    position: relative;
    height: 28px;
    width: 28px;
    font-size: 13px;
    color: #fff;
    background: var(--green);
    border-radius: 50%;
}

.parent-tab label .icon i {
    position: absolute;
    top: 28%;
    right: 31%;
}

.parent-tab input:checked ~ label .icon i:before,
.child-tab input:checked ~ label .icon i:before {
    content: "\f068";
}

.c-wrapper .parent-tab .content,
.c-wrapper .child-tab .sub-content {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.4s ease;
}

.parent-tab input:checked ~ .content,
.child-tab input:checked ~ .sub-content {
    max-height: 240px;
}

.parent-tab .content p,
.child-tab .sub-content p {
    color: #566173;
    line-height: 1.55;
    padding: 0.7rem 1rem 1rem;
    font-size: 0.96rem;
    margin-bottom: 0;
}

input[type="radio"],
input[type="checkbox"] {
    display: none;
}

.enrolled-courses {
    margin-bottom: 2rem;
}

.col-center {
    margin: 0 auto;
    float: none !important;
}

.carousel {
    margin: 20px auto 8px;
    padding: 0 1.7rem;
}

.carousel-item {
    text-align: center;
    overflow: hidden;
    min-height: 290px;
}

.carousel .item .img-box {
    width: 108px;
    height: 108px;
    margin: 0 auto;
    padding: 4px;
    border: 2px solid #e4ebf3;
    border-radius: 50%;
}

.carousel .img-box img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.carousel .testimonial {
    padding: 18px 0 10px;
    max-width: min(100%, 520px);
    border-radius: 14px;
}

.carousel .overview b {
    text-transform: uppercase;
    color: var(--green);
}

i.fa-angle-right,
i.fa-angle-left {
    font-size: 44px;
    line-height: 42px;
    position: absolute;
    display: inline-block;
    color: #172133;
}

.carousel-inner {
    border: 1px solid #e6ecf4;
    border-radius: 14px;
    padding: 1rem;
    background: #fff;
}

.newsletter-form {
    max-width: 1140px;
    margin: 3.5rem auto 0;
    padding: 0 12px;
}

.newsletter-inner {
    background: linear-gradient(120deg, #131e2c 0%, #1c2e42 70%);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    color: #fff;
}

.newsletter-form h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.7rem;
    color: #fff;
}

.newsletter-form p {
    color: #c5d3e2;
}

.newsletter-form-group {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.newsletter-form .form-control {
    border-radius: 10px;
    min-height: 46px;
    border: none;
}

.newsletter-form .btn-primary {
    border-radius: 10px;
    min-width: 140px;
    background: var(--green);
    border-color: var(--green);
}

.success-message {
    color: #89f4b1 !important;
    margin-top: 0.65rem;
}

.error-message {
    color: #ff9393;
    margin-top: 0.8rem;
}

.modal {
    z-index: 9999999;
}

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

@media (max-width: 767px) {
    #swiper {
        margin-top: 4.5rem;
        padding: 0.8rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .course-heading,
    .heading {
        margin-bottom: 1.2rem;
    }

    .count-area {
        padding: 38px 12px;
    }

    .count-digit {
        margin: 6px 0;
        font-size: 34px;
    }

    .faqs-img {
        display: none;
    }

    .journey-grid {
        grid-template-columns: 1fr;
    }

    .carousel {
        padding: 0;
    }

    .newsletter-form-group {
        flex-direction: column;
    }

    .newsletter-form .btn-primary {
        width: 100%;
    }
}
