@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* VitePress Light Theme Colors */
  --vp-c-brand: rgb(217, 105, 125);; /* Classic Vue/VitePress green */
  --vp-c-brand-next: rgb(217, 105, 125);
  --vp-c-text-1: rgb(60, 60, 67);
  --vp-c-text-2: rgb(60, 60, 67);
  --vp-c-bg: #ffffff;
  --vp-c-bg-soft: #f6f6f7;
  --vp-c-bg-mute: #f1f1f1;
  --vp-c-divider: rgba(60, 60, 67, .12);
  --vp-nav-bg: rgba(255, 255, 255, 0.7);
}

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

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
    color: var(--vp-c-text-1);
    background-color: var(--vp-c-bg);
}

/* Topbar - Glassmorphism is key for VitePress */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--vp-nav-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--vp-c-divider);
    z-index: 100;
}

.topbar-content {
    max-width: 1280px; /* Slightly wider for the VitePress feel */
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.affiliation-logo{
    width: 100px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-wrapper img {
    height: 28px;
    width: auto;
}

.logo {
    font-weight: 600;
    font-size: 1rem;
    color: var(--vp-c-text-1);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.nav-links a {
    color: var(--vp-c-text-1);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.25s;
}

.nav-links a:hover {
    color: var(--vp-c-brand);
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 96px 32px 128px;
    display: flex;
    flex-direction: column;
}

/* Typography Enhancements */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--vp-c-text-1);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--vp-c-text-1);
    margin: 48px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--vp-c-divider);
}

/* Special Case for the first H2 in a section */
main section h2:first-child {
    margin-top: 0;
    border-top: none;
}

p {
    margin-bottom: 16px;
    color: var(--vp-c-text-2);
}

a {
    color: var(--vp-c-brand);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.25s;
}

a:hover {
    color: var(--vp-c-brand-next);
}


ul {
list-style-position: inside;
list-style-type: disc;
color: #4b5563;
}

ul li {
margin-bottom: 8px;
}

/* VitePress Style Tags/Badges */
.tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px; /* VitePress uses slightly squarer radius */
    background-color: var(--vp-c-bg-soft);
    color: var(--vp-c-brand);
    border: 1px solid var(--vp-c-divider);
}

/* Affiliations & Socials */
.social-links {
    display: flex;
    align-items: center;
    gap: 4px;
    border-left: 1px solid var(--vp-c-divider);
    padding-left: 16px;
    margin-left: 24px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vp-c-text-2);
    opacity: 0.5;
    text-decoration: none;
    padding: 6px;
    border-radius: 4px;
    transition: opacity 0.25s;
}

.social-links a:hover {
    opacity: 1;
}

.social-links a svg {
    display: block;
}

footer {
margin-top: 64px;
padding-top: 24px;
border-top: 1px solid var(--vp-c-divider);
font-size: 0.875rem;
color: rgba(60, 60, 67, 0.56);
text-align: center;
}

/* ============================================
   COURSES PAGE - VitePress Style
   ============================================ */

.page-header {
    text-align: center;
    padding: 48px 0 32px;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, var(--vp-c-brand) 30%, rgba(217, 105, 125, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Course Categories */
.course-category {
    margin-bottom: 48px;
}

.course-category h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--vp-c-text-1);
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
    letter-spacing: -0.01em;
}

.course-category h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--vp-c-brand);
    border-radius: 2px;
    margin-right: 12px;
    vertical-align: middle;
}

/* Courses List */
.courses-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.courses-list li {
    margin: 0;
    padding: 20px 24px;
    background: var(--vp-c-bg);
    border: 1px solid var(--vp-c-divider);
    border-radius: 12px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.courses-list li:hover {
    border-color: var(--vp-c-brand);
    box-shadow: 0 2px 12px rgba(217, 105, 125, 0.08);
}

/* Course Title */
.course-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--vp-c-text-1);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
    transition: color 0.25s;
}

.course-title:hover {
    color: var(--vp-c-brand);
}

/* Course Tags */
.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.course-tags .tag {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid var(--vp-c-divider);
    background: var(--vp-c-bg-soft);
    color: rgba(60, 60, 67, 0.78);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}


/* Course Description */
.course-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(60, 60, 67, 0.78);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .topbar-content {
        padding: 0 16px;
    }

    .nav-links {
        display: none;
    }

    .container {
        padding: 80px 20px 64px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .courses-list li {
        padding: 16px 20px;
    }

    .course-tags {
        gap: 6px;
    }
}