html, body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}
 * {
  max-width: 100vw;
  box-sizing: border-box;
}
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}


    /* BODY */
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #0f0f1a;
      color: #d2d2d2;
      line-height: 1.6;
      padding: 40px 20px 60px;
      text-align: center;
      scroll-behavior: smooth;
    }
/* hover for click here for certificates */
    #course a:hover {
      color: #fff;
      transform: scale(1.05);
      text-shadow: 0 0 10px #e963fd;
    }


    /* NAVBAR */
    nav {
      background: #1a1a2e;
      padding: 10px 20px;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 999;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #333;
      box-shadow: 0 0 15px rgba(233, 99, 253, 0.3);
    }

    nav h1 {
      font-size: 1.5rem;
      color: #e963fd;
      font-weight: 700;
    }

    .nav-links {
      display: flex;
      gap: 20px;
      flex-wrap: nowrap;
      white-space: nowrap;
      overflow-x: visible;
    }

    .nav-links a {
      color: #d2d2d2;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.3s ease;
      padding: 6px 8px;
      border-radius: 6px;
      flex-shrink: 0;
    }

    .nav-links a:hover {
      color: #ffffff;
      background-color: rgba(233, 99, 253, 0.2);
      box-shadow: 0 0 6px #e963fd;
    }
 .nav-links a.active {
  color: #ffffff;
  background-color: rgba(233, 99, 253, 0.3);
  box-shadow: 0 0 6px #e963fd;
  border-radius: 6px;
}


.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #e963fd;
  border-radius: 2px;
}

/* Mobile layout */
@media (max-width: 768px) {

  nav {
    padding: 10px 16px;
  }

  .name-full {
    display: none;
  }

  .name-short {
    display: inline;
  }

  /* Show hamburger */
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1a1a2e;
    flex-direction: column;
    gap: 0;
    display: none;
    border-bottom: 1px solid #333;
  }

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

  .nav-links a {
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background-color: rgba(233, 99, 253, 0.25);
    box-shadow: none;
  }
}


    /* HEADER */
    header {
      padding: 100px 20px 40px;
      max-width: 900px;
      margin: 0 auto 60px;
      text-align: left;
    }

    header h1 {
      font-size: 3rem;
      color: #f4f4f4;
      text-shadow: 0 0 8px #e963fd, 0 0 12px #e963fd88;
      font-weight: 700;
      margin-bottom: 12px;
    }

    #typed-text {
      font-size: 1.3rem;
      color: #e963fd;
      font-weight: 600;
      text-shadow: 0 0 8px #e963fdcc;
      min-height: 30px;
      letter-spacing: 1.1px;
    }

    /* SECTIONS */
    section {
      margin: 60px auto;
      padding: 40px 30px;
      max-width: 860px;
      background: #1a1a2e;
      border-radius: 14px;
      box-shadow: 0 0 16px rgba(233, 99, 253, 0.07);
      border: 1px solid rgba(233, 99, 253, 0.08);
      text-align: left;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: default;
      
    }

    section:hover {
      transform: scale(1.03);
      box-shadow: 0 0 20px 4px rgba(233, 99, 253, 0.35);
      border-color: #e963fd;
      background: #291b3e;
    }

    section h2 {
      font-size: 2rem;
      color: #f4f4f4;
      text-shadow: 0 0 8px #e963fd;
      border-bottom: 2px solid #e963fd;
      display: inline-block;
      padding-bottom: 6px;
      margin-bottom: 20px;
    }

    p, li {
      font-size: 1.1rem;
      color: #d2d2d2;
      margin-bottom: 12px;
    }

    ul {
      list-style: none;
      padding-left: 0;
    }

    ul li::before {
      content: "•";
      color: #e963fd;
      display: inline-block;
      width: 1em;
      margin-left: -1em;
      font-weight: 700;
    }

    /* Cards for projects, education, internships */
    .project-card, .education-card, .internship-card {
      background: #222233;
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 24px;
      box-shadow: 0 0 10px rgba(233, 99, 253, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .project-card:hover, .education-card:hover, .internship-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 0 25px rgba(233, 99, 253, 0.3);
      border-left: 4px solid #e963fd;
    }
    .projects-wrapper {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(233, 99, 253, 0.2);
}


    .education-card h3,
    .internship-card h3,
    .project-card h3{
      color: #e963fd;
      margin-bottom: 8px;
      font-weight: 700;
    }

    .education-card p,
    .internship-card p {
      margin-bottom: 6px;
    }

    /* BUTTONS */
    .btn-resume {
      display: inline-block;
      margin: 20px auto 40px;
      padding: 14px 36px;
      background-color: transparent;
      color: #e963fd;
      border: 2px solid #e963fd;
      border-radius: 10px;
      font-weight: 700;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 0 8px rgba(233, 99, 253, 0.4);
      cursor: pointer;
      text-align: center;
    }

    .btn-resume:hover {
      background-color: #e963fd;
      color: #121212;
      box-shadow: 0 0 14px #e963fd;
    }

    /* CONTACT */
    #contact p {
      font-size: 1.1rem;
      margin-bottom: 12px;
    }

    #contact a {
      color: #e963fd;
      text-decoration: none;
      margin: 0 8px;
      display: inline-block;
      font-size: 2rem;
      vertical-align: middle;
      transition: color 0.3s ease, transform 0.3s ease;
    }

    #contact a:hover {
      color: #fff;
      transform: scale(1.05);
      text-shadow: 0 0 10px #e963fd;
    }

    footer {
      margin-top: 60px;
      padding-top: 30px;
      font-size: 0.95rem;
      color: #aaa;
      border-top: 1px solid #2b2b3d;
      text-align: center;
    }
.achievement-card {
  background: #222233;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 0 10px rgba(233, 99, 253, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(233, 99, 253, 0.3);
  border-left: 4px solid #e963fd;
}


    @media (max-width: 768px) {
      nav h1 {
        font-size: 1.3rem;
      }

      header h1 {
        font-size: 2.2rem;
      }

      #typed-text {
        font-size: 1.1rem;
      }

      section {
        padding: 30px 20px;
      }

      .nav-links {
        gap: 10px;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }

      .nav-links a {
        padding: 4px 6px;
        font-size: clamp(0.7rem, 2vw, 0.9rem);
        flex-shrink: 1;
      }
    }
    .contact-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.contact-icons a {
  transition: transform 0.3s ease;
}

.contact-icons a:hover {
  transform: scale(1.2);
}
.contact-details {
  text-align: center;
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.8;
}

.contact-details a {
  color: #0c7b93;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}
.go-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: transparent;
  color: #e963fd;
  border: 2px solid #e963fd;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  text-align: center;
  line-height: 44px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(233, 99, 253, 0.4);
  transition: all 0.3s ease, opacity 0.4s;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
}

.go-top-btn.show {
  opacity: 1;
  pointer-events: auto;
}

.go-top-btn:hover {
  background-color: #e963fd;
  color: #121212;
  box-shadow: 0 0 14px #e963fd;
}

.intro-section {
  margin: 60px auto;
  padding: 40px 30px;
  max-width: 860px;
  background: #1a1a2e;
  border-radius: 14px;
  box-shadow: 0 0 16px rgba(233, 99, 253, 0.07);
  border: 1px solid rgba(233, 99, 253, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.intro-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.intro-image-container {
  perspective: 1000px;
}

.intro-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 90%;
  border: 4px solid #e963fd;
  box-shadow: 0 0 12px rgba(233, 99, 253, 0.4);
  transition: transform 0.5s ease;
}

.intro-image:hover {
  transform: rotateY(10deg) rotateX(10deg) scale(1.05);
}

.intro-points {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.intro-points li {
  font-size: 1rem;
  color: #d2d2d2;
  margin-bottom: 6px;
  position: relative;
  padding-left: 20px;
}

.intro-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #e963fd;
  font-weight: bold;
}
#skills {
  margin: 60px auto;
  padding: 40px 30px;
  max-width: 860px;
  background: #1a1a2e;
  border-radius: 14px;
  box-shadow: 0 0 16px rgba(233, 99, 253, 0.07);
  border: 1px solid rgba(233, 99, 253, 0.08);
}
#skills:hover {
      transform: scale(1.03); 
      box-shadow: 0 0 20px 4px rgba(233, 99, 253, 0.35);
      border-color: #e963fd;
      background: #291b3e;
    }

.skill-bar {
  margin-bottom: 20px;
}

.skill-bar span {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e963fd;
}

.bar {
  background: #2e2e42;
  border-radius: 10px;
  overflow: hidden;
  height: 16px;
}

.bar .fill {
  height: 100%;
  background: linear-gradient(to right, #b972d3, #944fc7);
  box-shadow: 0 0 10px rgba(233, 99, 253, 0.1);
  width: 0%;
  transition: width 2s ease;
}
.skills-wrapper {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(233, 99, 253, 0.2);
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
}

header {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
header h1, #typed-text {
  position: relative;
  z-index: 2;
}


.achievements-wrapper {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(233, 99, 253, 0.2);
}

.achievement-card {
  background: #222233;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 0 10px rgba(233, 99, 253, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(233, 99, 253, 0.3);
  border-left: 4px solid #e963fd;
}

section::before {
  content: "";
  display: block;
  height: 80px; 
  margin-top: -80px;
  visibility: hidden;
}
@media (max-width: 768px) {
  nav h1 {
    font-size: 1rem;
  }
}
.name-short {
  display: none;
}

@media (max-width: 768px) {
  .name-full {
    display: none;
  }
  .name-short {
    display: inline;
    font-size: 1rem;
  }
}
.about-split-blocks {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.info-box {
  background: #222233;
  border-radius: 12px;
  padding: 20px 30px;
  flex: 1;
  min-width: 220px;
  box-shadow: 0 0 10px rgba(233, 99, 253, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #e963fd;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(233, 99, 253, 0.3);
}

.info-box h2 {
  font-size: 2rem;
  color: #f4f4f4;
  text-shadow: 0 0 8px #e963fd;
  border-bottom: 2px solid #e963fd;
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

.info-box ul {
  list-style: none;
  padding-left: 0;
}

.info-box li {
  font-size: 1.1rem;
  color: #d2d2d2;
  margin-bottom: 12px;
}

.info-box ul li::before {
  content: "•";
  color: #e963fd;
  font-weight: 700;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Certificate Gallery  */
.certificate-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.certificate-item {
  width: 200px;
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 0 10px rgba(233, 99, 253, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(233, 99, 253, 0.25);
}

.certificate-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.certificate-item h3 {
  margin: 12px 8px;
  color: #e963fd;
  font-size: 16px;
}

  /* Translate Button  */

  .translate-button {
    position: fixed;
    top: 55px;
    right: 20px;
    z-index: 999;
    padding: 8px 14px;
    background-color: black;
    border: 1px solid #e963fd;
    border-radius: 6px;
    color: #ffffff;
    font-family: sans-serif;
    font-size: 14px;
    cursor: pointer;
  }

.translate-button.hide {
    opacity: 0;
    pointer-events: none;
}

  @media (max-width: 768px) {
    .translate-button {
      top: 45px;
    }
  }
 