/* ============================================
   BTR Dashboard — Shared Styles
   Maastricht Science Programme
   ============================================ */

/* --- Icon Styling --- */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon svg {
    width: 1em;
    height: 1em;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Icon sizes */
.icon--sm  svg { width: 16px; height: 16px; }
.icon--md  svg { width: 20px; height: 20px; }
.icon--lg  svg { width: 24px; height: 24px; }
.icon--xl  svg { width: 32px; height: 32px; }

/* --- CSS Custom Properties --- */
:root {
    /* Brand colors */
    --navy:        #001C3D;
    --navy-medium: #002D5A;
    --navy-deep:   #00152B;
    --orange:      #E84E10;
    --orange-dark: #C43D0D;
    --cyan:        #00BCD4;
    --cyan-dark:   #00ACC1;

    /* Neutral palette */
    --white:       #ffffff;
    --gray-50:     #f8f9fa;
    --gray-100:    #f5f5f5;
    --gray-200:    #e0e0e0;
    --gray-400:    #999;
    --gray-500:    #666;
    --gray-700:    #333;

    /* Functional colors */
    --bg-light:    #f5f5f5;
    --bg-section:  #f8f9fa;
    --text-primary:   var(--gray-700);
    --text-secondary: var(--gray-500);
    --border-color:   var(--gray-200);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'Open Sans', Arial, sans-serif;

    /* Spacing */
    --container-max: 1000px;
    --container-wide: 1200px;
    --section-padding: 56px;

    /* Transitions */
    --transition: 0.3s ease;
}


/* --- Skip to Content (Accessibility) --- */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 14px;
    font-family: var(--font-heading);
    z-index: 9999;
    transition: top 0.2s ease;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
    outline: none;
}

/* --- Focus Indicators (Accessibility) --- */
*:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 2px;
    border-radius: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 2px;
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}


/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}


/* ============================================
   LAYOUT: Top Bar
   ============================================ */
.top-bar {
    background: var(--navy);
    padding: 6px 0;
}

.top-bar-content {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.top-bar a {
    color: var(--white);
    font-size: 12px;
    transition: opacity var(--transition);
}

.top-bar a:hover {
    opacity: 0.8;
}


/* ============================================
   LAYOUT: Header / Nav
   ============================================ */
.header {
    background: var(--white);
    color: var(--navy);
    padding: 14px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
}

.logo img {
    height: 48px;
}

.logo-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    font-family: var(--font-heading);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 400;
    margin-top: 1px;
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-menu a {
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: color var(--transition);
}

.nav-menu a:hover {
    color: var(--orange);
}

.nav-menu a.active {
    color: var(--orange);
}


/* ============================================
   LAYOUT: Hero Sections
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
    padding: 56px 20px;
}

.hero-content {
    max-width: var(--container-wide);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.1;
}

.hero-text p {
    font-size: 15px;
    margin-bottom: 24px;
    opacity: 0.95;
    line-height: 1.7;
}

/* Hero - centered variant (for simpler hero sections) */
.hero--centered {
    text-align: center;
    padding: 42px 20px;
}

.hero--centered h1 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero--centered p {
    font-size: 14px;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Hero info box (sidebar on cohort pages) */
.hero-info-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 8px;
    color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

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

.info-icon {
    width: 36px;
    height: 36px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.info-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.info-details h3 {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-details p {
    font-size: 14px;
    color: var(--navy);
    font-weight: 600;
    font-family: var(--font-heading);
}


/* ============================================
   LAYOUT: Content Sections
   ============================================ */
.content-section {
    max-width: var(--container-wide);
    margin: var(--section-padding) auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    font-size: 14px;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
}


/* ============================================
   COMPONENTS: Grid Layouts
   ============================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

/* Legacy class names (backward compat during migration) */
.three-col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.two-col-grid   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 56px; }


/* ============================================
   COMPONENTS: Info Cards
   ============================================ */
.info-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    transition: all var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: var(--orange);
}

.info-card h3 {
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 600;
}

.info-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 14px;
}

.info-card ul {
    margin-left: 16px;
    margin-bottom: 14px;
    list-style: disc;
}

.info-card li {
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--gray-500);
}


/* ============================================
   COMPONENTS: Card Links
   ============================================ */
.card-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.card-link:hover {
    gap: 10px;
}


/* ============================================
   COMPONENTS: Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(232, 78, 16, 0.3);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 78, 16, 0.4);
}

.btn-secondary {
    background: var(--navy);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--navy-medium);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
}

/* CTA Button (hero variant) */
.cta-button {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(232, 78, 16, 0.3);
}

.cta-button:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 78, 16, 0.4);
}

/* Back button (for inner pages) */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--orange);
    color: var(--white);
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: all var(--transition);
}

.back-btn:hover {
    background: var(--orange-dark);
    transform: translateX(-4px);
}


/* ============================================
   COMPONENTS: Platform Cards
   ============================================ */
.platform-section {
    background: var(--bg-section);
    padding: var(--section-padding) 20px;
}

.platform-content {
    max-width: var(--container-wide);
    margin: 0 auto;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.platform-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

.platform-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.platform-header {
    padding: 28px 20px;
    color: var(--white);
    text-align: center;
}

.platform-card.collent .platform-header {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
}

.platform-card.canvas .platform-header {
    background: linear-gradient(135deg, #FF6200 0%, #E55A00 100%);
}

.platform-card.intranet .platform-header {
    background: linear-gradient(135deg, var(--navy-medium) 0%, var(--navy) 100%);
}

.platform-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.platform-header p {
    font-size: 11px;
    opacity: 0.9;
}

.platform-body {
    padding: 20px;
}

.platform-body h4 {
    color: var(--navy);
    font-size: 12px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.platform-body ul {
    margin-left: 16px;
    margin-bottom: 14px;
    list-style: disc;
}

.platform-body li {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--gray-500);
}

.platform-link-btn {
    display: block;
    text-align: center;
    background: var(--navy);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: background var(--transition);
    margin-top: 14px;
}

.platform-link-btn:hover {
    background: var(--navy-medium);
}


/* ============================================
   COMPONENTS: Warning Box
   ============================================ */
.warning-box {
    background: #FFF3E0;
    border-left: 4px solid #FF6200;
    padding: 12px;
    margin-top: 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #FF6200;
}


/* ============================================
   LAYOUT: Footer (full)
   ============================================ */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 42px 0 20px;
    margin-top: var(--section-padding);
}

.footer-content {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-bottom: 28px;
}

.footer-section h3 {
    font-size: 14px;
    margin-bottom: 14px;
    font-weight: 600;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    transition: color var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 11px;
    opacity: 0.7;
}

/* Footer - simple variant (landing pages) */
.footer--simple {
    background: transparent;
    margin-top: 28px;
    padding: 0 0 14px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.footer--simple a {
    color: var(--cyan);
    text-decoration: none;
}

.footer--simple a:hover {
    text-decoration: underline;
}


/* ============================================
   PAGE TYPE: Landing / Hub (dark background)
   ============================================ */
.page-landing {
    background: linear-gradient(135deg, var(--navy-medium) 0%, var(--navy) 50%, var(--navy-deep) 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Subtle background circles */
.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 188, 212, 0.05);
    animation: float 30s infinite ease-in-out;
}

.bg-circle:nth-child(1) {
    width: 210px;
    height: 210px;
    top: -70px;
    left: -70px;
    animation-delay: 0s;
}

.bg-circle:nth-child(2) {
    width: 280px;
    height: 280px;
    bottom: -105px;
    right: -105px;
    animation-delay: 3s;
}

.bg-circle:nth-child(3) {
    width: 175px;
    height: 175px;
    top: 50%;
    right: 10%;
    animation-delay: 6s;
}

/* Orange circle variant (supervisor pages) */
.bg-circle--orange {
    background: rgba(232, 78, 16, 0.06);
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.03); }
}

/* Landing container */
.landing-container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    padding: 28px;
    margin: 28px 0;
}

/* Landing logo */
.landing-logo {
    margin-bottom: 36px;
    animation: fadeInDown 1s ease-out;
}

.landing-logo img {
    height: 210px;
    margin-bottom: 14px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.landing-logo h1 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Landing title */
.landing-title {
    margin-bottom: 42px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.landing-title h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--white);
    line-height: 1.2;
}

.landing-title--orange h2 {
    color: var(--white);
}

.landing-title p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 490px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Landing buttons */
.landing-buttons {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 420px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.landing-btn {
    display: block;
    padding: 20px 36px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.landing-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.landing-btn:hover::before {
    left: 100%;
}

.landing-btn:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 12px 48px rgba(0, 188, 212, 0.3);
}

.landing-btn .btn-icon {
    font-size: 22px;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
}

.landing-btn .btn-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.landing-btn .btn-text {
    vertical-align: middle;
}

.landing-btn .btn-arrow {
    float: right;
    font-size: 20px;
    transition: transform var(--transition);
}

.landing-btn:hover .btn-arrow {
    transform: translateX(8px);
}

.landing-btn .btn-subtitle {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    font-family: var(--font-body);
}

/* Landing button variants */
.landing-btn--highlight {
    background: rgba(0, 188, 212, 0.2);
    border-color: rgba(0, 188, 212, 0.5);
    border-width: 3px;
}

.landing-btn--highlight:hover {
    background: rgba(0, 188, 212, 0.3);
    border-color: var(--cyan);
    box-shadow: 0 12px 48px rgba(0, 188, 212, 0.4);
}

.landing-btn--orange {
    border-color: rgba(232, 78, 16, 0.4);
    box-shadow: 0 8px 32px rgba(232, 78, 16, 0.2);
}

.landing-btn--orange:hover {
    background: rgba(232, 78, 16, 0.15);
    border-color: var(--orange);
    box-shadow: 0 12px 48px rgba(232, 78, 16, 0.4);
}

.landing-btn--orange::before {
    background: linear-gradient(90deg, transparent, rgba(232, 78, 16, 0.2), transparent);
}

/* Back button on landing pages */
.landing-back {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.landing-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all var(--transition);
}

.landing-back a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--cyan);
    transform: translateX(-4px);
}


/* ============================================
   PAGE TYPE: Content (light background)
   ============================================ */
.page-content {
    background: var(--bg-light);
    min-height: 100vh;
}

.page-content--white {
    background: var(--white);
}


/* ============================================
   COMPONENTS: Easter Egg & Game
   ============================================ */
.easter-egg {
    position: fixed;
    bottom: 14px;
    right: 20px;
    width: 14px;
    height: 14px;
    background: var(--orange);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
    opacity: 0.6;
    z-index: 100;
}

.easter-egg:hover {
    opacity: 1;
    transform: scale(1.2);
}

.game-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 28, 61, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.game-overlay.active {
    display: flex;
}

.game-container {
    background: var(--bg-section);
    padding: 14px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.game-canvas {
    border: 3px solid var(--navy);
    display: block;
    background: var(--white);
    border-radius: 4px;
}

.game-info {
    color: var(--white);
    text-align: center;
    margin-bottom: 14px;
}

.game-info h2 {
    font-size: 17px;
    margin-bottom: 8px;
}

.game-score {
    font-size: 14px;
    color: var(--cyan);
    margin-top: 8px;
    font-family: var(--font-heading);
}

.close-game {
    color: var(--white);
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.8;
}


/* ============================================
   COMPONENTS: Breadcrumbs
   ============================================ */
.breadcrumbs {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 14px 20px;
    font-size: 13px;
    font-family: var(--font-heading);
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumbs a:hover {
    color: var(--orange);
}

.breadcrumbs .separator {
    color: var(--gray-200);
    font-size: 11px;
}

.breadcrumbs .current {
    color: var(--navy);
    font-weight: 600;
}


/* ============================================
   COMPONENTS: Student Journey Progress
   ============================================ */
.journey-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 16px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.journey-step {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    white-space: nowrap;
}

.journey-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--gray-500);
    transition: all var(--transition);
    flex-shrink: 0;
}

.journey-step-label {
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--gray-400);
    margin-left: 8px;
    transition: color var(--transition);
}

.journey-step:hover .journey-step-dot {
    background: var(--orange);
    color: var(--white);
    transform: scale(1.1);
}

.journey-step:hover .journey-step-label {
    color: var(--orange);
}

.journey-step.active .journey-step-dot {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(232, 78, 16, 0.3);
}

.journey-step.active .journey-step-label {
    color: var(--navy);
}

.journey-step.completed .journey-step-dot {
    background: var(--cyan);
    color: var(--white);
}

.journey-step.completed .journey-step-label {
    color: var(--gray-500);
}

.journey-connector {
    width: 32px;
    height: 2px;
    background: var(--gray-200);
    flex-shrink: 0;
    margin: 0 4px;
}

.journey-step.completed + .journey-connector,
.journey-step.active + .journey-connector {
    background: var(--cyan);
}

@media (max-width: 768px) {
    .journey-step-label {
        display: none;
    }

    .journey-connector {
        width: 20px;
    }

    .journey-progress {
        justify-content: center;
        gap: 0;
        padding: 12px 16px;
    }
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Page load fade-in */
.page-content,
.page-content--white {
    opacity: 0;
    animation: pageLoad 0.4s ease-out forwards;
}

@keyframes pageLoad {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Section reveal on scroll (only when JS is loaded) */
.js-reveal .content-section {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-reveal .content-section.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .three-col-grid,
    .grid-2,
    .two-col-grid,
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* --- Mobile Hamburger Menu --- */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Dark header variant */
.header--dark .hamburger span,
.header .hamburger span[data-dark="true"] {
    background: var(--white);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 28, 61, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 8px 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        z-index: 105;
        gap: 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 14px 24px;
        font-size: 15px;
        color: var(--navy) !important;
        border-bottom: 1px solid var(--gray-100);
        transition: background 0.2s ease;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--gray-50);
        color: var(--orange) !important;
    }

    .header {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .hero--centered h1 {
        font-size: 22px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .landing-container {
        padding: 14px;
    }

    .landing-title h2 {
        font-size: 26px;
    }

    .landing-title p {
        font-size: 12px;
    }

    .landing-btn {
        padding: 14px 20px;
        font-size: 14px;
    }

    .landing-btn .btn-icon {
        font-size: 17px;
    }

    .landing-logo img {
        height: 42px;
    }

    .landing-back {
        top: 10px;
        left: 10px;
    }
}


/* ============================================
   ENHANCED CARD INTERACTIONS
   ============================================ */
.info-card {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.platform-card {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
}

/* Smooth link arrow animation */
.card-link {
    transition: gap 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.2s ease;
}

/* Button press feedback */
.btn:active,
.cta-button:active,
.landing-btn:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
}


/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    /* Hide non-content elements */
    .header,
    .top-bar,
    .footer,
    .footer--simple,
    .hamburger,
    .nav-overlay,
    .easter-egg,
    .game-overlay,
    .skip-to-content,
    .journey-progress,
    .back-btn,
    .back-button,
    .cta-button,
    .btn,
    .landing-back {
        display: none !important;
    }

    /* Reset backgrounds for printing */
    body,
    .page-content,
    .page-content--white,
    .page-landing {
        background: white !important;
        color: black !important;
    }

    .hero,
    .hero--centered,
    .page-hero,
    .hero--orange {
        background: #f0f0f0 !important;
        color: black !important;
        padding: 20px !important;
    }

    /* Show all content */
    .content-section {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Readable link URLs */
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 10px;
        color: #666;
    }

    /* Remove shadows and transforms */
    .info-card,
    .platform-card {
        box-shadow: none !important;
        transform: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }

    /* Reset grids to single column */
    .grid-3,
    .grid-2,
    .platform-grid,
    .three-col-grid,
    .two-col-grid {
        grid-template-columns: 1fr !important;
    }

    /* Page breaks */
    h1, h2, h3 {
        break-after: avoid;
    }

    .content-section {
        break-inside: avoid;
    }
}


/* ============================================
   SHARED: Back Button & Back to Top
   Used on project listing + browse pages
   ============================================ */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition);
}

.back-button:hover {
    background: var(--orange-dark);
    transform: translateX(-5px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--orange);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(232, 78, 16, 0.3);
    transition: all var(--transition);
    z-index: 100;
}

.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--orange-dark); transform: translateY(-5px); }


/* ============================================
   PAGE: 404 Error
   ============================================ */
.error-content {
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #fff 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.error-content h2 { font-size: 24px; margin-bottom: 12px; }
.error-content p { font-size: 14px; color: rgba(255, 255, 255, 0.75); margin-bottom: 28px; line-height: 1.6; }
.error-content .landing-btn { max-width: 280px; margin: 0 auto; text-align: center; }


/* ============================================
   PAGE: Project Listing
   Body class: .page-projects
   Used on: biomedical, ecology, physics,
   sustainability, biotechnology, neuroscience,
   bioinformatics, materials-chemistry
   ============================================ */
.page-projects .page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
}

.page-projects .page-header-content { max-width: 1200px; margin: 0 auto; }

.field-icon-large {
    font-size: 80px;
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.page-projects .page-header h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-projects .page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
}

.page-projects .breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-500);
}

.page-projects .breadcrumb a {
    color: var(--cyan);
    text-decoration: none;
    transition: color var(--transition);
}

.page-projects .breadcrumb a:hover { color: var(--orange); }
.page-projects .breadcrumb span { color: var(--gray-400); }

.page-projects .container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--cyan);
    transform: scaleY(0);
    transition: transform var(--transition);
}

.project-card:hover::before { transform: scaleY(1); }

.project-card::after {
    content: '\2192';
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-size: 28px;
    color: var(--cyan);
    transition: transform var(--transition);
}

.project-card:hover::after { transform: translateX(5px); }

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: var(--cyan);
}

.project-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 15px;
    padding-right: 50px;
}

.project-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }

.project-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #E3F2FD;
    color: #01579B;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.project-tag.supervisor { background: #FFF3E0; color: #E65100; }
.project-tag.location { background: #E8F5E9; color: #1B5E20; }

.project-description {
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-projects .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 28, 61, 0.85);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition);
}

.page-projects .modal-overlay.active { display: block; opacity: 1; }

.project-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.page-projects .modal-header {
    background: linear-gradient(135deg, var(--navy) 0%, #003366 100%);
    color: var(--white);
    padding: 35px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.page-projects .modal-header h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--white);
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.page-projects .modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    font-size: 32px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.page-projects .modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.page-projects .modal-body {
    padding: 35px;
    overflow-y: auto;
    max-height: calc(85vh - 140px);
}

.page-projects .modal-section { margin-bottom: 30px; }

.page-projects .modal-section h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--orange);
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-projects .modal-section p,
.page-projects .modal-section ul {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.page-projects .modal-section ul { padding-left: 25px; margin-top: 12px; }
.page-projects .modal-section ul li { margin-bottom: 10px; }

.page-projects .contact-box {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border: 2px solid var(--cyan);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

.page-projects .contact-box h4 {
    font-family: var(--font-heading);
    color: var(--navy);
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-projects .contact-info { display: grid; gap: 15px; }

.page-projects .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-700);
}

.page-projects .contact-item strong {
    min-width: 120px;
    color: var(--navy);
    font-weight: 600;
}

.page-projects .contact-item a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}

.page-projects .contact-item a:hover { color: var(--orange); }

@media (max-width: 768px) {
    .page-projects .page-header h1 { font-size: 32px; }
    .project-grid { grid-template-columns: 1fr; }
    .project-modal { width: 95%; max-height: 90vh; }
    .page-projects .modal-body { padding: 25px; }
    .page-projects .modal-header { padding: 25px; }
    .page-projects .modal-header h3 { font-size: 22px; }
}

/* --- Sustainability green variant --- */
.page-projects--green .project-card::before { background: #4CAF50; }
.page-projects--green .project-card::after { color: #4CAF50; }
.page-projects--green .project-card:hover { border-color: #4CAF50; }
.page-projects--green .project-tag { background: #E8F5E9; color: #1B5E20; }
.page-projects--green .project-tag.supervisor { background: #FFF3E0; color: #E65100; }
.page-projects--green .project-tag.location { background: #E3F2FD; color: #01579B; }
.page-projects--green .modal-section h4 { border-bottom-color: #4CAF50; }
.page-projects--green .contact-box {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-color: #4CAF50;
}
.page-projects--green .contact-item a { color: #2E7D32; }

/* --- Physics wider grid variant --- */
.page-projects--wide .project-grid { grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); }
.page-projects--wide .project-card { padding: 35px; }
.page-projects--wide .project-card h3 { font-size: 24px; }


/* ============================================
   PAGE: Browse Projects (potential-projects)
   Body class: .page-browse-projects
   ============================================ */
.page-browse-projects .hero {
    padding: 60px 20px 40px 20px;
    text-align: center;
}

.page-browse-projects .hero h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-browse-projects .hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto 10px auto;
}

.disclaimer {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px 30px;
    max-width: 900px;
    margin: 30px auto 0 auto;
    backdrop-filter: blur(10px);
}

.disclaimer p { font-size: 15px; color: rgba(255,255,255,0.95); line-height: 1.6; }
.disclaimer strong { color: #FFD700; }

.page-browse-projects .container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }

.intro-section { text-align: center; margin-bottom: 40px; }
.intro-section h2 { font-family: var(--font-heading); font-size: 28px; color: var(--navy); margin-bottom: 10px; }
.intro-section p { color: var(--gray-500); font-size: 16px; }

.field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.field-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.field-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.1), transparent);
    transition: left 0.6s;
}

.field-card:hover::before { left: 100%; }

.field-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--cyan);
}

.field-icon {
    font-size: 72px;
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.field-card h3 { font-family: var(--font-heading); font-size: 24px; color: var(--navy); margin-bottom: 12px; }
.field-card p { color: var(--gray-500); font-size: 15px; line-height: 1.6; margin-bottom: 15px; }

.field-card .project-count {
    color: var(--cyan);
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
    display: inline-block;
    padding: 8px 16px;
    background: #E3F2FD;
    border-radius: 20px;
}

.arrow-icon {
    margin-top: 15px;
    font-size: 24px;
    color: var(--cyan);
    transition: transform var(--transition);
}

.field-card:hover .arrow-icon { transform: translateX(5px); }

@media (max-width: 768px) {
    .page-browse-projects .hero h1 { font-size: 32px; }
    .field-grid { grid-template-columns: 1fr; }
    .page-browse-projects .header-content { flex-direction: column; gap: 15px; }
    .page-browse-projects .back-button { width: 100%; justify-content: center; }
}


/* ============================================
   PAGE: Instructional Content
   Body class: .page-instructional
   Used on: writing-the-proposal,
   writing-the-thesis, btr-video
   ============================================ */
.page-instructional .page-hero {
    background: linear-gradient(135deg, var(--navy-medium) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 80px 30px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-instructional .page-hero::before {
    content: '';
    position: absolute;
    font-size: 200px;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-instructional .page-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-instructional .page-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.page-instructional .page-hero p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 30px;
}

.proposal-stats,
.thesis-stats,
.video-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-instructional .stat-item { text-align: center; }

.page-instructional .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--cyan);
    font-family: var(--font-heading);
}

.page-instructional .stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

/* Breadcrumb for instructional/timeline pages */
.page-instructional .breadcrumb,
.page-timeline .breadcrumb {
    background: var(--white);
    padding: 15px 30px;
    border-bottom: 1px solid var(--border-color);
}

.page-instructional .breadcrumb-content,
.page-timeline .breadcrumb-content {
    max-width: var(--container-wide);
    margin: 0 auto;
}

.page-instructional .breadcrumb a,
.page-timeline .breadcrumb a {
    color: var(--cyan);
    text-decoration: none;
    font-size: 14px;
}

.page-instructional .breadcrumb a:hover,
.page-timeline .breadcrumb a:hover {
    text-decoration: underline;
}

.page-instructional .breadcrumb span,
.page-timeline .breadcrumb span {
    color: var(--gray-500);
    margin: 0 8px;
}

/* Content wrapper */
.page-instructional .content-wrapper {
    max-width: var(--container-wide);
    margin: 40px auto;
    padding: 0 30px;
}

/* Quick Navigation Cards */
.quick-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.quick-nav-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    color: var(--text-primary);
    border-left: 4px solid var(--cyan);
}

.quick-nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.quick-nav-card h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-nav-card p { font-size: 14px; color: var(--gray-500); line-height: 1.5; }

/* Section Cards (Accordion) */
.section-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all var(--transition);
}

.section-card .section-header {
    background: linear-gradient(135deg, var(--navy-medium) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition);
    text-align: left;
    margin-bottom: 0;
}

.section-card .section-header:hover {
    background: linear-gradient(135deg, #003d6e 0%, #002849 100%);
}

.section-card .section-header h2 {
    font-size: 26px;
    font-weight: 600;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    margin-bottom: 0;
}

.toggle-icon { font-size: 24px; transition: transform var(--transition); }
.section-card.active .toggle-icon { transform: rotate(180deg); }

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.section-card.active .section-content {
    max-height: 10000px;
    transition: max-height 0.6s ease-in;
}

.section-inner { padding: 40px; }

.section-inner h3 {
    font-size: 24px;
    color: var(--navy-medium);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: var(--font-heading);
    border-bottom: 3px solid var(--cyan);
    padding-bottom: 10px;
}

.section-inner h4 {
    font-size: 20px;
    color: var(--navy-medium);
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.section-inner p { margin-bottom: 15px; font-size: 16px; line-height: 1.8; }
.section-inner ul, .section-inner ol { margin: 15px 0 15px 30px; list-style: revert; }
.section-inner li { margin-bottom: 10px; font-size: 16px; line-height: 1.6; }

/* Info / Warning / Success / Danger Boxes */
.page-instructional .info-box {
    background: linear-gradient(135deg, #E6F7FF 0%, #B3E5FC 100%);
    border-left: 4px solid var(--cyan);
    padding: 25px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,162,219,0.1);
}

.page-instructional .info-box strong {
    color: var(--navy-medium);
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.page-instructional .warning-box {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    border-left: 4px solid #FF6200;
    padding: 25px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255,98,0,0.1);
    font-size: inherit;
    font-weight: normal;
    color: inherit;
}

.page-instructional .warning-box strong {
    color: #FF6200;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.success-box {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-left: 4px solid #4CAF50;
    padding: 25px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(76,175,80,0.1);
}

.success-box strong {
    color: #2E7D32;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.danger-box {
    background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
    border-left: 4px solid #F44336;
    padding: 25px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(244,67,54,0.1);
}

.danger-box strong {
    color: #C62828;
    font-size: 20px;
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

/* Table Styles */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.spec-table th {
    background: linear-gradient(135deg, var(--navy-medium) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-family: var(--font-heading);
}

.spec-table td { padding: 15px; border-bottom: 1px solid var(--border-color); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover { background: var(--bg-section); }

/* Process Steps */
.process-steps { counter-reset: step-counter; }

.process-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.process-step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    font-family: var(--font-heading);
}

.process-step h4 { margin-top: 0; }

/* Resource Cards */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.resource-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 4px solid var(--cyan);
    transition: all var(--transition);
}

.resource-card:hover { transform: translateY(-5px); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.resource-card h4 { color: var(--navy-medium); margin-bottom: 10px; font-family: var(--font-heading); }
.resource-card ul { list-style: none; margin: 0; padding: 0; }
.resource-card li { padding: 5px 0; font-size: 14px; }

/* Structure Cards */
.structure-card {
    background: var(--white);
    padding: 25px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--cyan);
}

.structure-card h4 { color: var(--navy); font-size: 20px; margin-bottom: 15px; font-family: var(--font-heading); }

/* Assessment Criteria Cards */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.criteria-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 4px solid var(--cyan);
}

.criteria-card h4 {
    color: var(--navy-medium);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Comparison Grid (thesis page) */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.comparison-card { padding: 20px; border-radius: 8px; }
.comparison-card.included { background: #E8F5E9; border-left: 4px solid #4CAF50; }
.comparison-card.excluded { background: #FFEBEE; border-left: 4px solid #F44336; }
.comparison-card h4 { margin-bottom: 10px; font-family: var(--font-heading); }
.comparison-card.included h4 { color: #2E7D32; }
.comparison-card.excluded h4 { color: #E65100; }

/* Checklist Items (video page) */
.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    margin: 10px 0;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all var(--transition);
}

.checklist-item:hover { background: #e9ecef; transform: translateX(5px); }

.checklist-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--cyan);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer override for content pages */
.page-instructional .footer {
    background: var(--navy-medium);
    color: var(--white);
    padding: 40px 30px;
    margin-top: 60px;
    text-align: center;
}

.page-instructional .footer p { margin: 10px 0; }
.page-instructional .footer a { color: var(--cyan); text-decoration: none; }
.page-instructional .footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
    .page-instructional .page-hero h1 { font-size: 36px; }
    .proposal-stats, .thesis-stats, .video-stats { gap: 20px; }
    .page-instructional .stat-number { font-size: 28px; }
    .section-inner { padding: 25px; }
    .quick-nav { grid-template-columns: 1fr; }
    .criteria-grid { grid-template-columns: 1fr; }
    .comparison-grid { grid-template-columns: 1fr; }
}

/* Animation for section opening */
.section-card.active .section-inner {
    animation: fadeInSlide 0.4s ease-out;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ============================================
   PAGE: Supervisor Sub-Pages
   Body class: .page-supervisor-sub
   Used on: btr-overview, role, project-submission
   ============================================ */
.hero--orange {
    background: linear-gradient(135deg, #E84E10 0%, #AE0B12 100%);
    color: white;
    padding: 60px 30px;
    text-align: center;
}

.hero--orange h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.hero--orange p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.page-supervisor-sub .content-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 30px;
}

.page-supervisor-sub .content-wrapper .info-card {
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: none;
}

.page-supervisor-sub .content-wrapper .info-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-color: transparent;
}

.page-supervisor-sub .content-wrapper .info-card h2 {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 3px solid var(--orange);
    padding-bottom: 10px;
}

.page-supervisor-sub .content-wrapper .info-card h3 {
    font-size: 22px;
    color: var(--orange);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-supervisor-sub .content-wrapper .info-card h4 {
    font-size: 18px;
    color: var(--navy-medium);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-supervisor-sub .content-wrapper .info-card p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.page-supervisor-sub .content-wrapper .info-card ul {
    margin-left: 25px;
    margin-bottom: 20px;
    list-style: disc;
}

.page-supervisor-sub .content-wrapper .info-card li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
}

.page-supervisor-sub .content-wrapper .info-card strong {
    color: var(--navy);
    font-weight: 600;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: linear-gradient(135deg, #E84E10 0%, #AE0B12 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.page-supervisor-sub .stat-number {
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.page-supervisor-sub .stat-label { font-size: 14px; opacity: 0.9; }

/* Highlight Box */
.page-supervisor-sub .highlight-box {
    background: #FFF3E0;
    border-left: 4px solid var(--orange);
    padding: 20px;
    margin: 25px 0;
    border-radius: 6px;
}

.page-supervisor-sub .highlight-box h4 { color: var(--orange); margin-top: 0; margin-bottom: 10px; }
.page-supervisor-sub .highlight-box p { margin-bottom: 10px; }
.page-supervisor-sub .highlight-box ul { margin-left: 20px; margin-top: 10px; }

/* Info Box */
.page-supervisor-sub .info-box {
    background: #E6F7FF;
    border-left: 4px solid var(--cyan);
    padding: 20px;
    margin: 25px 0;
    border-radius: 6px;
}

.page-supervisor-sub .info-box h4 {
    color: var(--cyan);
    margin-top: 0;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

/* Components Table */
.components-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
}

.components-table th {
    background: var(--navy-medium);
    color: white;
    padding: 15px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
}

.components-table td { padding: 12px 15px; border-bottom: 1px solid var(--border-color); }
.components-table tr:hover { background: var(--bg-section); }

.weight-badge {
    background: var(--orange);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

/* Grading Box (supervisor-role) */
.grading-box {
    background: #E6F7FF;
    border-left: 4px solid var(--cyan);
    padding: 20px;
    margin: 25px 0;
    border-radius: 6px;
}

.grading-box h4 { color: var(--cyan); margin-top: 0; margin-bottom: 15px; }
.grade-item { display: flex; align-items: center; margin: 8px 0; font-size: 15px; }
.grade-number { font-weight: 700; color: var(--navy); min-width: 40px; font-family: var(--font-heading); }
.grade-description { color: var(--gray-500); }

/* Timeline Note (supervisor-role) */
.timeline-note {
    background: #E8F5E9;
    border-left: 4px solid #4CAF50;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 6px;
    font-size: 15px;
}

.timeline-note strong { color: #2E7D32; }

/* Email Template (supervisor-project-submission) */
.email-template {
    background: var(--bg-section);
    border: 2px dashed var(--cyan);
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.email-template .template-label {
    background: var(--cyan);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 15px;
}

.email-template .field { color: var(--orange); font-weight: bold; }

/* Primary Button (supervisor-project-submission) */
.primary-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--orange);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    font-family: var(--font-heading);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.primary-button:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 78, 16, 0.3);
}

/* Contact Box */
.page-supervisor-sub .contact-box {
    background: linear-gradient(135deg, var(--navy-medium) 0%, var(--navy) 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
}

.page-supervisor-sub .contact-box h3 { color: white; margin-bottom: 15px; font-family: var(--font-heading); }
.page-supervisor-sub .contact-box p { font-size: 16px; margin-bottom: 10px; }
.page-supervisor-sub .contact-box a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.page-supervisor-sub .contact-box a:hover { text-decoration: underline; }

/* Footer for supervisor sub-pages */
.page-supervisor-sub .footer p { margin: 8px 0; font-size: 14px; }
.page-supervisor-sub .footer a { color: var(--orange); text-decoration: none; }
.page-supervisor-sub .footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
    .hero--orange h1 { font-size: 32px; }
    .page-supervisor-sub .content-wrapper .info-card { padding: 25px; }
    .page-supervisor-sub .content-wrapper .info-card h2 { font-size: 24px; }
    .page-supervisor-sub .header-content { flex-direction: column; gap: 15px; }
    .stats-grid { grid-template-columns: 1fr; }
    .components-table { font-size: 14px; }
    .components-table th, .components-table td { padding: 10px; }
}

/* Narrower wrapper for project submission */
.page-supervisor-sub--narrow .content-wrapper { max-width: 1000px; }


/* ============================================
   PAGE: Timeline
   Body class: .page-timeline
   Used on: timeline-february, timeline-september
   ============================================ */
.page-timeline .page-hero {
    background: linear-gradient(135deg, var(--navy-medium) 0%, var(--navy) 100%);
    color: var(--white);
    padding: 60px 30px;
    text-align: center;
}

.page-timeline .page-hero-content { max-width: 900px; margin: 0 auto; }

.page-timeline .page-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.page-timeline .page-hero p { font-size: 17px; opacity: 0.95; }

.page-timeline .content-wrapper {
    max-width: var(--container-wide);
    margin: 40px auto;
    padding: 0 30px;
}

/* Legend */
.legend {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.legend-item { display: flex; align-items: center; gap: 10px; font-size: 15px; }

.legend-color {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.legend-color.red { background: #dc3545; }
.legend-color.green { background: #28a745; }

/* Calendar Grid */
.calendars-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.calendar-container { grid-column: span 2; min-width: 0; }
.calendar-container:nth-child(4) { grid-column: 2 / 4; }
.calendar-container:nth-child(5) { grid-column: 4 / 6; }

.calendar-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid var(--border-color);
}

.calendar-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 100%);
    color: var(--white);
    padding: 20px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.calendar-header h2 { font-size: 24px; font-weight: 600; font-family: var(--font-heading); }
.calendar-header p { font-size: 14px; opacity: 0.9; margin-top: 5px; }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    padding: 10px;
}

.day-header {
    text-align: center;
    font-weight: 600;
    padding: 6px 2px;
    color: var(--navy-medium);
    font-size: 13px;
    font-family: var(--font-heading);
}

.day-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    position: relative;
    cursor: default;
    font-size: 14px;
}

.day-cell.empty { background: var(--bg-section); }

.day-cell.deadline {
    background: #dc3545;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.day-cell.deadline:hover {
    background: #c82333;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.day-cell.grade-day {
    background: #28a745;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.day-cell.grade-day:hover {
    background: #218838;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* Deadline Modal */
.deadline-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.page-timeline .modal-content {
    background: var(--white);
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.page-timeline .modal-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: var(--white);
    padding: 25px;
    border-radius: 12px 12px 0 0;
}

.page-timeline .modal-header.grade {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

.page-timeline .modal-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.page-timeline .modal-header p { font-size: 14px; opacity: 0.9; }
.page-timeline .modal-body { padding: 30px; }

.deadline-info { margin-bottom: 20px; }

.deadline-info h4 {
    color: var(--navy-medium);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.deadline-info p { color: var(--gray-500); font-size: 15px; line-height: 1.6; }

.time-badge {
    display: inline-block;
    background: var(--cyan);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 10px;
    font-size: 14px;
}

.close-btn {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    transition: all var(--transition);
}

.close-btn:hover { background: var(--navy-medium); transform: translateY(-2px); }

/* Footer */
.page-timeline .footer {
    background: var(--navy-medium);
    color: var(--white);
    padding: 40px 30px;
    margin-top: 60px;
    text-align: center;
}

.page-timeline .footer p { margin: 10px 0; }
.page-timeline .footer a { color: var(--cyan); text-decoration: none; }
.page-timeline .footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
    .calendars-grid { grid-template-columns: repeat(2, 1fr); }
    .calendar-container,
    .calendar-container:nth-child(4),
    .calendar-container:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 768px) {
    .calendars-grid { grid-template-columns: 1fr; }
    .calendar-container,
    .calendar-container:nth-child(4),
    .calendar-container:nth-child(5) { grid-column: span 1; }
    .page-timeline .page-hero h1 { font-size: 32px; }
    .page-timeline .modal-content { width: 95%; margin: 20% auto; }
    .legend { gap: 20px; }
}


/* ============================================
   PAGE: FAQ
   Body class: .page-faq
   ============================================ */
.page-faq {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-faq .header {
    background-color: var(--navy);
    color: var(--white);
    padding: 20px 0;
}

.page-faq .header-content { max-width: 1200px; }
.page-faq .logo { color: var(--white); }
.page-faq .nav-menu a { color: var(--white); }
.page-faq .nav-menu a:hover { opacity: 0.8; color: var(--white); }
.page-faq .my-um-btn { background-color: var(--cyan); }

.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 100%;
}

.page-faq .page-header { margin-bottom: 30px; }

.page-faq .page-header h1 {
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.page-faq .page-header p { color: var(--gray-500); font-size: 16px; line-height: 1.6; }

/* Search Box */
.search-box {
    margin-bottom: 30px;
    padding: 20px;
    background: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid var(--cyan);
}

.search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color var(--transition);
}

.search-box input:focus { outline: none; border-color: var(--cyan); }

/* Controls */
.controls { display: flex; gap: 10px; margin-bottom: 20px; }

.control-btn {
    padding: 10px 20px;
    background: var(--cyan);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
}

.control-btn:hover { background: #0088bb; transform: translateY(-2px); }
.control-btn.secondary { background: var(--gray-500); }
.control-btn.secondary:hover { background: #555; }

/* FAQ Category */
.faq-category {
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition);
}

.faq-category:hover { border-color: var(--cyan); }

.category-header {
    background: linear-gradient(135deg, var(--navy) 0%, #003366 100%);
    color: var(--white);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition);
}

.category-header:hover { background: linear-gradient(135deg, #003366 0%, #004488 100%); }

.category-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    font-family: var(--font-heading);
}

.category-icon { font-size: 24px; transition: transform var(--transition); }
.faq-category.active .category-icon { transform: rotate(180deg); }

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: #f9f9f9;
}

.faq-category.active .category-content {
    max-height: 5000px;
    transition: max-height 0.5s ease-in;
}

/* FAQ Items */
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: all var(--transition);
}

.faq-question:hover { background: #f0f8ff; }

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
    flex: 1;
    font-family: var(--font-heading);
}

.question-icon {
    color: var(--cyan);
    font-size: 20px;
    transition: transform var(--transition);
    margin-left: 15px;
}

.faq-item.active .question-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    transition: max-height 0.4s ease-in;
}

.faq-answer-content {
    padding: 20px;
    background: var(--white);
    color: #333;
    line-height: 1.8;
    border-top: 2px solid var(--cyan);
}

.faq-answer-content p { margin-bottom: 15px; }
.faq-answer-content ul, .faq-answer-content ol { margin-left: 20px; margin-bottom: 15px; }
.faq-answer-content li { margin-bottom: 8px; }
.faq-answer-content strong { color: var(--navy); }
.faq-answer-content a { color: var(--cyan); text-decoration: none; }
.faq-answer-content a:hover { text-decoration: underline; }

/* Note Box */
.note-box {
    background: #fff3cd;
    border-left: 4px solid var(--orange);
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.note-box strong { color: var(--orange); }

/* FAQ Footer */
.page-faq .footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 40px 0;
    margin-top: auto;
    width: 100%;
}

.page-faq .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.page-faq .footer a { color: var(--cyan); }

@media (max-width: 768px) {
    .controls { flex-direction: column; }
    .control-btn { width: 100%; }
    .main-content { margin: 20px; padding: 20px; }
}


/* ============================================
   PAGE: Rubrics
   Body class: .page-rubrics
   ============================================ */
.page-rubrics {
    background: linear-gradient(to bottom, #fafbfc 0%, #f5f7fa 100%);
    color: #2c3e50;
}

.page-rubrics .header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.page-rubrics .page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 50%, #003D6B 100%);
    color: var(--white);
    padding: 80px 30px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-rubrics .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 188, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-rubrics .page-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
    position: relative;
}

.page-rubrics .page-hero p {
    font-size: 19px;
    opacity: 0.92;
    font-weight: 300;
    font-family: var(--font-body);
    position: relative;
}

.page-rubrics .content-wrapper {
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 30px 80px;
    position: relative;
}

/* Intro Card */
.intro-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 40px;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 4px solid #00BCD4;
}

.intro-card p { font-size: 16px; line-height: 1.8; color: #4a5568; text-align: center; margin: 0; }

/* Card Grid */
.rubrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.rubric-card {
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

.rubric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--card-color-start), var(--card-color-end));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rubric-card:hover::before { transform: scaleX(1); }
.rubric-card:hover { transform: translateY(-8px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }

.card-header {
    padding: 35px 30px;
    background: linear-gradient(135deg, var(--card-color-start) 0%, var(--card-color-end) 100%);
    position: relative;
    overflow: hidden;
}

.card-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.rubric-card:hover .card-header::after { transform: scale(1.5); }

.card-icon { font-size: 42px; margin-bottom: 15px; display: block; position: relative; z-index: 1; }

.card-header h3 {
    font-size: 24px;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    position: relative;
    z-index: 1;
}

.card-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    font-family: var(--font-body);
    position: relative;
    z-index: 1;
}

.card-body { padding: 25px 30px; }

.card-stat { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; }
.card-stat-label { color: #718096; font-weight: 400; }
.card-stat-value { color: #2d3748; font-weight: 600; font-family: var(--font-heading); }
.card-divider { height: 1px; background: #e2e8f0; margin: 18px 0; }

.view-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--card-color-start);
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    font-family: var(--font-heading);
    transition: gap 0.3s ease;
}

.rubric-card:hover .view-details { gap: 12px; }
.view-details::after { content: '\2192'; font-size: 18px; transition: transform 0.3s ease; }

/* Card Color Variations */
.rubric-card.proposal { --card-color-start: #00BCD4; --card-color-end: #00ACC1; }
.rubric-card.midterm { --card-color-start: var(--orange); --card-color-end: #E55A00; }
.rubric-card.final-practical { --card-color-start: #F39425; --card-color-end: #E88720; }
.rubric-card.final-thesis { --card-color-start: #AE0B12; --card-color-end: #9A0A10; }
.rubric-card.video { --card-color-start: #7C3AED; --card-color-end: #6D28D9; }

/* Modal Styles */
.rubric-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 2000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.rubric-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
}

.page-rubrics .modal-content {
    max-width: 950px;
    width: 100%;
    background: var(--white);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: auto;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header-section {
    background: linear-gradient(135deg, var(--modal-color-start) 0%, var(--modal-color-end) 100%);
    padding: 45px 50px;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.modal-header-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.modal-header-section h2 {
    font-size: 36px;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.modal-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.95);
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: var(--white);
    background: rgba(255,255,255,0.2);
    border: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.close-modal:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }

.page-rubrics .modal-body {
    padding: 45px 50px;
    max-height: 70vh;
    overflow-y: auto;
}

.page-rubrics .modal-body::-webkit-scrollbar { width: 8px; }
.page-rubrics .modal-body::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.page-rubrics .modal-body::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 10px; }
.page-rubrics .modal-body::-webkit-scrollbar-thumb:hover { background: #a0aec0; }

.rubric-section { margin-bottom: 35px; }

.rubric-section h3 {
    font-size: 24px;
    color: #1a202c;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rubric-section h3::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, var(--modal-color-start), var(--modal-color-end));
    border-radius: 2px;
}

.rubric-section h4 {
    font-size: 18px;
    color: #2d3748;
    margin-top: 25px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.rubric-section p { margin-bottom: 12px; line-height: 1.8; color: #4a5568; font-family: var(--font-body); }

.grade-level {
    background: linear-gradient(to right, rgba(0, 188, 212, 0.05), rgba(0, 188, 212, 0.02));
    padding: 18px 20px;
    margin: 12px 0;
    border-radius: 10px;
    border-left: 4px solid var(--modal-color-start);
    transition: all 0.3s ease;
}

.grade-level:hover {
    background: linear-gradient(to right, rgba(0, 188, 212, 0.08), rgba(0, 188, 212, 0.03));
    transform: translateX(5px);
}

.grade-level strong {
    color: var(--modal-color-start);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
}

.page-rubrics .info-box {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    padding: 20px 25px;
    border-radius: 12px;
    margin: 25px 0;
}

.page-rubrics .info-box p { margin: 0; font-weight: 500; }

/* Rubrics Footer */
.page-rubrics .footer {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 100%);
    color: var(--white);
    padding: 50px 0 30px;
    margin-top: 80px;
    text-align: center;
}

.page-rubrics .footer-content {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 30px;
}

.page-rubrics .footer p { margin: 12px 0; font-family: var(--font-body); opacity: 0.9; }
.page-rubrics .footer a { color: #00BCD4; text-decoration: none; font-family: var(--font-body); transition: color var(--transition); }
.page-rubrics .footer a:hover { color: #00E5FF; }

@media (max-width: 768px) {
    .page-rubrics .page-hero h1 { font-size: 36px; }
    .rubrics-grid { grid-template-columns: 1fr; }
    .modal-header-section, .page-rubrics .modal-body { padding: 30px 25px; }
    .intro-card { padding: 25px 20px; }
}


/* ============================================
   PAGE: Before You Start
   Body class: .page-before-you-start
   ============================================ */
.page-before-you-start {
    font-family: 'Open Sans', Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    zoom: 0.7;
}

.page-before-you-start .header {
    background: white;
    color: #001C3D;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-before-you-start .header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-before-you-start .logo { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.page-before-you-start .logo img { height: 50px; }
.page-before-you-start .logo-text { font-size: 18px; font-weight: 600; color: #001C3D; font-family: 'Montserrat', sans-serif; }

.page-before-you-start .nav-menu { display: flex; gap: 25px; align-items: center; }
.page-before-you-start .nav-menu a { color: #001C3D; text-decoration: none; font-size: 15px; transition: color 0.3s; }
.page-before-you-start .nav-menu a:hover { color: #00BCD4; }

/* Hero */
.page-before-you-start .hero {
    background: linear-gradient(135deg, #001C3D 0%, #00152B 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-before-you-start .hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-before-you-start .hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Container & Sections */
.page-before-you-start .container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }

.page-before-you-start .section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.page-before-you-start .section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    color: #001C3D;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #E84E10;
}

.page-before-you-start .section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    color: #001C3D;
    margin: 25px 0 15px 0;
}

/* Info Cards Grid */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.page-before-you-start .info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.page-before-you-start .info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.1), transparent);
    transition: left 0.5s;
}

.page-before-you-start .info-card:hover::before { left: 100%; }

.page-before-you-start .info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 188, 212, 0.2);
    border-color: #00BCD4;
}

.page-before-you-start .info-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.page-before-you-start .info-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #001C3D;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.page-before-you-start .info-card p { color: #666; font-size: 14px; line-height: 1.5; }

.card-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
    color: #00BCD4;
    transition: transform 0.3s;
}

.page-before-you-start .info-card:hover .card-arrow { transform: translateX(5px); }

/* Modal Styles */
.page-before-you-start .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 28, 61, 0.8);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.page-before-you-start .modal-overlay.active { display: block; opacity: 1; }

.info-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.page-before-you-start .modal-header {
    background: linear-gradient(135deg, #001C3D 0%, #003366 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-before-you-start .modal-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    color: white;
    margin: 0;
    border: none;
    padding: 0;
}

.page-before-you-start .modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.page-before-you-start .modal-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }

.page-before-you-start .modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(85vh - 100px);
}

.page-before-you-start .highlight-box {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    border-left: 5px solid #F39425;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

.feature-box:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); border-color: #00BCD4; }
.feature-icon { font-size: 36px; margin-bottom: 15px; }
.feature-box h4 { font-family: 'Montserrat', sans-serif; color: #001C3D; margin-bottom: 12px; font-size: 18px; }
.feature-box p { color: #666; line-height: 1.6; }

.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.feature-list li { padding: 8px 0; color: #333; }

/* Location Cards */
.location-options { display: grid; gap: 20px; margin-top: 20px; }

.location-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.location-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.location-header { color: white; padding: 20px; display: flex; align-items: center; gap: 15px; }
.location-icon { font-size: 32px; }
.location-header h3 { color: white; margin: 0; font-size: 22px; }
.location-body { background: white; padding: 20px; }

/* Contact Person Grid */
.contact-person-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.contact-person {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.contact-person:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); border-color: #00BCD4; }

.person-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-family: 'Montserrat', sans-serif;
}

.contact-person h4 { font-family: 'Montserrat', sans-serif; color: #001C3D; margin-bottom: 8px; font-size: 18px; }
.person-role { color: #00BCD4; font-weight: 600; margin-bottom: 10px; }
.person-description { color: #666; font-size: 14px; line-height: 1.5; }

/* Office Cards */
.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.office-card {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border: 2px solid #00BCD4;
    border-radius: 12px;
    padding: 25px;
}

.office-card h4 { font-family: 'Montserrat', sans-serif; color: #001C3D; margin-bottom: 15px; font-size: 18px; }
.office-card p { color: #333; line-height: 1.6; margin-bottom: 10px; }

/* Supervisor Comparison */
.supervisor-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.supervisor-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

.supervisor-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }

.supervisor-detail { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #e0e0e0; }
.supervisor-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.supervisor-detail strong { display: block; color: #001C3D; font-family: 'Montserrat', sans-serif; margin-bottom: 8px; font-size: 16px; }
.supervisor-detail p { color: #666; line-height: 1.6; }

/* Alert Boxes */
.alert { padding: 20px; border-radius: 8px; margin-bottom: 20px; border-left: 4px solid; }
.alert-info { background: #E3F2FD; border-color: #00BCD4; color: #01579B; }
.alert-warning { background: #FFF3E0; border-color: #F39425; color: #E65100; }
.alert-success { background: #E8F5E9; border-color: #4CAF50; color: #1B5E20; }

/* Option Cards */
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.option-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); border-color: #00BCD4; }
.option-card.active { border-color: #E84E10; background: #FFF3E0; }
.option-card h4 { font-family: 'Montserrat', sans-serif; font-size: 18px; color: #001C3D; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.option-card p { color: #666; font-size: 14px; }

/* Expandable Content */
.expandable { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.expandable.open { max-height: 2000px; margin-top: 20px; }

.expandable-content {
    background: #f8f9fa;
    border-left: 4px solid #00BCD4;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

/* Checklist */
.page-before-you-start .checklist { list-style: none; padding: 0; }

.page-before-you-start .checklist li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.page-before-you-start .checklist li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 18px;
}

/* Steps */
.steps { display: flex; flex-direction: column; gap: 20px; margin: 25px 0; }
.step { display: flex; gap: 20px; align-items: flex-start; }

.step-number {
    background: #E84E10;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    flex-shrink: 0;
}

.step-content { flex: 1; }
.step-content h4 { font-family: 'Montserrat', sans-serif; color: #001C3D; margin-bottom: 8px; }

/* Buttons */
.page-before-you-start .btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.page-before-you-start .btn-primary { background: #E84E10; color: white; }
.page-before-you-start .btn-primary:hover { background: #d63d0a; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(232, 78, 16, 0.3); }
.page-before-you-start .btn-secondary { background: #00BCD4; color: white; }
.page-before-you-start .btn-secondary:hover { background: #00ACC1; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3); }
.page-before-you-start .btn-outline { background: white; color: #001C3D; border: 2px solid #001C3D; }
.page-before-you-start .btn-outline:hover { background: #001C3D; color: white; }

/* Deadline Box */
.deadline-box {
    background: linear-gradient(135deg, #E84E10 0%, #d63d0a 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 30px 0;
}

.deadline-box h3 { color: white; font-size: 24px; margin-bottom: 20px; }

.deadline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.deadline-item {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.deadline-item h4 { color: white; font-size: 18px; margin-bottom: 10px; }
.deadline-item .date { font-size: 28px; font-weight: bold; color: #FFD700; }

/* Table */
.page-before-you-start table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.page-before-you-start table th { background: #001C3D; color: white; padding: 15px; text-align: left; font-family: 'Montserrat', sans-serif; }
.page-before-you-start table td { padding: 15px; border-bottom: 1px solid #eee; }
.page-before-you-start table tr:hover { background: #f8f9fa; }

/* Accordion */
.accordion { margin: 20px 0; }

.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    background: #f8f9fa;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #001C3D;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover { background: #e9ecef; }
.accordion-header.active { background: #001C3D; color: white; }
.accordion-icon { transition: transform 0.3s; }
.accordion-header.active .accordion-icon { transform: rotate(180deg); }

.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-content.open { max-height: 600px; overflow-y: auto; }
.accordion-body { padding: 20px; background: white; }

/* Contact Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.contact-card {
    background: linear-gradient(135deg, #001C3D 0%, #003366 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.contact-card h4 { color: white; margin-bottom: 15px; font-size: 20px; }
.contact-card a { color: #00BCD4; text-decoration: none; font-weight: 600; }
.contact-card a:hover { color: #FFD700; }

/* Icon override */
.page-before-you-start .icon { font-size: 24px; margin-right: 10px; }

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-step { text-align: center; flex: 1; position: relative; z-index: 1; }

.progress-circle {
    width: 40px;
    height: 40px;
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-circle:hover { border-color: #E84E10; transform: scale(1.1); }
.progress-step.active .progress-circle { background: #E84E10; border-color: #E84E10; color: white; }
.progress-step.completed .progress-circle { background: #4CAF50; border-color: #4CAF50; color: white; }
.progress-label { font-size: 14px; color: #666; font-weight: 600; }

/* Responsive */
@media (max-width: 768px) {
    .page-before-you-start .hero h1 { font-size: 32px; }
    .page-before-you-start .section { padding: 25px; }
    .option-grid { grid-template-columns: 1fr; }
    .page-before-you-start .nav-menu { display: none; }
    .info-modal { width: 95%; max-height: 90vh; }
    .page-before-you-start .modal-body { padding: 20px; }
    .supervisor-comparison { grid-template-columns: 1fr; }
}
