        :root {
            --primary: #3b82f6;        /* Brighter Blue for Dark Mode */
            --primary-dark: #60a5fa;   /* Lighter Blue for hover states */
            --accent: #38bdf8;         /* Sky Blue */
            
            /* Dark Theme Palette */
            --bg: #0f172a;             /* Slate 900 - Main Background */
            --surface: #1e293b;        /* Slate 800 - Card Background */
            --surface-hover: #334155;  /* Slate 700 - Card Hover */
            
            --text-main: #f8fafc;      /* Slate 50 - White Text */
            --text-muted: #94a3b8;     /* Slate 400 - Gray Text */
            
            --footer-bg: #020617;      /* Slate 950 - Deepest Black */
            --border-color: rgba(255, 255, 255, 0.1);
            
            --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
            --nav-height: 70px;
        }

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

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--bg);
            color: var(--text-main);
            line-height: 1.6;
        }

        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }

        /* --- 1. STICKY HEADER --- */
        .navbar {
            position: sticky;
            top: 0;
            height: var(--nav-height);
            background: rgba(15, 23, 42, 0.85); /* Dark glass effect */
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-color);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-main);
            letter-spacing: -0.5px;
        }

        .logo span { color: var(--primary); }

        .nav-links { display: flex; gap: 2rem; }
        .nav-links a {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-muted);
        }
        .nav-links a:hover { color: var(--primary); }
        
        .btn-nav {
            background: var(--primary);
            color: white !important;
            padding: 0.5rem 1.2rem;
            border-radius: 50px;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }
        .btn-nav:hover { 
            background: var(--primary-dark);
            transform: translateY(-2px); 
            box-shadow: 0 6px 15px rgba(59, 130, 246, 0.5); 
        }

        /* --- 2. HERO SECTION --- */
        .hero {
            max-width: 1100px;
            margin: 0 auto;
            padding: 4rem 2rem;
            display: flex;
            align-items: center;
            gap: 4rem;
            min-height: calc(100vh - var(--nav-height));
        }

        .hero-content { flex: 1; }
        
        .badge {
            display: inline-block;
            background: rgba(59, 130, 246, 0.15);
            color: var(--primary);
            border: 1px solid rgba(59, 130, 246, 0.3);
            font-weight: 700;
            font-size: 0.85rem;
            padding: 0.4rem 1rem;
            border-radius: 50px;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .hero h1 {
            font-size: 3.5rem;
            line-height: 1.1;
            font-weight: 800;
            margin-bottom: 1rem;
            color: var(--text-main);
        }

        .hero h1 span {
            background: linear-gradient(120deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-summary {
            font-size: 1.15rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            max-width: 600px;
        }

        .hero-img-container {
            flex: 0 0 350px;
            position: relative;
        }

        .hero-img {
            width: 350px;
            height: 350px;
            object-fit: cover;
            border-radius: 30px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Darker shadow */
            border: 1px solid var(--border-color);
            background: var(--surface);
        }

        /* --- 3. GENERAL SECTIONS --- */
        .container { max-width: 1000px; margin: 0 auto; padding: 0 2rem 4rem; }
        
        .section-header {
            margin-bottom: 2.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .section-header h2 { font-size: 2rem; font-weight: 700; color: var(--text-main); }
        .section-line { flex: 1; height: 1px; background: var(--border-color); }

        /* Education Cards */
        .edu-grid { display: grid; gap: 1.5rem; }
        
        .card {
            background: var(--surface);
            padding: 2rem;
            border-radius: 16px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border-color);
            transition: transform 0.3s, background 0.3s;
        }
        .card:hover { 
            transform: translateY(-5px); 
            background: var(--surface-hover);
            border-color: var(--primary);
        }

        .edu-flex { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
        .edu-title { font-size: 1.25rem; font-weight: 700; color: var(--text-main); }
        .edu-subtitle { color: var(--primary); font-weight: 600; font-size: 1rem; }
        .edu-meta { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; }
        
        .date-pill { 
            background: rgba(255,255,255,0.05); 
            padding: 0.25rem 0.75rem; 
            border-radius: 8px; 
            font-weight: 600; 
            font-size: 0.85rem; 
            color: var(--text-muted); 
            border: 1px solid var(--border-color);
        }

        /* Skills */
        .skill-box { margin-bottom: 2rem; }
        .skill-category { font-weight: 700; color: var(--text-main); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
        .skill-category i { color: var(--primary); }
        
        .tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
        .tag {
            background: rgba(255,255,255,0.03);
            border: 1px solid var(--border-color);
            color: var(--text-muted);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: 0.3s;
        }
        .tag:hover { 
            border-color: var(--primary); 
            color: var(--primary); 
            background: rgba(59, 130, 246, 0.1);
        }

        /* Experience Timeline */
        .timeline { position: relative; padding-left: 2rem; border-left: 1px solid var(--border-color); }
        .timeline-item { position: relative; margin-bottom: 2.5rem; }
        .timeline-dot {
            width: 16px; height: 16px; background: var(--primary); 
            border: 4px solid var(--bg); /* Matches body bg to create "cutout" effect */
            border-radius: 50%; position: absolute; left: -2.55rem; top: 1.5rem; 
            box-shadow: 0 0 0 1px var(--primary);
        }
        .exp-card { padding: 1.5rem; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--border-color); }
        .exp-details ul { margin-top: 1rem; padding-left: 1.2rem; color: var(--text-muted); }
        .exp-details li { margin-bottom: 0.5rem; }

        /* Projects Grid */
        .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
        
        .project-card {
            background: var(--surface); border-radius: 16px; overflow: hidden;
            border: 1px solid var(--border-color); display: flex; flex-direction: column;
            transition: all 0.3s;
        }
        .project-card:hover { 
            transform: translateY(-8px); 
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
            border-color: var(--primary);
        }
        
        .p-body { padding: 2rem; flex: 1; }
        .p-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-main); }
        .p-desc { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1rem; }
        
        .stat-box {
            background: rgba(59, 130, 246, 0.1); 
            border-left: 3px solid var(--primary);
            padding: 1rem; border-radius: 8px; font-size: 0.85rem; 
            color: #93c5fd; /* Light blue text */
        }
        .stat-box i { margin-right: 0.5rem; color: var(--primary); }

        .p-footer {
            padding: 1rem 2rem; border-top: 1px solid var(--border-color); 
            background: rgba(0,0,0,0.2);
            display: flex; justify-content: flex-end;
        }
        .link-btn { font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; color: var(--text-main); }
        .link-btn:hover { color: var(--primary); gap: 0.8rem; }

        /* --- 4. FOOTER (CONTACT) --- */
        .contact-footer {
            background-color: var(--footer-bg);
            color: white;
            padding: 5rem 2rem 3rem;
            margin-top: 4rem;
            border-top: 1px solid var(--border-color);
        }

        .footer-content {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
        }

        .footer-left h2 { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 700; }
        .footer-left p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; }
        
        .footer-right { display: grid; gap: 1.5rem; }
        
        .contact-row {
            display: flex; align-items: center; gap: 1rem;
            background: rgba(255,255,255,0.03); 
            padding: 1rem 1.5rem; border-radius: 12px;
            border: 1px solid var(--border-color);
            transition: 0.3s;
        }
        .contact-row:hover { 
            background: rgba(255,255,255,0.08); 
            transform: translateX(10px); 
            border-color: var(--primary);
        }
        
        .icon-box {
            width: 40px; height: 40px; background: var(--primary); border-radius: 50%;
            display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
            color: white;
        }

        .social-row { display: flex; gap: 1rem; margin-top: 2rem; }
        .social-btn {
            width: 50px; height: 50px; border-radius: 50%; 
            border: 1px solid var(--text-muted);
            display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
            color: var(--text-muted); transition: 0.3s;
        }
        .social-btn:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-5px); }

        .copyright {
            text-align: center; color: var(--text-muted); margin-top: 4rem; padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .hero { flex-direction: column-reverse; text-align: center; padding-top: 2rem; }
            .hero-img-container { flex: 0 0 auto; }
            .hero-img { width: 250px; height: 250px; }
            .edu-flex { flex-direction: column; gap: 0.5rem; }
            .footer-content { grid-template-columns: 1fr; gap: 3rem; }
            .timeline { padding-left: 1rem; border: none; }
            .timeline-dot { display: none; }
        }