﻿:root {
    /* Color Palette - Premium Light Theme */
    --bg-main: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 1);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent-primary: #2563eb;
    --accent-secondary: #7c3aed;
    --accent-glow: rgba(37, 99, 235, 0.3);
    
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-text: linear-gradient(to right, #2563eb, #7c3aed);
    
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-border: 1px solid rgba(0, 0, 0, 0.05);
    
    /* Variables */
    --nav-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

body::after {
    content: '';
    position: fixed;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    filter: blur(150px);
    opacity: 0.1;
    z-index: -1;
    border-radius: 50%;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

a {
    text-decoration: none;
    color: var(--accent-primary);
    transition: var(--transition-normal);
}

a:hover {
    color: var(--accent-secondary);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
    color: white;
}

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

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

/* Navigation Structure */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
    z-index: 1000;
    transition: var(--transition-normal);
}

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

.logo {
    cursor: pointer;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-text .highlight {
    color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
}

.nav-links:hover, .nav-links.active {
    color: var(--accent-primary);
}

/* Dropdown Menu - Upgraded UX */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(15px) scale(0.95);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 0.8rem;
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    transform-origin: top center;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-menu li {
    margin-bottom: 0.2rem;
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background: rgba(37, 99, 235, 0.08); /* Primary accent color hover */
    color: var(--accent-primary);
    padding-left: 1.2rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Main Content SPA Sections Upgrade */
.main-content {
    margin-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
    position: relative;
    padding-bottom: 2rem;
}

.page-section {
    display: none;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2rem 0;
}

.page-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Scroll To Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--accent-secondary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.4);
}

/* Footer structure */
.footer {
    background: rgba(248, 250, 252, 0.8);
    border-top: var(--border-color);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand h2 span {
    color: var(--accent-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.non-profit-note {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    background: rgba(0,0,0,0.03);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--accent-secondary);
    font-style: normal !important;
}

.non-profit-note i {
    color: #ef4444;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
}

.footer-links ul li a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.social-icons a:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1280px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Home Page Specific Styles --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding-top: 4rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    font-style: italic;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Premium Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03), inset 0 2px 0 rgba(255,255,255,0.7);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12), inset 0 2px 0 rgba(255,255,255,1);
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.visual-card {
    width: 300px;
    text-align: center;
    position: relative;
}

.visual-card:nth-child(1) {
    transform: translateX(-30px);
}

.visual-card:nth-child(2) {
    transform: translateX(30px);
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.visual-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    color: white;
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(30px); }
    50% { transform: translateY(-15px) translateX(30px); }
    100% { transform: translateY(0px) translateX(30px); }
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: left;
}

/* Standards and Industry Practices Grid */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.standard-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.standard-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.standard-header {
    background: var(--gradient-primary);
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.standard-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.standard-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.standard-body ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.standard-body ul li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.standard-body ul li i {
    color: var(--accent-primary);
    font-size: 0.8rem;
}
.card-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

/* Domains Grid */
.domains-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.domain-pill {
    padding: 0.8rem 1.5rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-fast);
    cursor: default;
    color: var(--text-secondary);
}

.domain-pill:hover {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.05);
}

/* --- Transition Guide Styles --- */
.roadmap-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    z-index: 0;
}

.roadmap-step {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-primary);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.step-content {
    padding-top: 0.5rem;
}

.step-content h3 {
    color: var(--accent-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* --- Assessment Form Styles --- */
.assessment-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-control option {
    background: #ffffff;
    color: #000;
}

/* --- Interview Preparation Styles --- */
.interview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-top: 1.5rem;
}

.btn-link:hover {
    color: var(--accent-secondary);
    gap: 0.8rem;
}

/* --- Standards Learning Hub Styles --- */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.standard-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.standard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: rgba(0, 0, 0, 0.05);
}

.standard-header {
    background: var(--gradient-primary);
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.standard-body {
    padding: 1.5rem;
}

.standard-body p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.standard-body ul {
    margin-top: 1rem;
}

.standard-body ul li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.standard-body ul li i {
    color: #10b981;
}

/* --- Projects Hub Styles --- */
.projects-container {
    max-width: 1000px;
    margin: 0 auto;
}

.project-tracker {
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
}

.project-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.status-completed { background: rgba(16, 185, 129, 0.15); color: #059669; }
.status-active { background: rgba(37, 99, 235, 0.15); color: #2563eb; }
.status-pending { background: rgba(148, 163, 184, 0.2); color: #64748b; }

.project-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.project-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
}

/* --- AI Career Coach Styles --- */
.ai-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 600px;
}

.ai-disclaimer {
    background: rgba(245, 158, 11, 0.1);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #d97706;
}

.chat-interface {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-history {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    gap: 1rem;
    max-width: 85%;
}

.ai-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-message .message-avatar {
    background: var(--gradient-primary);
    color: white;
}

.user-message .message-avatar {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.message-bubble {
    padding: 1rem 1.2rem;
    border-radius: var(--border-radius-md);
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.message-bubble p {
    margin-bottom: 0.8rem;
}

.message-bubble p:last-child, .message-bubble ul:last-child {
    margin-bottom: 0;
}

.message-bubble ul, .message-bubble ol {
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.message-bubble li {
    margin-bottom: 0.3rem;
}

.message-bubble h1, .message-bubble h2, .message-bubble h3, .message-bubble h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1.1em;
}

.message-bubble h1:first-child, .message-bubble h2:first-child {
    margin-top: 0;
}

.message-bubble strong {
    font-weight: 600;
}

.ai-message .message-bubble {
    border-top-left-radius: 0;
}

.user-message .message-bubble {
    background: var(--accent-primary);
    border-top-right-radius: 0;
    color: white;
}

.user-message .message-bubble p, .user-message .message-bubble strong {
    color: white;
}

.chat-input-area {
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.8);
    border-top: var(--border-color);
}

.quick-prompts {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
}

.prompt-btn {
    white-space: nowrap;
    padding: 0.4rem 0.8rem;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.prompt-btn:hover {
    background: var(--accent-primary);
    color: white;
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.input-wrapper input {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.send-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.send-btn:hover {
    background: var(--accent-secondary);
    transform: scale(1.05);
}

/* --- Mentorship Profiles Styles --- */
.mentor-profile {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.mentor-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 0;
}

.mentor-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.mentor-avatar.chief {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--bg-secondary);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.mentor-title h3 {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.title-highlight {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.mentor-body p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.mentor-body p strong {
    color: var(--text-primary);
}

.mentor-services {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.mentor-services h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.mentor-services ul li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mentor-services ul li i {
    color: var(--accent-primary);
}

.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.mentor-card {
    display: flex;
    flex-direction: column;
}

.mentor-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mentor-card-header .avatar {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.mentor-card-header h4 {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
}

.mentor-card-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.mentor-card-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.mentor-card-body strong {
    color: var(--text-primary);
}

.mentor-card-body a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--bg-secondary);
        padding: 2rem;
        gap: 1rem;
        border-bottom: var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-item.dropdown:hover .dropdown-menu {
        position: relative;
        transform: none;
        left: 0;
        min-width: 100%;
        box-shadow: none;
        background: transparent;
        padding: 0 1rem;
        margin-top: 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Hero Section */
    .hero {
        flex-direction: column;
        padding-top: 2rem;
        text-align: center;
        min-height: auto;
        padding-bottom: 4rem;
    }
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-visual {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 2rem;
        gap: 1rem;
    }
    .visual-card:nth-child(1), .visual-card:nth-child(2) {
        transform: none;
        width: 100%;
        max-width: 300px;
    }

    /* General Layouts */
    .section-padding { padding: 60px 0; }
    
    .contact-container {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .chat-interface {
        height: auto;
        min-height: 500px;
    }
    
    .quick-prompts {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    .quick-prompts::-webkit-scrollbar {
        height: 3px;
    }
    .quick-prompts::-webkit-scrollbar-thumb {
        background: rgba(37, 99, 235, 0.2);
        border-radius: 3px;
    }
}

@media (max-width: 480px) {
    .menu-toggle { display: block; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.2rem; }
    
    .roadmap-container { padding-left: 1.5rem; }
    .roadmap-container::before { left: 15px; }
    
    .step-number { 
        width: 40px; 
        height: 40px; 
        font-size: 1.2rem; 
    }
    
    .message-bubble {
        max-width: 90%;
    }
    
    .input-wrapper {
        flex-direction: column;
    }
    .send-btn {
        width: 100%;
        padding: 0.8rem;
        margin-top: 0.5rem;
        border-radius: var(--border-radius-sm);
    }
    
    .domains-grid {
        flex-direction: column;
    }
    .domain-pill {
        text-align: center;
    }
}

/* FAQ Accordion Styling */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
}

.faq-question i {
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(248, 250, 252, 0.5);
}

.faq-answer-content {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: -0.5rem;
    padding-top: 1rem;
}

/* Assessment Form Enhancements */
.q-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 50px;
    margin-right: 0.5rem;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: var(--border-radius-sm);
    background: rgba(255,255,255,0.8);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* Print styles for report */
@media print {
    .navbar, .menu-toggle, #back-to-top { display: none !important; }
    .page-section { display: block !important; opacity: 1 !important; transform: none !important; }
    .page-section:not(#assessment) { display: none !important; }
    #assessment { display: block !important; }
    #assessment-form { display: none !important; }
    #assessment-result { display: block !important; }
    body { background: white !important; }
    .glass-card { box-shadow: none !important; background: white !important; border: 1px solid #e5e7eb !important; }
}
/* --- Exam Predictor Styles --- */
.loader {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-primary);
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}



/* â”€â”€â”€ AI Report Wrapper: styles for marked.js rendered output â”€â”€â”€ */
.ai-report-wrapper {
    font-family: var(--font-body);
    color: var(--text-primary);
    font-size: 0.97rem;
    line-height: 1.75;
}

/* Section headings &ndash; marked produces h2 for ## headings */
.ai-report-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.06);
    border-left: 5px solid var(--accent-primary);
    border-radius: 0 8px 8px 0;
    padding: 0.7rem 1.2rem;
    margin: 2.2rem 0 1rem 0;
}

/* Sub-headings from ### or **A. ...** lines */
.ai-report-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.4rem 0 0.6rem 0;
    padding-bottom: 0.3rem;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

/* Paragraphs */
.ai-report-wrapper p {
    color: var(--text-secondary);
    margin: 0 0 0.9rem 0;
    line-height: 1.75;
}

/* Horizontal rules (section separators) */
.ai-report-wrapper hr {
    border: none;
    border-top: 2px solid rgba(37, 99, 235, 0.1);
    margin: 2rem 0;
}

/* Bold emphasis */
.ai-report-wrapper strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Italic / em &ndash; keep natural */
.ai-report-wrapper em {
    font-style: italic;
    color: var(--text-secondary);
    display: inline;
    border: none;
    padding: 0;
}

/* Unordered lists */
.ai-report-wrapper ul {
    list-style: none;
    padding: 0 0 0 0.5rem;
    margin: 0 0 1rem 0;
}

.ai-report-wrapper ol li {
    padding: 0.25rem 0 0.25rem 0.4rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.ai-report-wrapper ul li {
    position: relative;
    padding: 0.25rem 0 0.25rem 1.6rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}


.ai-report-wrapper ol li::marker {
    color: var(--accent-primary);
    font-weight: 700;
}

/* Tables */
.ai-report-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0 1.5rem 0;
    font-size: 0.92rem;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.ai-report-wrapper thead th {
    background: var(--gradient-primary);
    color: #fff;
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
}

.ai-report-wrapper tbody td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-secondary);
    vertical-align: top;
}

.ai-report-wrapper tbody tr:last-child td {
    border-bottom: none;
}

.ai-report-wrapper tbody tr:hover td {
    background: #f8fafc;
}

/* Code / inline code */
.ai-report-wrapper code {
    background: rgba(37, 99, 235, 0.08);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    font-size: 0.88rem;
    color: var(--accent-primary);
    font-family: 'Courier New', monospace;
}

/* Blockquote &ndash; e.g. pitfall boxes */
.ai-report-wrapper blockquote {
    border-left: 4px solid #f59e0b;
    background: rgba(245, 158, 11, 0.06);
    margin: 1rem 0;
    padding: 0.8rem 1.2rem;
    border-radius: 0 8px 8px 0;
    color: #92400e;
    font-size: 0.93rem;
}


/* --- Responsive Adjustments --- */
/* --- Responsive Design --- */

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Navigation */
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--bg-secondary);
        flex-direction: column;
        gap: 0;
        transition: var(--transition-normal);
        overflow-y: auto;
        padding-bottom: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        display: block;
        height: auto;
    }

    .nav-links {
        padding: 1.2rem 2rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        width: 100%;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(0,0,0,0.02);
        border: none;
        border-radius: 0;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        max-height: 1000px; /* Allow expansion */
        transform: none;
    }

    .dropdown-menu li a {
        padding-left: 3rem;
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
        min-height: auto;
        gap: 2rem;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 1rem;
        width: 100%;
    }

    .visual-card {
        width: 100%;
        max-width: 300px;
        transform: none !important;
        margin: 0 auto;
    }

    /* AI Containers */
    .ai-container {
        height: 500px;
        max-width: 100% !important;
    }

    /* Grids */
    .feature-grid, .standards-grid, .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-brand, .footer-links, .footer-contact {
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* Assessment Report */
    #report-body {
        grid-template-columns: 1fr !important;
    }

    /* Tables */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 1.5rem;
        border-radius: var(--border-radius-sm);
        border: 1px solid var(--border-color);
    }

    table {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .message {
        max-width: 95%;
    }

    .btn {
        padding: 1rem 1.5rem; /* Larger touch target */
    }

    /* Resume Builder specific mobile tweaks */
    #resume-output-container {
        padding: 1rem;
    }
}

/* Accessibility: Support for high contract and reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

/* --- Print Styles for Exam Reports --- */
@media print {
    /* Hide navigation, footers, and all other sections */
    nav, header, footer, .section-padding:not(#exam-predictor), .navigation, .mobile-nav, .cta-section, #exam-predictor .section-header {
        display: none !important;
    }
    
    /* Reset layout for white background */
    body {
        background: white !important;
        color: #000 !important;
        font-family: Arial, sans-serif !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .glass-card {
        background: white !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    /* Hide predictor interface, keep only the result report */
    .prediction-controls, #prediction-placeholder, #prediction-loading, .btn, .no-print, #prediction-result-container .btn {
        display: none !important;
    }

    #exam-predictor {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    #prediction-result-container {
        display: block !important;
        width: 100% !important;
    }

    /* Professional header styling for print */
    #report-meta-header {
        background: #f1f5f9 !important;
        color: #1e293b !important;
        border: 2px solid #e2e8f0 !important;
        border-radius: 8px !important;
        padding: 1.5rem !important;
        margin-bottom: 2rem !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    #report-meta-header h3 {
        color: #2563eb !important;
        font-size: 1.6rem !important;
    }

    /* Adjust report content styles for ink efficiency */
    .ai-report-wrapper h2 {
        background: #f8fafc !important;
        color: #2563eb !important;
        border-left: 6px solid #2563eb !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .ai-report-wrapper table {
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
    }

    .ai-report-wrapper thead th {
        background: #f1f5f9 !important;
        color: #1e293b !important;
        border-bottom: 2px solid #e2e8f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Avoid page breaks inside sections if possible */
    h2, h3, tr, blockquote {
        page-break-inside: avoid;
    }
}

