/* =========================
   1. Imports & Global Styles
   ========================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: black;
  color: purple;
  font-family: "Poppins", sans-serif;
}

*::selection {
  background: purple;
  color: #fff;
}

html::-webkit-scrollbar {
  width: 0.8rem;
}

html::-webkit-scrollbar-track {
  background: rgb(235, 202, 245);
}

html::-webkit-scrollbar-thumb {
  background: purple;
}

/* =========================
   Header & Navigation
   ========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem 5%;
  height: 6.5rem;
  background-color: #fff;
}

header .name {
  font-size: 1.9rem;
  font-weight: 800;
  color: purple;
}

header .navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
}

header .navbar li {
  margin-left: 2.5rem;
}

header .navbar ul li a {
  font-size: 1.57rem;
  color: #0e2431;
  font-weight: 600;
  letter-spacing: 0.04rem;
  transition: 0.2s;
}

header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: purple;
  border-bottom: 0.2rem solid purple;
  padding: 0.5rem 0;
}

@media (max-width: 768px) {
  header .navbar ul {
    flex-direction: column;
    background: #0e0f31;
    position: fixed;
    top: 6.5rem;
    right: -120%;
    width: 75%;
    height: 100%;
    padding: 1rem;
    transition: right 0.3s;
  }

  header .navbar ul li {
    margin: 1rem 0;
    width: 100%;
    text-align: left;
  }

  header .navbar ul li a {
    color: #fff;
    font-size: 2rem;
    display: block;
    padding: 1rem;
  }

  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    color: #fff;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid #011aff;
  }
}

/* =========================
   Section & Headings
   ========================= */
section {
  min-height: 100vh;
  padding: 2rem 9%;
}

.heading {
  font-size: 3rem;
  color: purple;
  font-weight: 800;
  text-align: center;
}

.heading span {
  color: rgb(115, 3, 167);
}

/* =========================
   Hero Section
   ========================= */
.home {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  min-height: 100vh;
  align-items: center;
}

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

.home .content {
  flex: 1 1 40rem;
  padding-top: 1rem;
  z-index: 1;
}

.home .image {
  flex: 1 1 40rem;
  z-index: 1;
}

.home .image img {
  width: 70%;
  margin-left: 6rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.home .image img:hover {
  box-shadow: 0 5px 10px whitesmoke;
  transform: scale(1.05);
}

.home .content h2 {
  font-size: 5rem;
  font-weight: 800;
  color: white;
}

.home .content h2 span {
  color: purple;
}

.home .content p {
  font-size: 2.5rem;
  color: #000;
  font-weight: 600;
  padding: 1rem 0;
}

.home .content p span {
  color: white;
}

.home .btn {
  margin-top: 1rem;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 4em;
  color: #fff;
  background: purple;
  box-shadow: 0px 5px 50px purple;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
  display: inline-block;
  transition: 0.5s;
  position: absolute;
}

.home .btn:hover {
  background: whitesmoke;
  color: purple;
}

.home .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}

.home .btn:hover i {
  transform: translateX(5px);
}

.socials {
  position: relative;
  margin-top: 9rem;
}

.socials .social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.socials .social-icons li {
  display: inline-block;
  margin-bottom: 14px;
}

.social-icons a {
  font-size: 2rem;
  display: inline-block;
  line-height: 44px;
  color: whitesmoke;
  box-shadow: 0px 0px 5px purple;
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 100%;
  transition: all 0.2s linear;
}

.social-icons a:hover {
  color: whitesmoke;
  background-color: purple;
}

/* =========================
   About Section
   ========================= */
.about {
  background: #fff;
}

.about .row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0rem;
}

.about .row .image {
  text-align: center;
  flex: 1 1 35rem;
}

.about .row .image img {
  margin: 4rem;
  width: 80%;
  height: auto;
  border-radius: 100%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
  transition: 0.3s;
  cursor: pointer;
}

.about .row .image img:hover {
  padding: 2rem;
  box-shadow: 0 5px 10px purple;
}

.about .row .content {
  flex: 1 1 45rem;
  padding: 3rem;
}

.about .row .content h3 {
  color: rgb(27, 27, 27);
  font-size: 2.5rem;
}

.about .row .content .tag {
  font-size: 1.4rem;
  color: #020133;
  font-weight: 600;
  margin-top: 1rem;
}

.about .row .content p {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  font-family: "Nunito";
  font-weight: 600;
  text-transform: none;
  text-align: justify;
}

.about .row .content .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: "Nunito";
  font-weight: 600;
}

.about .row .content .box-container .box p span {
  color: black;
}

.resumebtn {
  margin-top: 6rem;
}

.resumebtn .btn {
  padding: 1.7rem 3rem;
  border-radius: 0.5em;
  color: #fff;
  background: purple;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  transition: 0.3s;
}

.resumebtn .btn:hover {
  background-color: black;
  box-shadow: 0px 5px 10px purple;
}

.resumebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.2rem;
  transition: 0.3s;
}

.resumebtn .btn:hover i {
  transform: translateX(5px);
}

/* =========================
   Top Skills Section
   ========================= */
.top-skills {
  min-height: 50vh;
  background: linear-gradient(to bottom, purple, black);
}

.top-skills .heading {
  color: #fff;
  padding: 1rem;
}

.top-skills .container {
  padding: 2rem;
  width: 70%;
  margin: auto;
  margin-bottom: 4rem;
}

.top-skills .container .bar .info img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 2px 20px white;
}

.top-skills .container .bar .info img:hover {
  box-shadow: 0 5px 20px white;
  transform: scale(1.05);
}

/* =========================
   Education Section
   ========================= */
.education {
  background: white;
  min-height: 80vh;
}

.education .heading {
  text-align: center;
  color: purple;
  font-weight: 600;
  margin-top: 2rem;
}

.education .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 5rem;
}

.education .box-container .box {
  display: flex;
  flex-direction: row;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid purple;
  box-shadow: 0 2px 5px purple;
  text-align: center;
  position: relative;
  margin-top: 5rem;
  overflow: hidden;
  transition: 0.3s;
  background: rgb(252, 252, 252);
}

.education .box-container .box:hover {
  transform: scale(1.23);
  box-shadow: 1rem 0.5rem 1.2rem rgba(0, 0, 0, 0.3);
}

.education .box-container .box .image {
  flex: 1 1 20rem;
  width: 100%;
}

.education .box-container .box img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.education .box-container .box .content {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex: 1 1 70rem;
}

.education .box-container .box .content h3 {
  font-size: 2.5rem;
  color: #012970;
  padding: 0.5rem 0;
  font-weight: 600;
  text-align: left;
  margin-left: 1rem;
}

.education .box-container .box .content p {
  font-size: 1.5rem;
  margin-left: 1rem;
  text-align: left;
}

.education h4 {
  font-size: 1.5rem;
  color: rgb(34, 109, 0);
  text-align: left;
  margin: 1rem;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
}

/* =========================
   Experience Section
   ========================= */
.experience {
  background: linear-gradient(to bottom, purple, black);
  padding: 6rem 0;
  min-height: 60vh;
  color: white;
}

.experience .heading {
  color: white;
  margin-bottom: 3rem;
}

.experience .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.experience .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -2;
}

.experience .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.experience .container::after {
  content: "\f0b1";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: #fff;
  border: 4px solid purple;
  top: 15px;
  border-radius: 50%;
  z-index: 100;
  font-size: 1.89rem;
  text-align: center;
  font-weight: 600;
  color: #02094b;
  font-family: "Font Awesome\ 5 Free";
}

.experience .left {
  left: 0;
}

.experience .right {
  left: 50%;
}

.experience .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid purple;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent purple;
}

.experience .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid purple;
  border-width: 10px 10px 10px 0;
  border-color: transparent purple transparent transparent;
}

.experience .right::after {
  left: -16px;
}

.experience .content {
  background-color: purple;
  color: white;
  position: relative;
  border-radius: 6px;
}

.experience .content:hover {
  padding: 0.5rem;
  box-shadow: 0 5px 15px rgba(241, 237, 237, 0.3);
}

.experience .content .tag {
  font-size: 1.3rem;
  padding-top: 1.5rem;
  padding-left: 1.5rem;
}

.experience .content .desc {
  margin-left: 1.5rem;
  padding-bottom: 1rem;
}

.experience .content .desc h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.experience .content .desc p {
  font-size: 1.2rem;
}

.experience-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.experience-modal .active {
  display: flex;
}

.experience-modal>div {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 80vh;
  overflow: auto;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-align: justify;
}

.close-experience-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  transition: color 0.2s;
}

.close-experience-modal:hover {
  color: purple;
}

.experience-modal-content {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 2rem;
  color: purple;
  margin-top: 1.5rem;
}

/* =========================
   Work/Projects Section
   ========================= */
.work {
  background: white;
  padding: 4rem 0;
}

.work h2.heading {
  text-align: center;
  font-size: 3rem;
  color: purple;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.work .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 0 2rem;
}

.work .box {
  flex: 1 1 350px;
  max-width: 450px;
  border-radius: 0.5rem;
  box-shadow: 0 5px 10px rgba(167, 24, 145, 0.5);
  border: 0.5px solid purple;
  background: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.work .box:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.13);
}

.work .box .content {
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.work .box .tag {
  display: flex;
  align-items: center;
  background: purple;
  border-radius: 0.5rem 0.5rem 0 0;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}

.work .box .tag h3 {
  font-size: 1.7rem;
  font-weight: 600;
  color: white;
  margin: 0;
  text-align: center;
}

.work .box .desc {
  flex: 1;
  font-size: 1.15rem;
  color: #333;
  margin-top: 0.5rem;
}

.work .box .desc ul {
  padding-left: 1.2rem;
  margin: 0;
}

.work .box .desc ul li {
  margin-bottom: 0.7rem;
  line-height: 1.6;
  text-align: justify;
}

.work .box .desc ul ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.work .box .desc a {
  color: #310ae0f5;
  text-decoration: underline;
  word-break: break-all;
}

.work .box .desc a:hover {
  color: #222;
  text-decoration: none;
}

/* =========================
   Certifications Section
   ========================= */
.certifications {
  background: linear-gradient(to bottom, purple, black);
  padding: 6rem 0 4rem 0;
  min-height: 50vh;
}

.certifications .heading {
  text-align: center;
  font-size: 3rem;
  color: white;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.certifications .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin: 0 auto;
  max-width: 1100px;
}

.certifications .box {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(74, 0, 224, 0.08), 0 1.5px 4px rgba(0, 0, 0, 0.07);
  padding: 2.5rem 2rem;
  width: 320px;
  display: flex;
  align-items: stretch;
  transition: transform 0.2s, box-shadow 0.2s;
}

.certifications .box:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px rgba(74, 0, 224, 0.13), 0 2px 8px rgba(0, 0, 0, 0.10);
}

.certifications .box .content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.certifications .box .content h3 {
  font-size: 1.6rem;
  color: purple;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.certifications .box .content p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.3rem;
  font-family: "Nunito", sans-serif;
}


/* =========================
   Skills Section (Flex, No Progress)
   ========================= */
.skills {
  background: #f7f7fa;
  padding: 6rem 0 4rem 0;
  min-height: 40vh;
}

.skills .heading {
  text-align: center;
  font-size: 3rem;
  color: purple;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.skills .container {
  max-width: 90%;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(74, 0, 224, 0.08), 0 1.5px 4px rgba(0, 0, 0, 0.07);
}

.skills .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.skills .skill {
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 220px;
  background: #f0f0ff;
  border-radius: 0.8rem;
  box-shadow: 0 2px 8px rgba(186, 2, 183, 0.06);
  padding: 2rem 1rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s;
}

.skills .skill:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 6px 18px rgba(155, 6, 185, 0.13);
}

.skills .skill h3 {
  font-size: 1.3rem;
  color: purple;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

/* =========================
   Languages Section
   ========================= */
.languages {
  background: linear-gradient(to bottom, purple, black);
  padding: 6rem 0 4rem 0;
  min-height: 30vh;
}

.languages .heading {
  text-align: center;
  font-size: 3rem;
  color: white;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.languages .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(74, 0, 224, 0.08), 0 1.5px 4px rgba(0, 0, 0, 0.07);
}

.languages .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.languages .language {
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 220px;
  background: purple;
  border: 2px solid white;
  border-radius: 0.8rem;
  box-shadow: 0 2px 8px rgba(186, 2, 183, 0.06);
  padding: 2rem 1rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s, background 0.18s;
}

.languages .language:hover {
  transform: translateY(-6px) scale(1.04);
  background: #111;
  box-shadow: 0 6px 18px rgba(155, 6, 185, 0.13);
}

.languages .language h3 {
  font-size: 1.3rem;
  color: white;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

/* =========================
   Achievements & Publications Section
   ========================= */
.achievements-publications {
  background-color: white;
  padding: 6rem 0 4rem 0;
  min-height: 30vh;
}

.achievements-publications .heading {
  text-align: center;
  font-size: 3rem;
  color: purple;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.achievements-publications .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.achievements-publications .box {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px purple, 0 1.5px 4px purple;
  padding: 2rem 1.5rem;
  min-width: 220px;
  max-width: 100%;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.achievements-publications .box:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 6px 18px black;
}

.achievements-publications .box h3 {
  font-size: 1.4rem;
  color: purple;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.achievements-publications .box p {
  font-size: 1.1rem;
  color: purple;
  margin-bottom: 0.5rem;
  font-family: "Nunito", sans-serif;
  text-align: justify;
}

.achievements-publications .box a {
  color: #fff;
  background: purple;
  padding: 0.3rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
  margin-top: 0.5rem;
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}

.achievements-publications .box a:hover {
  background: #fff;
  border:1px solid purple;
  color: purple;
}

/* =========================
   Coursework Section
   ========================= */
.coursework {
  background: linear-gradient(to bottom, purple, black);
  padding: 6rem 0 4rem 0;
  min-height: 30vh;
}

.coursework .heading {
  text-align: center;
  font-size: 3rem;
  color: white;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.coursework .container {
  max-width: 90%;
  margin: 0 auto;
  padding: 2rem;
  background: #f7f7fa;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(74, 0, 224, 0.08);
}

.coursework .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.coursework .course {
  flex: 1 1 260px;
  min-width: 200px;
  max-width: 320px;
  background: #fff;
  border: 2px solid purple;
  border-radius: 0.8rem;
  box-shadow: 0 2px 8px rgba(186, 2, 183, 0.06);
  padding: 1.5rem 1rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
}

.coursework .course:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 6px 18px rgba(155, 6, 185, 0.13);
  background: #faf6ff;
}

.coursework .course-name {
  font-size: 1.2rem;
  color: purple;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.coursework .subject-code {
  font-size: 1rem;
  color: #555;
  background: #f0e6ff;
  border-radius: 0.4rem;
  padding: 0.3rem 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
}

/* =========================
   Footer Section
   ========================= */
.footer {
  min-height: auto;
  background: white;
}

.footer .box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer .box-container .box {
  flex: 1 1 25rem;
  margin: 2rem;
}

.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: purple;
  padding-bottom: 1rem;
  font-weight: normal;
  text-align: center;
}

.footer .box-container .box p {
  font-size: 1.5rem;
  color: purple;
  padding: 0.7rem 0;
  text-transform: none;
  text-align: justify;
}

.footer .box-container .box p i {
  padding-right: 1rem;
  color: purple;
}

.footer .box-container .box a {
  font-size: 1.5rem;
  color: purple;
  padding: 0.3rem 0;
  display: block;
  text-align: center;
}

.footer .box-container .box a:hover {
  color: purple;
}

.footer .box-container .box .share {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.footer .box-container .box .share a {
  height: 4rem;
  width: 4rem;
  padding: 1rem;
  text-align: center;
  border-radius: 5rem;
  font-size: 1.7rem;
  margin-right: 1rem;
  transition: 0.2s;
  background: purple;
  color: white;
  border: none;
}

.footer .box-container .box .share a:hover {
  background: transparent;
  transform: scale(0.98);
  border: 0.1rem solid purple;
  color: purple;
}

.footer .credit {
  padding: 1rem 0 0 0;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  color: black;
  border-top: 0.1rem solid #fff3;
}

.footer .credit a {
  color: purple;
}

/* =========================
   Scroll Top Button
   ========================= */
#scroll-top {
  position: fixed;
  top: -140%;
  right: 2rem;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  background: purple;
  color: white;
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}

#scroll-top:hover{
  background-color: white;
  color: purple;
  border:1px solid purple;
}

#scroll-top.active {
  top: calc(100% - 12rem);
}

/* =========================
   Responsive Utilities
   ========================= */
@media (max-width: 900px) {

  .work .box-container,
  .certifications .box-container,
  .achievements-publications .box-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .work .box,
  .certifications .box,
  .achievements-publications .box {
    max-width: 95vw;
  }

  .skills .container,
  .languages .container,
  .coursework .container {
    padding: 1rem;
  }
}

@media (max-width: 600px) {
  section {
    padding: 2rem;
  }

  .heading {
    font-size: 2.1rem;
  }

  .skills .container,
  .languages .container,
  .coursework .container {
    padding: 0.5rem;
  }

  .skills .row,
  .languages .row,
  .coursework .row {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .skills .skill,
  .languages .language,
  .coursework .course {
    width: 90%;
    min-width: 0;
    max-width: 100%;
    margin: 0.5rem 0;
  }

  .footer .box-container .box {
    margin: 1.5rem;
  }

  .footer .box-container .box p {
    padding: 0.7rem;
  }

  .footer .box-container .box .share a {
    padding: 1.2rem;
  }

  html {
    font-size: 55%;
  }

  body {
    padding-right: 0;
  }
}

/* Responsive for Laptop, Tablet, and Mobile */

/* ----------- Laptop/Desktop (default styles already apply) ----------- */

/* ----------- Tablet (max-width: 1024px) ----------- */
@media (max-width: 1024px) {
  html {
    font-size: 58%;
  }

  section {
    padding: 2rem 3%;
  }

  .heading {
    font-size: 2.5rem;
  }

  .work .box,
  .certifications .box,
  .achievements-publications .box {
    max-width: 90vw;
  }

  .skills .container,
  .languages .container,
  .coursework .container {
    padding: 1rem;
  }

  .footer .box-container .box {
    margin: 1.5rem;
  }
}

/* ----------- Tablet & Mobile (max-width: 900px) ----------- */
@media (max-width: 900px) {

  .work .box-container,
  .certifications .box-container,
  .achievements-publications .box-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .skills .row,
  .languages .row,
  .coursework .row {
    gap: 1.2rem;
  }

  .skills .skill,
  .languages .language,
  .coursework .course {
    min-width: 140px;
    max-width: 180px;
    padding: 1.2rem 0.5rem;
  }

  .top-skills .container {
    width: 95%;
    padding: 1rem;
  }
}

/* ----------- Mobile (max-width: 600px) ----------- */
@media (max-width: 600px) {
  html {
    font-size: 55%;
  }

  body {
    padding-right: 0;
  }

  section {
    padding: 2rem 0.5rem;
  }

  .heading {
    font-size: 2.1rem;
  }

  .skills .container,
  .languages .container,
  .coursework .container {
    padding: 0.5rem;
  }

  .skills .row,
  .languages .row,
  .coursework .row {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .skills .skill,
  .languages .language,
  .coursework .course {
    width: 90%;
    min-width: 0;
    max-width: 100%;
    margin: 0.5rem 0;
  }

  .footer .box-container .box {
    margin: 1.2rem 0.5rem;
  }

  .footer .box-container .box p {
    padding: 0.7rem;
  }

  .footer .box-container .box .share a {
    padding: 1.2rem;
  }

  .education .box-container .box {
    flex-direction: column;
    width: 100%;
  }

  .education .box-container .box .image {
    width: 100%;
    height: 25rem;
  }

  .education .box-container .box img {
    width: 100%;
  }

  .education .box-container .box .content {
    padding: 1rem;
    flex: 0;
  }

  .experience .timeline {
    margin-top: 2rem;
  }

  .experience .timeline::after {
    left: 31px;
  }

  .experience .container {
    width: 100%;
    padding-left: 8rem;
    padding-right: 2rem;
  }

  .experience .container::after {
    font-size: 2.2rem;
  }

  .experience .container::before {
    left: 61px;
    border: medium solid #f68c09;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f68c09 transparent transparent;
  }

  .experience .left::after,
  .experience .right::after {
    left: 15px;
  }

  .experience .right {
    left: 0%;
  }

  .morebtn {
    margin-top: 3rem;
  }

  .top-skills .container {
    width: 100%;
    padding: 0.5rem;
  }
}

/* ----------- Extra Small Devices (max-width: 450px) ----------- */
@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .footer .box-container .box {
    margin: 1rem 0.2rem;
  }

  .footer .box-container .box .share a {
    padding: 1rem;
  }

  #scroll-top {
    right: 1rem;
    padding: 0.8rem 1.2rem;
    font-size: 1.7rem;
  }

  section {
    padding: 1rem 0.2rem;
  }
}