@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600;800&display=swap');

:root {
    /* "Blue App" Theme - White, Blue, Modern */
    --color-primary: #4F46E5;
    --color-primary-dark: #4338ca;
    --color-secondary: #06b6d4;

    /* Clean White Palette */
    --color-bg-body: #ffffff;
    --color-text-dark: #1e293b;
    --color-text-light: #64748b;
    --color-card-bg: #f8fafc;

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Design Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-pill: 100px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);

    --container-width: 1280px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-bg-body);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    /* Tighter tracking for modern look */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
}

/* --- Header (Cleaned) --- */

/* Header - Blue App Theme */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    box-shadow: none;
}

/* Removed old top bar and pill references clearly */
.top-bar {
    display: none;
}

.main-nav-bar {
    padding: 0;
    background: transparent;
}

.main-nav-inner {
    max-width: 1400px;
    /* Wider container */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    /* Reset shadow from pill */
}

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 30px;
    /* Reduced gap */
}

.site-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s;
}

.site-logo:hover {
    transform: scale(1.05);
}

/* Nav Menu Clean Layout */
.main-menu {
    display: flex;
    gap: 24px;
    /* Tighter spacing */
    align-items: center;
    margin-right: auto;
    /* Push actions to right */
}

.nav-item a {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    /* Slight increase */
    font-weight: 600;
    color: #1e293b;
    /* Darker Slate for better contrast */
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.01em;
    /* Modern tight spacing */
}

.nav-item a:hover {
    color: var(--color-primary);
}

.nav-item i {
    font-size: 1.1rem;
    opacity: 1;
    /* Full visibility for vivid color */
    margin-top: 1px;
    display: inline-block !important;
    color: var(--color-primary);
}

/* Specific Home Icon Styling */
/* Specific Home Icon Styling */
.nav-item .fa-house {
    font-size: 1.1rem !important;
    /* Reduced to match text */
    opacity: 0.75 !important;
    color: #4F46E5 !important;
    margin-top: -1px;
    transition: opacity 0.2s;
}

.nav-item:hover .fa-house {
    opacity: 1 !important;
    /* Vivid on hover */
}

/* Dropdown Sub-menu Stlying */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 220px;
    border-radius: 16px;
    box-shadow: 0 10px 40px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    color: #334155;
    font-weight: 500;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--color-primary);
}

/* Header Actions */
.header-right-action {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
}

/* "Get Started" in Header matches Theme */
.btn-get-started-small {
    background: var(--color-primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-get-started-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.3);
    background: var(--color-primary-dark);
}

/* Admin Link */
.nav-admin-link {
    font-weight: 600;
    color: #64748b;
    font-size: 0.9rem;
    text-decoration: none;
}

.nav-logout {
    font-weight: 600;
    color: #ef4444;
    /* Red for logout */
    font-size: 0.9rem;
    text-decoration: none;
}

.nav-admin-link:hover {
    color: var(--color-primary);
}

/* User Profile */
.user-profile-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-circle {
    width: 36px;
    height: 36px;
    background: #eff6ff;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.user-info-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
}

.user-greet {
    display: none;
}

/* Dropdown */
.nav-item {
    position: relative;
}

/* Dropdown Tweaks for Pill Header */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    margin-top: 15px;
    /* Visual spacing */
    /* Push it down a bit from the pill */
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    min-width: 260px;
    padding: 15px 0;
    z-index: 1100;
}

/* Invisible bridge to prevent menu from closing when moving mouse down */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.nav-item:hover .dropdown-menu {
    display: block;
    animation: fadeInSlide 0.2s ease-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.dropdown-header {
    display: block;
    padding: 10px 25px 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 8px 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 25px;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: none;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--color-primary);
    padding-left: 30px;
    /* Slide effect */
}




/* Buttons - Rademics Elite Style */
.btn-get-started-small {
    background: #dbeefc;
    /* Exact Pastel Blue from ref */
    color: #0f172a !important;
    /* Dark Slate/Black Text */
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    box-shadow: none;
    text-decoration: none;
    display: inline-block;
}

.btn-get-started-small:hover {
    background: #cffafe;
    transform: translateY(-1px);
    color: #0f172a !important;
}

.btn-primary-gradient,
.btn-block {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white !important;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    border: none;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.3);
    display: inline-block;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.btn-get-started-small {
    padding: 8px 20px !important;
    font-size: 0.85rem !important;
}

.btn-get-started-small:hover,
.btn-primary-gradient:hover,
.btn-block:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 20px rgba(124, 58, 237, 0.6),
        0 0 40px rgba(124, 58, 237, 0.3);
    filter: brightness(1.2);
}

.btn-outline-glass {
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
    background: white;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.btn-outline-glass:hover {
    border-color: var(--color-primary);
    background: #f9fafb;
}

.search-icon {
    color: var(--color-text-dark) !important;
    font-size: 0.8rem !important;
}

.search-icon:hover {
    color: var(--color-secondary) !important;
}

/* --- Hero Section (Rademics Elite) --- */
.hero-split {
    background: #0F172A;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    margin: 0;
    padding: 140px 0 180px;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-split::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.hero-text h1 {
    color: #ffffff !important;
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.hero-text h1 {
    color: #ffffff !important;
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    color: #f1f5f9 !important;
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 1 !important;
}

.split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-split h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    color: var(--color-primary);
    margin-bottom: 25px;
    background: none;
    /* Removed gradient text */
    -webkit-text-fill-color: initial;
}

.hero-split p {
    color: var(--color-text-light);
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Glass Visual Card */
.visual-card {
    width: 320px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.visual-card:hover {
    transform: translateY(-10px) rotate3d(1, 1, 0, 10deg);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.6);
}

.visual-icon {
    font-size: 5rem;
    color: #ffffff;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.5));
}

.visual-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.4;
    animation: blobBounce 10s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #6366F1;
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: #A855F7;
    bottom: -30px;
    left: -30px;
    animation-delay: -5s;
}

@keyframes blobBounce {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 40px) scale(1.1);
    }
}

/* Remove shapes for clean look */


/* --- Stats Bar (Clean Grid) --- */
.stats-float {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.stats-glass-card {
    background: var(--color-secondary);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.stats-glass-card:hover {
    transform: translateY(-8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 0 25px rgba(255, 255, 255, 0.3),
        0 30px 60px rgba(0, 0, 0, 0.3);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 2rem;
    color: #d1fae5;
    /* Light Mint */
}

.stat-item h2 {
    font-size: 2rem;
    margin: 0;
    color: white;
}

.stat-item p {
    color: #d1fae5;
}

.vertical-divider {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
}

.vertical-divider {
    width: 1px;
    height: 50px;
    background-color: var(--color-border);
}


/* --- Services (Horizontal Cards) --- */
.detailed-services-section {
    padding: 100px 0;
    background-color: var(--color-primary-light);
    /* Soft Gray */
}

.why-us {
    padding: 100px 0;
    background-color: #f0fdf4;
    /* Mint Tint */
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--color-secondary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-top: 10px;
    display: block;
}

.detailed-grid,
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Elite Glass Cards --- */
.detailed-card,
.feature-box,
.academic-card {
    background-color: var(--color-white);
    padding: 45px 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 2;
}

.detailed-card:hover,
.feature-box:hover,
.academic-card:hover {
    transform: translateY(-12px) scale(1.02);
    border: 1px solid #7C3AED;
    box-shadow:
        0 0 20px rgba(124, 58, 237, 0.4),
        0 0 40px rgba(124, 58, 237, 0.1),
        0 20px 50px rgba(0, 0, 0, 0.08);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #ecfdf5;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 25px;
}

.feature-icon-circle i {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 25px;
    display: inline-block;
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-circle i {
    margin: 0;
    font-size: 1.5rem;
}

.detailed-card h3,
.feature-box h3 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.premium-list,
.feature-box p {
    color: var(--color-text-light);
}

.premium-list li::before {
    color: var(--color-secondary);
}

/* --- Footer --- */
/* --- Footer (Premium) --- */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f1f5f9;
    padding: 100px 0 50px;
    border-top: 5px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

/* Background detail (optional subtle glow) */
footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-top: 60px;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    position: relative;
    z-index: 2;
}


/* --- Responsive --- */
@media (max-width: 900px) {

    .detailed-grid,
    .why-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-split .split-container {
        flex-direction: column;
        text-align: center;
    }

    .stats-glass-card {
        flex-direction: column;
        gap: 20px;
    }

    .vertical-divider {
        display: none;
    }
}

@media (max-width: 600px) {

    .detailed-grid,
    .why-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-split h1 {
        font-size: 2.5rem;
    }

    .header-right-action {
        gap: 12px;
    }

    .btn-get-started-small {
        padding: 6px 14px !important;
        font-size: 0.75rem !important;
    }
}

/* Authentication Pages */
.login-card {
    background: white !important;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.form-group input {
    background: #f9fafb !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-primary) !important;
}

.form-group label {
    color: var(--color-text-dark) !important;
}

/* --- "Get Started" Classic Layout (Restored) --- */

/* 1. Progress Bar */
.progress-bar-container {
    background-color: #f7f7f7;
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #005a7d;
}

.pl-item.active {
    color: var(--color-primary);
}

.progress-track {
    height: 12px;
    background-color: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 10px;
}

/* 2. Main Content Area */
.main-content-bg {
    background-color: #f4f4f4;
    padding: 60px 0;
    min-height: 800px;
}



/* --- New "Horizontal Flow" Layout (Rademics Unique) --- */

/* --- Unified Dashboard Interface (Premium) --- */

.classic-form-container {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    max-width: 1200px;
    margin: 0 auto;
}

.unified-card {
    display: flex;
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    min-height: 700px;
}

/* Sidebar (Dark) */
.card-sidebar {
    width: 35%;
    background: var(--color-primary-dark);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    color: white;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header {
    margin-bottom: 40px;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.sidebar-icon-pulse i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 25px;
    /* More space for text below */
    display: block;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
    animation: iconPulse 3s infinite ease-in-out;
}

.sidebar-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff !important;
    /* Force white color */
    margin-top: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-option-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.sidebar-option-item input {
    display: none;
}

.option-text {
    font-size: 1rem;
    font-weight: 500;
}

.option-check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.sidebar-option-item input:checked~.option-check-circle {
    background: #ffd700;
    border-color: #ffd700;
    color: var(--color-primary-dark);
}

.sidebar-option-item input:checked~.option-text {
    font-weight: 700;
    color: #ffd700;
}

.sidebar-option-item:has(input:checked) {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Content (White) */
.card-content {
    flex: 1;
    padding: 60px 70px;
    display: flex;
    flex-direction: column;
}

.content-top {
    margin-bottom: 40px;
}


.eyebrow-text {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.content-title {
    font-size: 2.5rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.content-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 400;
    margin-bottom: 0;
}

.content-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Redesigned Upload Area */
.dash-upload-box.minimalist {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 24px;
    padding: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.dash-upload-box.minimalist:hover {
    background: #f1f5f9;
    border-color: var(--color-primary);
}

.upload-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    pointer-events: none;
}

.upload-icon-circle {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.upload-text-group strong {
    font-size: 1.2rem;
    color: #1e293b;
    display: block;
}

.upload-text-group span {
    color: #64748b;
    font-size: 0.95rem;
}

.btn-browse {
    background: #0f172a;
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
}

.file-support-text {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.file-name-display {
    margin-top: 10px;
    font-weight: bold;
    color: var(--color-primary);
}

/* Language Input Refinements */
.language-section-integrated {
    margin-top: 10px;
}

.styled-input-container {
    width: 100%;
    max-width: 100%;
}

.field-label {
    display: block;
    margin-bottom: 15px;
    font-weight: 700;
    color: #475569;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 10px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    width: 100%;
    padding: 22px 25px 22px 65px;
    border-radius: 18px;
    border: 2px solid #e2e8f0;
    background: white;
    font-size: 1.05rem;
    font-weight: 500;
    color: #0f172a;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.input-with-icon input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.08);
    outline: none;
    transform: translateY(-2px);
}

.input-with-icon .field-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: #64748b;
    z-index: 2;
}

/* Huge Next Button */
.content-footer {
    margin-top: 50px;
}

.btn-next.huge-btn {
    width: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    color: white;
    padding: 22px;
    border-radius: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.btn-next.huge-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}

.btn-next.huge-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #cbd5e1;
    transform: none;
    box-shadow: none;
}

/* Alert Box Tweaks */
.lite-alert {
    padding: 15px;
    border-radius: 12px;
    font-size: 0.95rem;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lite-alert.success {
    background: #dcfce7;
    color: #166534;
}

.lite-alert.error {
    background: #fee2e2;
    color: #991b1b;
}

/* Responsive */
@media (max-width: 900px) {
    .unified-card {
        flex-direction: column;
    }

    .card-sidebar {
        width: 100%;
        padding: 30px;
    }

    .card-content {
        padding: 40px 30px;
    }
}


/* Footer Actions */
.footer-actions {
    margin-top: 60px;
    text-align: center;
    background-color: transparent;
    /* Cleaner look */
    padding: 0;
    border-radius: 0;
}

.btn-next {
    background-color: #e2e8f0;
    color: #94a3b8;
    border: none;
    padding: 18px 60px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: not-allowed;
    border-radius: var(--radius-pill);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    transition: all 0.3s;
}

.btn-next:not(:disabled) {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
}

.btn-next:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.5);
}

.btn-next .sub-text {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 2px;
}

@media (max-width: 800px) {
    .upload-split-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .or-divider {
        margin: 10px 0;
    }

    .goal-section {
        flex-direction: column;
        text-align: center;
    }

    .progress-labels {
        font-size: 0.6rem;
    }
}

/* --- Global Utilities --- */
.text-accent {
    color: var(--color-accent);
}

.text-orange {
    color: #F58220;
}

.text-emerald {
    color: var(--color-secondary);
}

.text-crimson {
    color: #DB1830;
}

.bg-slate {
    background-color: var(--color-primary);
}

.bg-emerald {
    background-color: var(--color-secondary);
}

.bg-light {
    background-color: var(--color-primary-light);
}

.uppercase-tracking {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* --- Navigation Enhancements --- */
.main-menu .nav-item a {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.1px;
}

/* --- Enhanced Hero Section --- */
.hero-academic {
    background: #ffffff;
    margin: 20px;
    border-radius: var(--radius-md);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    color: var(--color-text-dark);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.hero-academic h1 {
    color: #ffffff !important;
}

.hero-academic p {
    color: #f1f5f9 !important;
    opacity: 1 !important;
}

.hero-academic h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-academic p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
    color: #cbd5e1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0wIDQwaDQwVjBIMHY0MHptMjAgMjB2MjBoMjBWNjBIMjB6IiBzdHlsZT0iZmlsbDojZmZmOyIvPjwvZz48L3N2Zz4=');
}

/* --- Section Layouts --- */
.section-padding {
    padding: var(--space-section) 0;
}

.split-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-block h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.bordered-accent-box {
    background-color: var(--color-primary-light);
    padding: 50px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--color-secondary);
    box-shadow: var(--shadow-sm);
}

.bordered-accent-box.crimson {
    border-left-color: #DB1830;
}

.bordered-accent-box h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--color-primary);
}

/* --- Horizontal Stats Strips --- */
.stats-strip {
    padding: 60px 0;
    text-align: center;
}

.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* --- Elite Admin Styles (Premium Blue App) --- */
.admin-ui-card {
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1);
    border: 1px solid #e2e8f0;
    padding: 50px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

/* Header & Tabs */
.filter-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 6px;
    border-radius: 50px;
    width: fit-content;
    border: 1px solid #f1f5f9;
}

.filter-pill {
    padding: 10px 24px;
    border-radius: 40px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.filter-pill:hover {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.5);
}

.filter-pill.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Table Design */
.elite-table-container {
    overflow-x: auto;
    border-radius: 20px;
}

.elite-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.elite-table th {
    padding: 20px 25px;
    text-align: left;
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 800;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.elite-table th:first-child {
    border-radius: 16px 0 0 0;
}

.elite-table th:last-child {
    border-radius: 0 16px 0 0;
}

.elite-table td {
    padding: 24px 25px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    vertical-align: middle;
}

.elite-table tr:hover td {
    background: #f8fafc;
}

.elite-table tr:last-child td {
    border-bottom: none;
}

/* Badges & Actions */
.status-badge {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: capitalize;
    background: #f1f5f9;
    color: #475569;
}

.admin-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background: #f8fafc;
    color: #64748b;
    text-decoration: none;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.action-btn.edit:hover {
    background: #eff6ff;
    color: var(--color-primary);
    border-color: #c7d2fe;
}

.action-btn.delete:hover {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fecaca;
}

/* --- Page Specific / Responsive Fixes --- */
@media (max-width: 900px) {
    .split-grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-academic h1 {
        font-size: 2.2rem;
    }
}

/* --- Elite Global Authentication UI (Premium) --- */
.auth-page-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

/* Dynamic Background blobs */
.auth-page-wrapper::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    z-index: 1;
    animation: pulseBlob 10s infinite alternate;
}

.auth-page-wrapper::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    z-index: 1;
    animation: pulseBlob 8s infinite alternate-reverse;
}

@keyframes pulseBlob {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.elite-auth-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    width: 100%;
    max-width: 480px;
    padding: 60px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 20px 50px -12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
    z-index: 5;
    text-align: center;
}

.auth-logo {
    margin-bottom: 30px;
}

.auth-logo i {
    font-size: 2.8rem;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-header h2 {
    font-size: 1.8rem;
    color: #1e293b;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 10px;
    font-weight: 700;
}

.auth-header p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 35px;
}

.auth-form-group {
    margin-bottom: 25px;
    text-align: left;
}

.auth-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-input {
    width: 100%;
    padding: 14px 18px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Inputs */
.auth-input:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Premium Auth Button */
.btn-auth {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.5);
}




.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(124, 58, 237, 0.4);
    filter: brightness(1.1);
}

/* --- Google Login Button --- */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #94a3b8;
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-divider:not(:empty)::before {
    margin-right: .5em;
}

.auth-divider:not(:empty)::after {
    margin-left: .5em;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    background: white;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-google:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.btn-google i {
    font-size: 1.2rem;
    color: #4285F4;
    /* Google Blue */
}

.auth-footer {
    margin-top: 35px;
    font-size: 0.9rem;
    color: #64748b;
}

.auth-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.auth-link:hover {
    color: var(--color-secondary);
}

.error-bubble {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #fecaca;
    text-align: left;
}

/* --- Elite Academic Sections (About Page) --- */
.hero-academic {
    background: radial-gradient(circle at center, var(--color-primary-dark) 0%, #0F172A 100%);
    padding: 120px 0;
    color: white;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--color-secondary);
}

.hero-academic h1 {
    color: white !important;
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.hero-academic p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.3rem;
    max-width: 850px;
    margin: 0 auto;
    font-weight: 400;
}

.section-padding {
    padding: 100px 0;
}

.split-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-block h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.content-block p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.bordered-accent-box {
    background: white;
    padding: 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 6px solid var(--color-primary);
}

.bordered-accent-box h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.stats-strip {
    padding: 60px 0;
    background: var(--color-primary);
}

.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.text-primary {
    color: var(--color-primary);
}

.uppercase-tracking {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* --- Elite Micro-Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.animate-fade-left {
    animation: fadeLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.animate-fade-right {
    animation: fadeRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

/* --- Elite Accordion System --- */
.elite-accordion {
    max-width: 1000px;
    margin: 40px auto;
}

.accordion-item {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.accordion-header {
    width: 100%;
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.accordion-header h4 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--color-text-dark);
    font-weight: 600;
}

.accordion-icon {
    font-size: 0.9rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
}

.accordion-inner {
    padding: 0 30px 25px;
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Active State */
.accordion-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(79, 70, 229, 0.1);
}

.accordion-item.active .accordion-header {
    background: rgba(79, 70, 229, 0.03);
}

.accordion-item.active .accordion-header h4 {
    color: var(--color-primary);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    /* Adjust based on content */
}

/* Centered Info Blocks */
.info-section-centered {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.info-section-centered h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.info-section-centered h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-secondary);
}

.info-section-centered p {
    font-size: 1.15rem;
    color: var(--color-text-light);
}

/* --- Policy Document Styling --- */
.policy-section {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 60px;
    text-align: left;
}

.policy-section h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 700;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.policy-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.policy-section ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 25px;
}

.policy-section li {
    color: #475569;
    margin-bottom: 12px;
    line-height: 1.6;
}

.policy-section strong {
    color: #0f172a;
    font-weight: 600;
}

/* --- "Blue App" Modern Theme --- */

.hero-blue {
    text-align: center;
    padding: 120px 20px 60px;
    max-width: 100%;
    margin: 0 auto;
    background-image:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.50) 100%),
        url('https://images.unsplash.com/photo-1455390582262-044cdead277a?q=80&w=2666&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-blue .eyebrow {
    font-size: 0.95rem;
    font-weight: 800;
    /* Extra Bold */
    color: #1e293b;
    /* Dark Slate to pop */
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}

.hero-blue h1 {
    font-family: 'Inter', sans-serif;
    /* Back to Sans */
    font-size: 3rem;
    line-height: 1.2;
    /* Slightly better for multi-line */
    color: #1e293b;
    margin-bottom: 30px;
    font-weight: 800;
    /* Extra bold */
    letter-spacing: -0.02em;
}

.hero-blue p {
    font-size: 1.35rem;
    font-weight: 600;
    color: #0f172a;
    /* Darker Slate */
    max-width: 650px;
    margin: 0 auto 40px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    /* subtle light shadow for legibility */
    line-height: 1.6;
}

.hero-image-wrapper {
    margin-top: 60px;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Placeholder height/bg for when no image is loaded yet, or strictly specific aspect ratio */
    min-height: 500px;
    background: #f1f5f9;
}

.hero-img-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating Feature Bar inside Hero Image */
.floating-feature-bar {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 20px 40px;
    border-radius: 100px;
    display: flex;
    gap: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: max-content;
    max-width: 90%;
}

.float-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.float-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.float-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.float-text span {
    font-size: 0.8rem;
    color: #64748b;
}

/* Feature Cards (Modifying Bento) */
.bento-section {
    padding: 100px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.col-span-4 {
    grid-column: span 4;
}

.col-span-6 {
    grid-column: span 6;
}

.col-span-12 {
    grid-column: span 12;
}

@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: 1fr;
        /* Stack on tablet/mobile */
        gap: 30px;
    }

    .col-span-4,
    .col-span-6,
    .col-span-12 {
        grid-column: span 1;
    }
}

.bento-item {
    background: #f8fafc;
    /* Light Gray Blue typical of these themes */
    border: none;
    /* Clean look */
    border-radius: var(--radius-xl);
    padding: 40px;
    /* Generous padding */
    position: relative;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    box-shadow: none;
    /* Flat by default */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    /* Soft deep shadow */
}

/* Specific Bento Sizing & Colors */
.col-span-12 {
    grid-column: span 12;
}

.col-span-6 {
    grid-column: span 6;
}

.col-span-4 {
    grid-column: span 4;
}

/* Mobile Response */
@media (max-width: 900px) {
    .hero-chore h1 {
        font-size: 3.5rem;
    }

    .col-span-6,
    .col-span-4 {
        grid-column: span 12;
    }
}

.bento-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--color-text-dark);
    line-height: 1;
}

.bento-text {
    font-size: 1.1rem;
    color: #334155;
    /* Darker than previous light gray */
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Stats in Bento Style */
.stats-bento {
    display: flex;
    gap: 40px;
    margin-top: 10px;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-text-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bento-icon-lg {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--color-primary);
    background: #f0fdf4;
    /* Soft green tint for one */
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.icon-blue {
    background: #eff6ff;
    color: #3b82f6;
}

/* English */
.icon-purple {
    background: #fdf4ff;
    color: #a855f7;
}

/* Scientific */
.icon-orange {
    background: #fff7ed;
    color: #f97316;
}

/* PhD */

/* --- Form Wizard & Order Styles --- */

/* Progress Bar */
.order-wizard-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    background: #f9fafb;
    /* Match bg to hide line behind */
    padding: 0 10px;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #cbd5e1;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
}

/* Active/Completed States */
.progress-step.active .step-circle {
    background: var(--color-primary);
}

.progress-step.active .step-label {
    color: var(--color-primary);
}

.progress-step.completed .step-circle {
    background: #10b981;
    /* Green */
}

/* Connector Line */
.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
    transform: translateY(-50%);
}

/* Service Selection Cards */
.service-selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.service-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card.selected {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Radio button corner */
.card-radio {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
}

.service-card.selected .card-radio {
    border-color: var(--color-primary);
    background: var(--color-primary);
    box-shadow: inset 0 0 0 4px white;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.service-features-list {
    list-style: none;
    padding: 0;
}

.service-features-list li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #64748b;
    position: relative;
    padding-left: 20px;
}

.service-features-list li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Order Page Layout - Sidebar */
.order-page-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.order-main {}

.order-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.order-summary-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.summary-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #64748b;
}

.summary-total {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
}

/* Header User Profile Fix */
.user-profile-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 1px solid #e2e8f0;
    padding-left: 20px;
    height: 40px;
}

.user-avatar-circle {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    /* Light Blue */
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.user-info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
    margin-right: 15px;
}

.user-greet {
    display: block !important;
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}

/* New Auth Links */
.nav-auth-link {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-auth-link:hover {
    color: var(--color-primary);
    background: #f1f5f9;
}

/* Dropdown Headers & Dividers */
.dropdown-header {
    display: block;
    padding: 8px 15px 4px;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    pointer-events: none;
}

.dropdown-divider {
    height: 1px;
    margin: 6px 0;
    background-color: #f1f5f9;
}

/* Project Goals Selection Styles */
.project-goals-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.goal-card {
    display: block;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 25px;
    transition: all 0.2s ease;
}

.goal-card:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.goal-card input {
    display: none;
}

/* Checked State */
.goal-card:has(input:checked) {
    border-color: var(--color-primary, #4f46e5);
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1), 0 2px 4px -1px rgba(79, 70, 229, 0.06);
}

.goal-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

/* Radio Checked State */
.goal-card input:checked+.goal-content .custom-radio {
    border-color: var(--color-primary, #4f46e5);
}

.goal-card input:checked+.goal-content .custom-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--color-primary, #4f46e5);
    border-radius: 50%;
}

.goal-title {
    font-weight: 600;
    color: #334155;
    font-size: 1rem;
}

.goal-card input:checked+.goal-content .goal-title {
    color: #1e293b;
}


/* New Upload Hero Area */
.upload-hero-box {
    background: #ffffff;
    border: 2px dashed #e2e8f0;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.upload-hero-box:hover {
    border-color: var(--color-primary);
    background: #f8fafc;
}

.upload-hero-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.upload-hero-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 30px;
}

.btn-upload-trigger {
    display: inline-block;
    background: transparent;
    border: 2px solid #e2e8f0;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.2s;
}

.btn-upload-trigger:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.file-types-text {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Next Step Button Container */
.next-step-container {
    background: #e2e8f0;
    border-radius: 50px;
    text-align: center;
    padding: 15px;
    cursor: not-allowed;
    opacity: 0.7;
    transition: all 0.3s;
}

.next-step-container.active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    cursor: pointer;
    opacity: 1;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.next-step-container.active .next-step-text {
    color: white;
}

.next-step-container.active .next-step-sub {
    color: rgba(255, 255, 255, 0.8);
}

.next-step-text {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: #64748b;
}

.next-step-sub {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Project Goals Card Container (Right Column) */
.project-goals-sticky {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* Extras Step Styling - Modern Cards */
.extras-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.extra-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.extra-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.extra-card.selected {
    border-color: var(--color-primary);
    background-color: #f0fdf4;
    /* Very light green hint for active */
}

.extra-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.extra-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.extra-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-primary);
    white-space: nowrap;
}

.extra-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: #64748b;
}

.extra-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes action to bottom */
}

.extra-action {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
}

/* Custom Checkbox integration for card */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    width: 100%;
}

.checkbox-wrapper input[type="checkbox"] {
    accent-color: var(--color-primary);
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label {
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
}

/* Table Input Styling */
.table-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    width: fit-content;
}

.table-input-group input {
    border: none;
    background: transparent;
    width: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    outline: none;
}

.table-input-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

/* --- Brand Text Logo --- */
.brand-logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #1e293b;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
    text-decoration: none;
}

.brand-logo-text:hover {
    text-decoration: none;
    color: #1e293b;
}

.brand-logo-text span {
    color: var(--color-primary);
}

.brand-logo-text .logo-icon {
    font-size: 1.8rem;
    color: var(--color-primary);
}

/* Footer variant */
.footer-col .brand-logo-text {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}


/* --- New Footer Styling --- */
footer {
    background-color: #0f172a;
    /* Slate 900 */
    color: white;
    padding: 80px 0 40px;
    font-family: 'Inter', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}