:root {
      --ink: #0e0e0e;
      --off: #1a1a2e;
      --accent: #00c6ff;
      --accent2: #7b61ff;
      --surface: #f7f7fb;
      --card: #ffffff;
      --muted: #6b7280;
      --border: #e5e7eb;
      --grad: linear-gradient(135deg, #0e0e0e 0%, #1a1a2e 100%);
      --grad-accent: linear-gradient(135deg, #00c6ff 0%, #7b61ff 100%);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--surface);
      color: var(--ink);
      overflow-x: hidden;
    }

    h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; }

    /* ─── NAV ─── */
    nav {
      position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
      background: rgba(14,14,14,0.95);
      backdrop-filter: blur(12px);
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 5%;
      height: 64px;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .nav-logo a {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 1.2rem;
      color: #fff;
      text-decoration: none;
      display: flex; align-items: center; justify-content: center;
      width: 44px; height: 44px;
      background: var(--grad-accent);
      border-radius: 10px;
      letter-spacing: -0.5px;
    }
    .nav-links {
      display: flex; gap: 2rem; list-style: none;
    }
    .nav-links a {
      color: rgba(255,255,255,0.7);
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--accent); }

    @media(max-width:768px){
      .nav-links { display: none; }
    }

    /* ─── HERO / ABOUT ─── */
    #about {
      min-height: 100vh;
      background: var(--grad);
      display: flex; align-items: center;
      padding: 100px 5% 60px;
      position: relative;
      overflow: hidden;
    }

    #about::before {
      content: '';
      position: absolute;
      top: -200px; right: -200px;
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(0,198,255,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    #about::after {
      content: '';
      position: absolute;
      bottom: -150px; left: -150px;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(123,97,255,0.1) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-inner {
      max-width: 1100px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between;
      gap: 4rem; width: 100%;
      position: relative; z-index: 2;
    }
    .hero-text { flex: 1; }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: rgba(0,198,255,0.12);
      border: 1px solid rgba(0,198,255,0.3);
      border-radius: 100px;
      padding: 6px 16px;
      font-size: 0.78rem;
      color: var(--accent);
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 1.5rem;
    }
    .hero-badge::before {
      content: '';
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%,100%{ opacity:1; transform:scale(1); }
      50%{ opacity:0.5; transform:scale(1.4); }
    }

    .hero-name {
      font-size: clamp(2.5rem, 5vw, 4.2rem);
      font-weight: 800;
      color: #fff;
      line-height: 1.05;
      margin-bottom: 0.5rem;
    }
    .hero-name span {
      background: var(--grad-accent);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-tagline {
      font-size: 1.15rem;
      color: rgba(255,255,255,0.55);
      font-weight: 400;
      margin-bottom: 1.5rem;
      max-width: 500px;
      line-height: 1.7;
    }

    .hero-summary {
      color: rgba(255,255,255,0.75);
      font-size: 0.96rem;
      line-height: 1.8;
      max-width: 560px;
      margin-bottom: 2rem;
    }

    .hero-ctas {
      display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem;
    }
    .btn-primary {
      background: var(--grad-accent);
      color: #fff;
      border: none;
      padding: 12px 28px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex; align-items: center; gap: 0.5rem;
      transition: opacity 0.2s, transform 0.2s;
    }
    .btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

    .btn-outline {
      background: transparent;
      color: rgba(255,255,255,0.85);
      border: 1px solid rgba(255,255,255,0.25);
      padding: 11px 28px;
      border-radius: 8px;
      font-weight: 500;
      font-size: 0.9rem;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex; align-items: center; gap: 0.5rem;
      transition: border-color 0.2s, color 0.2s;
    }
    .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

    /* Social links */
    .social-links {
      display: flex; gap: 1rem; flex-wrap: wrap;
    }
    .social-link {
      display: flex; align-items: center; gap: 0.6rem;
      color: rgba(255,255,255,0.5);
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 500;
      padding: 8px 14px;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 8px;
      transition: all 0.2s;
    }
    .social-link:hover {
      color: #fff;
      border-color: rgba(255,255,255,0.3);
      background: rgba(255,255,255,0.06);
    }
    .social-link svg { flex-shrink: 0; }
    .social-link-label { font-size: 0.78rem; }

    /* Hero right — avatar-style box */
    .hero-card {
      flex-shrink: 0;
      width: 320px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 20px;
      padding: 2rem;
      backdrop-filter: blur(6px);
    }
    .hero-card-avatar {
      width: 80px; height: 80px;
      border-radius: 50%;
      background: var(--grad-accent);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Syne', sans-serif;
      font-size: 1.8rem;
      font-weight: 800;
      color: #fff;
      margin-bottom: 1.2rem;
    }
    .hero-card-name {
      font-size: 1.05rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0.25rem;
    }
    .hero-card-title {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.5);
      margin-bottom: 1.4rem;
    }
    .hero-card-stats {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
    }
    .stat-box {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 10px;
      padding: 12px 14px;
    }
    .stat-value {
      font-family: 'Syne', sans-serif;
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
      margin-bottom: 3px;
    }
    .stat-label {
      font-size: 0.7rem;
      color: rgba(255,255,255,0.45);
      font-weight: 500;
    }

    @media(max-width:900px){
      .hero-inner { flex-direction: column; text-align: left; }
      .hero-card { width: 100%; }
    }

    /* ─── SECTION WRAPPER ─── */
    section { padding: 80px 5%; }
    .section-inner { max-width: 1100px; margin: 0 auto; }
    .section-label {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent2);
      margin-bottom: 0.6rem;
    }
    .section-title {
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      font-weight: 800;
      color: var(--ink);
      line-height: 1.15;
      margin-bottom: 0.5rem;
    }
    .section-sub {
      color: var(--muted);
      font-size: 0.95rem;
      margin-bottom: 3rem;
      max-width: 560px;
    }

    /* ─── FEATURED SKILLS ─── */
    #skills { background: var(--grad); }
    #skills .section-label { color: var(--accent); }
    #skills .section-title { color: #fff; }
    #skills .section-sub { color: rgba(255,255,255,0.5); }

    .skills-hero-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }
    .skill-feature-card {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 16px;
      padding: 1.8rem;
      transition: transform 0.2s, border-color 0.2s;
    }
    .skill-feature-card:hover {
      transform: translateY(-4px);
      border-color: rgba(0,198,255,0.4);
    }
    .skill-feature-icon {
      width: 48px; height: 48px;
      border-radius: 12px;
      background: var(--grad-accent);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 1.1rem;
      font-size: 1.4rem;
    }
    .skill-feature-name {
      font-family: 'Syne', sans-serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0.5rem;
    }
    .skill-feature-desc {
      font-size: 0.84rem;
      color: rgba(255,255,255,0.5);
      line-height: 1.65;
      margin-bottom: 1rem;
    }
    .skill-tags {
      display: flex; flex-wrap: wrap; gap: 0.4rem;
    }
    .skill-tag {
      background: rgba(0,198,255,0.1);
      border: 1px solid rgba(0,198,255,0.2);
      color: var(--accent);
      font-size: 0.72rem;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 100px;
    }

    /* ─── WORK EXPERIENCE ─── */
    #experience { background: var(--surface); }
    .exp-timeline { position: relative; }
    .exp-timeline::before {
      content: '';
      position: absolute;
      left: 20px; top: 0; bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, var(--accent), var(--accent2));
      border-radius: 2px;
    }
    .exp-item {
      display: flex; gap: 2rem;
      margin-bottom: 2.5rem;
      padding-left: 60px;
      position: relative;
    }
    .exp-dot {
      position: absolute;
      left: 12px; top: 4px;
      width: 18px; height: 18px;
      border-radius: 50%;
      background: var(--grad-accent);
      border: 3px solid var(--surface);
      flex-shrink: 0;
    }
    .exp-content {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 1.8rem;
      flex: 1;
      transition: box-shadow 0.2s;
    }
    .exp-content:hover {
      box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    }
    .exp-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.3rem; }
    .exp-role {
      font-family: 'Syne', sans-serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--ink);
    }
    .exp-dates {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--accent2);
      background: rgba(123,97,255,0.08);
      border: 1px solid rgba(123,97,255,0.2);
      padding: 3px 12px;
      border-radius: 100px;
    }
    .exp-meta {
      display: flex; align-items: center; gap: 0.5rem;
      font-size: 0.85rem;
      color: var(--muted);
      margin-bottom: 1rem;
      flex-wrap: wrap;
    }
    .exp-meta strong { color: var(--ink); font-weight: 600; }
    .exp-meta .dot::before { content: '·'; margin: 0 0.3rem; }
    .exp-reporting {
      font-size: 0.78rem;
      color: var(--muted);
      font-style: italic;
      margin-bottom: 0.8rem;
      padding: 6px 12px;
      background: var(--surface);
      border-radius: 6px;
      border-left: 3px solid var(--accent);
    }
    .exp-bullets { list-style: none; }
    .exp-bullets li {
      font-size: 0.88rem;
      color: #374151;
      line-height: 1.7;
      padding: 5px 0 5px 1.2rem;
      position: relative;
      border-bottom: 1px solid var(--border);
    }
    .exp-bullets li:last-child { border-bottom: none; }
    .exp-bullets li::before {
      content: '';
      position: absolute;
      left: 0; top: 13px;
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--accent2);
    }

    /* ─── PROJECTS ─── */
    #projects { background: #fff; }
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
    }
    .project-card {
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 1.8rem;
      background: var(--card);
      transition: transform 0.2s, box-shadow 0.2s;
      display: flex; flex-direction: column;
    }
    .project-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(0,0,0,0.09);
    }
    .project-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
    .project-title {
      font-family: 'Syne', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--ink);
      flex: 1;
      margin-right: 1rem;
    }
    .project-date {
      font-size: 0.75rem;
      color: var(--muted);
      flex-shrink: 0;
      font-weight: 500;
    }
    .project-desc {
      font-size: 0.85rem;
      color: #4b5563;
      line-height: 1.7;
      margin-bottom: 1.2rem;
      flex: 1;
    }
    .project-tech {
      display: flex; flex-wrap: wrap; gap: 0.4rem;
      margin-bottom: 1.2rem;
    }
    .tech-tag {
      background: rgba(123,97,255,0.08);
      border: 1px solid rgba(123,97,255,0.18);
      color: var(--accent2);
      font-size: 0.7rem;
      font-weight: 600;
      padding: 3px 9px;
      border-radius: 100px;
    }
    .project-links { display: flex; gap: 0.75rem; }
    .project-link {
      display: inline-flex; align-items: center; gap: 0.4rem;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--accent2);
      text-decoration: none;
      padding: 5px 12px;
      border: 1px solid rgba(123,97,255,0.25);
      border-radius: 6px;
      transition: all 0.2s;
    }
    .project-link:hover {
      background: var(--accent2);
      color: #fff;
      border-color: var(--accent2);
    }

    /* ─── SKILLS SECTION (Detailed) ─── */
    #skillset { background: var(--surface); }
    .skills-categories {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.2rem;
    }
    .skill-cat-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 1.4rem;
    }
    .skill-cat-title {
      font-family: 'Syne', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.9rem;
      display: flex; align-items: center; gap: 0.5rem;
    }
    .skill-cat-icon { font-size: 1rem; }
    .skill-pill-list {
      display: flex; flex-wrap: wrap; gap: 0.4rem;
    }
    .skill-pill {
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--ink);
      font-size: 0.75rem;
      font-weight: 500;
      padding: 4px 11px;
      border-radius: 100px;
    }

    /* ─── EDUCATION ─── */
    #education { background: #fff; }
    .edu-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
    }
    .edu-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 1.8rem;
      position: relative;
      overflow: hidden;
    }
    .edu-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: var(--grad-accent);
    }
    .edu-degree {
      font-family: 'Syne', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.25rem;
    }
    .edu-school {
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--accent2);
      margin-bottom: 0.25rem;
    }
    .edu-meta {
      font-size: 0.8rem;
      color: var(--muted);
      margin-bottom: 1rem;
    }
    .edu-gpa {
      display: inline-flex; align-items: center; gap: 0.4rem;
      background: rgba(0,198,255,0.08);
      border: 1px solid rgba(0,198,255,0.2);
      color: #0ea5c9;
      font-size: 0.8rem;
      font-weight: 700;
      padding: 4px 12px;
      border-radius: 100px;
    }

    /* ─── CERTIFICATIONS ─── */
    #certifications { background: var(--surface); }
    .certs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.2rem;
    }
    .cert-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 1.5rem;
      display: flex; gap: 1rem; align-items: flex-start;
      transition: box-shadow 0.2s;
    }
    .cert-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); }
    .cert-badge-area {
      width: 56px; height: 56px;
      border-radius: 12px;
      background: var(--surface);
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      font-size: 1.6rem;
    }
    .cert-info { flex: 1; }
    .cert-name {
      font-family: 'Syne', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.2rem;
      line-height: 1.3;
    }
    .cert-issuer {
      font-size: 0.78rem;
      color: var(--muted);
      margin-bottom: 0.5rem;
    }
    .cert-date {
      font-size: 0.72rem;
      color: var(--accent2);
      font-weight: 600;
      margin-bottom: 0.5rem;
    }
    .cert-skills-mini {
      display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.5rem;
    }
    .cert-skill-tag {
      background: rgba(123,97,255,0.07);
      border: 1px solid rgba(123,97,255,0.15);
      color: var(--accent2);
      font-size: 0.65rem;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 100px;
    }
    .cert-verify {
      display: inline-flex; align-items: center; gap: 0.3rem;
      font-size: 0.72rem;
      color: #059669;
      font-weight: 600;
      text-decoration: none;
    }
    .cert-verify:hover { text-decoration: underline; }

    /* ─── CONNECT ─── */
    #connect {
      background: var(--grad);
      text-align: center;
      padding: 80px 5%;
    }
    #connect .section-label { color: var(--accent); }
    #connect .section-title { color: #fff; margin: 0 auto 1rem; max-width: 600px; }
    #connect .section-sub { color: rgba(255,255,255,0.55); margin: 0 auto 2.5rem; }

    .contact-form-wrapper {
      max-width: 600px;
      margin: 0 auto;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 20px;
      padding: 2.5rem;
      text-align: left;
    }
    .form-row { margin-bottom: 1.2rem; }
    .form-label {
      display: block;
      font-size: 0.8rem;
      font-weight: 600;
      color: rgba(255,255,255,0.7);
      margin-bottom: 0.5rem;
    }
    .form-input, .form-textarea {
      width: 100%;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 8px;
      padding: 12px 16px;
      color: #fff;
      font-size: 0.9rem;
      font-family: 'Inter', sans-serif;
      outline: none;
      transition: border-color 0.2s;
    }
    .form-input:focus, .form-textarea:focus {
      border-color: var(--accent);
    }
    .form-input::placeholder, .form-textarea::placeholder {
      color: rgba(255,255,255,0.3);
    }
    .form-textarea { resize: vertical; min-height: 120px; }
    .form-footer {
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
      margin-top: 1.5rem;
    }
    .direct-email {
      font-size: 0.84rem;
      color: rgba(255,255,255,0.5);
    }
    .direct-email a {
      color: var(--accent);
      text-decoration: none;
      font-weight: 600;
    }
    .direct-email a:hover { text-decoration: underline; }

    /* ─── FOOTER ─── */
    footer {
      background: #0a0a0f;
      color: rgba(255,255,255,0.35);
      text-align: center;
      padding: 24px 5%;
      font-size: 0.8rem;
    }
    footer a { color: var(--accent); text-decoration: none; }

    /* ─── FADE IN ANIMATION ─── */
    .fade-up {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }
    .fade-up.visible {
      opacity: 1;
      transform: none;
    }

    .divider {
      height: 1px;
      background: var(--border);
      margin: 2rem 0;
    }

    /* ─── HAMBURGER BUTTON ─── */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 40px;
      height: 40px;
      background: transparent;
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 8px;
      cursor: pointer;
      padding: 6px;
      z-index: 200;
    }
    .nav-hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: #fff;
      border-radius: 2px;
      transition: all 0.3s ease;
      transform-origin: center;
    }
    .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    @media(max-width:768px){
      .nav-hamburger { display: flex; }

      .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(14,14,14,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        z-index: 99;
        list-style: none;
      }
      .nav-links.open { display: flex; }
      .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.05); }
      .nav-links li:last-child { border-bottom: none; }
      .nav-links a {
        display: block;
        padding: 14px 5%;
        font-size: 1rem;
        color: rgba(255,255,255,0.8);
      }
      .nav-links a:hover { color: var(--accent); }
      .nav-resume {
        margin: 0.75rem 5% 0 !important;
        display: inline-block !important;
        padding: 10px 20px !important;
        background: linear-gradient(135deg,#00c6ff,#7b61ff) !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        color: #fff !important;
      }
    }
