  /* Reset */
  * {
    box-sizing: border-box;
    margin: 0; padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  }

  body {
    background: #fff;
    color: #111;
    transition: background-color 0.3s, color 0.3s;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }
  body.dark {
    background: #121212;
    color: #eee;
  }

  header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    width: 100%;
    max-width: 700px;
  }

  /* Circular hero image */
  .hero-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
  }
  .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-img:hover {
    transform: scale(1.05);
  }

  h1 {
    font-weight: 900;
    font-size: 2.5rem;
    letter-spacing: -0.05em;
  }
  h2 {
    font-weight: 600;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
  }
  body.dark h2 {
    color: #aaa;
  }

  /* Sections container */
  .sections {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
  }

  section {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 2px 12px rgb(0 0 0 / 0.08);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: default;
  }
  body.dark section {
    background: #1e1e1e;
    box-shadow: 0 2px 12px rgb(255 255 255 / 0.05);
  }

  section:hover {
    box-shadow: 0 8px 20px rgb(0 0 0 / 0.2);
  }

  section a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    display: block;
    height: 100%;
  }

  h3 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }
  p {
    line-height: 1.5;
    color: #444;
  }
  body.dark p {
    color: #ccc;
  }

  /* Social icons bottom-right */
  .social-bar {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
  }
  .social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f5f5f7;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
    color: #111;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  .social-bar a:hover {
    background: #0077ff;
    color: white;
  }
  body.dark .social-bar a {
    background: #2a2a2a;
    color: #eee;
  }
  body.dark .social-bar a:hover {
    background: #3399ff;
    color: white;
  }

  /* Social icons SVG */
  .social-bar svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }

  /* Dark mode toggle */
  .dark-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: #f5f5f7;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.15);
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1100;
  }
  .dark-toggle:hover {
    background: #0077ff;
    color: white;
  }
  body.dark .dark-toggle {
    background: #2a2a2a;
    color: #eee;
  }
  body.dark .dark-toggle:hover {
    background: #3399ff;
    color: white;
  }
      .resume-btn {
      display: inline-block;
      padding: 0.75rem 1.5rem;
      border: 2px solid #111827;
      border-radius: 9999px;
      text-decoration: none;
      font-weight: 600;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    .resume-btn:hover {
      background-color: #111827;
      color: white;
    }
