/* ===================================================================
   1. GLOBAL STYLES & VARIABLES
====================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@500;600;700&display=swap');

:root {
    --primary-color: #5D3EBF;
    --secondary-color: #1A237E;
    --accent-color: #00BFA5;
    --light-bg-color: #f8faff;
    --white-color: #ffffff;
    --text-color: #5f6c7b;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Lato', sans-serif;
    --card-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    --card-hover-shadow: 0 8px 30px rgba(93, 62, 191, 0.15);
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--white-color);
}
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--light-bg-color) !important; }

.section-title {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 2.8rem;
    margin-bottom: 15px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 650px;
    margin: 0 auto 60px auto;
    line-height: 1.7;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #00a18d;
    border-color: #00a18d;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 191, 165, 0.4);
}

/* ===================================================================
   2. ON-SCROLL FADE-IN ANIMATION
====================================================================== */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================================
   3. NAVBAR
====================================================================== */
.navbar {
    background-color: var(--white-color);
    padding: 10px 0;
    transition: all 0.3s ease;
}
.navbar-logo { height: 50px; }
.navbar-brand {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}
.nav-link {
    font-family: var(--heading-font);
    font-weight: 500;
    color: var(--secondary-color) !important;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary-color) !important; }
.contact-btn {
    background-color: var(--primary-color);
    color: var(--white-color) !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-family: var(--heading-font);
    font-weight: 500;
    text-decoration: none;
    margin-left: 15px;
    transition: all 0.3s ease;
}
.contact-btn:hover { background-color: var(--secondary-color); transform: translateY(-2px); }

/* ===================================================================
   4. HERO SECTION & DYNAMIC CARDS
====================================================================== */
.hero-section {
    padding: 100px 0 0 0;
    background-color: var(--light-bg-color);
    overflow: hidden;
    position: relative;
}
.hero-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.3;
    color: var(--secondary-color);
}
.hero-title .highlight { color: var(--primary-color); }
.hero-subtitle { font-size: 1.2rem; max-width: 600px; margin: 20px auto 30px auto; }
.hero-cards-container {
    width: 100%;
    margin-top: 60px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}
.hero-cards-track {
    display: flex;
    width: calc(250px * 14);
    animation: scroll-left 40s linear infinite;
}
.hero-cards-container:hover .hero-cards-track { animation-play-state: paused; }
.hero-card {
    width: 250px;
    flex-shrink: 0;
    background-color: var(--white-color);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 0 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    text-align: center;
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.hero-card i { color: var(--primary-color); font-size: 1.5rem; }
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); }
}

/* ===================================================================
   5. FEATURE & CATEGORY CARDS
====================================================================== */
.feature-card, .category-card {
    background-color: var(--white-color);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8eaf6;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.feature-card:hover, .category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}
.feature-icon, .category-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.feature-title, .category-title {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.feature-description, .category-description { flex-grow: 1; }
.category-card-link { text-decoration: none; color: inherit; height: 100%; }

/* ===================================================================
   6. ABOUT US SECTION (REDESIGNED)
====================================================================== */
.about-content-box {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    border: 1px solid #e0e0e0;
}
.about-box-title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.about-list { list-style: none; padding-left: 0; margin-top: 20px; }
.about-list li { margin-bottom: 10px; display: flex; align-items: flex-start; }
.about-list li i { color: var(--accent-color); margin-right: 15px; font-size: 1.2rem; margin-top: 4px;}

/* ===================================================================
   7. TEAM SECTION
====================================================================== */
.team-section { background-color: var(--white-color); }
.team-card {
    background: var(--light-bg-color);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #e8eaf6;
    transition: all 0.3s ease;
}
.team-card:hover { transform: translateY(-10px); box-shadow: var(--card-hover-shadow); }
.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--white-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.team-card h4 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}
.team-card p { color: var(--primary-color); font-weight: 500; }

/* ===================================================================
   8. HOW IT WORKS (TIMELINE - FIXED)
====================================================================== */
.timeline-step { text-align: center; padding: 20px; position: relative; }
.timeline { position: relative; }
.timeline::before {
    content: '';
    position: absolute;
    top: 75px;
    left: 15%;
    right: 15%;
    height: 2px;
    background-image: linear-gradient(to right, var(--primary-color) 50%, transparent 50%);
    background-size: 16px 2px;
    background-repeat: repeat-x;
    z-index: 0;
}
.timeline-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--heading-font);
    box-shadow: 0 0 0 8px var(--light-bg-color);
    position: relative;
    z-index: 1;
}
.timeline-title {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
@media (max-width: 991px) {
    .timeline::before { display: none; }
}

/* ===================================================================
   9. STATS SECTION
====================================================================== */
.stats-section { background-color: var(--white-color); }
.stat-item {
    background-color: var(--light-bg-color);
    padding: 40px 20px;
    border-radius: 15px;
    border: 1px solid #e8eaf6;
}
.stat-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 15px; }
.stat-number {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 3.5rem;
    color: var(--secondary-color);
    line-height: 1;
}
.stat-title { font-size: 1.1rem; color: var(--text-color); margin-top: 10px; }

/* ===================================================================
   10. TESTIMONIALS SLIDER
====================================================================== */
.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: auto;
    padding: 0 50px;
    overflow: hidden;
}
.testimonial-slider { display: flex; transition: transform 0.5s ease-in-out; }
.testimonial-item {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #e8eaf6;
}
.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
}
.testimonial-author {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white-color);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.slider-btn:hover { background-color: var(--primary-color); color: var(--white-color); }
.prev-btn { left: 0; }
.next-btn { right: 0; }
.slider-dots { text-align: center; margin-top: 20px; }
.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dot.active { background-color: var(--primary-color); }

/* ===================================================================
   11. FAQ SECTION
====================================================================== */
.accordion-item {
    background-color: var(--white-color) !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.accordion-button {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color) !important;
    background-color: var(--white-color) !important;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    color: var(--primary-color) !important;
    background-color: #f8faff !important;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235D3EBF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-body a { color: var(--primary-color); font-weight: 700; }

/* ===================================================================
   12. FINAL CTA
====================================================================== */
.final-cta {
    background-color: var(--primary-color);
    padding: 80px 0;
    color: var(--white-color);
}
.cta-title { font-family: var(--heading-font); font-weight: 700; font-size: 2.8rem; }
.cta-subtitle { font-size: 1.1rem; margin: 15px auto 30px auto; max-width: 500px; opacity: 0.9; }
.final-cta .btn-light {
    font-family: var(--heading-font);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--primary-color);
}
.final-cta .btn-light:hover { transform: scale(1.05); }

/* ===================================================================
   13. FOOTER
====================================================================== */
.footer { background-color: var(--secondary-color); color: #e0e0e0; padding: 60px 0 20px 0; }
.footer-brand h2 { font-family: var(--heading-font); font-weight: 700; color: var(--white-color); font-size: 1.8rem; margin-bottom: 15px; }
.footer-brand p { font-size: 0.95rem; max-width: 300px; }
.footer h5 { font-family: var(--heading-font); font-weight: 600; color: var(--white-color); margin-bottom: 20px; }
.footer-links a { display: block; color: #e0e0e0; text-decoration: none; margin-bottom: 12px; transition: all 0.3s ease; }
.footer-links a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-social .social-icon { color: #e0e0e0; font-size: 1.2rem; margin-right: 15px; transition: all 0.3s ease; }
.footer-social .social-icon:hover { color: var(--accent-color); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid #3c448a; padding-top: 20px; margin-top: 40px; font-size: 0.9rem; text-align: center; }

/* ===================================================================
   14. WHATSAPP FLOAT
====================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}
.whatsapp-float i { margin-top: 15px; }
.whatsapp-float:hover { transform: scale(1.1); color: white; }

/* ===================================================================
   TEAM SECTION - V2 ELEVATED CARDS
====================================================================== */
.team-section .row {
    --bs-gutter-x: 1.5rem; /* Default Bootstrap gutter */
}

.team-card-v2 {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden; /* Important for the image effect */
    text-align: center;
    border: 1px solid #e8eaf6;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.team-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.team-card-image-wrapper {
    position: relative;
    height: 280px;
}

.team-photo-v2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Focus on the face */
    transition: transform 0.4s ease;
}

.team-card-v2:hover .team-photo-v2 {
    transform: scale(1.05);
}

.team-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 35, 126, 0.6) 0%, rgba(26, 35, 126, 0) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.team-card-v2:hover .team-card-overlay {
    opacity: 1;
}

.team-card-overlay .social-links .social-link {
    display: inline-block;
    color: var(--white-color);
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 40px;
    height: 40px;
    line-height: 40px; /* Vertically centers the icon */
    border-radius: 50%;
    text-align: center;
    margin: 0 5px;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.team-card-v2:hover .social-link {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s; /* Delay the appearance */
}

.team-card-overlay .social-links .social-link:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.team-card-content {
    padding: 25px 15px;
}

.team-name {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.expertise-tag {
    background-color: #e9e4f5; /* Light purple */
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 50px;
}/* ===================================================================
   TEAM SECTION - V3 FINAL CARDS
====================================================================== */
.team-card-v3 {
    background-color: var(--white-color);
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e8eaf6;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%; /* Makes all cards in a row equal height */
}

.team-card-v3:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.team-card-v3 .card-header {
    background-color: var(--light-bg-color);
    padding: 30px 20px 20px 20px;
    border-bottom: 1px solid #e8eaf6;
    border-radius: 15px 15px 0 0 !important;
}

.team-photo-v3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 5px solid var(--white-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.team-card-v3 .card-body {
    padding: 25px;
    flex-grow: 1; /* Allows body to expand and push footer down */
}

.team-name {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 20px;
    min-height: 40px; /* Prevents layout shifts if roles have different line counts */
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    font-size: 0.95rem;
}

.highlights-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.highlights-list i {
    color: var(--accent-color);
    margin-right: 10px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: auto; /* Pushes tags to the bottom of the card-body */
}

.expertise-tag {
    background-color: #e9e4f5;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}

.team-card-v3 .card-footer {
    background-color: var(--white-color);
    padding: 15px 25px;
    border-top: 1px solid #e8eaf6;
    border-radius: 0 0 15px 15px !important;
}

.card-footer .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.card-footer .social-links .social-icon {
    color: #a0a0a0;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.card-footer .social-links .social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ===================================================================
   COURSES PAGE STYLES
====================================================================== */

/* --- Page Header --- */
.page-header {
    background-color: var(--light-bg-color);
    padding: 60px 0;
    border-bottom: 1px solid #e8eaf6;
}

.page-title {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 3rem;
    margin-bottom: 10px;
}
.page-header .page-subtitle {
    font-size: 1.15rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}
.courses-page-section {
    background-color: var(--white-color);
}

/* --- Filter & Search Bar --- */
.filter-search-bar {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border: 1px solid #e8eaf6;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.search-wrapper {
    position: relative;
}
.search-wrapper .fa-search {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #aaa;
}
#search-bar {
    padding-left: 50px;
    height: 50px;
    border-radius: 50px;
}
.filter-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.filter-wrapper .form-select {
    border-radius: 50px;
    flex: 1;
    min-width: 180px;
}
.filter-wrapper .btn {
    border-radius: 50px;
}

@media (min-width: 992px) {
    .filter-search-bar {
        flex-direction: row;
        align-items: center;
    }
    .search-wrapper {
        flex: 0 0 35%; /* Search bar takes 35% width */
    }
    .filter-wrapper {
        flex: 1;
    }
}

/* ===================================================================
   COURSES PAGE - V4 DATA-RICH CARDS
====================================================================== */
.course-card-v4 {
    background-color: var(--white-color);
    border-radius: 15px;
    border: 1px solid #e8eaf6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card-v4:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.course-card-v4 .card-header {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 30px 25px 20px 25px; /* Reduced bottom padding */
    border-radius: 15px 15px 0 0 !important;
    position: relative;
    text-align: center;
}

.course-card-v4 .card-body {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-card-v4 .course-title {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
    line-height: 1.3;
}

.instructor-info {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 15px;
}

.instructor-linkedin-icon {
    color: var(--primary-color);
    margin-left: 8px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.instructor-linkedin-icon:hover {
    color: var(--accent-color);
}

.course-short-desc {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Accordion inside the card */
.course-details-accordion {
    margin-top: auto; /* Pushes the accordion to the bottom of the body */
}

.course-details-accordion .accordion-item {
    border-radius: 8px !important;
    border: 1px solid #e8eaf6 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.course-details-accordion .accordion-button {
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary-color) !important;
    background-color: var(--light-bg-color) !important;
    padding: 10px 15px;
    border-radius: 8px !important;
}

.course-details-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color) !important;
}

.course-details-accordion .accordion-button::after {
    transform: scale(0.8);
}

.course-details-accordion .accordion-body {
    padding: 15px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.details-list li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.details-list li:last-child {
    margin-bottom: 0;
}

.details-list i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 0.8rem;
}

/* Card Footer */
.course-card-v4 .card-footer {
    background-color: transparent;
    border-top: 1px solid #e8eaf6;
    padding: 20px 25px;
}

.course-card-v4 .course-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 0.9rem;
}
.course-tags {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column; /* Stack tags vertically */
    align-items: flex-end; /* Align them to the right */
    gap: 6px;
}

.course-badge {
    color: var(--white-color);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* Adds depth */
}

.badge-success { background-color: var(--accent-color); }
.badge-info { background-color: #03a9f4; }
.badge-warning { background-color: #ff9800; }
.badge-primary { background-color: rgba(255, 255, 255, 0.2); }

/* --- Not Found Message --- */
.not-found-message {
    background-color: var(--light-bg-color);
    padding: 50px 20px;
    border-radius: 15px;
}
.not-found-message i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.not-found-message h3 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
}
