@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,500&display=swap');

:root {
    /* Color Tokens based on Bharath University screenshot */
    --primary: #A71D2A; /* Maroon Red */
    --primary-light: #C22D3B;
    --primary-dark: #7A101A;
    --primary-rgb: 167, 29, 42;
    
    --secondary: #F2B974; /* Warm Gold / Amber */
    --secondary-hover: #E3A456;
    --secondary-light: #FDF5E0;
    --secondary-rgb: 242, 185, 116;

    --accent: #E52D27; /* Crimson Red */
    --success: #2F855A;
    --success-light: #DEF7EC;
    
    --bg-light: #FDFBF7; /* Very warm light beige */
    --bg-white: #FFFFFF;
    
    --text-dark: #3D2200; /* Dark brown for a warm theme */
    --text-mid: #5A3800;
    --text-muted: #8A6E45;
    --text-light: #F1F5F9;

    --border: #E8D8B0; /* Pale gold border */
    --border-hover: #D4C094;
    
    /* Effects and Spacing */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(167, 29, 42, 0.1), 0 8px 10px -6px rgba(167, 29, 42, 0.05);
    --shadow-premium: 0 20px 40px -15px rgba(167, 29, 42, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Layout heights */
    --header-height: 90px;
}

/* Reset and Core Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: -webkit-fill-available;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ──── CONTAINER & UTILITIES ──── */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-gold { color: var(--secondary); }
.text-navy { color: var(--primary); }
.text-muted { color: var(--text-muted); }

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ──── BUTTONS ──── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(10, 37, 64, 0.05);
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: var(--primary);
    padding: 8px 16px;
}

.btn-text:hover {
    color: var(--secondary-hover);
}

/* ──── TOP MINI BAR ──── */
.mini-top-bar {
    background: var(--primary-dark);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-contact {
    display: flex;
    gap: 20px;
}

.mini-contact a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    opacity: 0.85;
}

.mini-contact a:hover {
    opacity: 1;
    color: var(--secondary);
}

.mini-links {
    display: flex;
    gap: 15px;
}

.mini-links a {
    opacity: 0.85;
}

.mini-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

/* ──── STICKY HEADER ──── */
header {
    background: linear-gradient(135deg, #F5F5DC 0%, #f5e8c0 30%, #F2B974 70%, #eda855 100%);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 3.5px solid var(--primary);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--secondary);
    box-shadow: var(--shadow-sm);
    color: var(--secondary);
    font-weight: 800;
    font-size: 20px;
}

.logo-text h1 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-menu a {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3.5px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ──── HERO SECTION ──── */
.hero {
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.95) 0%, rgba(5, 19, 33, 0.98) 100%), 
                url('../images/hero_bg.jpg') center/cover no-repeat;
    color: var(--bg-white);
    padding: 100px 0;
    min-height: calc(100vh - var(--header-height) - 39px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideUp 0.8s ease-out;
}

.badge {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 28px;
    color: var(--secondary);
    font-weight: 700;
}

.stat-item p {
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 0;
}

/* Card glassmorphism style (used in login, signup, home cards) */
.glass-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
    animation: fadeIn 1s ease-out;
}

/* Quick Inquiry / Sign Up widget on Hero */
.hero-widget {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-widget h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--primary);
}

.hero-widget p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

/* ──── AUTH PAGES (LOGIN / SIGNUP) ──── */
.auth-page {
    background: radial-gradient(circle at 10% 20%, rgba(10, 37, 64, 0.05) 0%, rgba(10, 37, 64, 0.01) 90%);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.auth-card {
    width: 100%;
    max-width: 580px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo-icon {
    margin: 0 auto 16px auto;
}

.auth-header h2 {
    font-size: 26px;
    color: var(--primary);
    font-weight: 700;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-mid);
}

.input-container {
    position: relative;
}

.input-container i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.form-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 37, 64, 0.1);
}

.form-input:focus + i {
    color: var(--primary);
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
}

.password-toggle:hover {
    color: var(--primary);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    color: var(--text-mid);
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--primary);
}

.forgot-link {
    color: var(--primary);
    font-weight: 500;
}

.forgot-link:hover {
    color: var(--secondary-hover);
}

.form-submit {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-bottom: 24px;
}

/* Consent Block Specifics */
.consent-container {
    background-color: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
    max-height: 180px;
    overflow-y: auto;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-mid);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.consent-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.consent-checkbox-wrap input {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.consent-text {
    cursor: pointer;
    user-select: none;
}

.consent-text strong {
    color: var(--primary);
}

.form-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.form-footer a {
    color: var(--primary);
    font-weight: 600;
}

.form-footer a:hover {
    color: var(--secondary-hover);
}

/* Validation styling */
.error-msg {
    color: var(--accent);
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
    display: none;
}

.form-input.invalid {
    border-color: var(--accent);
    background-color: #FFF5F5;
}

.form-input.invalid:focus {
    box-shadow: 0 0 0 4px rgba(229, 62, 98, 0.1);
}

/* ──── MOCK STUDENT DASHBOARD ──── */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - var(--header-height));
}

.dash-sidebar {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.user-profile-summary {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 16px auto;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
}

.profile-email {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 4px;
}

.dash-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dash-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition-fast);
}

.dash-nav-link:hover, .dash-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
}

.dash-logout {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.dash-content {
    padding: 40px;
    overflow-y: auto;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dash-header h2 {
    font-size: 28px;
    color: var(--primary);
    font-weight: 700;
}

/* Card Decks on Dash */
.dash-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.dash-stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 20px;
}

.dash-stat-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background-color: rgba(10, 37, 64, 0.05);
    color: var(--primary);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-stat-icon.gold {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--secondary-hover);
}

.dash-stat-card h4 {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.dash-stat-card .value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Track Admission Process */
.admission-track-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 40px;
}

.admission-track-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 700;
}

.progress-track {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}

.progress-track::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: var(--border);
    z-index: 1;
}

.progress-bar-fill {
    position: absolute;
    top: 15px;
    left: 40px;
    width: 66%; /* Shows progress to phase 3 */
    height: 4px;
    background: var(--secondary);
    z-index: 2;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    position: relative;
}

.node-bullet {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
}

.step-node.completed .node-bullet {
    background-color: var(--success);
    border-color: var(--success);
    color: var(--bg-white);
}

.step-node.active .node-bullet {
    border-color: var(--secondary);
    color: var(--primary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.node-label {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-mid);
}

.step-node.completed .node-label {
    color: var(--success);
}

.step-node.active .node-label {
    color: var(--primary);
}

/* ──── DOCUMENT LEGAL PAGES (TERMS & PRIVACY) ──── */
.doc-page {
    padding: 60px 0 100px 0;
}

.doc-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    padding: 60px;
}

.doc-wrapper h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.doc-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.doc-section {
    margin-bottom: 30px;
}

.doc-section h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 600;
}

.doc-section p {
    color: var(--text-mid);
    margin-bottom: 16px;
    text-align: justify;
}

.doc-section ul {
    margin-left: 20px;
    margin-bottom: 16px;
    color: var(--text-mid);
}

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

/* ──── FOOTER ──── */
footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 30px 0;
    margin-top: auto;
    font-size: 14.5px;
    border-top: 4px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--bg-white);
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-col p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-list i {
    color: var(--secondary);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition-fast);
}

.social-btn:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* ──── ANIMATIONS ──── */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ──── RESPONSIVE MEDIA QUERIES ──── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .stats-grid {
        max-width: 600px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .dash-sidebar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        border-bottom: 2px solid var(--secondary);
    }
    .user-profile-summary {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }
    .profile-avatar {
        width: 50px;
        height: 50px;
        margin: 0;
        font-size: 20px;
    }
    .dash-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .dash-logout {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}

@media (max-width: 1024px) {
    nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 24px;
        gap: 30px;
        transition: var(--transition);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .nav-menu a {
        font-size: 18px;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 16px;
        margin-top: 20px;
    }
    
    .nav-actions .btn {
        width: 100%;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .doc-wrapper {
        padding: 30px 20px;
    }

    .doc-wrapper h2 {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .dash-card-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-track {
        flex-direction: column;
        gap: 24px;
        padding-left: 20px;
    }
    
    .progress-track::before {
        top: 0;
        bottom: 0;
        left: 28px;
        width: 4px;
        height: auto;
    }
    
    .progress-bar-fill {
        top: 0;
        left: 28px;
        width: 4px;
        height: 66%;
    }
    
    .step-node {
        flex-direction: row;
        gap: 16px;
        align-items: center;
    }
    
    .node-label {
        margin-top: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ──── AUTH SPLIT SCREEN LAYOUT ──── */
.auth-split-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-color: var(--bg-white);
}

.auth-split-left {
    flex: 1.2;
    background: var(--bg-white);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
    border-right: 1.5px solid var(--border);
}

.auth-split-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(242, 185, 116, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.auth-split-left-content {
    max-width: 520px;
    position: relative;
    z-index: 2;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-split-logo {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.06);
    border: 2.5px solid var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 35px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.auth-split-left h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    color: var(--bg-white);
    letter-spacing: -0.5px;
}

.auth-split-left p {
    font-size: 16.5px;
    opacity: 0.85;
    line-height: 1.7;
}

.auth-split-right {
    flex: 0.8;
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 80px;
    position: relative;
}

.auth-split-right-content {
    width: 100%;
    max-width: 440px;
    animation: fadeIn 1s ease-out;
}

.auth-split-right h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.auth-split-right p.subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 35px;
}

/* Make split forms feel super premium & spacious */
.auth-split-right .form-group {
    margin-bottom: 24px;
}

.auth-split-right .form-input {
    padding: 14px 14px 14px 44px;
    border-color: #E2E8F0;
    font-size: 14.5px;
}

.auth-split-right .input-container i {
    left: 16px;
}

.auth-split-right .form-label {
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 8px;
}

.auth-split-right .btn-primary {
    padding: 14px;
    font-size: 15px;
    border-radius: var(--radius-md);
    background-color: var(--primary);
}

.auth-split-right .btn-primary:hover {
    background-color: var(--primary-light);
}

/* Responsiveness for split page */
@media (max-width: 1100px) {
    .auth-split-left {
        padding: 50px;
    }
    .auth-split-right {
        padding: 50px;
    }
}

@media (max-width: 900px) {
    .auth-split-wrapper {
        flex-direction: column;
    }
    
    .auth-split-left {
        flex: none;
        padding: 40px 24px;
        min-height: auto;
    }
    
    .auth-split-left-content {
        max-width: 100%;
        text-align: center;
    }
    
    .auth-split-logo {
        margin: 0 auto 20px auto;
    }
    
    .auth-split-left h2 {
        font-size: 30px;
        margin-bottom: 12px;
    }
    
    .auth-split-left p {
        font-size: 15px;
    }
    
    .auth-split-right {
        flex: 1;
        padding: 50px 24px;
    }
    
    .auth-split-right-content {
        max-width: 100%;
    }
}

/* ──── BRANDING LOGO IMAGE STYLING ──── */
.header-logo {
    height: 60px;
    width: auto;
    max-width: 260px;
    display: block;
    object-fit: contain;
}

.footer-logo {
    height: 65px;
    width: auto;
    max-width: 280px;
    display: block;
    object-fit: contain;
    margin-bottom: 20px;
}

.auth-split-logo-img {
    height: 80px;
    width: auto;
    max-width: 320px;
    display: block;
    object-fit: contain;
    margin-bottom: 30px;
}

.dash-header-logo {
    height: 52px;
    width: auto;
    max-width: 240px;
    display: block;
    object-fit: contain;
}

/* ──── TICKER, FLOATING ACTIONS & CHAT HELP WIDGET ──── */

.notifications-ticker {
    background-color: var(--secondary-light);
    border-bottom: 1.5px solid var(--border);
    padding: 10px 0;
    overflow: hidden;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary);
}
.ticker-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.ticker-label {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 22px;
}
.ticker-items {
    display: flex;
    gap: 50px;
    position: absolute;
    white-space: nowrap;
    animation: tickerRun 25s linear infinite;
}
.ticker-items:hover {
    animation-play-state: paused;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ticker-new {
    background-color: var(--accent);
    color: var(--bg-white);
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 700;
}
@keyframes tickerRun {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Floating Action Buttons */
.floating-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.floating-link {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--bg-white);
    padding: 14px 20px;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
}
.floating-link:hover {
    transform: translateX(-10px);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.floating-link i {
    font-size: 16px;
    color: var(--secondary);
}

/* Chat Helpdesk Widget */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}
.chat-trigger {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    border: 3px solid var(--secondary);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 24px;
    transition: var(--transition);
    position: relative;
}
.chat-trigger:hover {
    transform: scale(1.1) rotate(5deg);
}
.chat-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background-color: var(--accent);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    animation: bounceLeft 2s infinite;
    border: 1.5px solid var(--border);
}
.chat-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--bg-white);
}
.chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 360px;
    height: 480px;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}
.chat-window.active {
    display: flex;
}
.chat-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--secondary);
}
.chat-header h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.chat-close {
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
}
.chat-close:hover {
    opacity: 1;
}
.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #FDFDFD;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    line-height: 1.5;
}
.chat-msg.bot {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-bottom-left-radius: 2px;
    border: 1px solid var(--border);
    align-self: flex-start;
}
.chat-msg.user {
    background-color: var(--primary);
    color: var(--bg-white);
    border-bottom-right-radius: 2px;
    align-self: flex-end;
}
.chat-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background-color: var(--bg-white);
    display: flex;
    gap: 10px;
}
.chat-input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
}
.chat-input:focus {
    border-color: var(--primary);
}
.chat-send {
    background-color: var(--primary);
    color: var(--bg-white);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.chat-send:hover {
    background-color: var(--primary-light);
}
@keyframes bounceLeft {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-8px); }
}



