:root{
    --bg-1: #071226;
    --bg-2: #071b2f;
    --card: rgba(255,255,255,0.03);
    --muted: #98a6b3;
    --accent: #ff7a59;
    --accent-2: #3ec38f;
    --glass: rgba(255,255,255,0.03);
    --maxw: 1100px;
    --radius:12px;
    --easing:cubic-bezier(.2,.9,.2,1);
  }

  *{box-sizing:border-box}

  html,body{height:100%}

  body{
    margin:0;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
    background:linear-gradient(180deg,var(--bg-1),var(--bg-2));
    color:#eaf3fb;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.45;
  }

  a{color:inherit}
  .container{width:92%;
    max-width:var(--maxw);
    margin:0 auto}

  /* NAV */
  header{position:sticky;
    top:0;
    z-index:80;
    background:linear-gradient(180deg, rgba(4,8,16,0.45), rgba(4,8,16,0.25));
    backdrop-filter:blur(6px);
    border-bottom:1px solid rgba(255,255,255,0.02)}

  .nav{display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 0}

  .brand{display:flex;
    align-items:center;
    gap:12px}

  .logo{width:44px;
    height:44px;
    border-radius:10px;
    background:linear-gradient(135deg,var(--accent),var(--accent-2));
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;color:white}

  nav ul{display:flex;
    gap:14px;
    list-style:none;
    margin:0;padding:0}

  nav a{padding:8px 10px;
    border-radius:8px;
    color:var(--muted);
    text-decoration:none;
    font-weight:600;
    transition:all 240ms var(--easing)}

  nav a:hover, nav a.active{color:var(--accent);
    background:rgba(255,122,89,0.04)}

  .hamburger{display:none;
    width:44px;
    height:44px;
    border-radius:10px;
    background:var(--glass);
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,0.03);cursor:pointer}

  .hamburger span{width:18px;
    height:2px;
    background:var(--muted);
    display:block;
    position:relative}

  .hamburger span:before,.hamburger span:after{content:"";
    position:absolute;
    left:0;
    width:18px;
    height:2px;
    background:var(--muted)}

  .hamburger span:before{top:-6px}

  .hamburger span:after{top:6px}

  /* HERO */
  .hero{min-height:84vh;
    display:flex;
    align-items:center;
    padding:52px 0}

  .hero-grid{display:grid;
    grid-template-columns:1fr 380px;
    gap:38px;
    align-items:center}

  .hero h1{font-size:clamp(1.8rem,3.2vw,2.4rem);
    margin:0 0 6px}

  .hero .lead{color:var(--muted);
    margin-bottom:18px}

  .roles{font-weight:700;
    color:var(--accent)}

  .cta{display:flex;
    gap:12px;
    flex-wrap:wrap}

  .btn{display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 16px;
    border-radius:10px;
    background:linear-gradient(90deg,var(--accent),var(--accent-2));
    color:white;
    text-decoration:none;
    border:none;
    font-weight:700;
    cursor:pointer}

  .btn.ghost{background:transparent;
    border:1px solid rgba(255,255,255,0.04);
    color:var(--muted)}

  /* PROFILE CARD */
  .card{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    padding:18px;
    border-radius:var(--radius);
    border:1px solid rgba(255,255,255,0.03);
    box-shadow:0 12px 40px rgba(0,0,0,0.45)}

 .avatar {
  width: 100%;           
  border-radius: 10px;
  overflow: hidden;
  background: #0b2b3c;  
  text-align: center;
}

.avatar img {
  width: 100%;          
  height: auto;          
  display: block;
  object-fit: contain;  
  border-radius: 10px;
}
  .skill-list{display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px}

  .skill{background:rgba(255,255,255,0.02);
    padding:6px 8px;
    border-radius:8px;
    font-weight:600;
    color:var(--muted);
    font-size:0.9rem}

  /* ABOUT & SKILLS */
  section{padding:56px 0}

  .section-title{font-size:1.05rem;
    margin-bottom:10px}

  .muted{color:var(--muted)}

  /* PROJECTS GRID */
  .projects-grid{display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:18px}

  .project{position:relative;
    padding:14px;
    border-radius:12px;
    background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border:1px solid rgba(255,255,255,0.03);
    transition:transform 320ms var(--easing), box-shadow 320ms var(--easing);cursor:pointer}

  .project:hover{transform:translateY(-8px);
    box-shadow:0 22px 60px rgba(0,0,0,0.55)}

  .thumb{height:140px;
    border-radius:10px;
    background:linear-gradient(135deg,#05202b,#0b1b2b);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--muted);
    font-weight:600;
    margin-bottom:12px}

  .project h4{margin:6px 0}

  .meta{display:flex;
    gap:8px;
    flex-wrap:wrap}

  .tag{padding:6px 8px;
    border-radius:8px;background:rgba(255,255,255,0.02);
    font-weight:600;
    color:var(--muted);
    font-size:0.85rem}

  /* Modal */
  .modal{position:fixed;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    background:rgba(2,6,12,0.6);
    z-index:120}

  .modal.open{display:flex}

  .modal-card{width:92%;
    max-width:880px;
    background:linear-gradient(180deg,#071226,#071b2f);
    border-radius:12px;
    padding:18px;
    border:1px solid rgba(255,255,255,0.04)}

  .modal-header{display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px}

  .modal-body{margin-top:12px}

  .close-btn{background:transparent;
    border:1px solid rgba(255,255,255,0.04);
    padding:8px;
    border-radius:8px;
    color:var(--muted);
    cursor:pointer}

  /* CONTACT */
  .contact-grid{display:grid;
    grid-template-columns:1fr 340px;
    gap:20px}

  input,textarea{width:100%;
    padding:12px;
    border-radius:10px;
    border:1px solid rgba(255,255,255,0.04);
    background:transparent;
    color:inherit}

  textarea{min-height:140px}

  /* FOOTER */
  footer{padding:24px 0;
    text-align:center;
    color:var(--muted);
    border-top:1px solid rgba(255,255,255,0.02)}

  /* REVEAL */
  .reveal{opacity:0;
    transform:translateY(18px);
    transition:opacity 520ms var(--easing), transform 520ms var(--easing)}

  .reveal.in{opacity:1;
    transform:none}

  /* RESPONSIVE */
  @media (max-width:980px){
    .hero-grid{grid-template-columns:1fr 320px}
    nav ul{display:none}
    .hamburger{display:flex}
  }
  @media (max-width:720px){
    .hero-grid{grid-template-columns:1fr}
    .avatar{height:160px}
    .contact-grid{grid-template-columns:1fr}
  }