
/* style */
    :root {
      --bg: #071029;
      --card: rgba(255,255,255,0.04);
      --glass: rgba(255,255,255,0.06);
      --accent-1: #00d2ff;
      --accent-2: #0072ff;
      --muted: #9fb3c8;
      --glass-border: rgba(255,255,255,0.06);
      --radius: 14px;
      --glass-blur: 8px;
      --max-w: 1100px;
      --shadow: 0 10px 30px rgba(2,8,23,0.6);
      --glass-shadow: 0 6px 24px rgba(0,114,255,0.08);
      --glass-glow: 0 0 30px rgba(0,210,255,0.06);
      --ff-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
      --ff-mono: 'JetBrains Mono', monospace;
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      height: 100%;
    }

    body {
      margin: 0;
      font-family: var(--ff-sans);
      background:
        radial-gradient(1200px 600px at 10% 10%, rgba(0,210,255,0.03), transparent 7%),
        linear-gradient(180deg,#061024 0%, #041726 60%);
      color: #E6F0F6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      line-height: 1.45;
      scroll-behavior: smooth;
      padding-top: 72px;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    header {
      position: fixed;
      left: 0;
      right: 0;
      top: 0;
      height: 72px;
      z-index: 999;
      backdrop-filter: blur(6px);
      background: linear-gradient(180deg, rgba(7,16,41,0.6), rgba(7,16,41,0.35));
      border-bottom: 1px solid rgba(255,255,255,0.03);
      box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    }

    .nav {
      max-width: var(--max-w);
      margin: 0 auto;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 20px;
    }

    .brand {
      display: flex;
      gap: 12px;
      align-items: center;
      font-weight: 700;
      color: var(--accent-1);
      letter-spacing: 0.6px;
      font-size: 1.05rem;
    }

    .brand .logo {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
      box-shadow: var(--glass-glow);
      display: grid;
      place-items: center;
      color: #021226;
      font-weight: 800;
      font-family: var(--ff-mono);
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 18px;
      align-items: center;
      margin: 0;
      padding: 0;
    }

    nav a.nav-link {
      padding: 8px 10px;
      color: var(--muted);
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.95rem;
      transition: all .22s ease;
    }

    nav a.nav-link:hover {
      color: #EAF6FF;
      transform: translateY(-2px);
    }

    nav a.nav-link.active {
      display: flex;
      background: linear-gradient(90deg, rgba(0,210,255,0.06), rgba(0,114,255,0.04));
      color: var(--accent-1);
      transition: all .2s ease;
      box-shadow: inset 0 -2px 16px rgba(0,114,255,0.02);
    }

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

    .cta {
      background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
      padding: 8px 14px;
      border-radius: 10px;
      color: #021226;
      font-weight: 700;
      box-shadow: var(--glass-glow);
    }

    .hamburger {
        display: none;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        transition: all 0.3s ease;
    }

    .hamburger span {
        width: 28px;
        height: 2px;
        background: #ffffff;
        transition: 0.3s ease;
    }

    .hamburger.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .wrap {
      max-width: var(--max-w);
      margin: 0 auto;
      padding: 48px 20px;
    }

    .hero {
      display: grid;
      grid-template-columns: 1fr 420px;
      gap: 28px;
      align-items: center;
      min-height: calc(100vh - 120px);
    }

    .hero-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
      border-radius: var(--radius);
      padding: 28px;
      box-shadow: var(--shadow);
      border: 1px solid var(--glass-border);
      backdrop-filter: blur(var(--glass-blur));
      position: relative;
      overflow: visible;
    }

    .kicker {
      display: inline-block;
      font-size: 0.85rem;
      color: var(--accent-1);
      background: rgba(0,210,255,0.06);
      padding: 6px 10px;
      border-radius: 999px;
      margin-bottom: 14px;
      font-weight: 700;
    }

    h1 {
      font-size: clamp(1.6rem, 3.6vw, 2.6rem);
      margin: 6px 0 8px;
      line-height: 1.02;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #EAF6FF;
    }

    .headline-sub {
      font-family: var(--ff-mono);
      font-weight: 500;
      font-size: 0.95rem;
      color: var(--muted);
      margin-bottom: 16px;
    }

    .intro {
      font-size: 1rem;
      color: #C8E9FF;
      margin-bottom: 18px;
    }

    .typed {
      color: var(--accent-1);
      font-weight: 700;
      font-family: var(--ff-mono);
    }

    .typed::after {
      content: '|';
      animation: blink 0.7s infinite;
    }

    @keyframes blink {
      0%,
      50%,
      100% {
        opacity: 1;
      }

      25%,
      75% {
        opacity: 0;
      }
    }

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

    .btn {
      background: transparent;
      border: 1px solid rgba(255,255,255,0.06);
      padding: 10px 14px;
      border-radius: 10px;
      color: var(--muted);
      font-weight: 600;
      transition: all .18s ease;
    }

    .btn.primary {
      background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
      color: #021226;
      border: none;
      box-shadow: var(--glass-glow);
      cursor: pointer;
    }

    .btn:hover {
      background: #0072ff;
      color: #fff;
      transform: translateY(-3px);
    }

    .btn.primary {
      background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
      color: #021226;
      border: none;
      box-shadow: var(--glass-glow);
      transform: translateY(-3px);
    }

    .profile {
      display: flex;
      gap: 16px;
      align-items: center;
      justify-content: center;
      padding: 18px;
      position: relative;
    }

    .profile .photo {
      width: 220px;
      height: 220px;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.04);
      box-shadow: 0 8px 28px rgba(0,114,255,0.08);
      background: linear-gradient(180deg, rgba(0,210,255,0.03), rgba(0,114,255,0.02));
      display: grid;
      place-items: center;
    }

    .profile .photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .contact-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
      border-radius: 12px;
      padding: 10px 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      align-items: flex-start;
      width: 260px;
      border: 1px solid rgba(255,255,255,0.03);
    }

    .contact-card strong {
      color: var(--accent-1);
    }

    section {
      margin: 48px 0;
      opacity: 0;
      transform: translateY(12px);
      transition: all 600ms cubic-bezier(.2,.9,.3,1);
      will-change: opacity, transform;
    }

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

    .section-head {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 18px;
    }

    .section-head h2 {
      margin: 0;
      font-size: 1.6rem;
      color: #EAF6FF;
      font-weight: 700;
    }

    .section-head p {
      margin: 0;
      color: var(--muted);
      font-size: 0.95rem;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 18px;
      margin-top: 14px;
    }

    .card {
      background: var(--card);
      border-radius: 12px;
      padding: 14px;
      border: 1px solid rgba(255,255,255,0.03);
      box-shadow: var(--glass-shadow);
      transition: transform .22s ease, box-shadow .22s ease;
      overflow: hidden;
    }

    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 18px 50px rgba(0,114,255,0.08);
    }

    .card .thumb {
      break-inside: avoid;
      width: 100%;
      height: 160px;
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 12px;
      background: linear-gradient(90deg, var(--accent-2), rgba(0,210,255,0.06));
      transition: transform 0.3s eases;
    }
    .card .thumb:hover img {
      break-inside: avoid;
      transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
      transform: scale(1.1);
    }

    .card h3 {
      margin: 0 0 6px;
      font-size: 1.05rem;
      color: #EAF6FF;
    }

    .card p {
      margin: 0;
      color: var(--muted);
      font-size: 0.95rem;
    }

    .skills-grid {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 20px;
      align-items: start;
    }

    .skills-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .skill-pill {
      background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
      padding: 8px 10px;
      border-radius: 999px;
      color: var(--muted);
      font-weight: 600;
      border: 1px solid rgba(255,255,255,0.02);
    }

    .skill-bar {
      margin-top: 10px;
    }

    .skill-bar .label {
      display: flex;
      justify-content: space-between;
      font-size: 0.9rem;
      color: var(--muted);
    }

    .skill-bar .track {
      height: 10px;
      background: rgba(255,255,255,0.03);
      border-radius: 999px;
      margin-top: 6px;
      overflow: hidden;
    }

    .skill-bar .fill {
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
      transform-origin: left;
      transition: width 1.2s ease-in-out;
      width: 0%;
    }

    .timeline {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .timeline-item {
      display: flex;
      gap: 14px;
      align-items: flex-start;
      background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
      padding: 12px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.02);
    }

    .timeline-item .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      margin-top: 6px;
      background: var(--accent-1);
      box-shadow: 0 6px 18px rgba(0,210,255,0.06);
    }

    .timeline-item h4 {
      margin: 0 0 4px;
      font-size: 1rem;
      color: #EAF6FF;
    }

    .timeline-item p {
      margin: 0;
      color: var(--muted);
      font-size: 0.95rem;
    }

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

    .testimonial {
      min-width: 300px;
      max-width: 640px;
      background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
      border-radius: 12px;
      padding: 18px;
      border: 1px solid rgba(255,255,255,0.02);
      box-shadow: var(--glass-shadow);
    }

    .testimonial p {
      color: var(--muted);
      margin-bottom: 10px;
    }

    .testimonial .meta {
      font-weight: 700;
      color: #EAF6FF;
      font-size: 0.95rem;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 360px;
      gap: 18px;
      align-items: start;
    }

    .contact-form {
      background: var(--card);
      padding: 16px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.03);
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 12px;
    }

    .field label {
      font-size: 0.9rem;
      color: var(--muted);
    }

    .field input,
    .field textarea {
      padding: 10px 12px;
      border-radius: 10px;
      border: 1px solid rgba(255,255,255,0.03);
      background: transparent;
      color: #EAF6FF;
      outline: none;
      resize: vertical;
    }

    .field textarea {
      font-family: var(--ff-mono);
      min-height: 120px;
    }

    .contact-side {
      padding: 16px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.03);
      background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
    }

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

    footer {
      margin-top: 40px;
      padding: 28px 0;
      border-top: 1px solid rgba(255,255,255,0.02);
      color: var(--muted);
      text-align: center;
    }

    @media (max-width: 980px) {
      .hero {
        grid-template-columns: 1fr;
        min-height: auto;
      }

      .skills-grid {
        grid-template-columns: 1fr;
      }

      .contact-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 600px) {
      .nav {
        padding: 1rem;
      }

      .nav-right ul {
        flex-direction: column;
        gap: 1.5rem;
        background: var(--bg);
        position: fixed;
        top: 0;
        right: -260px;
        width: 220px;
        height: 100vh;
        padding: 4rem 1.5rem;
        box-shadow: -5px 0 15px var(--glass-shadow);
        transition: right 0.3s ease;
        z-index: 100;
      }

      .nav-right ul.active {
        right: 0;
      }

      .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        background: var(--bg);
        position: fixed;
        top: 0;
        right: -260px;
        width: 220px;
        height: 100vh;
        padding: 4rem 1.5rem;
        box-shadow: -5px 0 15px var(--glass-shadow);
        transition: linear .5s ease;
        z-index: 100;
      }

      .nav-links.active {
        right: 0;
      }

      .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        display: none;
      }

      .nav-links.active {
        display: flex;
      }

      .hamburger {
        display: flex;
      }

      .hero {
        grid-template-columns: 1fr;
        min-height: auto;
      }

      .skills-grid {
        grid-template-columns: 1fr;
      }

      .contact-grid {
        grid-template-columns: 1fr;
      }

      .nav-right .cta {
        display: none;
      }

      .profile .photo {
        width: 160px;
        height: 160px;
      }
    }

    .muted-inline {
      color: var(--muted);
      font-size: 0.9rem;
    }

    ::-webkit-scrollbar {
      width: 5px;
      height: 5px;
    }

    ::-webkit-scrollbar-track {
      background: var(--bg);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--accent-2);
      border-radius: 999px;
    }

     #backToTop {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent-2);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease,transform 0.3s ease,background 0.25s ease;
    box-shadow: 0 10px 30px rgba(99,102,241,0.35);
    z-index: 999;
  }

  #backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #backToTop:hover {
    background: var(--accent-1);
    transform: translateY(-2px);
  }
