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

        :root {
            --primary: #1e293b;
            --secondary: #334155;
            --accent: #475569;
            --light-accent: #64748b;
            --dark: #0f172a;
            --light: #f8fafc;
            --gradient: linear-gradient(135deg, #2563eb 0%, #475569 100%);
            --light-gradient: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
            --blue: #2563eb;
            --steel-blue: #475569;
            --slate-light: #94a3b8;
            --slate-lighter: #cbd5e1;
            --page-max-width: 1200px;
            --page-gutter: 0px;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            line-height: 1.6;
            color: var(--dark);
            overflow-x: hidden;
            background: var(--light);
        }

        /* Smooth Scrolling */
        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 20px var(--page-gutter);
            background: rgba(248, 250, 252, 0.95);
            backdrop-filter: blur(20px);
            box-shadow: 0 2px 20px rgba(30, 41, 59, 0.1);
            z-index: 1000;
            transition: all 0.3s ease;
        }

            .navbar.scrolled {
                padding: 15px var(--page-gutter);
                background: rgba(248, 250, 252, 0.98);
            }

        .nav-container {
            max-width: var(--page-max-width);
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        .nav-logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .nav-logo .brand-text {
            font-size: 1.5rem;
            font-weight: 700;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .nav-logo .nav-mark {
            width: 28px;
            height: 28px;
            display: inline-block;
        }

        .nav-links {
            display: flex;
            gap: 40px;
        }

            .nav-links a {
                color: var(--primary);
                text-decoration: none;
                font-weight: 500;
                position: relative;
                transition: color 0.3s ease;
            }

                .nav-links a::after {
                    content: '';
                    position: absolute;
                    bottom: -5px;
                    left: 0;
                    width: 0;
                    height: 2px;
                    background: var(--blue);
                    transition: width 0.3s ease;
                }

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

                .nav-links a:hover {
                    color: var(--blue);
                }

        /* Mobile nav toggle (hamburger) */
        .nav-toggle {
            display: none;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            margin-left: 8px;
            width: 36px;
            height: 32px;
            align-items: center;
            justify-content: center;
        }

        .nav-toggle .bar {
            display: block;
            width: 26px;
            height: 3px;
            background: var(--primary);
            transition: transform 0.3s ease, opacity 0.3s ease;
        }
        .nav-toggle .bar + .bar { margin-top: 5px; }

        /* Transform into an X when open */
        .navbar.open .nav-toggle .bar:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }
        .navbar.open .nav-toggle .bar:nth-child(2) {
            opacity: 0;
        }
        .navbar.open .nav-toggle .bar:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* Hero Section */
        .hero {
            min-height: 75vh;
            background: linear-gradient(135deg, #2563eb 0%, #475569 100%);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

            .hero::before {
                content: '';
                position: absolute;
                width: 200%;
                height: 200%;
                background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff15" fill-opacity="1" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,144C672,139,768,181,864,197.3C960,213,1056,203,1152,170.7C1248,139,1344,85,1392,58.7L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
                animation: wave 20s linear infinite;
            }

        @keyframes wave {
            0% {
                transform: translateX(0) translateY(0);
            }

            50% {
                transform: translateX(-25%) translateY(30px);
            }

            100% {
                transform: translateX(-50%) translateY(0);
            }
        }

        .hero-content {
            text-align: center;
            color: white;
            z-index: 1;
            animation: fadeInUp 1s ease;
        }

        /* Split-screen hero */
        .hero-split {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            align-items: center;
            gap: 48px;
            position: relative;
            z-index: 1; /* above floating-shapes */
        }

        .hero-split .hero-content { text-align: left; }
        .hero-split .hero-buttons { justify-content: flex-start; }

        .hero-graphic { width: 100%; max-width: 560px; justify-self: end; }
        .hero-graphic img, .hero-graphic svg {
            width: 100%;
            max-width: 100%;
            height: auto;
            display: block;
        }


        /* hero-graphic removed */

        @media (max-width: 900px) {
            .hero-content { text-align: center; padding: 0 20px; }
            .hero-split { grid-template-columns: 1fr; gap: 28px; }
            .hero-split .hero-content { text-align: center; }
            .hero-split .hero-buttons { justify-content: center; }
            .hero-graphic { justify-self: center; max-width: 420px; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            border-radius: 9999px;
            background: rgba(255, 255, 255, 0.15);
            color: #ffffff;
            font-weight: 600;
            font-size: 0.95rem;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.25);
            margin-bottom: 12px;
        }

        .hero h1 .trusted {
            color: #54a0ff;
        }

        .hero-subtitle {
            color: rgba(255, 255, 255, 0.92);
            font-size: 1.1rem;
            line-height: 1.6;
            margin-top: 6px;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.05);
            }
        }

        .hero h1 {
            font-size: clamp(2rem, 5vw + 1rem, 4rem);
            font-weight: 800;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
            line-height: 1.3;
        }

        /* Stack each phrase in the hero H1 on its own line */
        .hero h1 .line {
            display: block;
        }

        .hero h1 .line + .line {
            margin-top: 2px;
        }


        

        .hero-buttons {
            display: flex;
            gap: 25px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Add breathing room between hero content and buttons */
        .hero .hero-buttons {
            margin-top: clamp(12px, 2.5vw, 24px);
        }

        .btn {
            padding: 18px 40px;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: white;
            color: var(--primary);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

            .btn-primary:hover {
                transform: translateY(-3px);
                box-shadow: 0 15px 40px rgba(0,0,0,0.3);
                color: var(--blue);
            }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
        }

            .btn-secondary:hover {
                background: rgba(255, 255, 255, 0.2);
                border-color: rgba(255, 255, 255, 0.6);
                transform: translateY(-3px);
            }

        /* Floating Elements */
        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
        }

        .shape {
            position: absolute;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
            animation: float 20s infinite ease-in-out;
        }

            .shape:nth-child(1) {
                width: 80px;
                height: 80px;
                top: 20%;
                left: 10%;
                animation-delay: 0s;
            }

            .shape:nth-child(2) {
                width: 120px;
                height: 120px;
                top: 60%;
                right: 10%;
                animation-delay: 2s;
            }

            .shape:nth-child(3) {
                width: 60px;
                height: 60px;
                bottom: 20%;
                left: 30%;
                animation-delay: 4s;
            }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }

            33% {
                transform: translateY(-30px) rotate(120deg);
            }

            66% {
                transform: translateY(30px) rotate(240deg);
            }
        }

        /* Profile Section */
        .profile-section {
            padding: 120px 0;
            background: white;
            position: relative;
        }

        .container {
            max-width: var(--page-max-width);
            margin: 0 auto;
            padding: 0 var(--page-gutter);
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
            animation: fadeIn 1s ease;
        }

        .section-title {
            font-size: 3rem;
            font-weight: 800;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 20px;
        }

        .section-subtitle {
            font-size: 1.3rem;
            color: var(--light-accent);
            max-width: 600px;
            margin: 0 auto;
        }

        .profile-grid {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 80px;
            align-items: center;
        }

        .profile-image-container {
            position: relative;
        }

        .profile-image {
            width: 350px;
            height: 350px;
            border-radius: 30px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 30px 60px rgba(30, 41, 59, 0.15);
            background: var(--gradient);
            transform: none;
            transition: none;
        }

            .profile-image:hover { transform: none; }

            .profile-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

        .profile-decoration {
            position: absolute;
            width: 100%;
            height: 100%;
            border: 3px solid var(--light-accent);
            border-radius: 30px;
            top: 20px;
            left: 20px;
            z-index: -1;
        }

        .profile-content h3 {
            font-size: 2.5rem;
            margin-bottom: 30px;
            color: var(--primary);
        }

        .profile-content p {
            font-size: 1.15rem;
            line-height: 1.8;
            color: var(--accent);
            margin-bottom: 25px;
         }

        .highlight-box {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(71, 85, 105, 0.08) 100%);
            border-left: 4px solid var(--blue);
            padding: 20px;
            margin: 30px 0;
            border-radius: 10px;
        }

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

        .stat-card {
            text-align: center;
            padding: 30px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(30, 41, 59, 0.08);
            transition: all 0.3s ease;
            border: 1px solid var(--slate-lighter);
        }

            .stat-card:hover {
                transform: translateY(-10px);
                box-shadow: 0 20px 40px rgba(30, 41, 59, 0.15);
                border-color: var(--light-accent);
            }

        .stat-number {
            font-size: 3rem;
            font-weight: 800;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            font-size: 1rem;
            color: var(--light-accent);
            margin-top: 10px;
        }

        

        

        /* Experience Timeline */
        .experience-section {
            padding: 120px 0;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            position: relative;
        }

        .timeline {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
        }

            .timeline::before {
                content: '';
                position: absolute;
                width: 4px;
                background: var(--gradient);
                top: 0;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
            }

        .timeline-item {
            position: relative;
            width: 50%;
            margin-bottom: 60px;
            opacity: 0;
            animation: slideIn 0.6s ease forwards;
        }

            .timeline-item:nth-child(1) {
                animation-delay: 0.1s;
            }

            .timeline-item:nth-child(2) {
                animation-delay: 0.2s;
            }

            .timeline-item:nth-child(3) {
                animation-delay: 0.3s;
            }

            .timeline-item:nth-child(4) {
                animation-delay: 0.4s;
            }

        @keyframes slideIn {
            to {
                opacity: 1;
            }
        }

        .timeline-item:nth-child(odd) {
            left: 0;
            padding-right: 50px;
        }

        .timeline-item:nth-child(even) {
            left: 50%;
            padding-left: 50px;
        }

        .timeline-content {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(30, 41, 59, 0.1);
            position: relative;
            transition: all 0.3s ease;
            border: 1px solid rgba(203, 213, 225, 0.3);
        }

            .timeline-content:hover {
                transform: scale(1.05);
                box-shadow: 0 25px 50px rgba(30, 41, 59, 0.15);
            }

        .timeline-dot {
            position: absolute;
            width: 25px;
            height: 25px;
            background: white;
            border: 5px solid var(--blue);
            border-radius: 50%;
            top: 40px;
            z-index: 1;
        }

        .timeline-item:nth-child(odd) .timeline-dot {
            right: -12.5px;
        }

        .timeline-item:nth-child(even) .timeline-dot {
            left: -12.5px;
        }

        .timeline-date {
            display: inline-block;
            background: var(--gradient);
            color: white;
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.9rem;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .timeline-content h4 {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .timeline-content h5 {
            color: var(--blue);
            font-size: 1.2rem;
            margin-bottom: 20px;
        }

        .timeline-content p {
            color: var(--light-accent);
            line-height: 1.7;
        }

        /* CTA Section */
        .cta-section {
            padding: 100px 0;
            background: var(--gradient);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-content {
            position: relative;
            z-index: 1;
        }

            .cta-content h2 {
                font-size: 3rem;
                color: white;
                margin-bottom: 20px;
                font-weight: 800;
            }

            .cta-content p {
                font-size: 1.3rem;
                color: rgba(255, 255, 255, 0.9);
                margin-bottom: 40px;
                max-width: 600px;
                margin-left: auto;
                margin-right: auto;
            }

        .cta-buttons {
            display: flex;
            gap: 30px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 60px 0 30px;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 50px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-section p, .footer-section li {
            color: var(--slate-light);
            line-height: 1.8;
        }

        .footer-section ul {
            list-style: none;
        }

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

        /* Make footer links look like regular text */
        .footer-section a {
            color: inherit;
            text-decoration: none;
        }

        .footer-section a:hover,
        .footer-section a:focus {
            color: inherit;
            text-decoration: none;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid var(--secondary);
            color: var(--light-accent);
        }

        /* Responsive */
        @media (max-width: 768px) {
            :root { --page-gutter: 20px; }
            .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; }
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: rgba(248, 250, 252, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                gap: 16px;
                padding: 12px 20px 20px;
                border-bottom: 1px solid var(--slate-lighter);
                box-shadow: 0 10px 20px rgba(30, 41, 59, 0.08);
                z-index: 1002;
            }
            .navbar.open .nav-links { display: flex; }
            .nav-links a { padding: 8px 0; }

            /* Ensure hero content fits and no horizontal scroll */
            .hero { min-height: auto; padding-top: 120px; padding-bottom: 60px; overflow: hidden; }
            .floating-shapes { display: none; }

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

            .profile-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .profile-image {
                width: 250px;
                height: 250px;
                margin: 0 auto;
            }

            .timeline::before {
                left: 30px;
            }

            .timeline-item {
                width: 100%;
                left: 0 !important;
                padding-left: 80px !important;
                padding-right: 20px !important;
            }

            .timeline-dot {
                left: 18px !important;
            }

            

            .stats-container {
                grid-template-columns: 1fr;
            }
        }

        /* Form Pages */
        .form-section {
            padding: 80px 0 120px;
            background: white;
        }

        .form-card {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(30, 41, 59, 0.08);
            border: 1px solid rgba(203, 213, 225, 0.4);
        }

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

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--primary);
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 14px 16px;
            border: 1px solid var(--slate-lighter);
            border-radius: 12px;
            background: #fff;
            color: var(--primary);
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .form-group textarea { resize: vertical; }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--blue);
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
        }

        .form-actions {
            margin-top: 28px;
            display: flex;
            gap: 16px;
            justify-content: flex-start;
            flex-wrap: wrap;
        }

        @media (max-width: 900px) {
            .form-grid { grid-template-columns: 1fr; }
        }

        /* Dashboard */
        .dashboard-section { padding: 24px 0; }
        .dashboard-header { padding: 140px 0 12px; background: transparent; }
        .dashboard-header-inner {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .dashboard-header-inner .search-wrapper { flex: 1; position: relative; }
        .search-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--light-accent);
            pointer-events: none;
        }
        .search-input {
            width: 100%;
            padding: 14px 16px 14px 44px;
            border: 1px solid var(--slate-lighter);
            border-radius: 9999px;
            background: #fff;
            color: var(--primary);
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }
        .search-input:focus {
            outline: none;
            border-color: var(--blue);
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
        }

        .user-menu {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 12px;
        }
        .user-button {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 8px 12px;
            border-radius: 9999px;
            background: #fff;
            border: 1px solid var(--slate-lighter);
            color: var(--primary);
            cursor: pointer;
        }
        .logout-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px;
            border-radius: 9999px;
            background: var(--blue);
            border: none;
            color: #fff;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s ease, box-shadow 0.2s ease;
        }
        .logout-button:hover {
            background: #1d4ed8;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
        }
        .logout-button:focus {
            outline: none;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
        }

        /* Upload card */
        .upload-card {
            border: 1px dashed rgba(37, 99, 235, 0.35);
            background: rgba(37, 99, 235, 0.06);
            border-radius: 16px;
            min-height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        }
        .upload-card:hover { border-color: var(--blue); }
        .upload-card.is-dragover {
            border-color: var(--blue);
            box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
            background: rgba(37, 99, 235, 0.08);
        }
        .upload-content { text-align: center; }
        .upload-hint { color: var(--light-accent); margin-top: 8px; }

        /* Blue button variant for strong CTAs */
        .btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25); }
        .btn-blue:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35); }

        /* Document list */
        .doc-list { display: grid; gap: 14px; margin-top: 18px; }
        .doc-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #fff;
            border: 1px solid var(--slate-lighter);
            border-radius: 16px;
            padding: 16px 18px;
        }
        .doc-left { display: flex; align-items: center; gap: 14px; }
        .doc-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; }
        .doc-meta { display: grid; gap: 6px; }
        .doc-name { font-weight: 600; color: var(--primary); }
        .doc-badges { display: inline-flex; gap: 8px; align-items: center; }
        .badge {
            font-size: 0.8rem;
            padding: 4px 8px;
            border-radius: 9999px;
            background: rgba(37, 99, 235, 0.12);
            color: var(--blue);
            font-weight: 600;
        }
        .badge-muted { background: rgba(100,116,139,0.14); color: var(--accent); font-weight: 500; }

        /* Utility */
        .visually-hidden {
            position: absolute !important;
            height: 1px; width: 1px;
            overflow: hidden;
            clip: rect(1px, 1px, 1px, 1px);
            white-space: nowrap;
        }

        @media (max-width: 900px) {
            .dashboard-header { padding-top: 120px; }
            .user-button .name { display: none; }
        }
