/*=====================================
        COURSES HERO
======================================*/

.courses-hero {
    position: relative;

    padding: 120px 0;

    overflow: hidden;

    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.courses-hero::before {
    content: "";

    position: absolute;

    width: 550px;

    height: 550px;

    border-radius: 50%;

    background: #dbeafe;

    filter: blur(140px);

    right: -180px;

    top: -180px;

    z-index: 0;
}

.courses-hero .container {
    position: relative;

    z-index: 2;
}

/*=========================
Badge
=========================*/

.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    background: #eef4ff;

    color: #2563eb;

    padding: 12px 20px;

    border-radius: 50px;

    font-weight: 600;

    margin-bottom: 25px;
}

.hero-badge i {
    font-size: 18px;
}

/*=========================
Heading
=========================*/

.courses-hero h1 {
    font-size: 62px;

    font-weight: 800;

    line-height: 1.15;

    color: #0f172a;

    margin-bottom: 25px;
}

.courses-hero h1 span {
    color: #2563eb;
}

.courses-hero p {
    font-size: 18px;

    color: #64748b;

    line-height: 1.8;

    margin-bottom: 35px;
}

/*=========================
Search
=========================*/

.course-search {
    display: flex;

    align-items: center;

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);

    margin-bottom: 35px;
}

.course-search input {
    width: 100%;

    border: none;

    outline: none;

    padding: 20px 25px;

    font-size: 16px;
}

.course-search button {
    width: 70px;

    height: 65px;

    border: none;

    background: #2563eb;

    color: #fff;

    font-size: 22px;

    transition: 0.35s;
}

.course-search button:hover {
    background: #1d4ed8;
}

/*=========================
Buttons
=========================*/

.hero-buttons {
    display: flex;

    gap: 18px;

    margin-bottom: 45px;
}

.primary-btn {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 16px 30px;

    background: #2563eb;

    color: #fff;

    border-radius: 16px;

    text-decoration: none;

    font-weight: 600;

    transition: 0.35s;
}

.primary-btn:hover {
    transform: translateY(-4px);

    color: #fff;

    background: #1d4ed8;
}

.secondary-btn {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 16px 30px;

    border-radius: 16px;

    text-decoration: none;

    background: #fff;

    color: #0f172a;

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);

    transition: 0.35s;
}

.secondary-btn:hover {
    transform: translateY(-4px);

    color: #2563eb;
}

/*=========================
Stats
=========================*/

.hero-stats {
    display: flex;

    gap: 40px;
}

.hero-stats h3 {
    font-size: 34px;

    color: #2563eb;

    margin-bottom: 5px;

    font-weight: 800;
}

.hero-stats span {
    color: #64748b;

    font-size: 15px;
}

/*=========================
Dashboard
=========================*/

.hero-dashboard {
    position: relative;

    text-align: center;
}

.hero-dashboard img {
    width: 100%;

    max-width: 560px;

    border-radius: 28px;

    box-shadow: 0 35px 80px rgba(15, 23, 42, 0.12);
}

/*=========================
Floating Cards
=========================*/

.floating-card {
    position: absolute;

    display: flex;

    align-items: center;

    gap: 15px;

    background: #fff;

    padding: 15px 18px;

    border-radius: 18px;

    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);

    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    width: 50px;

    height: 50px;

    border-radius: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eef4ff;

    color: #2563eb;

    font-size: 22px;
}

.floating-card strong {
    display: block;

    color: #0f172a;
}

.floating-card small {
    color: #64748b;
}

/*=========================
Positions
=========================*/

.certificate {
    top: 30px;

    left: -30px;
}

.mentor {
    right: -20px;

    top: 180px;
}

.students {
    left: 50px;

    bottom: 10px;
}

/*=========================
Animation
=========================*/

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

/*=========================
Responsive
=========================*/

@media (max-width: 991px) {
    .courses-hero {
        padding: 80px 0;

        text-align: center;
    }

    .courses-hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;

        flex-wrap: wrap;

        gap: 25px;

        margin-bottom: 50px;
    }

    .hero-dashboard {
        margin-top: 40px;
    }

    .floating-card {
        position: static;

        margin: 15px auto;

        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .courses-hero h1 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        justify-content: center;

        width: 100%;
    }

    .course-search {
        flex-direction: column;
    }

    .course-search input {
        padding: 18px;
    }

    .course-search button {
        width: 100%;

        height: 55px;
    }

    .hero-stats {
        display: grid;

        grid-template-columns: repeat(2, 1fr);
    }
}

/*=====================================
COURSE CATEGORIES
======================================*/

.course-category-section {
    padding: 100px 0;
    background: #fff;
}

.course-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 50px;
}

.course-categories .category {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 15px 24px;

    border-radius: 50px;

    background: #fff;

    border: 1px solid #e5e7eb;

    color: #475569;

    text-decoration: none;

    font-weight: 600;

    transition: 0.35s;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.course-categories .category:hover {
    background: #2563eb;

    color: #fff;

    border-color: #2563eb;

    transform: translateY(-4px);
}

.course-categories .active {
    background: #2563eb;

    color: #fff;

    border-color: #2563eb;
}

/*=====================================
FEATURED COURSE
======================================*/

.featured-course {
    padding: 100px 0;

    background: #f8fbff;
}

.featured-wrapper {
    background: #fff;

    border-radius: 30px;

    padding: 35px;

    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.featured-image {
    position: relative;

    overflow: hidden;

    border-radius: 24px;
}

.featured-image img {
    width: 100%;

    border-radius: 24px;

    transition: 0.5s;
}

.featured-image:hover img {
    transform: scale(1.06);
}

.course-tag {
    position: absolute;

    top: 20px;

    left: 20px;

    background: #ff6b35;

    color: #fff;

    padding: 10px 18px;

    border-radius: 30px;

    font-size: 14px;

    font-weight: 700;
}

.featured-content {
    padding-left: 30px;
}

.featured-content h2 {
    font-size: 42px;

    font-weight: 800;

    color: #0f172a;

    margin: 20px 0;
}

.featured-content p {
    font-size: 17px;

    line-height: 1.9;

    color: #64748b;
}

.course-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 30px;

    margin: 35px 0;
}

.course-meta div {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #475569;

    font-weight: 600;
}

.course-meta i {
    color: #2563eb;
}

.course-features {
    list-style: none;

    padding: 0;

    margin: 0;
}

.course-features li {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 15px;

    color: #334155;

    font-weight: 500;
}

.course-features i {
    color: #22c55e;
}

.price-area {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 40px;

    flex-wrap: wrap;

    gap: 20px;
}

.price-area h3 {
    font-size: 40px;

    color: #2563eb;

    font-weight: 800;

    margin: 0;
}

.price-area span {
    font-size: 22px;

    color: #94a3b8;

    text-decoration: line-through;

    margin-left: 10px;
}

/*=====================================
RESPONSIVE
======================================*/

@media (max-width: 991px) {
    .featured-content {
        padding-left: 0;

        margin-top: 40px;
    }

    .featured-content h2 {
        font-size: 34px;
    }
}

@media (max-width: 576px) {
    .course-categories {
        justify-content: flex-start;
    }

    .course-categories .category {
        width: 100%;

        justify-content: center;
    }

    .featured-content h2 {
        font-size: 28px;
    }

    .price-area {
        flex-direction: column;

        align-items: flex-start;
    }
}

/*=========================
POPULAR COURSES
=========================*/

.popular-courses {
    padding: 110px 0;

    background: #fff;
}

.course-card {
    background: #fff;

    border-radius: 24px;

    overflow: hidden;

    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);

    transition: 0.4s;

    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);

    box-shadow: 0 30px 70px rgba(37, 99, 235, 0.12);
}

.course-image {
    position: relative;

    overflow: hidden;
}

.course-image img {
    width: 100%;

    height: 220px;

    object-fit: cover;

    transition: 0.5s;
}

.course-card:hover img {
    transform: scale(1.08);
}

.best-seller {
    position: absolute;

    left: 15px;

    top: 15px;

    background: #2563eb;

    color: #fff;

    padding: 7px 14px;

    border-radius: 30px;

    font-size: 12px;

    font-weight: 700;
}

.wishlist {
    position: absolute;

    right: 15px;

    top: 15px;

    width: 42px;

    height: 42px;

    border: none;

    border-radius: 50%;

    background: #fff;

    font-size: 18px;

    transition: 0.3s;
}

.wishlist:hover {
    background: #2563eb;

    color: #fff;
}

.course-content {
    padding: 25px;
}

.course-category {
    display: inline-block;

    background: #eef4ff;

    color: #2563eb;

    padding: 6px 14px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 15px;
}

.course-content h4 {
    font-size: 22px;

    font-weight: 700;

    margin-bottom: 15px;

    min-height: 58px;
}

.rating {
    color: #f59e0b;

    margin-bottom: 18px;
}

.rating span {
    color: #64748b;

    margin-left: 5px;
}

.course-info {
    display: flex;

    justify-content: space-between;

    margin-bottom: 20px;

    color: #64748b;

    font-size: 14px;
}

.price {
    margin-bottom: 20px;
}

.price h5 {
    font-size: 30px;

    font-weight: 800;

    color: #2563eb;
}

.price span {
    font-size: 17px;

    text-decoration: line-through;

    color: #94a3b8;

    margin-left: 10px;
}

.primary-btn.w-100 {
    justify-content: center;
}


/*=========================================
COURSE DETAILS HERO
=========================================*/

.course-details-hero {
    padding: 70px 0 100px;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-size: 15px;
}

.breadcrumb-nav a {
    color: #64748b;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb-nav a:hover {
    color: #2563eb;
}

.breadcrumb-nav span {
    color: #0f172a;
    font-weight: 600;
}

.course-badge {
    display: inline-block;
    padding: 8px 18px;
    background: #eef4ff;
    color: #2563eb;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.course-details-hero h1 {
    font-size: 54px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.course-short-desc {
    font-size: 18px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
}

/*=========================
Course Meta
=========================*/

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 35px;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-weight: 500;
}

.course-meta i {
    color: #2563eb;
}

/*=========================
Highlights
=========================*/

.course-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 16px 18px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.highlight-item i {
    color: #22c55e;
    font-size: 18px;
}

/*=========================
Preview Image
=========================*/

.course-preview {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.course-preview img {
    width: 100%;
    border-radius: 24px;
}

.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    text-decoration: none;
    transition: 0.35s;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.3);
}

.play-btn:hover {
    background: #1d4ed8;
    transform: translate(-50%, -50%) scale(1.08);
    color: #fff;
}

/*=========================================
Sticky Sidebar
=========================================*/

.course-sidebar {
    position: sticky;
    top: 110px;

    background: #fff;

    border-radius: 24px;

    padding: 25px;

    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.course-sidebar img {
    width: 100%;
    border-radius: 18px;
    margin-bottom: 25px;
}

.price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.price-box h2 {
    font-size: 40px;
    color: #2563eb;
    font-weight: 800;
    margin: 0;
}

.price-box h2 span {
    display: block;
    font-size: 18px;
    text-decoration: line-through;
    color: #94a3b8;
    margin-top: 5px;
}

.discount {
    background: #dcfce7;
    color: #16a34a;
    padding: 8px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
}

.offer-box {
    background: #fff7ed;
    color: #ea580c;
    padding: 15px;
    border-radius: 14px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.course-includes {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.course-includes li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
    color: #475569;
}

.course-includes i {
    color: #2563eb;
}

.secure-box {
    background: #eef4ff;
    color: #2563eb;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    font-weight: 600;
}

/*=========================================
Course Overview
=========================================*/

.course-overview {
    padding: 100px 0;
    background: #fff;
}

.overview-card {
    background: #fff;
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
}

.overview-card h2 {
    font-size: 40px;
    font-weight: 800;
    margin: 20px 0;
    color: #0f172a;
}

.overview-card p {
    font-size: 17px;
    color: #64748b;
    line-height: 1.9;
}

.overview-card h4 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overview-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 18px;
    color: #475569;
    font-weight: 500;
}

.overview-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/*=========================================
Responsive
=========================================*/

@media (max-width: 991px) {
    .course-details-hero h1 {
        font-size: 38px;
    }

    .course-sidebar {
        position: static;
        margin-top: 40px;
    }

    .course-highlights {
        grid-template-columns: 1fr;
    }

    .course-meta {
        gap: 15px;
    }

    .overview-card {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .course-details-hero {
        padding: 40px 0 70px;
    }

    .course-details-hero h1 {
        font-size: 30px;
    }

    .price-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .overview-card h2 {
        font-size: 30px;
    }

    .course-meta {
        flex-direction: column;
    }
}
