* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            background-color: #000;
            height: 100%;
        }

        body {
            font-family: "Rockwell", serif;
            background-image: url('graphics/deepfield.jpg');
            background-size: cover;
            background-color: #000;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        h1, h2, h3, h4, h5, h6, .name {
            font-family: 'Bodoni 72 Smallcaps';
        }
        .container {
            display: flex;
            width: 100%;
            max-width: 1200px;
            min-height: 600px;
            background: #252525;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }
        .course {
            color: #cfcfcf;
            font-style: italic;
            text-decoration: underline;
            transition: color 0.3s;
        }

        /* Left Sidebar */
        .sidebar {
            width: 320px;
            background: linear-gradient(180deg, #591515 0%, #000000 100%);
            padding: 40px 30px;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }

        .profile-img {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            /* border: 4px dashed #666; */
            padding: 8px;
            margin-bottom: 20px;
        }

        .profile-img img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

        .name {
            color: #fff;
            font-size: 25px;
            font-weight: 600;
        }

        .title {
            color: #aaa;
            font-size: 14px;
            margin-bottom: 10px;
        }

        .social-links {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
        }

        .social-links a {
            color: #fff;
            font-size: 18px;
            transition: color 0.3s;
        }

        .social-links a:hover {
            color: #ae0006;
        }

        .download-btn {
            padding: 12px 30px;
            border: 2px solid #fff;
            border-radius: 25px;
            color: #fff;
            background: transparent;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .download-btn:hover {
            background: #fff;
            color: #2a2a2a;
        }

        .copyright {
            position: absolute;
            bottom: 20px;
            font-size: 11px;
            color: #888;
        }

        /* Main Content */
        .main-content {
            flex: 1;
            background: #070707;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .content-text {
            text-align: center;
            color: #fff;
        }

        .content-text h1 {
            color: #fff;
            font-size: 55px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .smalltext {
            text-align: center;
            color: #aaa;
            font-size: 12px;
            font-weight: 100;
            margin-bottom: 10px;
        }

        .content-text p {
            color: #aaa;
            font-size: 13px;
        }

        /* Right Navigation */
        .right-nav {
            width: 60px;
            background: rgba(0, 0, 0, 0.3);
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px 0;
            gap: 30px;
        }

        .nav-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s;
            border-radius: 8px;
        }

        .nav-icon:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .nav-icon.active {
            background: #ff9a9e;
        }

        /* Menu Toggle */
        .menu-toggle {
            position: fixed;
            top: 35px;
            right: 30px;
            width: 40px;
            height: 40px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 9999;
            color: #fff;
            font-size: 18px;
            transition: all 0.3s;
            /* ensure it sits inside safe-area on devices with notches */
            padding-right: env(safe-area-inset-right);
        }

        .menu-toggle:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .menu-dropdown {
            display: none;
            position: fixed;
            top: 70px; /* below the fixed toggle */
            right: 30px;
            background: rgba(20, 20, 20, 0.922);
            border-radius: 8px;
            flex-direction: column;
            min-width: 100px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
            z-index: 9998;
            transition: all 0.3s ease;
            /* account for notch safe-area */
            margin-right: env(safe-area-inset-right);
        }

        .menu-toggle:hover .menu-dropdown,
        .menu-toggle.active .menu-dropdown,
        .menu-dropdown:hover {
            display: flex;
        }

        .menu-item {
            color: #fff;
            text-decoration: none;
            text-align: right;
            padding: 12px 20px;
            font-size: 14px;
            transition: all 0.3s;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
        }

        .menu-item:last-child {
            border-bottom: none;
        }

        .menu-item:hover {
            background: rgba(174, 0, 6, 0.3);
            padding-left: 25px;
        }

        /* Arrow Navigation */
        .arrow-nav {
            position: absolute;
            bottom: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .arrow-btn {
            width: 40px;
            height: 40px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            cursor: pointer;
            transition: all 0.3s;
        }

        .arrow-btn:hover {
            background: #ff9a9e;
        }

        /* Projects List */
        .projects-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin: 8px 0;
            text-align: left;
        }

        .project-item {
            padding: 20px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            border-left: 4px solid #591515;
            transition: all 0.3s;
        }

        .project-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(5px);
        }

        .project-item h3 {
            color: #fff;
            font-size: 18px;
            margin-bottom: 8px;
        }

        .project-item p {
            color: #aaa;
            font-size: 13px;
        }

        /* Page Navigation */
        .page-nav {
            margin-top: 20px;
        }

        .nav-link {
            color: #ae0006;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s;
            display: inline-block;
        }

        .nav-link:hover {
            color: #fff;
            transform: translateX(5px);
        }

        /* Hero and Resume sections */
        .hero {
            text-align: left;
            padding: 30px 40px;
            border-bottom: 1px solid rgba(255,255,255,0.04);
            max-width: 900px;
        }

        .hero-title {
            color: #fff;
            font-size: 22px;
            margin-bottom: 8px;
        }

        .hero-summary {
            color: #cfcfcf;
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 12px;
        }

        .hero-cta {
            display: flex;
            gap: 12px;
            margin-bottom: 12px;
        }

        .download-btn {
            padding: 10px 18px;
            border-radius: 20px;
            border: 1px solid rgba(255,255,255,0.1);
            background: rgba(255,255,255,0.04);
            color: #fff;
            text-decoration: none;
            font-size: 13px;
            transition: background 0.2s, transform 0.15s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .download-btn:hover {
            background: #ae0006;
            transform: translateY(-2px);
        }

        .section {
            text-align: left;
            padding: 24px 40px;
        }

        .section h3 {
            color: #fff;
            font-size: 18px;
            margin-bottom: 12px;
        }

        .experience-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin-bottom: 30px;
        }

        .exp-item {
            background: rgba(255,255,255,0.02);
            padding: 14px;
            border-radius: 10px;
            border-left: 3px solid #591515;
        }

        .exp-head {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 12px;
        }

        .exp-head h4 {
            color: #fff;
            font-size: 17px;
            margin-bottom: 6px;
        }

        .exp-item ul {
            color: #cfcfcf;
            /* list-style-type: "✦ "; */
            font-size: 0.8em;
            margin-top: 8px;
            padding-left: 18px;
        }
         .exp-item ul li {
            margin-bottom: 6px;
        }
        /* Print stylesheet: hide heavy backgrounds and make layout printable */
        @media print {
            body {
                background: #fff !important;
                color: #000 !important;
            }

            .container {
                box-shadow: none;
                border-radius: 0;
            }

            .sidebar {
                display: none;
            }

            .download-btn,
            .menu-toggle,
            .page-nav {
                display: none !important;
            }

            .main-content {
                background: transparent;
                padding: 0;
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .container {
                flex-direction: column;
                height: auto;
            }

            .sidebar {
                width: 100%;
            }

            .right-nav {
                width: 100%;
                flex-direction: row;
                height: 60px;
                padding: 0 20px;
            }

            .content-text h1 {
                font-size: 36px;
            }
        }