:root{
    --bg: #0b0f17;
    --card: #121a2a;
    --muted: rgba(255,255,255,.72);
    --text: rgba(255,255,255,.92);
    --line: rgba(255,255,255,.10);
    --accent: #7c5cff;
    --accent2:#2ee59d;
    --shadow: 0 16px 40px rgba(0,0,0,.35);
    --radius: 18px;
    --max: 1050px;
    --pad: 22px;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
  }
  
  *{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }
  body{
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial;
    background: radial-gradient(1200px 600px at 15% 10%, rgba(124,92,255,.22), transparent 55%),
                radial-gradient(900px 500px at 85% 20%, rgba(46,229,157,.14), transparent 55%),
                var(--bg);
    color: var(--text);
  }
  
  /* Links */
  a{ color: inherit; text-decoration: none; }
  a:hover{ text-decoration: underline; }
  
  /* Layout container */
  .container{
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
  }
  
  /* Header */
  .site-header{
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(11,15,23,.55);
    border-bottom: 1px solid var(--line);
  }
  
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding: 14px 0;
  }
  .logo{ font-weight: 800; letter-spacing: .3px; }
  .nav-links{ display:flex; gap: 10px; flex-wrap: wrap; }
  .nav-links a{
    padding: 8px 10px;
    border-radius: 10px;
  }
  .nav-links a:hover{
    background: rgba(255,255,255,.06);
    text-decoration:none;
  }
  
  /* Hero */
  .hero{ padding: 70px 0 40px; }
  .hero-grid{
    display:grid;
    gap: 22px;
    grid-template-columns: 1.5fr 0.9fr;
    align-items: start;
  }
  
  .badge{
    display:inline-block;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    color: var(--muted);
    font-size: 14px;
  }
  
  h1{
    font-size: clamp(34px, 5vw, 54px);
    margin: 14px 0 10px;
    line-height: 1.05;
  }
  
  .accent{
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip:text;
    background-clip:text;
    color: transparent;
  }
  
  .subtitle{
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
    max-width: 60ch;
    margin: 0;
  }
  
  .cta-row{
    display:flex;
    gap: 12px;
    margin: 18px 0 14px;
    flex-wrap: wrap;
  }
  
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(124,92,255,.95), rgba(46,229,157,.75));
    color: #081018;
    font-weight: 750;
    box-shadow: var(--shadow);
  }
  .btn:hover{ filter: brightness(1.03); text-decoration:none; }
  
  .btn-ghost{
    background: rgba(255,255,255,.06);
    border-color: var(--line);
    color: var(--text);
    box-shadow: none;
  }
  .btn-small{ padding: 10px 12px; border-radius: 12px; }
  
  /* Mini stats */
  .mini-stats{
    display:flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
  }
  .stat{
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    min-width: 130px;
  }
  .stat-num{ font-weight: 850; }
  .stat-label{ color: var(--muted); font-size: 13px; margin-top: 2px; }
  
  /* Sections */
  .section{ padding: 56px 0; }
  .section.alt{
    background: rgba(255,255,255,.02);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .section-head{ margin-bottom: 18px; }
  
  h2{
    font-size: 28px;
    margin: 0 0 6px;
  }
  .muted{ color: var(--muted); }
  .tiny{ font-size: 12px; }
  
  /* Grid */
  .grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  
  /* Card */
  .card{
    background: rgba(18,26,42,.72);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--pad);
    box-shadow: 0 10px 26px rgba(0,0,0,.22);
  
    /* helps equal heights + better spacing inside */
    display:flex;
    flex-direction:column;
    gap: 10px;
  }
  
  /* Card header (title + right-aligned link) */
  .card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 14px;
  }
  
  .project h3, .card h3{
    margin: 0;
    line-height: 1.25;
  }
  
  .project p{
    line-height: 1.65;
    margin: 0;
  }
  
  /* Links row */
  .links{
    display:flex;
    gap: 14px;
    color: rgba(255,255,255,.86);
    white-space: nowrap;
  }
  .links a{ opacity: .9; }
  .links a:hover{ opacity: 1; }
  
  /* Chips */
  .chip-row{
    display:flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
  }
  .chip{
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.86);
  }
  
  /* Profile card */
  .profile-card{ display:flex; flex-direction:column; gap: 10px; }
  .avatar{
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background:
      radial-gradient(circle at 25% 30%, rgba(124,92,255,.7), transparent 55%),
      radial-gradient(circle at 80% 70%, rgba(46,229,157,.5), transparent 55%),
      rgba(255,255,255,.08);
    border: 1px solid var(--line);
  }
  
  /* About layout */
  .about-grid{
    display:grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 14px;
    align-items: start;
  }
  
  /* Your existing “boxed rows” list (skills) */
  /* Skills: align all rows to the same two columns */
  .skill-list{
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display:flex;
    flex-direction:column;
    gap: 10px;
  }
  
  .skill-list li{
    display: grid;
    grid-template-columns: 120px 1fr; /* label column width */
    gap: 14px;
  
    align-items: start;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(179, 75, 75, 0.03);
  }
  
  .skill-list li > span:first-child{
    font-weight: 700;
    color: rgba(255,255,255,.88);
    white-space: nowrap; /* keeps “Data / BI” on one line */
  }
  
  .skill-list li > span:last-child{
    justify-self: start; /* prevents odd spacing */
    min-width: 0;        /* allows wrapping nicely */
  }
  
  /* Cleaner bullets for Experience (used by .bullet-list in the HTML I sent) */
  .bullet-list{
    margin: 6px 0 0;
    padding-left: 18px;
    color: rgba(255,255,255,.82);
    line-height: 1.6;
  }
  .bullet-list li{ margin: 8px 0; }
  
  /* Contact */
  .contact-card .label{
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .contact-row{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  
  /* Footer */
  .footer{
    padding: 30px 0;
    border-top: 1px solid var(--line);
    background: rgba(0,0,0,.12);
  }
  
  /* Academics section — 2-col grid, cards sit at top */
  #academics .grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  /* Responsive */
  @media (max-width: 900px){
    .hero-grid{ grid-template-columns: 1fr; }
    .grid{ grid-template-columns: 1fr; }
    .about-grid{ grid-template-columns: 1fr; }
    .contact-row{ grid-template-columns: 1fr; }
  
    .nav-links{ gap: 6px; }
  }
