/* ---------------------Learning Experience Section Start--------------- */

.learning-experience {
    position: relative;
    background: linear-gradient(135deg, #001F3F, #002952, #003d66);
    color: #ffffff;
    padding: 6rem 1rem;
    overflow: hidden;
    text-align: center;
}

.le-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0px);
    background-size: 48px 48px;
    pointer-events: none;

}

.le-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.le-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}


.le-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

@media (min-width: 768px) {
    .le-heading {
        font-size: 3.75rem;
    }
}

.le-text-gradient {
    background: linear-gradient(to right, #2dd4bf, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 400;
}

.le-subtext {
    color: #e2e8f0;
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 38rem;
    margin: 0 auto 3rem auto;
}

.le-stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.le-stat-item {
    text-align: center;
}

.le-stat-number {
    font-size: 1.875rem;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.le-stat-label {
    color: #cbd5e1;
    font-size: 1rem;
}

/* ---------------------Learning Experience Section End--------------- */

/* ----------------------Show Courses Section Start ---------------------- */

:root {
    --primary-text: #111827;
    --secondary-text: #4b5563;
    --accent-color: #0d9488;
    --accent-hover: #0f766e;
    --bg-light: #f9fafb;
    --card-bg: #ffffff;
    --border-color: #f3f4f6;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

.filter-bar {
    position: sticky;
    top: 4rem;
    z-index: 40;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #f3f4f6;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.show-btns {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
    .show-btns {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .show-btns {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.show-btns-wrapper {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.show-btns-wrapper::-webkit-scrollbar {
    display: none;
}

.show-btns-wrapper .button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f3f4f6;
    color: #374151;
}


.show-btns-wrapper .button:not(.active):hover {
    background-color: #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.show-btns-wrapper .button.active {
    background: linear-gradient(to right, #0d9488, #14b8a6);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.3), 0 4px 6px -2px rgba(20, 184, 166, 0.3);
}

.course-list-section {
    padding: 2rem 1rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .course-list-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .course-list-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.course-list-section .num-of-course{
    margin: 2rem 0 2.5rem;

}


.grid-layout {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-layout {
        grid-template-columns: repeat(3, 1fr);
    }
}


.card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: all 0.5s ease;
    position: relative;
    color: inherit;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    border-color: transparent;
}

.card-image-wrapper {
    height: 14rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom right, #f3f4f6, #e5e7eb);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.card:hover .card-image {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card:hover .overlay {
    opacity: 1;
}

.badge-container {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.badge-pill-card {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.badge-popular {
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    color: white;
}

.badge-trending {
    background: linear-gradient(to right, #a855f7, #ec4899);
    color: white;
}
.badge-new{
    background: linear-gradient(to right, #14b8a6, #10b981);
    color: white;

}

.badge-ai {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--accent-color);
}

.rating-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-text);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.card-content {
    padding: 1.75rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 0.75rem 0;
    color: var(--primary-text);
    line-height: 1.25;
    transition: color 0.3s ease;
}

.card:hover .card-title {
    color: var(--accent-color);
}

.card-subtitle {
    color: var(--secondary-text);
    margin: 0 0 1.25rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-text);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.icon-box {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box.blue {
    background-color: #eff6ff;
    color: #2563eb;
}

.icon-box.green {
    background-color: #ecfdf5;
    color: #059669;
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.view-link {
    color: var(--accent-color);
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.card:hover .view-link {
    color: var(--accent-hover);
}

.arrow-box {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #f0fdfa;
    /* teal-50 */
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: background-color 0.3s ease;
}

.card:hover .arrow-box {
    background-color: #ccfbf1;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.card:hover .arrow-icon {
    transform: translateX(4px);
}






.card {
    transition: all 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
}

.card.hidden {
    display: none;
}


.empty-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

.empty-state.visible {
    display: flex;
}

.empty-icon {
    width: 5rem;
    height: 5rem;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #9ca3af;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.5rem;
}

.empty-state p {
    color: #6b7280;
    margin: 0 0 1.5rem;
}

.empty-state .btn-show-all {
    background: linear-gradient(to right, #0d9488, #14b8a6);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.empty-state .btn-show-all:hover {
    opacity: 0.9;
}


.num-of-course span.category-name {
    color: #0d9488;
    font-weight: 500;
}

/* ----------------------Show Courses Section End ---------------------- */