/* ==========================================================================
   Premium Brand System Stylesheet
   Color Identity: Vibrant Green (#00c25a)
   Scope: Platform-wide shared UI overrides
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');


:root, .ssc-page {
    --accent: #00c25a !important;
    --accent-rgb: 0, 194, 90 !important;
    --border-color: #e2f0ea !important;

    /* Premium Course Details variables */
    --brand-primary: #00c25a;
    --brand-primary-rgb: 0, 194, 90;
    --brand-dark: #022c16;
    --brand-darker: #01140b;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-light: #e2f0ea;
    --bg-light: #fafdfa;
    --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   HEADER NAVIGATION GREEN THEME OVERRIDES
   -------------------------------------------------------------------------- */
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #00c25a !important;
}
.ep-nav-link:hover {
    color: #00c25a !important;
    background: rgba(0, 194, 90, 0.05) !important;
}
.ep-nav-link::after {
    background: #00c25a !important;
}
.ep-nav-link.active {
    color: #00c25a !important;
}
.ep-brand-text {
    background: linear-gradient(135deg, #0f172a 0%, #00c25a 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}
.ep-btn-register {
    border-color: #00c25a !important;
    background: #00c25a !important;
    box-shadow: 0 4px 14px rgba(0, 194, 90, 0.25) !important;
}
.ep-btn-register:hover {
    background: transparent !important;
    color: #00c25a !important;
    box-shadow: none !important;
}
.ep-live-dot {
    background-color: #00c25a !important;
    animation-name: epPulseGreen !important;
}
@keyframes epPulseGreen {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 194, 90, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(0, 194, 90, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 194, 90, 0);
    }
}

/* --------------------------------------------------------------------------
   FOOTER VIBRANT GREEN THEME OVERRIDES
   -------------------------------------------------------------------------- */
footer {
    background: #fafdfa !important;
    border-top: 1px solid #e2f0ea !important;
}
footer h5, footer h3, footer .h3, footer p, footer a, footer span, footer .small {
    color: #334155 !important;
}
footer a:hover {
    color: #00c25a !important;
}
footer .bi-envelope, footer .bi-geo-alt, footer .bi-envelope-fill, footer .bi-geo-alt-fill {
    color: #00c25a !important;
}

/* --------------------------------------------------------------------------
   CATALOG SIDEBAR FILTERS
   -------------------------------------------------------------------------- */
.catalog-sidebar {
    background: #ffffff !important;
    border: 1.5px solid #e2f0ea !important;
    padding: 1.8rem;
    position: sticky;
    top: 90px;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 194, 90, 0.02) !important;
}
.filter-group { 
    margin-bottom: 1.5rem; 
}
.filter-title { 
    font-weight: 800; 
    font-size: 1rem; 
    color: #0f172a !important; 
    margin-bottom: 0.85rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.filter-item { 
    display: flex; 
    align-items: center; 
    margin-bottom: 0.65rem; 
    font-size: 0.92rem; 
    color: #475569 !important; 
    font-weight: 500;
}
.filter-item input { 
    margin-right: 0.75rem; 
    width: 18px; 
    height: 18px; 
    cursor: pointer; 
    accent-color: #00c25a !important; 
    border-radius: 6px;
    border: 1.5px solid #cbd5e1;
}
.filter-item label { 
    cursor: pointer; 
    flex: 1; 
    font-weight: 550; 
}
.filter-count { 
    font-size: 0.8rem; 
    color: #94a3b8; 
    margin-left: 4px; 
}

/* --------------------------------------------------------------------------
   UNIFIED PREMIUM COURSE & PACKAGES GRID CARDS
   -------------------------------------------------------------------------- */
.s-course-card {
    background: #ffffff !important;
    border: 1.5px solid #e2f0ea !important;
    border-radius: 20px !important;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s !important;
    box-shadow: 0 10px 30px rgba(0, 194, 90, 0.015) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.s-course-card:hover {
    transform: translateY(-6px) !important;
    border-color: #00c25a !important;
    box-shadow: 0 20px 40px rgba(0, 194, 90, 0.08) !important;
}
.s-course-img-wrapper {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #fafdfa !important;
    border-bottom: 1.5px solid #e2f0ea !important;
    position: relative;
}
.s-course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.s-course-card:hover .s-course-img {
    transform: scale(1.05);
}
.s-course-body {
    padding: 1.5rem !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.s-course-title {
    font-size: 1.1rem !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    margin-bottom: 0.6rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.s-course-card:hover .s-course-title {
    color: #00c25a !important;
}
.s-course-instructor {
    font-size: 0.85rem !important;
    color: #475569 !important;
    margin-bottom: 0.75rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}
.s-course-meta-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-top: auto !important;
    padding-top: 0.85rem !important;
    border-top: 1.5px solid #e2f0ea !important;
}
.s-course-price {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}
.s-course-price-old {
    font-size: 0.9rem !important;
    text-decoration: line-through !important;
    color: #94a3b8 !important;
}
.s-course-badge {
    background: rgba(0, 194, 90, 0.08) !important;
    color: #00c25a !important;
    border: 1px solid rgba(0, 194, 90, 0.15) !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    font-size: 0.72rem !important;
    padding: 0.25rem 0.75rem !important;
}

/* --------------------------------------------------------------------------
   MOCK EXAM CARD STYLING RULES (.ud-card)
   -------------------------------------------------------------------------- */
.ud-card {
    background: #ffffff !important;
    border: 1.5px solid #e2f0ea !important;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px !important;
    box-shadow: 0 8px 24px rgba(0, 194, 90, 0.015) !important;
}
.ud-card:hover {
    border-color: #00c25a !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0, 194, 90, 0.08) !important;
}
.ud-img-box {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #fafdfa !important;
    border-bottom: 1.5px solid #e2f0ea !important;
}
.ud-img-box img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease;
}
.ud-card:hover .ud-img-box img { 
    transform: scale(1.06); 
}
.ud-card-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ud-title {
    font-size: 1.05rem; 
    font-weight: 700; 
    color: #0f172a !important;
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden;
    line-height: 1.4; 
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}
.ud-card:hover .ud-title {
    color: #00c25a !important;
}
.ud-instructor { 
    font-size: 0.8rem; 
    color: #475569 !important; 
    margin-bottom: 0.6rem; 
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}
.ud-rating { 
    display: flex; 
    align-items: center; 
    gap: 0.3rem; 
    font-size: 0.85rem; 
    margin-bottom: 0.8rem; 
    font-weight: 700; 
    color: #b45309; 
}
.ud-stars { 
    color: #f59e0b !important; 
    font-size: 0.85rem; 
    letter-spacing: 1px; 
}
.ud-reviews { 
    color: #94a3b8 !important; 
    font-weight: 550; 
    font-size: 0.8rem; 
}
.ud-price-row { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    margin-top: auto; 
    padding-top: 0.75rem; 
    border-top: 1.5px solid #e2f0ea !important;
}
.ud-price { 
    font-size: 1.15rem; 
    font-weight: 800; 
    color: #0f172a !important; 
}
.ud-price-old { 
    font-size: 0.88rem; 
    text-decoration: line-through; 
    color: #94a3b8 !important; 
}
.ud-badge {
    background: rgba(0, 194, 90, 0.08) !important; 
    color: #00c25a !important; 
    font-size: 0.72rem; 
    font-weight: 700; 
    padding: 0.25rem 0.75rem; 
    border-radius: 50px; 
    display: inline-block; 
    margin-bottom: 0.65rem;
    border: 1px solid rgba(0, 194, 90, 0.15) !important;
}

/* --------------------------------------------------------------------------
   CTA ACTION BUTTONS (.ep-btn-exam)
   -------------------------------------------------------------------------- */
.ep-btn-exam {
    background: #00c25a !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    padding: 0.7rem 1.2rem !important;
    border-radius: 50px !important;
    transition: all 0.25s ease !important;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 194, 90, 0.2) !important;
}
.ep-btn-exam:hover {
    background: #00a84d !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 194, 90, 0.3) !important;
}
.ep-btn-exam-enrolled {
    background: #097945 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(9, 121, 69, 0.2) !important;
}
.ep-btn-exam-enrolled:hover {
    background: #075e36 !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(9, 121, 69, 0.3) !important;
}

/* --------------------------------------------------------------------------
   MICRO-ANIMATIONS & TRANSITION UTILITIES
   -------------------------------------------------------------------------- */
.transition-rotate {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
    transform: rotate(0deg);
}
.faq-header {
    cursor: pointer;
    transition: background-color 0.2s;
}
.faq-header:hover {
    background-color: rgba(0, 194, 90, 0.03) !important;
}
.transition-hover {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s !important;
}
.transition-hover:hover {
    transform: translateY(-5px);
    border-color: #00c25a !important;
    box-shadow: 0 15px 35px rgba(0, 194, 90, 0.06) !important;
}

/* --- PREMIUM COURSE DETAILS COMPACT HELPERS --- */
.cd-hero-gradient {
    background: linear-gradient(135deg, #022c16 0%, #01140b 100%) !important;
}
.cd-sticky-subnav {
    position: sticky !important;
    top: 70px !important;
    z-index: 999 !important;
}
.cd-sidebar-sticky {
    position: sticky !important;
    top: 140px !important;
    z-index: 100 !important;
}
.cd-mobile-bottom-checkout {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
}
.no-scrollbar::-webkit-scrollbar {
    display: none !important;
}
.no-scrollbar {
    scrollbar-width: none !important;
}


