  /* === 3D CANVAS === */
  #hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  /* 3D Floating Code Cubes */
  .cube-scene {
    perspective: 800px;
    width: 180px;
    height: 180px;
    position: absolute;
    pointer-events: none;
  }
  .cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: spinCube 12s linear infinite;
  }
  .cube-face {
    position: absolute;
    width: 180px; height: 180px;
    background: rgba(0,229,255,0.03);
    border: 1px solid rgba(0,229,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: rgba(0,229,255,0.4);
    overflow: hidden;
    backface-visibility: visible;
  }
  .cube-face.front  { transform: translateZ(90px); }
  .cube-face.back   { transform: rotateY(180deg) translateZ(90px); }
  .cube-face.right  { transform: rotateY(90deg) translateZ(90px); }
  .cube-face.left   { transform: rotateY(-90deg) translateZ(90px); }
  .cube-face.top    { transform: rotateX(90deg) translateZ(90px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(90px); }

  @keyframes spinCube {
    0%   { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(540deg) rotateZ(180deg); }
  }

  .cube-scene.c1 { top: 10%; right: 8%; animation: floatCube1 8s ease-in-out infinite; }
  .cube-scene.c2 { bottom: 15%; right: 22%; animation: floatCube2 10s ease-in-out infinite; width:120px; height:120px; }
  .cube-scene.c2 .cube-face { width:120px; height:120px; }
  .cube-scene.c2 .cube-face.front  { transform: translateZ(60px); }
  .cube-scene.c2 .cube-face.back   { transform: rotateY(180deg) translateZ(60px); }
  .cube-scene.c2 .cube-face.right  { transform: rotateY(90deg) translateZ(60px); }
  .cube-scene.c2 .cube-face.left   { transform: rotateY(-90deg) translateZ(60px); }
  .cube-scene.c2 .cube-face.top    { transform: rotateX(90deg) translateZ(60px); }
  .cube-scene.c2 .cube-face.bottom { transform: rotateX(-90deg) translateZ(60px); }
  .cube-scene.c2 .cube { animation: spinCube 9s linear infinite reverse; }

  @keyframes floatCube1 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-20px) translateX(10px); }
    66% { transform: translateY(10px) translateX(-8px); }
  }
  @keyframes floatCube2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
  }

  /* 3D Tech Sphere in Skills section */
  #sphere-container {
    width: 320px;
    height: 320px;
    position: relative;
    margin: 0 auto 60px;
    perspective: 600px;
  }
  #tech-sphere {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateSphere 20s linear infinite;
  }
  @keyframes rotateSphere {
    from { transform: rotateY(0deg) rotateX(20deg); }
    to   { transform: rotateY(360deg) rotateX(20deg); }
  }

  .sphere-tag {
    position: absolute;
    left: 50%; top: 50%;
    transform-style: preserve-3d;
    transform-origin: 0 0;
  }
  .sphere-tag span {
    display: block;
    background: rgba(0,229,255,0.06);
    border: 1px solid rgba(0,229,255,0.2);
    color: var(--accent);
    padding: 5px 13px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    cursor: default;
    transition: background 0.3s, border-color 0.3s;
  }
  .sphere-tag span:hover {
    background: rgba(0,229,255,0.2);
    border-color: var(--accent);
  }

  /* 3D Project Card Flip */
  .project-card-3d {
    perspective: 1000px;
  }
  /* project-card-inner defined above in card-3d block */
  .project-card-3d:hover .project-card-inner {
    transform: rotateY(180deg);
  }
  .project-card-front,
  .project-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
  }
  .project-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
    text-align: center;
    background: linear-gradient(135deg, #0d1a2a 0%, #16161f 100%);
    border-color: var(--accent);
  }
  .project-card-back h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 12px;
  }
  .project-card-back p {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .project-card-back .proj-link {
    display: inline-block;
    background: var(--accent);
    color: var(--bg);
    padding: 10px 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    margin: 4px;
    transition: background 0.2s;
  }
  .project-card-back .proj-link:hover { background: var(--accent2); }
  .project-card-back .proj-link.ghost {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
  }
  .project-card-back .proj-link.ghost:hover { background: rgba(0,229,255,0.1); }

  /* Flip hint */
  .flip-hint {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,229,255,0.1);
    border: 1px solid rgba(0,229,255,0.2);
    color: var(--accent);
    font-size: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1px;
    padding: 3px 9px;
    z-index: 2;
    text-transform: uppercase;
  }

  /* 3D tilt on skill cards */
  .skill-group {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
  }

  /* Floating particles via CSS */
  .particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: floatParticle linear infinite;
    opacity: 0;
  }
  @keyframes floatParticle {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.4; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
  }

  /* 3D Hero text depth */
  .hero-name {
    text-shadow:
      2px 2px 0 rgba(0,229,255,0.1),
      4px 4px 0 rgba(0,229,255,0.07),
      6px 6px 0 rgba(0,229,255,0.04),
      0 0 60px rgba(0,229,255,0.15);
    transition: text-shadow 0.3s;
  }
  .hero-name:hover {
    text-shadow:
      2px 2px 0 rgba(0,229,255,0.2),
      5px 5px 0 rgba(0,229,255,0.12),
      10px 10px 0 rgba(0,229,255,0.06),
      0 0 80px rgba(0,229,255,0.3);
  }

  /* 3D section title */
  .section-title {
    text-shadow:
      1px 1px 0 rgba(0,229,255,0.08),
      3px 3px 0 rgba(0,229,255,0.04);
  }

  :root {
    --bg: #0a0a0f;
    --surface: #111118;
    --card: #16161f;
    --border: #2a2a38;
    --accent: #00e5ff;
    --accent2: #ff6b35;
    --accent3: #a855f7;
    --text: #e8e8f0;
    --muted: #6b6b80;
    --green: #00ff88;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    cursor: none;
  }

  /* Custom Cursor */
  .cursor {
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
  }
  .cursor-trail {
    width: 36px; height: 36px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.15s ease;
    opacity: 0.5;
  }

  /* Noise overlay */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    background: rgba(10,10,15,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .nav-logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: var(--accent);
    text-decoration: none;
  }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
  }

  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
    font-family: 'JetBrains Mono', monospace;
  }
  .nav-links a:hover { color: var(--accent); }

  .nav-cta {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    padding: 8px 20px;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s !important;
  }
  .nav-cta:hover { background: var(--accent) !important; color: var(--bg) !important; }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .hamburger span {
    width: 24px; height: 2px;
    background: var(--text);
    transition: all 0.3s;
  }

  /* HERO */
  #hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
  }

  @keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
  }

  .hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,229,255,0.08) 0%, transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
  }
  .hero-glow2 {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(168,85,247,0.06) 0%, transparent 70%);
    bottom: 0; left: 0;
    pointer-events: none;
  }

  @keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
  }

  .hero-content {
    width: 100%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .hero-left { width: 100%; }
  .hero-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    border-left: 1px solid var(--border);
    padding-left: 60px;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.2);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1px;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease both;
  }

  .hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
  }

  .hero-name {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3.5rem, 10vw, 9rem);
    line-height: 0.9;
    letter-spacing: 2px;
    animation: fadeInUp 0.7s 0.1s ease both;
  }

  .hero-name span {
    -webkit-text-stroke: 2px var(--accent);
    color: transparent;
  }

  .hero-title {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--muted);
    margin-top: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeInUp 0.7s 0.2s ease both;
  }

  .hero-title strong { color: var(--accent2); font-weight: 500; }

  .hero-desc {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    animation: fadeInUp 0.7s 0.3s ease both;
  }

  .hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    animation: fadeInUp 0.7s 0.4s ease both;
  }

  .stat-item { }
  .stat-num {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
  }
  .stat-label {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
  }

  .hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    animation: fadeInUp 0.7s 0.5s ease both;
    flex-wrap: wrap;
  }

  .btn-primary {
    background: var(--accent);
    color: var(--bg);
    padding: 14px 32px;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  }
  .btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }

  .btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 14px 32px;
    border: 1px solid var(--border);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
  }
  .btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

  .hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s 0.8s ease both;
  }
  .scroll-line {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }
  @keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
  }

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

  /* SECTIONS */
  section {
    padding: 100px 60px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-label::before {
    content: '';
    width: 30px; height: 1px;
    background: var(--accent);
  }

  .section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 12px;
  }

  .section-sub {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 60px;
  }

  /* ABOUT */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .about-image-wrap {
    position: relative;
  }

  .about-photo {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .about-photo img {
    filter: brightness(0.95) contrast(1.1);
    border-radius: 12px;
    width:100%;
  }

  .photo-placeholder {
    font-family: 'Bebas Neue', cursive;
    font-size: 8rem;
    color: var(--border);
    letter-spacing: 4px;
    text-align: center;
    line-height: 1;
  }

  .about-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,229,255,0.05) 0%, transparent 60%);
    pointer-events: none;
  }

  .about-corner {
    position: absolute;
    width: 40px; height: 40px;
    border: 2px solid var(--accent);
  }
  .about-corner.tl { top: -8px; left: -8px; border-right: none; border-bottom: none; }
  .about-corner.br { bottom: -8px; right: -8px; border-left: none; border-top: none; }

  .about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent2);
    color: var(--bg);
    padding: 16px 20px;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.1rem;
    letter-spacing: 1px;
    line-height: 1.2;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }

  .about-text h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text);
  }

  .about-text p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
  }

  .edu-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .edu-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.2s;
  }
  .edu-card:hover { border-left-color: var(--accent2); }
  .edu-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
  .edu-card p { font-size: 0.78rem; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
  .edu-year {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.4rem;
    color: var(--accent);
    letter-spacing: 1px;
  }

  /* SKILLS */
  #skills {
    background: transparent;
    padding: 100px 60px;
    width: 100%;
    box-sizing: border-box;
  }

  .skills-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 60px 60px 60px 60px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
  }
  .skills-wrap::before {
    content: '</>';
    position: absolute;
    top: -20px; left: 40px;
    background: var(--accent);
    color: var(--bg);
    padding: 4px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
  }

  .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px;
  }

  .skill-group h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--accent2);
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
  }

  .skill-item {
    margin-bottom: 20px;
  }
  .skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 12px;
    white-space: nowrap;
  }
  .skill-header span:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
  }
  .skill-pct {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
  }
  .skill-bar {
    height: 3px;
    background: var(--border);
    overflow: hidden;
  }
  .skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent3));
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
  }
  .tech-tag {
    background: rgba(0,229,255,0.06);
    border: 1px solid rgba(0,229,255,0.15);
    color: var(--accent);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .tech-tag:hover { background: rgba(0,229,255,0.15); border-color: var(--accent); }
  .tech-tag.orange { background: rgba(255,107,53,0.06); border-color: rgba(255,107,53,0.15); color: var(--accent2); }
  .tech-tag.orange:hover { background: rgba(255,107,53,0.15); }
  .tech-tag.purple { background: rgba(168,85,247,0.06); border-color: rgba(168,85,247,0.15); color: var(--accent3); }
  .tech-tag.purple:hover { background: rgba(168,85,247,0.15); }

  /* PROJECTS */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .project-card {
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s, transform 0.3s;
  }

  .project-card-3d {
    background: transparent;
    border: none;
    overflow: visible;
    min-height: 460px;
    width: 100%;
  }
  .project-card-3d:hover {
    transform: none;
    border-color: transparent;
  }
  .project-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .project-card.featured {
    grid-column: 1 / -1;
  }
  .project-card.featured.project-card-3d {
    min-height: 520px;
  }
  .project-card.featured .project-card-inner {
    min-height: 520px;
  }

  .project-thumb {
    height: 220px;
    background: var(--surface);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .project-card.featured .project-thumb { height: 320px; }

  .project-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.3;
  }

  .project-icon {
    font-size: 4rem;
    position: relative;
    z-index: 1;
  }

  .project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--card) 0%, transparent 60%);
  }

 .project-overlay img{
    width: 100%;
    height:100%;
  } 

  .project-type {
    position: absolute;
    top: 16px; right: 16px;
    background: rgba(10,10,15,0.8);
    border: 1px solid var(--border);
    padding: 4px 12px;
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    letter-spacing: 1px;
  }

  .project-body {
    padding: 24px;
  }

  .project-body h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
  }

  .project-body p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
  }

  .stack-tag {
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--muted);
    background: var(--surface);
    padding: 3px 10px;
    border: 1px solid var(--border);
  }

  .project-links {
    display: flex;
    gap: 12px;
  }

  .proj-link {
    font-size: 0.78rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
  }
  .proj-link:hover { gap: 10px; }

  /* EXPERIENCE */
  .timeline {
    position: relative;
    padding-left: 40px;
  }
  .timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
  }

  .timeline-item {
    position: relative;
    margin-bottom: 48px;
    padding-left: 24px;
  }

  .timeline-dot {
    position: absolute;
    left: -44px; top: 6px;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0,229,255,0.15);
  }

  .timeline-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  .timeline-company {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
  }

  .timeline-role {
    font-size: 0.85rem;
    color: var(--accent2);
    font-weight: 500;
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
  }

  .timeline-desc {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 600px;
  }

  .timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
  }

  /* CONTACT */
  #contact-section {
    padding: 100px 60px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    width: 100%;
    box-sizing: border-box;
  }

  .contact-inner {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .contact-left .big-text {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: 2px;
    line-height: 0.9;
    color: var(--text);
    margin: 16px 0;
  }

  .contact-left .big-text span { color: var(--accent); }

  .contact-links {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .contact-link-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    group: true;
  }
  .contact-link-item:hover { color: var(--text); }

  .contact-link-icon {
    width: 44px; height: 44px;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: border-color 0.2s, background 0.2s;
    flex-shrink: 0;
  }
  .contact-link-item:hover .contact-link-icon {
    border-color: var(--accent);
    background: rgba(0,229,255,0.06);
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .form-group { display: flex; flex-direction: column; gap: 6px; }

  .form-group label {
    font-size: 0.72rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--muted);
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    resize: none;
    appearance: none;
  }
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: var(--accent);
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder { color: var(--border); }

  .form-group textarea { min-height: 120px; }

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

  /* FOOTER */
  footer {
    padding: 32px 40px;
    text-align: center;
    color: var(--muted);
    font-size: 0.78rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1px;
    border-top: 1px solid var(--border);
  }
  footer span { color: var(--accent); }

  /* MOBILE MENU */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,15,0.98);
    z-index: 400;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;

      /* Transition setup */
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  }
.mobile-menu,
.mobile-menu.active {
  display: flex;
}
.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
  .mobile-menu a {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 3px;
    transition: color 0.2s;
    
  }
  .mobile-menu a:hover { color: var(--accent); }
  .mobile-close {
    position: absolute;
    top: 28px; right: 40px;
    font-size: 1.5rem;
    color: var(--muted);
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'JetBrains Mono', monospace;
  }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    nav { padding: 20px 24px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }

    #hero { padding: 100px 24px 80px; }
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-right { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 32px; }
    .hero-stats { gap: 28px; flex-wrap: wrap; }

    section { padding: 70px 24px; }

    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-image-wrap { max-width: 100%; width: 100%; }

    #skills { padding: 60px 24px; }
    .skills-wrap { padding: 32px 20px; }
    .skills-grid { grid-template-columns: 1fr; gap: 40px; }

    .projects-grid { grid-template-columns: 1fr; }
    .project-card.featured { grid-column: 1; min-height: 460px; }
    .project-card.featured .project-card-inner { min-height: 460px; }
    .project-card-3d { min-height: 420px; }

    .contact-inner { grid-template-columns: 1fr; gap: 48px; }
    #contact-section { padding: 70px 24px; }

    .form-row { grid-template-columns: 1fr; }

    footer { padding: 24px; }

    .project-overlay img{ width:100%; height:fit-content; } 
  }

  @media (max-width: 500px) {
    .hero-name { font-size: 3.2rem; }
    .hero-stats { gap: 20px; }
    .stat-num { font-size: 2.2rem; }
    body { cursor: auto; }
    .cursor, .cursor-trail { display: none; }
  }

  /* Animated reveal */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }