
    :root {
      --bg:        #020049;
      --sidebar:   #2d2960;
      --card:      #cee9ff;
      --text:      #ffffff;
      --muted:     #7a776f;
      --accent:    #ffffff;
      --border:    #b8b4ac;
      --tag-bg:    #e2ded8;
      --link:      #c8e6fd;
      --pill:      #2c2c28;
      --pill-fg:   #f5f2ee;
    }

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

    html, body {
      height: 100%;
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow: hidden;
    }

    /* ── Layout ──────────────────────────────────── */
    #app {
      display: flex;
      height: 100vh;
    }

    /* ── Sidebar ─────────────────────────────────── */
    #sidebar {
      width: 100px;
      background: var(--sidebar);
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px 0 28px;
      gap: 6px;
      position: fixed;
      top: 0; left: 0; bottom: 0;
      z-index: 200;
      border-right: 1px solid var(--border);
    }

    .logo-mark {
      width: 42px; height: 42px;
      background: var(--accent);
      border-radius: 10px;
      margin-bottom: 18px;
      display: flex; align-items: center; justify-content: center;
    }
    .logo-mark span {
      font-family: 'DM Serif Display', serif;
      color: #f5f2ee;
      font-size: 18px;
      letter-spacing: -1px;
    }

    .side-btn {
      width: 72px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      padding: 10px 6px;
      border-radius: 12px;
      cursor: pointer;
      transition: background 0.18s;
      opacity: 0.55;
      border: none;
      background: transparent;
    }
    .side-btn:hover { opacity: 0.85; background: rgba(44,44,40,0.08); }
    .side-btn.active { opacity: 1; background: rgba(44,44,40,0.14); }

    .side-btn .icon-wrap {
      width: 46px; height: 46px;
      border: 1.5px solid var(--accent);
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.18s, border-color 0.18s;
    }
    .side-btn.active .icon-wrap,
    .side-btn:hover .icon-wrap {
      background: var(--accent);
    }
    .side-btn svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.18s; }
    .side-btn.active svg, .side-btn:hover svg { stroke: #05005e; }

    .side-btn .side-label {
      font-size: 10px;
      font-weight: 500;
      color: var(--text);
      letter-spacing: 0.3px;
    }

    /* ── Main content ────────────────────────────── */
    #main {
      margin-left: 100px;
      flex: 1;
      overflow-y: auto;
      height: 100vh;
      scroll-behavior: smooth;
    }

    /* ── Profile Header ──────────────────────────── */
    #profile-header {
      padding: 40px 52px 32px;
      display: flex;
      gap: 36px;
      align-items: flex-start;
      border-bottom: 1px solid var(--border);
      background: var(--bg);
      animation: fadeUp 0.55s ease both;
    }

    .avatar-ring {
      width: 118px; height: 118px;
      border-radius: 50%;
      border: 3px solid var(--accent);
      overflow: hidden;
      flex-shrink: 0;
      background: var(--accent);
      display: flex; align-items: center; justify-content: center;
    }
    .avatar-ring img {
      width: 100%; height: 100%;
      object-fit: cover;
      
    }
   

    .profile-details h1 {
      font-family: 'DM Serif Display', serif;
      font-size: 34px;
      font-weight: 400;
      letter-spacing: -0.5px;
      color: var(--text);
      line-height: 1.1;
    }
    .profile-details .handle {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--muted);
      margin: 6px 0 4px;
    }
    .tagline {
      font-size: 15px;
      font-style: italic;
      color: var(--muted);
      margin-bottom: 14px;
    }
    .bio-lines { margin-bottom: 10px; }
    .bio-line {
      font-size: 13px;
      color: var(--text);
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .bio-line .em { font-size: 14px; }

    .ext-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
    .ext-link {
      font-size: 12px;
      color: var(--link);
      text-decoration: none;
      display: flex; align-items: center; gap: 5px;
      transition: color 0.15s;
    }
    .ext-link:hover { color: white; text-decoration: underline; }
    .ext-link::before { content: "🔗"; font-size: 11px; }

    .action-row { display: flex; gap: 14px; }
    .btn {
      padding: 11px 42px;
      border-radius: 50px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      border: 1.5px solid var(--accent);
      transition: all 0.18s;
      letter-spacing: 0.3px;
    }
    .btn:active { transform: scale(0.97); }
    .btn-filled { background: var(--accent); color: #0d00ff; }
    .btn-filled:hover { background: #d2c9ff; }
    .btn-ghost { background: transparent; color: var(--accent); }
    .btn-ghost:hover { background: var(--accent); color: #f5f2ee; }

    /* ── Tab Bar ─────────────────────────────────── */
    #tab-bar {
      display: flex;
      border-bottom: 1px solid var(--border);
      padding: 0 52px;
      background: #0b004b;
      position: sticky;
      justify-content: center;
      top: 0;
      z-index: 100;
    }
    .tab {
      padding: 13px 26px 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      font-weight: 500;
      color: var(--muted);
      cursor: pointer;
      border-bottom: 2.5px solid transparent;
      transition: color 0.18s, border-color 0.18s;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }
    .tab svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .tab:hover { color: var(--text); }
    .tab.active { color: var(--text); border-bottom-color: var(--accent); }

    /* ── Sections ────────────────────────────────── */
    .section {
      padding: 36px 52px;
      animation: fadeUp 0.4s ease both;
    }
    .section-title {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 22px;
    }

    /* ── Photo Grid ──────────────────────────────── */
    .photo-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 5px;
    }
    .photo-cell {
      aspect-ratio: 1 / 1;
      border-radius: 6px;
      overflow: hidden;
      cursor: pointer;
      position: relative;
      transition: opacity 0.2s, transform 0.2s;
    }
    .photo-cell:hover { opacity: 0.88; transform: scale(0.985); }
    .photo-cell img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
    }
    .photo-cell .photo-overlay {
      position: absolute; inset: 0;
      background: rgba(28,28,26,0);
      display: flex; align-items: flex-end;
      padding: 10px;
      transition: background 0.2s;
    }
    .photo-cell:hover .photo-overlay { background: rgba(28,28,26,0.3); }
    .photo-label {
      background: rgba(28,28,26,0.6);
      color: #f5f2ee;
      font-size: 10px;
      font-weight: 500;
      padding: 3px 9px;
      border-radius: 4px;
      opacity: 0;
      transform: translateY(4px);
      transition: opacity 0.2s, transform 0.2s;
    }
    .photo-cell:hover .photo-label { opacity: 1; transform: translateY(0); }

    /* placeholder tiles when no img */
    .photo-placeholder {
      width: 100%; height: 100%;
      display: flex; align-items: center; justify-content: center;
      font-size: 28px;
    }

    /* ── Project Cards ───────────────────────────── */
    .project-card {
      background: #040320;
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 22px 26px;
      margin-bottom: 14px;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      cursor: pointer;
      transition: box-shadow 0.2s, transform 0.2s;
      text-decoration: none;
      color: inherit;
    }
    .project-card:hover {
      box-shadow: 0 6px 24px rgba(44,44,40,0.1);
      transform: translateY(-2px);
    }
    .project-card h4 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
    .project-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }
    .tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 500;
      padding: 3px 10px;
      background: var(--tag-bg);
      color: var(--muted);
      border-radius: 20px;
      margin: 8px 5px 0 0;
    }
    .arrow-icon {
      color: var(--muted);
      font-size: 20px;
      margin-top: 2px;
      flex-shrink: 0;
      transition: transform 0.18s, color 0.18s;
    }
    .project-card:hover .arrow-icon { transform: translate(3px,-3px); color: var(--accent); }

    /* ── Cert Cards ──────────────────────────────── */
    .cert-card {
      background: #020049;
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 18px 24px;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 18px;
      cursor: pointer;
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .cert-card:hover { box-shadow: 0 6px 24px rgba(44,44,40,0.09); transform: translateY(-2px); }
    .cert-icon {
      width: 46px; height: 46px;
      border-radius: 11px;
      background: #05005e;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .cert-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .cert-card h4 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
    .cert-card p { font-size: 12px; color: var(--muted); }

    /* ── Skills ──────────────────────────────────── */
    .skill-group { margin-bottom: 26px; }
    .skill-group-title {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 12px;
    }
    .skill-pills { display: flex; flex-wrap: wrap; gap: 9px; }
    .skill-pill {
      padding: 8px 18px;
      border-radius: 30px;
      font-size: 13px;
      font-weight: 500;
      cursor: default;
    }
    .pill-dark { background: var(--accent); color: #05005e; }
    .pill-light { background: var(--card); color: #05005e; border: 1.5px solid var(--border); }

    /* ── About ───────────────────────────────────── */
    .about-text {
      font-size: 15px;
      color: var(--text);
      line-height: 1.85;
      max-width: 640px;
    }
    .about-text p { margin-bottom: 18px; }
    .about-text strong { font-weight: 600; color: var(--accent); }

    /* ── Contact ─────────────────────────────────── */
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
      max-width: 580px;
    }
    .contact-card {
      background: #05005e;
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 18px 20px;
      display: flex;
      align-items: center;
      gap: 16px;
      text-decoration: none;
      color: inherit;
      transition: box-shadow 0.2s, transform 0.2s;
      cursor: pointer;
    }
    .contact-card:hover { box-shadow: 0 6px 24px rgba(44,44,40,0.09); transform: translateY(-2px); }
    .contact-card-icon {
      width: 44px; height: 44px;
      border-radius: 11px;
      background: #05005e;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .contact-card-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .contact-card h5 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
    .contact-card p { font-size: 12px; color: var(--muted); }

    /* ── Footer ──────────────────────────────────── */
    footer {
      padding: 30px 52px;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      background: #090031;
      margin-top: 10px;
    }
    .footer-col { display: flex; flex-direction: column; gap: 8px; }
    .footer-col span {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 6px;
    }
    .footer-link {
      font-size: 13px;
      color: var(--text);
      text-decoration: none;
      cursor: pointer;
      transition: color 0.15s;
    }

    .certilink{
      text-decoration: none;
    }
    .footer-link:hover { color: #c8e6fd; }

    /* ── Utility ─────────────────────────────────── */
    .hidden { display: none !important; }

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

    /* ── Scrollbar ───────────────────────────────── */
    #main::-webkit-scrollbar { width: 5px; }
    #main::-webkit-scrollbar-track { background: transparent; }
    #main::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

    /* ── Responsive: mobile ──────────────────────── */
    @media (max-width: 640px) {
      #sidebar { width: 72px; }
      #main { margin-left: 72px; }
      #profile-header { padding: 24px 20px; flex-direction: column; }
      .section { padding: 24px 20px; }
      #tab-bar { padding: 0 20px; }
      footer { padding: 24px 20px; flex-direction: column; gap: 24px; }
      .contact-grid { grid-template-columns: 1fr; }
      .action-row { flex-direction: column; }
    }
