/* ===== CSS Variables ===== */
:root {
    --primary: #0a0f1c;
    --primary-light: #111827;
    --secondary: #00d4ff;
    --secondary-dark: #00a8cc;
    --accent: #7c3aed;
    --success: #00c897;
    --warning: #ffb800;
    --danger: #ff4757;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.03);
    --gradient-1: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-2: linear-gradient(135deg, #00c897 0%, #00d4ff 100%);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-dark);
}

/* ===== Loading Screen ===== */
.loading-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px;
    color: var(--text-muted);
    font-size: 16px;
}

.loading i {
    font-size: 24px;
    color: var(--secondary);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-2);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

.btn-danger {
    background: rgba(255, 71, 87, 0.1);
    color: var(--danger);
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.btn-danger:hover {
    background: var(--danger);
    color: white;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
    border-radius: 14px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ===== Home Header ===== */
.home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-logo i {
    font-size: 28px;
    background: linear-gradient(135deg, #00d4ff, #00a8cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-logo span {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #00a8cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-nav .welcome-text {
    color: #a1a1aa;
    font-size: 14px;
    margin-right: 8px;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: #00d4ff;
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.btn-outline-light i {
    margin-right: 8px;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 40px 60px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-section h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section h1 .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 16px;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h3 i {
    color: var(--secondary);
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 71, 87, 0.1);
    color: var(--danger);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

/* ===== Form Elements ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select option {
    background: var(--primary-light);
    color: var(--text-primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.error-msg {
    display: none;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--danger);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
}

/* ===== Quiz Info ===== */
.quiz-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    margin-top: 20px;
}

.quiz-info .info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.quiz-info .info-item i {
    color: var(--secondary);
    font-size: 18px;
}

/* ===== Quiz Container ===== */
.quiz-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
}

.quiz-error {
    text-align: center;
    padding: 80px 40px;
}

.quiz-error i {
    font-size: 64px;
    color: var(--warning);
    margin-bottom: 24px;
}

.quiz-error h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.quiz-error p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ===== Quiz Header ===== */
.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.quiz-progress {
    flex: 1;
    min-width: 200px;
}

.progress-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-2);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.quiz-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Outfit', monospace;
}

.quiz-timer i {
    color: var(--secondary);
}

.quiz-timer.warning {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.3);
    color: var(--danger);
}

.quiz-timer.warning i {
    color: var(--danger);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== Quiz Content ===== */
.quiz-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 32px;
}

.question-category {
    margin-bottom: 20px;
}

.question-text {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 32px;
}

/* ===== Options Grid ===== */
.options-grid {
    display: grid;
    gap: 16px;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    color: var(--text-primary);
    font-size: 16px;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
}

.option-card.selected {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--secondary);
}

.option-letter {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.option-card.selected .option-letter {
    background: var(--secondary);
    color: var(--primary);
}

.option-text {
    flex: 1;
}

.option-check {
    color: var(--secondary);
    font-size: 20px;
}

/* ===== Likert Scale ===== */
.likert-scale {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.likert-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.likert-options {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.likert-option {
    flex: 1;
    aspect-ratio: 1;
    max-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.likert-option:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

.likert-option.selected {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
    transform: scale(1.05);
}

/* ===== Quiz Navigation ===== */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

/* ===== Question Dots ===== */
.question-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.question-dot {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.question-dot:hover {
    border-color: var(--secondary);
}

.question-dot.current {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
}

.question-dot.answered {
    background: rgba(0, 200, 151, 0.2);
    border-color: var(--success);
    color: var(--success);
}

.question-dot.answered.current {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
}

/* ===== Badge ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(0, 200, 151, 0.1);
    border-color: rgba(0, 200, 151, 0.2);
    color: var(--success);
}

.badge-danger {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.2);
    color: var(--danger);
}

.badge-science {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.2);
    color: var(--secondary);
}

.badge-commerce {
    background: rgba(255, 184, 0, 0.1);
    border-color: rgba(255, 184, 0, 0.2);
    color: var(--warning);
}

.badge-arts {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 40px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h4 {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* ===== Admin Layout ===== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: var(--primary-light);
    border-right: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 32px;
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.sidebar-logo span {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-nav {
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-item.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--secondary);
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    padding: 32px;
    background: var(--primary);
    min-height: 100vh;
}

/* ===== Page Header ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 20px;
    flex-wrap: wrap;
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ===== Cards ===== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    gap: 16px;
    flex-wrap: wrap;
}

.card-header h3 {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: var(--secondary);
}

.card-body {
    padding: 24px;
}

/* ===== Stats Grid ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 14px;
    font-size: 24px;
    color: white;
}

.stat-content h3 {
    font-size: 28px;
    margin-bottom: 4px;
}

.stat-content p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== Tabs ===== */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding: 8px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tab-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--secondary);
    color: var(--primary);
}

/* ===== Search Box ===== */
.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    min-width: 280px;
}

.search-box i {
    color: var(--text-muted);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

/* ===== Table ===== */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    font-size: 14px;
    color: var(--text-secondary);
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* ===== Action Buttons ===== */
.action-btns {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.action-btn.edit:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

.action-btn.delete:hover {
    background: rgba(255, 71, 87, 0.1);
    border-color: var(--danger);
    color: var(--danger);
}

.action-btn.view:hover {
    background: rgba(0, 200, 151, 0.1);
    border-color: var(--success);
    color: var(--success);
}

/* ===== Toggle Switch ===== */
.toggle-switch {
    width: 50px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle-switch.active {
    background: var(--secondary);
}

.toggle-switch.active::after {
    transform: translateX(22px);
    background: var(--primary);
}

/* ===== Option Scores (Admin) ===== */
.option-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.option-item input {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
}

.option-scores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.option-scores label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.option-scores input {
    width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .admin-sidebar {
        width: 80px;
        padding: 16px;
    }
    
    .sidebar-logo span,
    .nav-item span,
    .sidebar-footer {
        display: none;
    }
    
    .nav-item {
        justify-content: center;
        padding: 14px;
    }
    
    .admin-main {
        margin-left: 80px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .quiz-content {
        padding: 24px;
    }
    
    .question-text {
        font-size: 20px;
    }
    
    .likert-option {
        max-width: 60px;
        font-size: 16px;
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .admin-main {
        margin-left: 0;
        padding: 20px;
    }
    
    .page-header {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Blazor Error UI ===== */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 20px;
    background: var(--danger);
    color: white;
    border-radius: 12px;
    z-index: 9999;
}

#blazor-error-ui a {
    color: white;
    text-decoration: underline;
    margin-left: 10px;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===== Results Page ===== */
.results-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.results-header h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.results-header h1 i {
    color: var(--warning);
}

.results-header p {
    color: var(--text-muted);
    font-size: 18px;
}

.recommendation-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.recommendation-card.science {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.05));
    border: 2px solid rgba(0, 212, 255, 0.4);
}

.recommendation-card.commerce {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.15), rgba(255, 184, 0, 0.05));
    border: 2px solid rgba(255, 184, 0, 0.4);
}

.recommendation-card.arts {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(236, 72, 153, 0.05));
    border: 2px solid rgba(236, 72, 153, 0.4);
}

.recommendation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.recommendation-card.science .recommendation-icon {
    background: rgba(0, 212, 255, 0.2);
    color: var(--secondary);
}

.recommendation-card.commerce .recommendation-icon {
    background: rgba(255, 184, 0, 0.2);
    color: var(--warning);
}

.recommendation-card.arts .recommendation-icon {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

.recommendation-content {
    flex: 1;
}

.recommendation-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recommendation-stream {
    font-size: 36px;
    font-weight: 700;
    margin: 8px 0;
}

.match-score {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.match-percent {
    font-size: 28px;
    font-weight: 700;
    color: var(--success);
}

.match-label {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .recommendation-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Print Styles ===== */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .btn, .quiz-navigation, .question-dots {
        display: none !important;
    }
    
    .card {
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
}

/* =====================================================
   NEW HOME PAGE STYLES
   ===================================================== */

/* Home Page Base */
.home-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #0a0f1c 0%, #111827 50%, #0a0f1c 100%);
}

/* Navbar */
.home-page .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.home-page .navbar.scrolled {
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-logo i {
    font-size: 28px;
    color: var(--secondary);
}

.nav-logo .admission { color: var(--text-primary); }
.nav-logo .plex {
    background: linear-gradient(135deg, #00d4ff, #7ed321);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.btn-nav {
    padding: 10px 20px !important;
    font-size: 14px !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 24px 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--secondary);
    top: -200px;
    right: -150px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #7ed321;
    bottom: -150px;
    left: -150px;
    animation: float 18s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    top: 40%;
    left: 30%;
    animation: pulse-orb 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 50px); }
}

@keyframes pulse-orb {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 950px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(44px, 7vw, 80px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #00d4ff, #7ed321);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 70px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 44px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff, #7ed321);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #7ed321);
    color: #0a0f1c;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Quick Filter Section */
.quick-filter {
    position: relative;
    margin-top: -80px;
    z-index: 20;
    padding: 0 24px;
}

.filter-card {
    background: linear-gradient(145deg, rgba(26, 39, 68, 0.8), rgba(12, 18, 34, 0.9));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 48px;
    backdrop-filter: blur(20px);
    max-width: 1100px;
    margin: 0 auto;
}

.filter-card h3 {
    font-size: 28px;
    margin-bottom: 28px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-card h3 i {
    color: var(--secondary);
}

.filter-options {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 220px;
}

.filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.filter-group select option {
    background: var(--primary);
    color: var(--text-primary);
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.section-title {
    font-size: clamp(36px, 5vw, 52px);
    color: var(--text-primary);
    margin-bottom: 18px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

/* Career Tabs */
.career-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 14px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.tab-btn.active {
    background: linear-gradient(135deg, #00d4ff, #7ed321);
    color: #0a0f1c;
    border-color: transparent;
}

/* Career Cards */
.career-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

.career-card {
    background: linear-gradient(145deg, rgba(26, 39, 68, 0.8), rgba(12, 18, 34, 0.9));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.career-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.career-card-header {
    padding: 32px;
}

.career-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--secondary);
}

.career-card-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.career-card-header p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.career-card-body {
    padding: 0 32px 24px;
}

.career-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.meta-tag i {
    color: var(--secondary);
}

.career-skills h4 {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--secondary);
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.exam-tag {
    font-size: 14px;
    padding: 10px 18px;
}

.career-card-footer {
    padding: 20px 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.salary-range {
    font-size: 14px;
    color: var(--text-secondary);
}

.salary-range strong {
    color: var(--success);
    font-size: 16px;
    font-weight: 700;
}

.view-details {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-details i {
    transition: transform 0.3s ease;
}

.career-card:hover .view-details i {
    transform: translateX(5px);
}

/* Quiz Section */
.quiz-section {
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.03), transparent);
}

.quiz-promo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quiz-info {
    max-width: 550px;
}

.quiz-features {
    list-style: none;
    margin: 30px 0;
}

.quiz-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-secondary);
}

.quiz-features li i {
    color: var(--success);
    font-size: 18px;
}

.quiz-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quiz-time {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-visual {
    display: flex;
    justify-content: center;
}

.quiz-card-preview {
    background: linear-gradient(145deg, rgba(26, 39, 68, 0.8), rgba(12, 18, 34, 0.9));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--secondary);
    font-weight: 600;
}

.preview-header i {
    font-size: 24px;
}

.preview-question {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.preview-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preview-option {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.preview-option.active,
.preview-option:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Counselor Section */
.counselor-section {
    background: linear-gradient(180deg, transparent, rgba(126, 211, 33, 0.03), transparent);
}

.counselor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.counselor-info {
    max-width: 550px;
}

.counselor-benefits {
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-item i {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 20px;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.counselor-form-wrapper {
    display: flex;
    justify-content: center;
}

.booking-form {
    background: linear-gradient(145deg, rgba(26, 39, 68, 0.8), rgba(12, 18, 34, 0.9));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
}

.booking-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.booking-form h3 i {
    color: var(--secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.form-message.success {
    background: rgba(0, 200, 151, 0.1);
    border: 1px solid rgba(0, 200, 151, 0.3);
    color: var(--success);
}

.form-message.error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--danger);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: linear-gradient(145deg, rgba(26, 39, 68, 0.95), rgba(12, 18, 34, 0.98));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--danger);
    border-color: var(--danger);
}

.modal-body {
    padding: 48px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
}

.modal-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #00d4ff, #7ed321);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
    color: #0a0f1c;
}

.modal-title h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.modal-title p {
    color: var(--text-secondary);
    font-size: 16px;
}

.modal-section {
    margin-bottom: 36px;
}

.modal-section h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-section h3 i {
    color: var(--secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.skill-item i {
    color: var(--success);
    font-size: 16px;
}

.career-paths-grid {
    display: grid;
    gap: 18px;
}

.path-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.path-item h4 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.path-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 28px;
    color: var(--secondary);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a,
.footer-links li {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #0a0f1c;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #7ed321);
    border: none;
    border-radius: 50%;
    color: #0a0f1c;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

/* Loading & Empty States */
.loading-state,
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.loading-state i,
.empty-state i {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quiz-promo-content,
    .counselor-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .quiz-visual {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .career-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 15, 28, 0.98);
        flex-direction: column;
        padding: 100px 30px 30px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .stat-item {
        padding: 16px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .filter-card {
        padding: 24px;
    }
    
    .filter-options {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .career-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .modal-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* ========== QUIZ STUDENT FORM STYLES ========== */
.student-form-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
}

.form-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(126, 211, 33, 0.1));
    border-bottom: 1px solid var(--border-color);
}

.form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff, #7ed321);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #0a0f1c;
    margin: 0 auto 20px;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.form-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #00d4ff, #7ed321);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.form-body {
    padding: 30px;
}

.student-form-card .form-group {
    margin-bottom: 20px;
}

.student-form-card .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.student-form-card .form-group label i {
    color: var(--secondary);
    width: 16px;
}

.student-form-card .form-group input,
.student-form-card .form-group select {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.student-form-card .form-group input:focus,
.student-form-card .form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.student-form-card .form-group input::placeholder {
    color: var(--text-muted);
}

.student-form-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-error {
    padding: 12px 16px;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 10px;
    color: var(--danger);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.quiz-info-box {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin: 24px 0;
}

.quiz-info-box .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.quiz-info-box .info-item i {
    font-size: 24px;
    color: var(--secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
}

.quiz-info-box .info-item div {
    display: flex;
    flex-direction: column;
}

.quiz-info-box .info-item strong {
    font-size: 14px;
    color: var(--text-primary);
}

.quiz-info-box .info-item span {
    font-size: 12px;
    color: var(--text-muted);
}

.btn-start {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.form-footer p {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-footer i {
    color: var(--success);
}

@media (max-width: 600px) {
    .student-form-card .form-row {
        grid-template-columns: 1fr;
    }
    
    .quiz-info-box {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .form-header {
        padding: 30px 20px 20px;
    }
    
    .form-body {
        padding: 20px;
    }
    
    .form-header h1 {
        font-size: 24px;
    }
}
