/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Animated AI Nebula Canvas */
#ai-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  background: rgba(10,8,34,0.95);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.2);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.logo img {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px #38b6ff99;
}
.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #38b6ff;
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: background 0.2s;
}
.nav-links li a:hover, .nav-links li a.active {
  background: linear-gradient(90deg, #a259ff, #38b6ff);
  color: #fff;
  box-shadow: 0 0 8px #38b6ff99;
}
.nav-icons a {
  color: #fff;
  margin-left: 1rem;
  font-size: 1.3rem;
  transition: color 0.2s;
}
.nav-icons a:hover {
  color: #38b6ff;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}
.hero-content .badge {
  background: linear-gradient(90deg, #a259ff, #38b6ff);
  color: #fff;
  padding: 0.3rem 1.2rem;
  border-radius: 20px;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  display: inline-block;
  box-shadow: 0 0 12px #38b6ff55;
  letter-spacing: 1px;
}
.hero-content h1 {
  font-size: 3.2rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
}
.hero-content .highlight {
  color: #38b6ff;
  text-shadow: 0 0 12px #38b6ff99;
}
.hero-content p {
  font-size: 1.25rem;
  margin: 1.2rem 0 2.2rem 0;
  color: #bdbdbd;
  line-height: 1.6;
}
.hero-content .btn {
  background: #2d2b55;
  color: #fff;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 16px #a259ff33;
}
.hero-content .btn:hover {
  background: linear-gradient(90deg, #a259ff, #38b6ff);
  box-shadow: 0 0 24px #38b6ff99;
}
.hero-img img {
  width: 260px; height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #2d2b55;
  box-shadow: 0 0 60px 0 #38b6ff55, 0 0 0 12px #181642;
  background: #fff;
}
.hero-footer {
  margin-top: 2.5rem;
  text-align: center;
}
.skills-btn {
  background: #2d2b55;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.6rem 1.7rem;
  margin-bottom: 1.1rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 12px #a259ff33;
}
.skills-btn:hover {
  background: linear-gradient(90deg, #a259ff, #38b6ff);
  box-shadow: 0 0 16px #38b6ff99;
}
.hero-footer h2 {
  font-size: 1.7rem;
  margin: 0.7rem 0 0.3rem 0;
  color: #fff;
  text-shadow: 0 0 8px #a259ff55;
}
.hero-footer p {
  font-size: 1.1rem;
  color: #bdbdbd;
}

/* Skills Section */
.skills {
  margin: 4rem 0 2rem 0;
  text-align: center;
}
.skills h2 {
  font-size: 2.4rem;
  color: #38b6ff;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
}
.skills-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.skills-row {
  display: flex;
  flex-direction: row;
  gap: 2.2rem;
  justify-content: center;
  align-items: center;
}
.skill-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px #8BE9FD88);
  background: transparent;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px 0 #18122B33;
  padding: 6px;
}
.skill-icon:hover {
  transform: scale(1.13) rotate(-8deg);
  box-shadow: 0 0 24px #FFB86F99;
  background: #23213a;
}
.skills-footer-row {
  margin-top: 1.5rem;
  gap: 3.5rem;
}
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
  }
  .resume-cards, .projects-list, .contact-footer, .experience-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .education-item, .experience-item, .project-card {
    min-width: 90vw;
    max-width: 98vw;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1rem 1.5rem 1rem;
    gap: 1rem;
  }
  .icon, .exp-icon {
    margin-right: 0.8rem;
    margin-bottom: 0.8rem;
  }
  .contact-footer-row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .contact-footer-col {
    text-align: center;
  }
  .testimonials-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .skills-visual .skills-row {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .skill-icon {
    width: 44px;
    height: 44px;
    padding: 3px;
  }
}

/* Experience Section */
.experience {
  margin: 4rem 0 2rem 0;
  text-align: center;
}
.experience h2 {
  font-size: 2.2rem;
  color: #38b6ff;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
}
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  align-items: center;
}
.experience-item {
  display: flex;
  align-items: flex-start;
  background: #181642;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  min-width: 420px;
  max-width: 700px;
  box-shadow: 0 2px 16px 0 #a259ff22;
  gap: 1.5rem;
  border: 2px solid #a259ff33;
  transition: box-shadow 0.2s;
}
.exp-icon {
  font-size: 2.5rem;
  color: #38b6ff;
  margin-right: 1.2rem;
  margin-top: 0.3rem;
}
.exp-org {
  color: #a259ff;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}
.experience-item h3 {
  margin: 0 0 0.2rem 0;
  color: #fff;
  font-size: 1.3rem;
}
.experience-item p {
  color: #bdbdbd;
  font-size: 1.08rem;
  margin: 0.5rem 0 0 0;
}

/* Projects Section */
.projects {
  margin: 4rem 0 2rem 0;
  text-align: center;
}
.projects h2 {
  font-size: 2.2rem;
  color: #38b6ff;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
}
.projects-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
  margin-top: 2rem;
}
.project-card {
  background: #181642;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 #a259ff22;
  min-width: 340px;
  max-width: 420px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2px solid #a259ff33;
  transition: box-shadow 0.2s, transform 0.2s;
}
.project-card:hover {
  box-shadow: 0 0 32px #38b6ff99;
  transform: translateY(-8px) scale(1.03);
}
.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #a259ff33;
}
.project-info {
  padding: 1.2rem 1.5rem;
}
.project-info h3 {
  margin: 0 0 0.5rem 0;
  color: #fff;
  font-size: 1.2rem;
}
.project-info p {
  color: #bdbdbd;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.project-links {
  display: flex;
  gap: 1rem;
}
.project-links .btn {
  background: #2d2b55;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px #a259ff33;
}
.project-links .btn:hover {
  background: linear-gradient(90deg, #a259ff, #38b6ff);
  box-shadow: 0 0 16px #38b6ff99;
}

/* Contact Section */
.contact {
  margin: 4rem 0 2rem 0;
  text-align: center;
}
.contact h2 {
  font-size: 2.2rem;
  color: #38b6ff;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}
.contact-form {
  margin: 2rem auto;
  max-width: 600px;
  background: #181642;
  border-radius: 18px;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 16px 0 #a259ff22;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 2px solid #a259ff33;
}
.form-row {
  display: flex;
  gap: 1rem;
}
.contact-form input, .contact-form textarea {
  background: #0a0822;
  border: 1px solid #2d2b55;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  width: 100%;
  resize: none;
}
.contact-form textarea {
  min-height: 100px;
}
.contact-form .btn.gradient {
  background: linear-gradient(90deg, #a259ff, #38b6ff);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px #a259ff33;
}
.contact-form .btn.gradient:hover {
  background: #2d2b55;
  box-shadow: 0 0 16px #38b6ff99;
}

/* Contact Footer */
.contact-footer {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  color: #ccc;
  gap: 2rem;
}
.contact-footer h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.contact-footer a {
  color: #38b6ff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.contact-footer a i {
  margin-right: 0.5rem;
}
footer {
  margin-top: 1.5rem;
  color: #888;
  font-size: 0.98rem;
  text-align: center;
}

/* Contact/Footer Responsive */
.contact-footer-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.contact-footer-col {
  min-width: 200px;
  text-align: left;
}
.contact-footer-col h4 {
  color: #fff;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.contact-footer-col a {
  color: #38b6ff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-footer-col a:hover {
  color: #a259ff;
}
.contact-footer-col a i {
  margin-right: 0.5rem;
}
.contact-footer-col p {
  color: #bdbdbd;
  margin: 0.2rem 0;
  font-size: 1rem;
  font-weight: 400;
}


/* Back to Top Button */
#backToTop {
  display: none;
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  background: linear-gradient(135deg, #a259ff 40%, #38b6ff 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  box-shadow: 0 0 16px #38b6ff99;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
#backToTop:hover {
  background: linear-gradient(135deg, #38b6ff 40%, #a259ff 100%);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
  }
  .resume-cards, .projects-list, .contact-footer, .experience-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .education-item, .experience-item, .project-card {
    min-width: 90vw;
    max-width: 98vw;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1rem 1.5rem 1rem;
    gap: 1rem;
  }
  .icon, .exp-icon {
    margin-right: 0.8rem;
    margin-bottom: 0.8rem;
  }
  .contact-footer-row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .contact-footer-col {
    text-align: center;
  }
  .testimonials-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .skills-visual .skills-row {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .skill-icon {
    width: 44px;
    height: 44px;
    padding: 3px;
  }
}

/* Experience Section */
.experience {
  margin: 4rem 0 2rem 0;
  text-align: center;
}
.experience h2 {
  font-size: 2.2rem;
  color: #38b6ff;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
}
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  align-items: center;
}
.experience-item {
  display: flex;
  align-items: flex-start;
  background: #181642;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  min-width: 420px;
  max-width: 700px;
  box-shadow: 0 2px 16px 0 #a259ff22;
  gap: 1.5rem;
  border: 2px solid #a259ff33;
  transition: box-shadow 0.2s;
}
.exp-icon {
  font-size: 2.5rem;
  color: #38b6ff;
  margin-right: 1.2rem;
  margin-top: 0.3rem;
}
.exp-org {
  color: #a259ff;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}
.experience-item h3 {
  margin: 0 0 0.2rem 0;
  color: #fff;
  font-size: 1.3rem;
}
.experience-item p {
  color: #bdbdbd;
  font-size: 1.08rem;
  margin: 0.5rem 0 0 0;
}

/* Projects Section */
.projects {
  margin: 4rem 0 2rem 0;
  text-align: center;
}
.projects h2 {
  font-size: 2.2rem;
  color: #38b6ff;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
}
.projects-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
  margin-top: 2rem;
}
.project-card {
  background: #181642;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 #a259ff22;
  min-width: 340px;
  max-width: 420px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2px solid #a259ff33;
  transition: box-shadow 0.2s, transform 0.2s;
}
.project-card:hover {
  box-shadow: 0 0 32px #38b6ff99;
  transform: translateY(-8px) scale(1.03);
}
.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #a259ff33;
}
.project-info {
  padding: 1.2rem 1.5rem;
}
.project-info h3 {
  margin: 0 0 0.5rem 0;
  color: #fff;
  font-size: 1.2rem;
}
.project-info p {
  color: #bdbdbd;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.project-links {
  display: flex;
  gap: 1rem;
}
.project-links .btn {
  background: #2d2b55;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px #a259ff33;
}
.project-links .btn:hover {
  background: linear-gradient(90deg, #a259ff, #38b6ff);
  box-shadow: 0 0 16px #38b6ff99;
}

/* Contact Section */
.contact {
  margin: 4rem 0 2rem 0;
  text-align: center;
}
.contact h2 {
  font-size: 2.2rem;
  color: #38b6ff;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}
.contact-form {
  margin: 2rem auto;
  max-width: 600px;
  background: #181642;
  border-radius: 18px;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 16px 0 #a259ff22;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 2px solid #a259ff33;
}
.form-row {
  display: flex;
  gap: 1rem;
}
.contact-form input, .contact-form textarea {
  background: #0a0822;
  border: 1px solid #2d2b55;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  width: 100%;
  resize: none;
}
.contact-form textarea {
  min-height: 100px;
}
.contact-form .btn.gradient {
  background: linear-gradient(90deg, #a259ff, #38b6ff);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px #a259ff33;
}
.contact-form .btn.gradient:hover {
  background: #2d2b55;
  box-shadow: 0 0 16px #38b6ff99;
}

/* Contact Footer */
.contact-footer {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  color: #ccc;
  gap: 2rem;
}
.contact-footer h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.contact-footer a {
  color: #38b6ff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.contact-footer a i {
  margin-right: 0.5rem;
}
footer {
  margin-top: 1.5rem;
  color: #888;
  font-size: 0.98rem;
  text-align: center;
}

/* Contact/Footer Responsive */
.contact-footer-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.contact-footer-col {
  min-width: 200px;
  text-align: left;
}
.contact-footer-col h4 {
  color: #fff;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.contact-footer-col a {
  color: #38b6ff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-footer-col a:hover {
  color: #a259ff;
}
.contact-footer-col a i {
  margin-right: 0.5rem;
}
.contact-footer-col p {
  color: #bdbdbd;
  margin: 0.2rem 0;
  font-size: 1rem;
  font-weight: 400;
}

/* Testimonials Section */
.testimonials {
  margin: 5rem 0 2rem 0;
  text-align: center;
}
.testimonials h2 {
  font-size: 2.2rem;
  color: #38b6ff;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
}
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
}
.testimonial-card {
  background: #181642;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 #a259ff22;
  min-width: 280px;
  max-width: 340px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #a259ff33;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 0 32px #38b6ff99;
  transform: translateY(-6px) scale(1.03);
}
.testimonial-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #38b6ff;
  margin-bottom: 1rem;
  box-shadow: 0 0 16px #38b6ff55;
}
.testimonial-card p {
  color: #bdbdbd;
  font-size: 1.08rem;
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-name {
  color: #a259ff;
  font-size: 1rem;
  font-weight: 600;
}

/* Back to Top Button */
#backToTop {
  display: none;
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  background: linear-gradient(135deg, #a259ff 40%, #38b6ff 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  box-shadow: 0 0 16px #38b6ff99;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
#backToTop:hover {
  background: linear-gradient(135deg, #38b6ff 40%, #a259ff 100%);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
  }
  .resume-cards, .projects-list, .contact-footer, .experience-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .education-item, .experience-item, .project-card {
    min-width: 90vw;
    max-width: 98vw;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1rem 1.5rem 1rem;
    gap: 1rem;
  }
  .icon, .exp-icon {
    margin-right: 0.8rem;
    margin-bottom: 0.8rem;
  }
  .contact-footer-row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .contact-footer-col {
    text-align: center;
  }
  .testimonials-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .skills-visual .skills-row {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .skill-icon {
    width: 44px;
    height: 44px;
    padding: 3px;
  }
}

/* Experience Section */
.experience {
  margin: 4rem 0 2rem 0;
  text-align: center;
}
.experience h2 {
  font-size: 2.2rem;
  color: #38b6ff;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
}
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  align-items: center;
}
.experience-item {
  display: flex;
  align-items: flex-start;
  background: #181642;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  min-width: 420px;
  max-width: 700px;
  box-shadow: 0 2px 16px 0 #a259ff22;
  gap: 1.5rem;
  border: 2px solid #a259ff33;
  transition: box-shadow 0.2s;
}
.exp-icon {
  font-size: 2.5rem;
  color: #38b6ff;
  margin-right: 1.2rem;
  margin-top: 0.3rem;
}
.exp-org {
  color: #a259ff;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}
.experience-item h3 {
  margin: 0 0 0.2rem 0;
  color: #fff;
  font-size: 1.3rem;
}
.experience-item p {
  color: #bdbdbd;
  font-size: 1.08rem;
  margin: 0.5rem 0 0 0;
}

/* Projects Section */
.projects {
  margin: 4rem 0 2rem 0;
  text-align: center;
}
.projects h2 {
  font-size: 2.2rem;
  color: #38b6ff;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
}
.projects-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
  margin-top: 2rem;
}
.project-card {
  background: #181642;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 #a259ff22;
  min-width: 340px;
  max-width: 420px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2px solid #a259ff33;
  transition: box-shadow 0.2s, transform 0.2s;
}
.project-card:hover {
  box-shadow: 0 0 32px #38b6ff99;
  transform: translateY(-8px) scale(1.03);
}
.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #a259ff33;
}
.project-info {
  padding: 1.2rem 1.5rem;
}
.project-info h3 {
  margin: 0 0 0.5rem 0;
  color: #fff;
  font-size: 1.2rem;
}
.project-info p {
  color: #bdbdbd;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.project-links {
  display: flex;
  gap: 1rem;
}
.project-links .btn {
  background: #2d2b55;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px #a259ff33;
}
.project-links .btn:hover {
  background: linear-gradient(90deg, #a259ff, #38b6ff);
  box-shadow: 0 0 16px #38b6ff99;
}

/* Contact Section */
.contact {
  margin: 4rem 0 2rem 0;
  text-align: center;
}
.contact h2 {
  font-size: 2.2rem;
  color: #38b6ff;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}
.contact-form {
  margin: 2rem auto;
  max-width: 600px;
  background: #181642;
  border-radius: 18px;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 16px 0 #a259ff22;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 2px solid #a259ff33;
}
.form-row {
  display: flex;
  gap: 1rem;
}
.contact-form input, .contact-form textarea {
  background: #0a0822;
  border: 1px solid #2d2b55;
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  width: 100%;
  resize: none;
}
.contact-form textarea {
  min-height: 100px;
}
.contact-form .btn.gradient {
  background: linear-gradient(90deg, #a259ff, #38b6ff);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px #a259ff33;
}
.contact-form .btn.gradient:hover {
  background: #2d2b55;
  box-shadow: 0 0 16px #38b6ff99;
}

/* Contact Footer */
.contact-footer {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  color: #ccc;
  gap: 2rem;
}
.contact-footer h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}
.contact-footer a {
  color: #38b6ff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.contact-footer a i {
  margin-right: 0.5rem;
}
footer {
  margin-top: 1.5rem;
  color: #888;
  font-size: 0.98rem;
  text-align: center;
}

/* Contact/Footer Responsive */
.contact-footer-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.contact-footer-col {
  min-width: 200px;
  text-align: left;
}
.contact-footer-col h4 {
  color: #fff;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.contact-footer-col a {
  color: #38b6ff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-footer-col a:hover {
  color: #a259ff;
}
.contact-footer-col a i {
  margin-right: 0.5rem;
}
.contact-footer-col p {
  color: #bdbdbd;
  margin: 0.2rem 0;
  font-size: 1rem;
  font-weight: 400;
}

/* Testimonials Section */
.testimonials {
  margin: 5rem 0 2rem 0;
  text-align: center;
}
.testimonials h2 {
  font-size: 2.2rem;
  color: #38b6ff;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
}
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
}
.testimonial-card {
  background: #181642;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 #a259ff22;
  min-width: 280px;
  max-width: 340px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #a259ff33;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 0 32px #38b6ff99;
  transform: translateY(-6px) scale(1.03);
}
.testimonial-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #38b6ff;
  margin-bottom: 1rem;
  box-shadow: 0 0 16px #38b6ff55;
}
.testimonial-card p {
  color: #bdbdbd;
  font-size: 1.08rem;
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-name {
  color: #a259ff;
  font-size: 1rem;
  font-weight: 600;
}

/* Back to Top Button */
#backToTop {
  display: none;
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  background: linear-gradient(135deg, #a259ff 40%, #38b6ff 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  box-shadow: 0 0 16px #38b6ff99;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
#backToTop:hover {
  background: linear-gradient(135deg, #38b6ff 40%, #a259ff 100%);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
  }
  .resume-cards, .projects-list, .contact-footer, .experience-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .education-item, .experience-item, .project-card {
    min-width: 90vw;
    max-width: 98vw;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1rem 1.5rem 1rem;
    gap: 1rem;
  }
  .icon, .exp-icon {
    margin-right: 0.8rem;
    margin-bottom: 0.8rem;
  }
  .contact-footer-row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .contact-footer-col {
    text-align: center;
  }
  .testimonials-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .skills-visual .skills-row {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .skill-icon {
    width: 44px;
    height: 44px;
    padding: 3px;
  }
}

@media (max-width: 1200px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .hero-img img {
    margin: 0 auto;
  }
  .skills-visual .skills-row {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .skill-icon {
    width: 48px;
    height: 48px;
    padding: 3px;
  }
  .education-item {
    min-width: 90vw;
    max-width: 98vw;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1rem 1.5rem 1rem;
    gap: 1rem;
  }
}

@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
  }
  .logo {
    margin-bottom: 0.5rem;
  }
  .nav-links {
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0;
    margin: 0.5rem 0;
  }
  .nav-links li a {
    padding: 0.4rem 0.7rem;
    font-size: 1rem;
  }
  .nav-icons {
    margin-top: 0.5rem;
  }
  .hero-content {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
  .hero-img img {
    width: 160px;
    height: 160px;
  }
  .skills-visual .skills-row {
    flex-wrap: wrap;
    gap: 0.7rem;
  }
  .skill-icon {
    width: 36px;
    height: 36px;
    padding: 2px;
  }
  .education-item {
    min-width: 98vw;
    max-width: 100vw;
    padding: 1rem 0.5rem 1rem 0.5rem;
  }
  .projects-list {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .project-card {
    min-width: 90vw;
    max-width: 98vw;
  }
  .testimonials-list {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .contact-form {
    padding: 1rem 0.5rem;
  }
  .contact-footer-row {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
}

@media (max-width: 500px) {
  body {
    font-size: 15px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .skills h2, .education h2, .projects h2, .testimonials h2, .contact h2 {
    font-size: 1.3rem;
  }
  .skill-icon {
    width: 28px;
    height: 28px;
    padding: 1px;
  }
  .education-title {
    font-size: 1.1rem;
  }
  .education-degree {
    font-size: 0.95rem;
  }
  .education-details {
    font-size: 0.95rem;
    gap: 1rem;
  }
  .project-card img {
    height: 120px;
  }
}

/* College Icon */
.college-icon {
  width:60x;
  height:60x;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px #8BE9FD33;
  margin-bottom: 8px;
}

/* Education Section */
.education {
  margin: 4rem 0 2rem 0;
  text-align: center;
}
.education h2 {
  font-size: 3rem;
  color: #5c78f3;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.education-subtitle {
  color: #bdbdbd;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}
.education-list {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  align-items: center;
}
.education-item {
  display: flex;
  align-items: flex-start;
  background: #18122B;
  border-radius: 16px;
  padding: 2.2rem 2.5rem 2.2rem 2rem;
  min-width: 700px;
  max-width: 820px;
  box-shadow: 0 0 0 2px #5c78f344;
  gap: 1.5rem;
  position: relative;
  border: 2px solid #5c78f355;
  transition: box-shadow 0.2s;
}
.education-item:not(:last-child) {
  margin-bottom: 0.5rem;
}
.education-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1.2rem;
  margin-top: 0.2rem;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  background: #5c78f3;
  border-radius: 50%;
  box-shadow: 0 0 12px #5c78f399;
  margin-bottom: 0.2rem;
  border: 2px solid #fff;
}
.timeline-line {
  width: 3px;
  height: 90px;
  background: linear-gradient(to bottom, #5c78f3 0%, #a259ff 100%);
  margin-top: 0.2rem;
  border-radius: 2px;
}
.education-item:last-child .timeline-line {
  display: none;
}
.education-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
}
.college-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 16px #5c78f388;
  background: #fff;
  object-fit: cover;
}
.school-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, #a259ff 60%, #181642 100%);
  box-shadow: 0 0 16px #a259ff88;
}
.school-icon i {
  color: #fff;
  font-size: 2rem;
}
.education-content {
  flex: 1;
  text-align: left;
}
.education-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.2rem;
}
.education-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.education-badge.ongoing {
  background: #a259ff;
  color: #fff;
  border-radius: 12px;
  padding: 0.2rem 1.1rem;
  font-size: 1rem;
  font-weight: 500;
  margin-left: 0.5rem;
  box-shadow: 0 0 8px #a259ff55;
}
.education-degree {
  font-size: 1.1rem;
  color: #bdbdbd;
  margin-bottom: 1.1rem;
  margin-top: 0.1rem;
}
.education-details {
  display: flex;
  gap: 2.5rem;
  font-size: 1.08rem;
  color: #bdbdbd;
  margin-top: 0.2rem;
  align-items: center;
  flex-wrap: wrap;
}
.education-details .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.4em;
  vertical-align: middle;
}
.education-details .dot.blue {
  background: #5c78f3;
  box-shadow: 0 0 8px #5c78f399;
}
.education-details .dot.purple {
  background: #a259ff;
  box-shadow: 0 0 8px #a259ff99;
}
.education-details .dot.pink {
  background: #ff6ec7;
  box-shadow: 0 0 8px #ff6ec799;
}
.education-status {
  color: #ff6ec7;
  font-weight: 500;
}
@media (max-width: 900px) {
  .education-item {
    min-width: 90vw;
    max-width: 98vw;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1rem 1.5rem 1rem;
    gap: 1rem;
  }
  .education-icon {
    margin-right: 0.8rem;
    margin-bottom: 0.8rem;
  }
  .education-timeline {
    margin-right: 0.8rem;
  }
}
