:root {
    --primary: #58a6ff;
    --primary-dark: #1f6feb;
    --bg-dark: #0d1117;
    --card-bg: #161b22;
    --border: #30363d;
    --text-main: #c9d1d9;
    --text-dim: #8b949e;
    --white: #ffffff;
    --accent-gradient: linear-gradient(135deg, #58a6ff 0%, #bc8cf2 100%);
    --glass: rgba(22, 27, 34, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    flex-wrap: nowrap;
}

/* Primary nav must stay single-line. Search lives in the second row now. */
@media (max-width: 1280px) {
    .nav-links { gap: 0.7rem; }
    .nav-link { font-size: 0.9rem; }
}
@media (max-width: 1100px) {
    .nav-links { gap: 0.55rem; }
    .nav-link { font-size: 0.85rem; }
}
@media (max-width: 920px) {
    .nav-link { font-size: 0.8rem; }
    .nav-links { gap: 0.45rem; }
}
@media (max-width: 780px) {
    .nav-link { font-size: 0.78rem; }
}

/* ────── Collapsible search widget (button → expands to input) ────── */
.nav-search-widget {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-search-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.18s ease-out;
    font-family: inherit;
}
.nav-search-toggle:hover { border-color: var(--primary); color: var(--primary); }
.nav-search-shell {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    width: 360px;
    max-width: calc(100vw - 32px);
    background: var(--card-bg, #0d1117);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    padding: 0.55rem;
    display: none;
    z-index: 1010;
}
.nav-search-widget[data-open="1"] .nav-search-shell { display: block; }
.nav-search-widget[data-open="1"] .nav-search-toggle {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(88, 166, 255, 0.06);
}
.nav-search-shell input {
    width: 100%;
    padding: 0.55rem 0.85rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    color: var(--white);
    border-radius: 9px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box;
}
.nav-search-shell input:focus { border-color: var(--primary); }
.nav-search-shell .search-dropdown {
    position: static;
    margin-top: 0.5rem;
    max-height: 60vh;
    overflow-y: auto;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.nav-search-shell .search-dropdown.hidden { display: none; }
@media (max-width: 600px) {
    .nav-search-shell {
        right: -8px;
        width: calc(100vw - 24px);
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.primary {
    background: var(--accent-gradient);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

.nav-link.nav-journey {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(88,166,255,0.08);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(88,166,255,0.2);
    color: var(--primary);
    font-weight: 600;
}

.nav-link.nav-journey:hover {
    background: rgba(88,166,255,0.15);
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 10rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero.compact-hero {
    padding: 5.5rem 2rem 1.25rem;
}

.hero-bg {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(88, 166, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.compact-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.compact-hero p {
    font-size: 0.9rem;
    margin: 0 auto 1rem;
}

.hero-search-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-tagline {
    font-size: 0.88rem;
    color: var(--text-dim);
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-search-row .search-container {
    flex: 1;
    margin: 0;
}

@media (max-width: 700px) {
    .hero-search-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero-tagline { white-space: normal; text-align: center; font-size: 0.82rem; }
}

/* Stats bar */
.stats-bar {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 2rem;
}

.stats-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.quick-stat {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.quick-stat strong {
    color: var(--white);
    font-weight: 700;
    margin-right: 0.3rem;
}

/* Compact container */
.container.compact {
    padding: 1rem 2rem;
}

/* Search bar */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-container i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 1.2rem;
}

#global-search {
    width: 100%;
    padding: 0.85rem 1.2rem 0.85rem 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--white);
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#global-search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.2);
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    z-index: 1100;
    max-height: 450px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 0.75rem;
    text-align: left;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.search-item:hover,
.search-item.highlighted {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--border);
}

.search-icon {
    font-size: 1.5rem;
    background: var(--bg-dark);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.search-info {
    flex: 1;
    min-width: 0;
}

.search-title {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.search-meta {
    font-size: 0.8rem;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-section-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    padding: 0.6rem 1rem 0.3rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.25rem;
}

.search-section-label:not(:first-child) {
    margin-top: 0.5rem;
}

.search-section-label i {
    font-size: 0.8rem;
    margin-right: 0.2rem;
}

.search-type-tag {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    background: rgba(255,255,255,0.04);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.search-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(88, 166, 255, 0.15);
    color: var(--primary);
    font-weight: 500;
    white-space: nowrap;
}

.search-badge.ranking {
    background: rgba(188, 140, 242, 0.15);
    color: var(--c-primary);
}

.search-item .search-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-meta mark {
    background: rgba(88, 166, 255, 0.3);
    color: var(--white);
    padding: 0 4px;
    border-radius: 4px;
}

.hero-badges {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Sections */
.section {
    margin-bottom: 5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-dim);
}

/* Filter Pills */
.filter-pills {
    display: flex;
    gap: 0.75rem;
}

.pill {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.pill:hover,
.pill.active {
    background: var(--card-bg);
    border-color: var(--primary);
    color: var(--primary);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card .tagline {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

/* Journey Section */
.journey-banner {
    background: linear-gradient(rgba(13, 17, 23, 0.9), rgba(13, 17, 23, 0.9)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&q=80&w=2070');
    background-size: cover;
    background-position: center;
    border-radius: 32px;
    padding: 4rem;
    text-align: center;
    border: 1px solid var(--border);
}

.stream-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.stream-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.stream-card:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.stream-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--bg-dark);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 32px;
    border: 1px solid var(--border);
    position: relative;
    z-index: 2001;
    overflow-y: auto;
    padding: 3rem;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-delay {
    animation: fadeIn 0.8s 0.3s ease-out forwards;
    opacity: 0;
}

/* Aspiration/Career Flow Extras */
.section-header.centered {
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3.5rem;
}

.recommendations-container {
    padding: 2rem;
    background: #1a1f26;
    border-radius: 28px;
    border: 1px dashed var(--border);
    margin-top: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.recommendations-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.level-toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toggle-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
}

.level-pills {
    background: var(--card-bg);
    padding: 0.3rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    display: flex;
}

.level-pill {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.level-pill.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

.recommendation-hero {
    margin-bottom: 3rem;
}

.recommendation-hero h2 {
    font-size: 2.5rem;
}

/* Program List Styling inside Recommendation Cards */
.program-list {
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
    list-style: none;
}

.program-item {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.program-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.uni-name {
    display: block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 0.2rem;
}

.prog-name {
    color: var(--white);
    font-weight: 500;
}

.prog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
}

.recommendations-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.back-btn {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.back-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hidden {
    display: none !important;
}

.stream-card.selected {
    border-color: var(--primary);
    background: rgba(88, 166, 255, 0.05);
}

/* Modal Inner Extras */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.highlights-box,
.scholarships-box {
    background: rgba(88, 166, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
}

.link-btn:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

/* Journey card extras */
.card-unis {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    line-height: 1.4;
}

.card-tuition {
    font-size: 0.8rem;
    color: #3fb950;
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.card-notes {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
    line-height: 1.4;
}

.strength-bar {
    position: relative;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin: 0.75rem 0 0.5rem;
    overflow: visible;
}

.strength-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.strength-bar span {
    position: absolute;
    right: 0;
    top: -18px;
    font-size: 0.65rem;
    color: var(--text-dim);
    font-weight: 600;
}

/* Test cards */
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.test-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: border-color 0.3s, transform 0.2s;
}

.test-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.test-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.test-card-header h3 {
    font-size: 1.1rem;
    color: var(--white);
}

.test-cost {
    font-size: 0.8rem;
    color: #3fb950;
    font-weight: 600;
    background: rgba(63, 185, 80, 0.1);
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
}

.test-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.test-detail {
    font-size: 0.85rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.test-detail strong {
    color: var(--text-main);
}

.test-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.test-link {
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: opacity 0.2s;
}

.test-link:hover {
    opacity: 0.8;
}

/* Finance cards */
.finance-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.finance-section-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.finance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.finance-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: border-color 0.3s, transform 0.2s;
}

.finance-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.finance-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.finance-card-header h3 {
    font-size: 1rem;
    color: var(--white);
}

.finance-rate {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(88, 166, 255, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    white-space: nowrap;
}

.finance-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.finance-detail {
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.finance-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.finance-link {
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: opacity 0.2s;
}

.finance-link:hover {
    opacity: 0.8;
}

/* Journey Stepper */
.section-compact {
    margin-bottom: 2rem;
}

.journey-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    cursor: default;
    transition: all 0.3s;
}

.step.active {
    background: rgba(88, 166, 255, 0.1);
}

.step.active .step-num {
    background: var(--primary);
    color: var(--white);
}

.step.active span {
    color: var(--white);
    font-weight: 600;
}

.step.completed .step-num {
    background: #3fb950;
    color: var(--white);
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dim);
    flex-shrink: 0;
}

.step span {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
    white-space: nowrap;
}

.step-line {
    width: 40px;
    height: 1px;
    background: var(--border);
    flex-shrink: 0;
}

.step-header {
    margin-bottom: 1rem;
}

.step-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.step-header p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.journey-step {
    animation: fadeIn 0.3s ease-out;
}

.step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* 4-column demand grid */
.demand-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 1100px) {
    .demand-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
    .demand-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .demand-grid-4 { grid-template-columns: 1fr; }
}

.demand-mini-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    cursor: pointer;
    transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demand-mini-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.08);
}

.dmc-icon {
    font-size: 1.3rem;
}

.dmc-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

.dmc-badges {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.dmc-badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
}

.dmc-badge.very_high { background: rgba(63,185,80,0.15); color: #3fb950; }
.dmc-badge.high { background: rgba(88,166,255,0.15); color: var(--c-primary); }
.dmc-badge.moderate { background: rgba(210,153,34,0.15); color: #d29922; }
.dmc-badge.emerging { background: rgba(188,140,242,0.15); color: var(--c-primary); }

.dmc-growth {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    background: rgba(63,185,80,0.08);
    color: #3fb950;
}

.dmc-salary {
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 600;
}

.dmc-footer {
    font-size: 0.7rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    padding-top: 0.4rem;
    border-top: 1px solid var(--border);
}

/* Profession detail (step 2) */
.prof-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.prof-icon {
    font-size: 2rem;
    background: rgba(88,166,255,0.08);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.prof-info h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.prof-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.prof-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.prof-stat {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem;
    text-align: center;
}

.prof-stat-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.15rem;
}

.prof-stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.prof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.prof-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
}

.prof-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.prof-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.prof-chip {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-dim);
}

.prof-chip.clickable {
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.prof-chip.clickable:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.prof-employers {
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.5;
}

.prof-countries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.prof-country {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-main);
}

.prof-country-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--text-main);
    text-decoration: none;
    padding: 0.25rem 0.55rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.2s;
    white-space: nowrap;
}

.prof-country-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(88, 166, 255, 0.06);
}

.prof-employers-grid {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.prof-employer-region {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.8rem;
    line-height: 1.4;
}

.prof-employer-region-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(88, 166, 255, 0.08);
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 1px;
}

.prof-employer-names {
    color: var(--text-main);
    font-size: 0.8rem;
}

.prof-action {
    background: var(--accent-gradient);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

.prof-action:hover {
    opacity: 0.9;
}

/* Quick Links */
.quick-links-section {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.quick-link-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: border-color 0.3s, transform 0.2s;
}

.quick-link-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.quick-link-card > i:first-child {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.quick-link-card > i:last-child {
    font-size: 1rem;
    color: var(--text-dim);
    flex-shrink: 0;
    margin-left: auto;
}

.quick-link-card div {
    flex: 1;
    min-width: 0;
}

.quick-link-card h3 {
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 600;
}

.quick-link-card p {
    font-size: 0.7rem;
    color: var(--text-dim);
    line-height: 1.3;
}

.loading-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-dim);
}

/* Responsive fixes */
@media (max-width: 768px) {
    .recommendations-nav,
    .step-nav {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .compact-hero h1 {
        font-size: 2rem;
    }

    .journey-stepper {
        gap: 0;
    }

    .step span {
        display: none;
    }

    .step-line {
        width: 20px;
    }

    .prof-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .quick-links-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-bar-inner {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════════
   COUNTRY SELECTOR (Navbar)
   ════════════════════════════════════════════ */
.country-selector-nav {
    position: relative;
}

.country-selector-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.country-selector-btn:hover {
    border-color: var(--primary);
}

.country-selector-btn i {
    font-size: 0.7rem;
    color: var(--text-dim);
    transition: transform 0.2s;
}

.country-selector-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    min-width: 180px;
    max-height: 360px;
    overflow-y: auto;
    z-index: 1200;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 0.4rem;
}

.country-dropdown-header {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    padding: 0.5rem 0.75rem 0.3rem;
}

.country-option {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
    color: var(--text-main);
}

.country-option:hover {
    background: rgba(88, 166, 255, 0.1);
}

.country-option.active {
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .country-selector-nav {
        display: none;
    }
}

/* ════════════════════════════════════════════
   HERO COUNTRY PILLS
   ════════════════════════════════════════════ */
.hero-country-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.hero-country-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 600;
    margin-right: 0.25rem;
}

.hero-cpill {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.3rem 0.65rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.hero-cpill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(88, 166, 255, 0.06);
    transform: translateY(-1px);
}

@media (max-width: 520px) {
    .hero-country-pills { gap: 0.3rem; }
    .hero-cpill { font-size: 0.7rem; padding: 0.25rem 0.5rem; }
    .hero-country-label { display: none; }
}

/* ════════════════════════════════════════════
   PATH SELECTOR
   ════════════════════════════════════════════ */
/* ════════════════════════════════════════════
   PATH SELECTOR — Explore Grid + Testimonials
   ════════════════════════════════════════════ */
.ps-explore-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.ps-panel { min-width: 0; }

.ps-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ps-section-title i { color: var(--primary); font-size: 1.1rem; }

.ps-section-subtitle {
    color: var(--text-dim);
    font-size: 0.82rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.ps-loading { color: var(--text-dim); font-size: 0.85rem; padding: 1rem; text-align: center; }

/* Destination Cards (left column) */
.ps-dest-list { display: flex; flex-direction: column; gap: 0.6rem; }

.ps-dest-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.ps-dest-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.ps-dest-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.ps-dest-flag { font-size: 1.3rem; }

.ps-dest-name {
    font-weight: 700;
    color: var(--white);
    font-size: 0.92rem;
}

.ps-dest-tagline {
    font-size: 0.68rem;
    color: var(--primary);
    font-weight: 500;
}

.ps-dest-bullets {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem 0.5rem;
    padding: 0;
    margin: 0;
}

.ps-dest-bullets li {
    font-size: 0.72rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    line-height: 1.3;
}

.ps-dest-bullets li i {
    color: var(--primary);
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Ease Universities (right column) */
.ps-ease-list { display: flex; flex-direction: column; gap: 0.4rem; }

.ps-ease-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.ps-ease-row:hover { border-color: var(--primary); }

.ps-ease-rank {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    min-width: 22px;
    text-align: center;
}

.ps-ease-flag { font-size: 1.1rem; flex-shrink: 0; }
.ps-ease-info { flex: 1; min-width: 0; }

.ps-ease-name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ps-ease-badges {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.15rem;
    flex-wrap: wrap;
}

.ps-ease-badge {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 100px;
}

.ps-ease-badge.accept { background: rgba(63,185,80,0.12); color: #3fb950; }
.ps-ease-badge.intl { background: rgba(88,166,255,0.1); color: var(--primary); }
.ps-ease-badge.qs { background: rgba(188,140,242,0.1); color: var(--c-primary); }

/* Testimonials Section */
.ps-testimonials-section { margin-bottom: 1.5rem; }

.ps-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.85rem;
}

.ps-test-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem;
    transition: border-color 0.2s;
}

.ps-test-card:hover { border-color: var(--primary); }

.ps-test-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.ps-test-flag { font-size: 1.3rem; }

.ps-test-country {
    font-weight: 700;
    color: var(--white);
    font-size: 0.9rem;
    flex: 1;
}

.ps-test-count {
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(88,166,255,0.1);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
}

.ps-test-posts { display: flex; flex-direction: column; gap: 0.4rem; }

.ps-test-post {
    padding: 0.5rem;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border-left: 2px solid var(--border);
    transition: border-color 0.2s;
}

.ps-test-post:hover { border-left-color: var(--primary); }

.ps-test-post a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    display: block;
}

.ps-test-post a:hover { text-decoration: underline; }

.ps-post-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.2rem;
    font-size: 0.65rem;
    color: var(--text-dim);
}

.ps-post-score { color: #3fb950; font-weight: 700; }
.ps-post-sub { color: var(--text-dim); }

/* Path Chooser (below) */
.ps-path-chooser {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .ps-explore-grid { grid-template-columns: 1fr; }
    .ps-dest-bullets { grid-template-columns: 1fr; }
}

.path-selector-section {
    margin-bottom: 1.5rem;
}

.path-selector-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.path-selector-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.path-selector-header p {
    color: var(--text-dim);
    font-size: 1rem;
}

.path-cards {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.path-card {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.path-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(88, 166, 255, 0.1);
}

.path-card-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.path-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.path-icon-wrap.traditional {
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(88, 166, 255, 0.2);
}

.path-icon-wrap.career {
    background: rgba(188, 140, 242, 0.1);
    color: var(--c-primary);
    border: 1px solid rgba(188, 140, 242, 0.2);
}

.path-card-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary);
}

.path-card-badge.hot {
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
}

.path-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.path-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.path-steps-preview {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.path-steps-preview li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-main);
}

.path-steps-preview li i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.path-cta {
    width: 100%;
    padding: 0.85rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
}

.traditional-cta {
    background: var(--primary);
    color: var(--white);
}

.traditional-cta:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

.career-cta {
    background: var(--accent-gradient);
    color: var(--white);
}

.career-cta:hover {
    opacity: 0.9;
    box-shadow: 0 4px 15px rgba(188, 140, 242, 0.3);
}

.path-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.path-divider span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dim);
    background: var(--bg-dark);
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .path-cards {
        flex-direction: column;
    }
    .path-divider {
        padding: 0.5rem 0;
    }
}

/* ════════════════════════════════════════════
   PATH A: Country Grid
   ════════════════════════════════════════════ */
.country-search-bar {
    position: relative;
    max-width: 400px;
    margin-bottom: 1.25rem;
}

.country-search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
}

.country-search-bar input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--white);
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.country-search-bar input:focus {
    outline: none;
    border-color: var(--primary);
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.country-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.country-card:hover {
    border-color: var(--primary);
    background: rgba(88, 166, 255, 0.04);
    transform: translateY(-2px);
}

.country-card-flag {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.country-card-info {
    flex: 1;
    min-width: 0;
}

.country-card-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.country-card-meta {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: capitalize;
}

.country-card-stat {
    font-size: 0.7rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.15rem;
}

.country-card-arrow {
    color: var(--text-dim);
    font-size: 1rem;
    flex-shrink: 0;
    transition: color 0.2s;
}

.country-card:hover .country-card-arrow {
    color: var(--primary);
}

@media (max-width: 800px) {
    .country-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .country-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   PATH A: Level & Stream Selector
   ════════════════════════════════════════════ */
.level-stream-selector {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.selector-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.selector-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
}

.large-pills {
    display: flex;
    gap: 0.75rem;
}

.large-pills .level-pill {
    flex: 1;
    padding: 1rem;
    border-radius: 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.large-pills .level-pill:hover {
    border-color: var(--primary);
}

.large-pills .level-pill.active {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.15);
}

.stream-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ════════════════════════════════════════════
   PATH A: Traditional Program Results
   ════════════════════════════════════════════ */
.trad-uni-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.trad-uni-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.trad-uni-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.trad-uni-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.trad-uni-name:hover {
    text-decoration: underline;
}

.trad-uni-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trad-uni-city {
    font-size: 0.75rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.trad-programs-list {
    padding: 0.25rem 0;
}

.trad-program-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(48, 54, 61, 0.3);
    transition: background 0.2s;
}

.trad-program-row:last-child {
    border-bottom: none;
}

.trad-program-row:hover {
    background: rgba(88, 166, 255, 0.03);
}

.trad-prog-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.trad-prog-details {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.trad-prog-details span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trad-prog-fee {
    color: #3fb950 !important;
    font-weight: 500;
}

@media (max-width: 768px) {
    .trad-program-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
    .trad-prog-details {
        gap: 0.75rem;
        font-size: 0.75rem;
    }
}

/* ════════════════════════════════════════════
   PATH B: Education Level Question
   ════════════════════════════════════════════ */
.edu-level-section {
    max-width: 700px;
    margin: 0 auto;
}

.edu-level-header {
    text-align: center;
    margin-bottom: 2rem;
}

.edu-level-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.edu-level-header p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.edu-level-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.edu-level-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.edu-level-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.edu-level-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(88, 166, 255, 0.1);
}

.edu-level-card.selected {
    border-color: var(--primary);
    background: rgba(88, 166, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
}

.edu-card-icon {
    margin-bottom: 0.25rem;
}

.edu-level-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.edu-level-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.edu-card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    background: rgba(88, 166, 255, 0.1);
    color: var(--primary);
    margin-top: auto;
}

.edu-card-tag.graduate {
    background: rgba(188, 140, 242, 0.1);
    color: var(--c-primary);
}

@media (max-width: 520px) {
    .edu-level-cards {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════════
   PATH B: Education Pathway Banner
   ════════════════════════════════════════════ */
.edu-pathway-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(88, 166, 255, 0.05);
    border: 1px solid rgba(88, 166, 255, 0.15);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-main);
}

.edu-pathway-banner i {
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.edu-pathway-banner strong {
    color: var(--white);
}

/* ════════════════════════════════════════════
   Journey Section Shared
   ════════════════════════════════════════════ */
.journey-section {
    animation: fadeIn 0.3s ease-out;
}

/* ════════════════════════════════════════════
   MINI BAR (Breadcrumbs + Stats)
   ════════════════════════════════════════════ */
.mini-bar {
    position: fixed;
    top: 54px; /* right below navbar */
    width: 100%;
    z-index: 999;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    padding: 0.25rem 2rem;
}

.mini-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-bar-inner.mini-bar-centered {
    justify-content: center;
    gap: 1.5rem;
}

.mini-breadcrumbs {
    display: flex;
    gap: 0.15rem;
    align-items: center;
}

.bc-link {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-decoration: none;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.bc-link:hover { color: var(--primary); background: rgba(88,166,255,0.05); }
.bc-link.active { color: var(--primary); font-weight: 600; }
.bc-link + .bc-link::before { content: '/'; color: var(--border); margin-right: 0.15rem; font-size: 0.6rem; }

.mini-stats {
    display: flex;
    gap: 1rem;
}

.mini-stat-link {
    font-size: 0.82rem;
    color: var(--text-dim);
    white-space: nowrap;
    text-decoration: none;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

.mini-stat-link:hover {
    color: var(--primary);
    background: rgba(88, 166, 255, 0.08);
    border-color: rgba(88, 166, 255, 0.2);
    text-decoration: underline;
}

.mini-stat-link strong {
    color: var(--primary);
    font-weight: 700;
}

.mini-stat-link:hover strong {
    color: var(--primary);
}

@media (max-width: 768px) {
    .mini-bar { top: 44px; }
    .mini-bar-inner { flex-direction: column; gap: 0.2rem; align-items: flex-start; }
    .mini-stats { gap: 0.4rem; flex-wrap: wrap; }
    .mini-breadcrumbs { display: none; }
}

/* ════════════════════════════════════════════
   NAV MEGA DROPDOWN (Destinations)
   ════════════════════════════════════════════ */
.nav-dropdown-wrap {
    position: relative;
}

.nav-has-dropdown {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-mega-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    min-width: 520px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.mega-section { display: flex; flex-direction: column; gap: 0.15rem; }

.mega-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    padding: 0.3rem 0.5rem 0.2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.2rem;
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.15s;
    white-space: nowrap;
}

.mega-item:hover {
    background: rgba(88, 166, 255, 0.08);
    color: var(--primary);
}

.mega-intake {
    margin-left: auto;
    font-size: 0.6rem;
    color: var(--text-dim);
    background: rgba(255,255,255,0.04);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 500;
}

.mega-item:hover .mega-intake { color: var(--primary); }

.mega-all {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.75rem;
    margin-top: 0.3rem;
    border-top: 1px solid var(--border);
    padding-top: 0.4rem;
}

@media (max-width: 900px) {
    .nav-mega-dropdown { display: none !important; }
}

/* ════════════════════════════════════════════
   COUNTRY JOURNEY (Personalized)
   ════════════════════════════════════════════ */
.country-journey-section { animation: fadeIn 0.4s ease-out; }

.cj-header { margin-bottom: 1.5rem; }

.cj-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.cj-flag { font-size: 3rem; }

.cj-title-row h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.2rem; }
.cj-title-row p { color: var(--text-dim); font-size: 0.9rem; }

.cj-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.cj-fact {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cj-fact i { font-size: 1.4rem; color: var(--primary); flex-shrink: 0; }
.cj-fact strong { color: var(--white); font-size: 1.3rem; font-weight: 800; display: block; }
.cj-fact span { color: var(--text-dim); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

.cj-section { margin-bottom: 1.75rem; }
.cj-section h3 {
    font-size: 1.05rem; font-weight: 700; color: var(--white);
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
}
.cj-section h3 i { color: var(--primary); }

.cj-dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.6rem;
}

.cj-dest-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cj-dest-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.cj-dest-flag { font-size: 1.5rem; }
.cj-dest-info { flex: 1; min-width: 0; }
.cj-dest-name { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.cj-dest-intake { font-size: 0.68rem; color: var(--text-dim); display: flex; align-items: center; gap: 0.25rem; }
.cj-dest-intake i { font-size: 0.75rem; color: var(--primary); }

.cj-finance-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.6rem;
}

.cj-fin-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: border-color 0.2s;
}

.cj-fin-card:hover { border-color: var(--primary); }

.cj-fin-icon { font-size: 1.2rem; color: #3fb950; flex-shrink: 0; }
.cj-fin-name { font-size: 0.85rem; font-weight: 600; color: var(--white); }
.cj-fin-detail { font-size: 0.72rem; color: var(--text-dim); }
.cj-fin-rate { font-size: 0.72rem; color: #3fb950; font-weight: 600; }

.cj-path-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cj-path-row .path-cta { font-size: 0.9rem; padding: 1rem; }

@media (max-width: 768px) {
    .cj-facts { grid-template-columns: repeat(2, 1fr); }
    .cj-path-row { grid-template-columns: 1fr; }
    .cj-title-row { flex-direction: column; align-items: flex-start; }
    .cj-flag { font-size: 2.5rem; }
}

/* ════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════ */
.about-section { margin: 1.5rem 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
}

.about-text h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
.about-text p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.75rem; }
.about-text strong { color: var(--white); }

.about-stats-row {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.about-stat-item { text-align: center; }
.about-stat-num { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.about-stat-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); font-weight: 600; }

.about-features { display: flex; flex-direction: column; gap: 0.75rem; }

.about-feature {
    display: flex; align-items: center; gap: 0.75rem;
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 0.85rem 1rem;
    transition: border-color 0.3s;
}
.about-feature:hover { border-color: var(--primary); }
.about-feature i { font-size: 1.3rem; color: var(--primary); flex-shrink: 0; }
.about-feature strong { color: var(--white); font-size: 0.85rem; display: block; }
.about-feature span { color: var(--text-dim); font-size: 0.75rem; }

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-stats-row { gap: 1rem; }
}

/* ════════════════════════════════════════════
   ARTICLES SECTION
   ════════════════════════════════════════════ */
.articles-section { margin: 1.5rem 0; }
.articles-section h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 0.3rem; }
.section-subtitle { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 1.5rem; }

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

.article-card {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
    padding: 1.5rem; transition: all 0.3s; cursor: default;
}
.article-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.article-icon { font-size: 1.5rem; color: var(--primary); margin-bottom: 0.75rem; }
.article-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; line-height: 1.3; }
.article-card p { font-size: 0.82rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 0.75rem; }
.article-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.article-tags span { font-size: 0.65rem; padding: 0.2rem 0.5rem; border-radius: 100px; background: rgba(88,166,255,0.08); color: var(--primary); font-weight: 500; }

@media (max-width: 800px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .articles-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════
   FAQ SECTION
   ════════════════════════════════════════════ */
.faq-section { margin: 1.5rem 0 1rem; }
.faq-section h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1.25rem; }

.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }

.faq-item {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; transition: border-color 0.3s;
}
.faq-item[open] { border-color: var(--primary); }

.faq-item summary {
    padding: 1rem 1.25rem; cursor: pointer; font-size: 0.95rem; font-weight: 600;
    color: var(--white); list-style: none; display: flex; align-items: center;
    justify-content: space-between; transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--text-dim); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; color: var(--primary); }
.faq-item summary:hover { color: var(--primary); }

.faq-item p {
    padding: 0 1.25rem 1rem; font-size: 0.88rem; color: var(--text-dim);
    line-height: 1.7; margin: 0;
}
.faq-item p strong { color: var(--text-main); }

/* Footer */
.footer {
    margin-top: 2rem;
    padding: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-bottom {
    font-size: 0.75rem;
    color: var(--text-dim);
}