/* ============================================================
   Courses & Programs Page Styles — Hyper-Modern Interactive Discovery Studio
   ============================================================ */

/* ------------------------------------------------------------
   1. ELEVATED FLOATING FEATURE DECK (Overlapping Hero)
   ------------------------------------------------------------ */
.courses-feature-bar {
    position: relative;
    z-index: 20;
    margin-top: -38px;
    margin-bottom: 28px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.courses-feature-row {
    background: linear-gradient(135deg, rgba(14, 46, 92, 0.97) 0%, rgba(7, 28, 56, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    color: #FFFFFF;
}

.courses-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.courses-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #F59E0B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.courses-feature-item:hover .courses-feature-icon {
    background: rgba(245, 158, 11, 0.25);
    border-color: #F59E0B;
    transform: scale(1.08);
}

.courses-feature-label {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2px;
    line-height: 1.25;
}

.courses-feature-sub {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #CBD5E1;
    line-height: 1.4;
}

/* ------------------------------------------------------------
   2. STICKY EXPLORER TOOLBAR & LIVE SEARCH
   ------------------------------------------------------------ */
.courses-explorer-toolbar {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    padding: 16px 0;
    position: sticky;
    top: var(--header-height, 88px);
    z-index: 80;
    box-shadow: 0 4px 20px rgba(10, 37, 80, 0.04);
    backdrop-filter: blur(12px);
}

.explorer-toolbar-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Live Search Box */
.course-search-wrapper {
    width: 100%;
}

.search-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: 30px;
    padding: 6px 18px;
    transition: all 0.25s ease;
}

.search-input-box:focus-within {
    background: #FFFFFF;
    border-color: #0066FF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

.search-input-box svg {
    flex-shrink: 0;
    margin-right: 10px;
}

.search-input-box input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #0A2550;
    padding: 6px 0;
}

.search-input-box input::placeholder {
    color: #94A3B8;
    font-size: 13.5px;
}

.clear-search-btn {
    background: #E2E8F0;
    border: none;
    color: #475569;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.clear-search-btn:hover {
    background: #CBD5E1;
    color: #0A2550;
}

/* Stream Filter Pills */
.stream-filter-pills-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.stream-pill-btn {
    background: #F1F5F9;
    color: #334155;
    border: 1px solid #E2E8F0;
    border-radius: 30px;
    padding: 7px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.stream-pill-btn:hover {
    background: #E2E8F0;
    color: #0A2550;
    transform: translateY(-2px);
}

.stream-pill-btn.active {
    background: linear-gradient(135deg, #0066FF 0%, #0047BA 100%);
    color: #FFFFFF;
    border-color: #0066FF;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.28);
    transform: translateY(-2px);
}

/* Degree Level Toggle */
.degree-level-toggle {
    display: flex;
    align-items: center;
    background: #F1F5F9;
    border-radius: 30px;
    padding: 3px;
    width: fit-content;
    border: 1px solid #E2E8F0;
}

.level-btn {
    border: none;
    background: transparent;
    color: #64748B;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.level-btn:hover {
    color: #0A2550;
}

.level-btn.active {
    background: #FFFFFF;
    color: #0066FF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ------------------------------------------------------------
   3. COURSE CATALOG SECTION & STREAM HUB CARDS
   ------------------------------------------------------------ */
.section-courses-catalog {
    background: #F8FAFC;
    padding: 70px 0 80px 0;
}

.no-results-alert {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 48px 24px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    box-shadow: 0 8px 24px rgba(10, 37, 80, 0.04);
}

.no-results-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.no-results-alert h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0A2550;
    margin: 0 0 8px 0;
}

.no-results-alert p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
}

/* 2-Column Hub Cards Grid */
.stream-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 48px auto;
}

.stream-hub-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 22px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(10, 37, 80, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.stream-hub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(10, 37, 80, 0.09);
    border-color: #BFDBFE;
}

/* Card Header */
.stream-hub-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.stream-hub-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.stream-hub-meta {
    flex: 1;
}

.stream-hub-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0A2550;
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.stream-hub-tagline {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #D97706;
    line-height: 1.35;
}

/* Meta Pills */
.stream-meta-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.meta-pill {
    background: #F1F5F9;
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
}

.stream-hub-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Degree Chips Container */
.stream-degrees-block {
    background: #F8FAFC;
    border: 1px solid #EEF2F6;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 22px;
    flex-grow: 1;
}

.degrees-block-title {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 800;
    color: #0A2550;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.degree-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.degree-chip {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 20px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    cursor: default;
}

.degree-chip:hover {
    border-color: #0066FF;
    background: #EFF6FF;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 102, 255, 0.12);
}

.chip-name {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #1E293B;
}

.chip-badge {
    background: #F1F5F9;
    color: #0066FF;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Card Footer Actions */
.stream-hub-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #F1F5F9;
}

.btn-hub-enquire {
    background: #25D366;
    color: #FFFFFF;
    border-radius: 10px;
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    transition: all 0.25s ease;
}

.btn-hub-enquire:hover {
    background: #1EBE5B;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
    color: #FFFFFF;
}

.btn-hub-counsellor {
    background: #FFFFFF;
    color: #0A2550;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    padding: 9px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-hub-counsellor:hover {
    background: #F1F5F9;
    border-color: #0066FF;
    color: #0066FF;
    transform: translateY(-2px);
}

/* ------------------------------------------------------------
   4. MODERN ADMISSION ADVISORY NOTICE CARD
   ------------------------------------------------------------ */
.courses-advisory-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #0066FF;
    border-radius: 18px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    max-width: 1200px;
    margin: 36px auto 0 auto;
    box-shadow: 0 6px 24px rgba(10, 37, 80, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.courses-advisory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(10, 37, 80, 0.08);
    border-color: #BFDBFE;
    border-left-color: #0066FF;
}

.advisory-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #EFF6FF;
    color: #0066FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advisory-pill {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #0066FF;
    background: #EFF6FF;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.advisory-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.advisory-text strong {
    color: #0A2550;
}

.btn-advisory-cta {
    background: linear-gradient(135deg, #0066FF 0%, #0047BA 100%);
    color: #FFFFFF;
    border-radius: 10px;
    padding: 10px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
    transition: all 0.25s ease;
}

.btn-advisory-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.35);
    color: #FFFFFF;
}

/* ------------------------------------------------------------
   5. ANIMATED 30-SECOND COURSE MATCH WIZARD WIDGET
   ------------------------------------------------------------ */
.section-course-wizard {
    background: #FFFFFF;
    padding: 85px 0;
}

.wizard-box-container {
    max-width: 960px;
    margin: 0 auto;
}

.wizard-header {
    text-align: center;
    margin-bottom: 36px;
}

.wizard-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    color: #0A2550;
    margin: 10px 0 8px 0;
}

.wizard-sub {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

.wizard-interactive-card {
    background: radial-gradient(circle at 75% 25%, #153B6E 0%, #0B2545 70%, #061833 100%);
    border-radius: 24px;
    padding: 40px;
    color: #FFFFFF;
    box-shadow: 0 20px 50px rgba(11, 37, 69, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Wizard Stepper Progress Bar */
.wizard-progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wizard-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.node-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.wizard-step-node.active .node-num {
    background: #F59E0B;
    border-color: #F59E0B;
    color: #0A2550;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
    transform: scale(1.1);
}

.node-title {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    color: #94A3B8;
}

.wizard-step-node.active .node-title {
    color: #FCD34D;
}

.wizard-step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 10px;
    margin-top: -18px;
    transition: background 0.3s ease;
}

.wizard-step-line.active {
    background: #F59E0B;
}

/* Step Content Panes */
.step-question {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 20px 0;
    text-align: center;
}

.wizard-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.wizard-opt-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 18px 20px;
    color: #FFFFFF;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wizard-opt-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #F59E0B;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.opt-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.wizard-opt-btn strong {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.wizard-opt-btn small {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #CBD5E1;
    line-height: 1.35;
}

/* Result Card */
.wizard-result-card {
    text-align: center;
    padding: 10px 0;
}

.result-celebration {
    font-size: 48px;
    margin-bottom: 12px;
    animation: bouncePop 0.8s ease infinite alternate;
}

@keyframes bouncePop {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}

.result-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #FCD34D;
    margin: 0 0 12px 0;
}

.result-stream-badge {
    background: rgba(245, 158, 11, 0.15);
    border: 1.5px solid #F59E0B;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.2);
}

.result-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #E2E8F0;
    max-width: 600px;
    margin: 0 auto 28px auto;
    line-height: 1.6;
}

.result-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------
   6. EMERGING PROGRAMS SPOTLIGHT GRID
   ------------------------------------------------------------ */
.section-emerging-trends {
    background: #F8FAFC;
    padding: 80px 0;
}

.emerging-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.emerging-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 24px rgba(10, 37, 80, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.emerging-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(10, 37, 80, 0.08);
    border-color: #93C5FD;
}

.emerging-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.emerging-icon {
    font-size: 28px;
}

.emerging-field-tag {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 800;
    color: #0066FF;
    background: #EFF6FF;
    padding: 3px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.emerging-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #0A2550;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.emerging-salary-pill {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
    margin-bottom: 12px;
    width: fit-content;
}

.emerging-salary-pill strong {
    color: #B45309;
    font-weight: 800;
}

.emerging-desc {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: #64748B;
    line-height: 1.55;
    margin: 0 0 18px 0;
    flex-grow: 1;
}

.emerging-link {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #0066FF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.emerging-link:hover {
    color: #0047BA;
    text-decoration: underline;
}

/* ------------------------------------------------------------
   7. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------ */
@media (max-width: 1080px) {
    .stream-hub-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .emerging-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .courses-feature-bar {
        margin-top: -30px;
        padding: 0 20px;
    }

    .courses-feature-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 20px 22px;
    }
}

@media (max-width: 820px) {
    .courses-advisory-card {
        grid-template-columns: 1fr;
        padding: 20px 18px;
        gap: 16px;
    }

    .advisory-left-badge {
        display: none;
    }

    .btn-advisory-cta {
        width: 100%;
        justify-content: center;
    }

    .wizard-options-grid {
        grid-template-columns: 1fr;
    }

    .wizard-interactive-card {
        padding: 24px 18px;
    }
}

@media (max-width: 640px) {
    .courses-explorer-toolbar {
        top: var(--header-height, 80px);
        padding: 12px 0;
    }

    .stream-filter-pills-wrap {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .stream-pill-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .courses-feature-bar {
        margin-top: -24px;
        padding: 0 14px;
    }

    .courses-feature-row {
        grid-template-columns: 1fr;
        padding: 16px 14px;
        gap: 12px;
    }

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

    .stream-hub-card {
        padding: 20px 16px;
    }

    .stream-hub-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hub-counsellor {
        width: 100%;
    }

    .result-stream-badge {
        font-size: 17px;
        padding: 10px 16px;
    }
}
