/* ═══════════════════════════════════════════
       ROOT VARIABLES & RESET
    ═══════════════════════════════════════════ */
    :root {
      --bg-primary: #050914;
      --bg-secondary: #0a1628;
      --bg-card: #0d1f3a;
      --bg-card-hover: #112444;
      --accent: #4f8ef7;
      --accent-bright: #6fa8ff;
      --accent-dim: #2563eb;
      --accent-glow: rgba(79, 142, 247, 0.25);
      --text-primary: #f0f4ff;
      --text-secondary: #8ba3cc;
      --text-muted: #4d6a96;
      --border: rgba(79, 142, 247, 0.15);
      --border-bright: rgba(79, 142, 247, 0.35);
      --gradient-hero: linear-gradient(135deg, #050914 0%, #0a1628 50%, #091a38 100%);
      --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.4);
      --shadow-glow: 0 0 40px rgba(79, 142, 247, 0.15);
      --radius: 16px;
      --radius-sm: 10px;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
    }

    /* Noise texture overlay */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      opacity: 0.025;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    /* Animated background grid */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background-image:
        linear-gradient(rgba(79,142,247,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79,142,247,0.04) 1px, transparent 1px);
      background-size: 60px 60px;
    }

    /* ═══════════════════════════════════════════
       SCROLLBAR
    ═══════════════════════════════════════════ */
    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: var(--bg-primary); }
    ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }

    /* ═══════════════════════════════════════════
       UTILITY CLASSES
    ═══════════════════════════════════════════ */
    .container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
    h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

    .accent-text { color: var(--accent); }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      background: rgba(79,142,247,0.1);
      border: 1px solid rgba(79,142,247,0.2);
      padding: 6px 14px;
      border-radius: 99px;
      margin-bottom: 20px;
    }

    .section-title {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.15;
      margin-bottom: 16px;
    }

    .section-sub {
      font-size: 1.05rem;
      color: var(--text-secondary);
      max-width: 600px;
      margin-bottom: 56px;
    }

    /* Reveal animation */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    }
    .reveal.in { opacity: 1; transform: none; }
    .d1 { transition-delay: 0.05s; }
    .d2 { transition-delay: 0.12s; }
    .d3 { transition-delay: 0.19s; }
    .d4 { transition-delay: 0.26s; }
    .d5 { transition-delay: 0.33s; }

    /* Shimmer button effect */
    .btn-shimmer {
      position: relative;
      overflow: hidden;
    }
    .btn-shimmer::after {
      content: '';
      position: absolute;
      top: 0; left: -120%;
      width: 60%; height: 100%;
      background: rgba(255,255,255,0.15);
      transform: skewX(-20deg);
      transition: left 0.5s cubic-bezier(0.4,0,0.2,1);
    }
    .btn-shimmer:hover::after { left: 160%; }

    /* ═══════════════════════════════════════════
       NAVBAR
    ═══════════════════════════════════════════ */
    #navbar {
      position: fixed;
      inset-x: 0;
      top: 0;
      z-index: 100;
      transition: var(--transition);
    }
    #navbar.scrolled {
      background: rgba(5, 9, 20, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      height: 68px;
    }

    .nav-logo {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.35rem;
      font-weight: 700;
      text-decoration: none;
      color: var(--text-primary);
      letter-spacing: -0.02em;
      flex-shrink: 0;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
      list-style: none;
    }
    .nav-links a {
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
      position: relative;
      transition: color 0.22s;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -3px; left: 0;
      width: 0; height: 1.5px;
      background: var(--accent);
      transition: width 0.22s cubic-bezier(0.4,0,0.2,1);
    }
    .nav-links a:hover { color: var(--text-primary); }
    .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
    .nav-links a.active { color: var(--text-primary); }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent);
      color: #fff;
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 600;
      padding: 9px 20px;
      border-radius: 99px;
      transition: var(--transition);
    }
    .nav-cta:hover {
      background: var(--accent-bright);
      box-shadow: 0 0 20px var(--accent-glow);
      transform: translateY(-1px);
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: 1px solid var(--border-bright);
      border-radius: 8px;
      padding: 10px;
    }
    .hamburger span {
      display: block;
      width: 20px;
      height: 2px;
      background: var(--text-primary);
      border-radius: 2px;
      transition: var(--transition);
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-menu {
      display: none;
      position: absolute;
      top: 68px;
      left: 0;
      right: 0;
      flex-direction: column;
      padding: 20px 24px 24px;
      background: rgba(5, 9, 20, 0.97);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
      gap: 4px;
      z-index: 99;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      font-size: 1rem;
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
      transition: color 0.2s;
    }
    .mobile-menu a:hover { color: var(--accent); }
    .mobile-menu a.mobile-cta {
      margin-top: 12px;
      background: var(--accent);
      color: #fff;
      text-align: center;
      padding: 12px;
      border-radius: 10px;
      border: none;
    }

    /* ═══════════════════════════════════════════
       HERO SECTION
    ═══════════════════════════════════════════ */
    #hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: 68px;
      overflow: hidden;
    }

    /* Glow orbs */
    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      pointer-events: none;
    }
    .orb-1 {
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(79,142,247,0.18) 0%, transparent 70%);
      top: -100px; right: -100px;
      animation: float 8s ease-in-out infinite;
    }
    .orb-2 {
      width: 400px; height: 400px;
      background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
      bottom: 100px; left: -80px;
      animation: float 10s ease-in-out infinite reverse;
    }
    .orb-3 {
      width: 200px; height: 200px;
      background: radial-gradient(circle, rgba(79,142,247,0.25) 0%, transparent 70%);
      top: 40%; left: 40%;
      animation: float 6s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-30px); }
    }

    .hero-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      padding: 80px 0;
    }

    .hero-badge {
      font-family: 'Outfit', sans-serif;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      background: rgba(79,142,247,0.1);
      border: 1px solid rgba(79,142,247,0.25);
      padding: 7px 16px;
      border-radius: 99px;
      margin-bottom: 24px;
      width: fit-content;
    }
    .hero-badge-dot {
      width: 6px; height: 6px;
      background: var(--accent);
      border-radius: 50%;
      animation: blink 1.8s ease-in-out infinite;
    }
    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }

    .hero-title {
      font-family: 'Outfit', 'Space Grotesk', sans-serif;
      font-size: clamp(2.8rem, 5.5vw, 4.8rem);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -0.03em;
      margin-bottom: 20px;
    }
    .hero-title .highlight {
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 50%, #a5c4ff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-desc {
      font-size: 1.1rem;
      color: var(--text-secondary);
      line-height: 1.75;
      margin-bottom: 36px;
      max-width: 520px;
    }

    .hero-buttons {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 52px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent);
      color: #fff;
      text-decoration: none;
      font-size: 0.925rem;
      font-weight: 600;
      padding: 13px 28px;
      border-radius: 99px;
      transition: var(--transition);
      border: none;
      cursor: pointer;
    }
    .btn-primary:hover {
      background: var(--accent-bright);
      box-shadow: 0 0 30px var(--accent-glow);
      transform: translateY(-2px);
    }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: var(--text-primary);
      text-decoration: none;
      font-size: 0.925rem;
      font-weight: 600;
      padding: 13px 28px;
      border-radius: 99px;
      border: 1px solid var(--border-bright);
      transition: var(--transition);
      cursor: pointer;
    }
    .btn-outline:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(79,142,247,0.07);
    }

    .hero-socials {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .hero-socials-label {
      font-size: 0.8rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 500;
    }
    .social-icon-link {
      width: 40px; height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--border);
      border-radius: 10px;
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 1rem;
      transition: var(--transition);
    }
    .social-icon-link:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(79,142,247,0.08);
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(79,142,247,0.15);
    }

    /* Hero photo area */
    .hero-visual {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }

    .photo-frame-wrapper {
      position: relative;
      width: 380px;
      height: 460px;
    }

    .photo-frame-glow {
      position: absolute;
      inset: -30px;
      background: radial-gradient(ellipse at center, rgba(79,142,247,0.25) 0%, transparent 70%);
      border-radius: 50%;
      animation: pulse-glow 3s ease-in-out infinite;
    }
    @keyframes pulse-glow {
      0%, 100% { opacity: 0.8; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(1.05); }
    }

    .photo-frame {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 24px;
      overflow: hidden;
      border: 1px solid var(--border-bright);
      background: var(--bg-card);
      box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(79,142,247,0.08);
    }
    .photo-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
    }

    .photo-frame::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 60%, rgba(5,9,20,0.7) 100%);
      z-index: 1;
    }

    .photo-badge {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      background: rgba(10, 22, 40, 0.85);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border-bright);
      padding: 10px 20px;
      border-radius: 99px;
      text-align: center;
      white-space: nowrap;
    }
    .photo-badge-name {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text-primary);
    }
    .photo-badge-role {
      font-size: 0.72rem;
      color: var(--accent);
      font-weight: 500;
    }

    /* Floating stat cards */
    .stat-card {
      position: absolute;
      background: rgba(10,22,40,0.85);
      backdrop-filter: blur(12px);
      border: 1px solid var(--border-bright);
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      font-family: 'Space Grotesk', sans-serif;
    }
    .stat-card-num {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--accent);
      line-height: 1;
    }
    .stat-card-label {
      font-size: 0.7rem;
      color: var(--text-secondary);
      font-weight: 500;
      margin-top: 3px;
    }
    .stat-card-1 {
      top: 40px;
      right: -30px;
      animation: float-card 5s ease-in-out infinite;
    }
    .stat-card-2 {
      bottom: 60px;
      left: -30px;
      animation: float-card 7s ease-in-out infinite reverse;
    }
    @keyframes float-card {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-12px); }
    }

    /* Decorative dots */
    .dots-grid {
      position: absolute;
      bottom: -20px; right: -40px;
      width: 120px; height: 120px;
      background-image: radial-gradient(rgba(79,142,247,0.3) 1.5px, transparent 1.5px);
      background-size: 16px 16px;
      opacity: 0.5;
    }

    /* ═══════════════════════════════════════════
       TECH STACK TICKER
    ═══════════════════════════════════════════ */
    #stack-ticker {
      position: relative;
      overflow: hidden;
      padding: 20px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: rgba(10,22,40,0.5);
    }
    #stack-ticker::before, #stack-ticker::after {
      content: '';
      position: absolute;
      top: 0; bottom: 0;
      width: 80px;
      z-index: 2;
    }
    #stack-ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-primary), transparent); }
    #stack-ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-primary), transparent); }

    .ticker-track {
      display: flex;
      gap: 0;
      animation: ticker 30s linear infinite;
      width: max-content;
    }
    @keyframes ticker {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .ticker-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 6px 28px;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-secondary);
      white-space: nowrap;
      letter-spacing: 0.03em;
    }
    .ticker-item i {
      color: var(--accent);
      font-size: 1rem;
    }
    .ticker-dot {
      width: 4px; height: 4px;
      background: var(--accent);
      border-radius: 50%;
      opacity: 0.4;
    }

    /* ═══════════════════════════════════════════
       SECTIONS SHARED
    ═══════════════════════════════════════════ */
    section { position: relative; z-index: 1; }
    .section-pad { padding: 100px 0; }

    /* ═══════════════════════════════════════════
       ABOUT SECTION
    ═══════════════════════════════════════════ */
    #about {
      background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    }
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 80px;
      align-items: start;
    }
    .about-img-wrapper {
      position: relative;
    }
    .about-img-frame {
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border-bright);
      background: var(--bg-card);
      box-shadow: var(--shadow-card);
    }
    .about-img-frame img {
      width: 100%;
      height: 380px;
      object-fit: cover;
      object-position: top center;
      display: block;
    }
    .about-exp-badge {
      position: absolute;
      bottom: -20px; right: -20px;
      background: var(--accent);
      color: #fff;
      padding: 18px 20px;
      border-radius: var(--radius-sm);
      text-align: center;
      box-shadow: 0 8px 32px rgba(79,142,247,0.4);
    }
    .about-exp-badge-num {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 2.2rem;
      font-weight: 800;
      line-height: 1;
    }
    .about-exp-badge-label {
      font-size: 0.72rem;
      font-weight: 600;
      opacity: 0.85;
      margin-top: 2px;
    }

    .about-body p {
      font-size: 1rem;
      color: var(--text-secondary);
      line-height: 1.8;
      margin-bottom: 16px;
    }

    .about-highlights {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin: 28px 0;
    }
    .highlight-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.9rem;
      color: var(--text-secondary);
    }
    .highlight-item i {
      color: var(--accent);
      margin-top: 2px;
      flex-shrink: 0;
    }

    .info-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 28px;
    }
    .info-item {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 14px 16px;
    }
    .info-item-label {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      font-weight: 600;
      margin-bottom: 4px;
    }
    .info-item-value {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-primary);
    }
    .info-item-value a {
      color: var(--accent);
      text-decoration: none;
    }
    .info-item-value a:hover { text-decoration: underline; }

    /* ═══════════════════════════════════════════
       SKILLS SECTION
    ═══════════════════════════════════════════ */
    #skills {
      background: var(--bg-secondary);
    }
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .skill-category {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px;
      transition: var(--transition);
    }
    .skill-category:hover {
      border-color: var(--border-bright);
      box-shadow: var(--shadow-glow);
      transform: translateY(-4px);
    }
    .skill-cat-icon {
      width: 48px; height: 48px;
      background: rgba(79,142,247,0.1);
      border: 1px solid rgba(79,142,247,0.2);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      color: var(--accent);
      margin-bottom: 16px;
    }
    .skill-cat-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 16px;
    }
    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .skill-tag {
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--text-secondary);
      background: rgba(79,142,247,0.06);
      border: 1px solid var(--border);
      padding: 5px 12px;
      border-radius: 6px;
      transition: var(--transition);
    }
    .skill-tag:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(79,142,247,0.1);
    }

    /* ═══════════════════════════════════════════
       PROJECTS SECTION
    ═══════════════════════════════════════════ */
    #projects {
      background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    }
    .projects-grid {
      display: grid;
      gap: 32px;
    }
    .project-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      transition: var(--transition);
      display: grid;
      grid-template-columns: 1fr 1fr;
      position: relative;
    }
    .project-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: var(--radius);
      background: linear-gradient(135deg, rgba(79,142,247,0.04) 0%, transparent 60%);
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
      z-index: 0;
    }
    .project-card:hover::before { opacity: 1; }
    .project-card:hover {
      border-color: var(--border-bright);
      box-shadow: 0 8px 48px rgba(79,142,247,0.18), 0 2px 16px rgba(0,0,0,0.4);
      transform: translateY(-6px);
    }
    .project-card.reverse { direction: rtl; }
    .project-card.reverse > * { direction: ltr; }

    .project-gallery {
      position: relative;
      overflow: hidden;
      background: var(--bg-secondary);
      min-height: 300px;
    }
    .project-gallery-main {
      width: 100%;
      height: 100%;
      position: absolute;
      inset: 0;
    }
    .project-gallery-main img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
    }
    .project-card:hover .project-gallery-main img {
      transform: scale(1.06);
      filter: brightness(1.05);
    }
    .project-gallery-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(5,9,20,0.15) 0%, rgba(5,9,20,0.65) 100%);
      z-index: 1;
    }
    /* Click-to-expand hint on gallery */
    .gallery-expand-hint {
      position: absolute;
      top: 12px;
      right: 12px;
      z-index: 3;
      background: rgba(10,22,40,0.75);
      backdrop-filter: blur(8px);
      border: 1px solid var(--border-bright);
      color: var(--text-secondary);
      font-size: 0.72rem;
      font-weight: 600;
      padding: 5px 10px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      gap: 5px;
      opacity: 0;
      transition: opacity 0.3s ease;
      cursor: pointer;
    }
    .project-card:hover .gallery-expand-hint { opacity: 1; }
    .project-thumb-strip {
      position: absolute;
      bottom: 12px;
      left: 12px;
      z-index: 2;
      display: flex;
      gap: 8px;
    }
    .thumb {
      width: 56px;
      height: 40px;
      border-radius: 6px;
      overflow: hidden;
      border: 1.5px solid rgba(255,255,255,0.18);
      cursor: pointer;
      flex-shrink: 0;
      transition: var(--transition);
    }
    .thumb:hover { border-color: var(--accent); transform: scale(1.08); box-shadow: 0 0 12px rgba(79,142,247,0.4); }
    .thumb img { width: 100%; height: 100%; object-fit: cover; }
    .thumb-count {
      width: 56px; height: 40px;
      background: rgba(10,22,40,0.85);
      backdrop-filter: blur(6px);
      border-radius: 6px;
      border: 1.5px solid rgba(79,142,247,0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--accent);
      cursor: pointer;
      transition: var(--transition);
    }
    .thumb-count:hover { background: rgba(79,142,247,0.15); border-color: var(--accent); }

    .project-content {
      padding: 36px 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      z-index: 1;
    }

    .project-number {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .project-number::before {
      content: '';
      display: inline-block;
      width: 20px;
      height: 1.5px;
      background: var(--accent);
      border-radius: 2px;
    }

    .project-title {
      font-size: 1.55rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 14px;
      line-height: 1.2;
    }

    .project-desc {
      font-size: 0.9rem;
      color: var(--text-secondary);
      line-height: 1.78;
      margin-bottom: 22px;
    }

    .project-tech-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 26px;
    }
    .project-tech-tag {
      font-size: 0.73rem;
      font-weight: 600;
      color: var(--accent);
      background: rgba(79,142,247,0.08);
      border: 1px solid rgba(79,142,247,0.2);
      padding: 5px 11px;
      border-radius: 6px;
      transition: var(--transition);
    }
    .project-tech-tag:hover {
      background: rgba(79,142,247,0.15);
      border-color: var(--accent);
    }

    .project-links {
      display: flex;
      gap: 12px;
    }
    .project-link {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 0.84rem;
      font-weight: 600;
      text-decoration: none;
      padding: 9px 20px;
      border-radius: 9px;
      transition: var(--transition);
    }
    .project-link.primary {
      background: var(--accent);
      color: #fff;
    }
    .project-link.primary:hover {
      background: var(--accent-bright);
      box-shadow: 0 0 24px var(--accent-glow);
      transform: translateY(-1px);
    }
    .project-link.ghost {
      background: rgba(79, 142, 247, 0.08);
      border: 1px solid var(--border-bright);
      color: var(--text-primary);
      cursor: pointer;
    }
    .project-link.ghost:hover {
      border-color: var(--accent);
      color: var(--accent-bright);
      background: rgba(79, 142, 247, 0.18);
      box-shadow: 0 0 20px rgba(79, 142, 247, 0.15);
      transform: translateY(-1px);
    }

    /* ═══════════════════════════════════════════
       EXPERIENCE / EDUCATION
    ═══════════════════════════════════════════ */
    #experience {
      background: var(--bg-primary);
    }
    .exp-edu-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
    }
    .timeline {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .timeline-heading {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 28px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .timeline-heading i {
      color: var(--accent);
    }
    .timeline-item {
      display: flex;
      gap: 16px;
      padding-bottom: 28px;
      position: relative;
    }
    .timeline-item::before {
      content: '';
      position: absolute;
      left: 15px;
      top: 32px;
      bottom: 0;
      width: 1px;
      background: linear-gradient(180deg, var(--border-bright) 0%, transparent 100%);
    }
    .timeline-item:last-child::before { display: none; }
    .timeline-dot {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(79,142,247,0.1);
      border: 2px solid var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 0.7rem;
      color: var(--accent);
      font-weight: 700;
    }
    .timeline-content {
      flex: 1;
    }
    .timeline-date {
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.07em;
      margin-bottom: 6px;
    }
    .timeline-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 4px;
    }
    .timeline-org {
      font-size: 0.875rem;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }
    .timeline-desc {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* ═══════════════════════════════════════════
       CONTACT SECTION
    ═══════════════════════════════════════════ */
    #contact {
      background: var(--bg-secondary);
    }
    .contact-wrapper {
      max-width: 760px;
      margin: 0 auto;
      text-align: center;
    }
    .contact-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin: 48px 0;
    }
    .contact-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px 20px;
      text-align: center;
      text-decoration: none;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }
    .contact-card:hover {
      border-color: var(--accent);
      box-shadow: 0 0 30px var(--accent-glow);
      transform: translateY(-4px);
    }
    .contact-card-icon {
      width: 52px; height: 52px;
      background: rgba(79,142,247,0.1);
      border: 1px solid rgba(79,142,247,0.2);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      color: var(--accent);
    }
    .contact-card-label {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      font-weight: 600;
    }
    .contact-card-value {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-primary);
      word-break: break-all;
    }
    .contact-card:hover .contact-card-value { color: var(--accent); }

    .contact-form-area {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 36px;
      text-align: left;
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 16px;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 16px;
    }
    .form-group label {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text-secondary);
      letter-spacing: 0.05em;
    }
    .form-input, .form-textarea {
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 12px 16px;
      font-size: 0.9rem;
      color: var(--text-primary);
      font-family: 'Inter', sans-serif;
      transition: var(--transition);
      outline: none;
      width: 100%;
    }
    .form-input:focus, .form-textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(79,142,247,0.1);
    }
    .form-textarea { resize: vertical; min-height: 120px; }
    .form-submit {
      width: 100%;
      background: var(--accent);
      color: #fff;
      border: none;
      padding: 14px;
      border-radius: 10px;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      font-family: 'Inter', sans-serif;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .form-submit:hover {
      background: var(--accent-bright);
      box-shadow: 0 0 24px var(--accent-glow);
      transform: translateY(-2px);
    }
    .form-submit.sent {
      background: #28a745;
      box-shadow: 0 0 24px rgba(40, 167, 69, 0.4);
      transform: none;
    }
    .form-submit.sent:hover {
      background: #2fbb56;
      transform: translateY(-2px);
    }

    /* ═══════════════════════════════════════════
       RESUME DOWNLOAD BTN
    ═══════════════════════════════════════════ */
    .btn-resume {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: transparent;
      color: var(--accent);
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 600;
      padding: 9px 18px;
      border-radius: 99px;
      border: 1.5px solid var(--accent);
      transition: var(--transition);
    }
    .btn-resume:hover {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 0 20px var(--accent-glow);
      transform: translateY(-1px);
    }

    /* ═══════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════ */
    footer {
      background: var(--bg-primary);
      border-top: 1px solid var(--border);
      padding: 32px 0;
      position: relative;
      z-index: 1;
    }
    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }
    .footer-logo {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text-primary);
      text-decoration: none;
    }
    .footer-logo span { color: var(--accent); }
    .footer-copy {
      font-size: 0.82rem;
      color: var(--text-muted);
    }
    .footer-socials {
      display: flex;
      gap: 10px;
    }

    /* ═══════════════════════════════════════════
       LIGHTBOX
    ═══════════════════════════════════════════ */
    .lightbox-overlay {
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgba(0,0,0,0.94);
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .lightbox-overlay.open { display: flex; }
    .lightbox-main-area {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      flex: 1;
    }
    .lightbox-img {
      max-width: 88vw;
      max-height: 80vh;
      border-radius: 12px;
      object-fit: contain;
      border: 1px solid var(--border-bright);
      box-shadow: 0 20px 80px rgba(0,0,0,0.6);
      transition: opacity 0.12s ease;
    }
    .lightbox-close {
      position: absolute;
      top: 20px; right: 20px;
      background: rgba(13,31,58,0.9);
      backdrop-filter: blur(8px);
      border: 1px solid var(--border-bright);
      color: var(--text-primary);
      width: 44px; height: 44px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 1.1rem;
      transition: var(--transition);
      z-index: 10;
    }
    .lightbox-close:hover {
      background: var(--accent);
      border-color: var(--accent);
      transform: rotate(90deg);
    }
    .lightbox-prev, .lightbox-next {
      position: absolute;
      top: 50%; transform: translateY(-50%);
      background: rgba(13,31,58,0.9);
      backdrop-filter: blur(8px);
      border: 1px solid var(--border-bright);
      color: var(--text-primary);
      width: 48px; height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 1rem;
      transition: var(--transition);
      z-index: 10;
    }
    .lightbox-prev { left: 24px; }
    .lightbox-next { right: 24px; }
    .lightbox-prev:hover, .lightbox-next:hover {
      background: var(--accent);
      border-color: var(--accent);
      transform: translateY(-50%) scale(1.08);
    }
    /* Lightbox bottom info bar */
    .lightbox-info {
      width: 100%;
      padding: 14px 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-shrink: 0;
    }
    .lightbox-caption {
      font-size: 0.875rem;
      color: var(--text-secondary);
      font-weight: 500;
    }
    .lightbox-counter {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--accent);
      background: rgba(79,142,247,0.1);
      border: 1px solid rgba(79,142,247,0.2);
      padding: 4px 12px;
      border-radius: 99px;
    }
    /* Thumbnail strip in lightbox */
    .lightbox-thumbs {
      display: flex;
      gap: 8px;
      padding: 0 80px 16px;
      overflow-x: auto;
      flex-shrink: 0;
      scrollbar-width: thin;
      scrollbar-color: var(--accent) transparent;
    }
    .lb-thumb {
      width: 60px;
      height: 42px;
      border-radius: 6px;
      overflow: hidden;
      border: 2px solid transparent;
      cursor: pointer;
      flex-shrink: 0;
      transition: var(--transition);
      opacity: 0.6;
    }
    .lb-thumb:hover { opacity: 0.85; border-color: var(--border-bright); }
    .lb-thumb.active { border-color: var(--accent); opacity: 1; }
    .lb-thumb img { width: 100%; height: 100%; object-fit: cover; }

    /* ═══════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════ */
    @media (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr; gap: 40px; }
      .hero-visual { order: -1; }
      .photo-frame-wrapper { width: 280px; height: 340px; }
      .stat-card-1 { right: 0; }
      .stat-card-2 { left: 0; }
      .about-grid { grid-template-columns: 1fr; }
      .skills-grid { grid-template-columns: 1fr 1fr; }
      .project-card { grid-template-columns: 1fr; }
      .project-card.reverse { direction: ltr; }
      .project-gallery { min-height: 220px; }
      .exp-edu-grid { grid-template-columns: 1fr; }
      .contact-cards { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
      .nav-links { display: none; }
      .nav-actions { display: none; }
      .nav-cta { display: none; }
      .hamburger { display: flex; }
    }

    @media (max-width: 600px) {
      .skills-grid { grid-template-columns: 1fr; }
      .about-highlights { grid-template-columns: 1fr; }
      .info-grid { grid-template-columns: 1fr; }
      .hero-title {
      font-family: 'Outfit', 'Space Grotesk', sans-serif; font-size: 2.4rem; }
      .section-title { font-size: 1.9rem; }
      .contact-form-area { padding: 24px 20px; }
    }

/* ═══════════════════════════════════════════
   NAV ACTIONS SPACING
═══════════════════════════════════════════ */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
