body {
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
      background-color: #f8f9fb;
      color: #222;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      min-height: 100vh;
    }

.super-heading {
    font-size: 30px;
}

    .super-heading img.logo-img {
      max-width: 700px;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    .visually-hidden {
      position: absolute;
      left: -9999px;
    }

    header {
      text-align: center;
      margin-top: 12vh;
    }

    h1 {
      font-size: 2.8rem;
      margin-bottom: 0.4rem;
    }

    h2 {
      font-weight: 400;
      font-size: 1.3rem;
      color: #555;
      margin-top: 0;
    }

    .content {
      max-width: 700px;
      text-align: center;
      padding: 2rem;
      line-height: 1.6;
    }

    .cta-section {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      margin-top: 1.5rem;
      flex-wrap: wrap;
    }

    .cta-icons {
      display: flex;
      gap: 0.6rem;
      align-items: center;
    }

a.button {
    display: inline-block;
    margin: 0.4rem;
    padding: 0.75rem 1.4rem;
    background: #7a5ce0;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.25s;
}

    a.button:hover {
      background: #004bcc;
    }

    .icon-btn {
      width:40px;
      height:40px;
      border-radius:50%;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      background:var(--icon-bg);
      border:1px solid var(--line);
      transition:filter .2s ease, background .2s ease;
    }

    .icon-btn:hover {
      filter:brightness(0.95);
      transform: scale(1.1);
      opacity: 0.8;
    }

    .icon-btn img {
      width: 20px;
      height:20px;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    footer {
      margin-top: auto;
      text-align: center;
      padding: 2rem;
      font-size: 0.9rem;
      color: #777;
    }

    footer a {
      color: inherit;
    }

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: 500;
}

.main-nav a {
  color: #004bcc;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.2s ease;
}

/* Elegant underline animation */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #004bcc;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: #002b80;
}

/* Optional: show current page as active */
.main-nav a.active {
  color: #002b80;
}

.main-nav a.active::after {
  width: 100%;
}

/* Layout for author header (name, links, photo) */
.top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: nowrap
  margin-bottom: 2rem;
}

.author-info {
  flex: 1 1 350px;
  max-width: 600px;
  text-align: left;
}

.author-info h1 {
  margin-top: 0.5rem;
  text-align: left;
}

.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  order: 2
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bio text always below */
.author-bio {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
}

.projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
}

.projects-intro {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.project-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    max-width: 700px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .project-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    }

.project-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 1.5rem;
}

.project-info {
    flex: 1;
    text-align: left;
}

    .project-info h3 {
        margin-top: 0;
        font-size: 1.4rem;
    }

.tech-tags span {
    display: inline-block;
    background: #f3eaff;
    color: #7a5ce0;
    border-radius: 6px;
    padding: 0.25rem 0.6rem;
    font-size: 0.85rem;
    margin-right: 0.4rem;
    margin-top: 0.4rem;
}

.coming-soon {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: #666;
}

@media (max-width: 700px) {
  .top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .avatar {
    justify-self:end;
    width:200px;
    height:200px;
    order: -1
  }

  .author-info {
    text-align: center;
  }

  .author-info h1 {
    text-align: center;
  }

  .super-heading img.logo-img {
    max-width: 70vw;
  }
}
