@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");
@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap");
@import url("./themes.css");
@import url("./section-template.css");

* {
  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: var(--background);
  color: var(--text);
  font-family: "Poppins", sans-serif;
}

*::selection {
  background: var(--heading-span);
  color: #fff;
}

html::-webkit-scrollbar {
  width: 0.8rem;
}
html::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
html::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
}

/* pre loader start */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background: #e6eff1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.loader-container.fade-out {
  top: -120%;
}
/* pre loader end */

/* navbar starts */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.7rem 10%;
  height: 6.5rem;
  background-color: var(--navbar-bg);
  box-shadow: 0 1px 4px var(--navbar-shadow);
}
section {
  min-height: 100vh;
  padding: 2rem 9%;
}
.heading {
  font-size: 3.5rem;
  color: var(--heading);
  font-weight: 800;
  text-align: center;
}
.heading span {
  color: var(--heading-span);
}
header .logo {
  font-size: 1.9rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
}
header .logo i {
  font-size: 2.2rem;
}
header .logo:hover {
  color: #fc8c05;
}
header .navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .navbar li {
  margin-left: 2.5rem;
}
header .navbar ul li a {
  font-size: 1.57rem;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04rem;
  transition: 0.2s;
}
header .navbar ul li a.active,
header .navbar ul li a:hover {
  color: var(--heading-span);
  border-bottom: 0.2rem solid var(--heading-span);
  padding: 0.5rem 0;
}
/* navbar ends */

/* hamburger icon starts*/
#menu {
  font-size: 3rem;
  cursor: pointer;
  color: var(--text);
  display: none;
}
@media (max-width: 768px) {
  #menu {
    display: block;
  }
  header .navbar {
    position: fixed;
    top: 6.5rem;
    right: -120%;
    width: 75%;
    height: 100%;
    text-align: left;
    align-items: flex-start;
    background-color: var(--navbar-bg);
    box-shadow: 0 5px 10px var(--box-shadow);
    backdrop-filter: blur(10px);
  }
  header .navbar ul {
    flex-flow: column;
    padding: 1rem;
  }
  header .navbar ul li {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem;
  }
  header .navbar ul li a {
    display: block;
    padding: 1rem;
    text-align: left;
    color: var(--text);
    font-size: 2rem;
  }
  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    padding: 1rem;
    color: var(--heading-span);
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid var(--heading-span);
  }
  .fa-times {
    transform: rotate(180deg);
  }
  header .navbar.nav-toggle {
    right: 0;
  }
}
/* hamburger icon ends */

/* hero section starts*/
.home {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  min-height: 100vh;
  align-items: center;
  background: var(--background);
}
.home #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.home::before {
  content: "";
  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 var(--box-shadow);
  cursor: pointer;
}
.home .image img:hover {
  box-shadow: 0 5px 15px var(--box-shadow);
}
.home .content h2 {
  font-size: 5rem;
  font-weight: 800;
  color: var(--heading);
}
.home .content h2 span {
  font-size: 5rem;
  font-weight: 800;
  color: var(--heading-span);
}
.home .content p {
  font-size: 2.5rem;
  color: var(--text);
  font-weight: 600;
  padding: 1rem 0;
}
.home .content p span {
  font-size: 2.5rem;
  color: var(--heading-span);
  font-weight: 600;
  padding: 1rem 0;
}
.home .btn {
  margin-top: 1rem;
  position: absolute;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 4em;
  transition: 0.5s;
  color: var(--btn-primary-color);
  background: var(--btn-primary-bg);
  box-shadow: 0px 5px 18px var(--btn-primary-shadow);
  font-family: "Nunito", sans-serif;
}
.home .btn span {
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
}
.home .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.home .btn:hover {
  background: var(--btn-primary-hover);
}
.home .btn:hover i {
  transform: translateX(5px);
}
/* social icons start */
.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: #00d9ff;
  background-color: var(--navbar-bg);
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 100%;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: #fff;
  background-color: var(--heading-span);
}
.social-icons a.github:hover {
  background-color: #0e0e0e;
}
.social-icons a.twitter:hover {
  background-color: #00aced;
}
.social-icons a.linkedin:hover {
  background-color: #007bb6;
}
.social-icons a.dev:hover {
  background-color: #070707;
}
.social-icons a.instagram:hover {
  background-color: #ee00da;
}
/* social icons end */

/* hero media queries starts*/
@media (max-width: 450px) {
  .home .btn {
    margin: 4rem 0;
  }
  .socials {
    margin-top: 12rem;
  }
  .home .image img {
    margin-top: -12rem;
  }
  .home .content p {
    font-size: 2.2rem;
  }
  .home .content p span {
    font-size: 2.2rem;
  }
}
/* hero media queries ends*/
/* hero section end */

/* about section starts */
.about {
  background: var(--background);
  min-height: auto;
  padding: 2rem 9%;
}
.about .row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem;
  min-height: auto;
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about .row .image {
  text-align: center;
  flex: 1 1 35rem;
  min-width: 300px;
  max-width: 400px;
}
.about .row .image img {
  margin: 2rem auto;
  width: 100%;
  max-width: 30rem;
  height: auto;
  border-radius: 5%;
  box-shadow: 0 5px 10px var(--box-shadow);
  mix-blend-mode: normal;
  transition: 0.3s;
  cursor: pointer;
  display: block;
}
.about .row .image img:hover {
  transform: scale(1.05);
}
.about .row .content {
  flex: 1 1 45rem;
  padding: 2rem;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.about .row .content h3 {
  color: var(--heading);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  width: 100%;
}
.about .row .content .tag {
  font-size: 1.4rem;
  color: var(--heading-span);
  font-weight: 600;
  margin: 0.5rem 0 1rem 0;
  display: inline-block;
  width: auto;
}
.about .row .content p {
  font-size: 1.5rem;
  margin: 1rem 0;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  text-transform: none;
  color: var(--text);
  line-height: 1.6;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.about .row .content .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  width: 100%;
  margin: 1rem 0;
}
.about .row .content .box-container .box {
  flex: 1 1 auto;
  min-width: 200px;
}
.about .row .content .box-container .box p {
  text-transform: none;
  margin: 0;
  font-size: 1.3rem;
}
.about .row .content .box-container .box p span {
  color: var(--heading-span);
}
.resumebtn {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.resumebtn .btn {
  padding: 1.7rem 3rem;
  border-radius: 0.5em;
  transition: 0.3s;
  color: var(--btn-primary-color);
  background: var(--btn-primary-bg);
  box-shadow: 0px 5px 10px var(--btn-primary-shadow);
  font-family: "Nunito", sans-serif;
}
.resumebtn .btn span {
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
}
.resumebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.2rem;
  transition: 0.3s;
}
.resumebtn .btn:hover {
  background: var(--btn-primary-hover);
}
.resumebtn .btn:hover i {
  transform: translateX(5px);
}
/* about media queries starts*/
@media screen and (max-width: 768px) {
  .about {
    padding: 1rem 5%;
  }
  .about .row {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    margin-bottom: auto;
  }
  .about .row .image {
    margin-top: 1rem;
    max-width: 100%;
    min-width: auto;
  }
  .about .row .image img {
    margin: 1rem auto;
    width: 80%;
    max-width: 25rem;
    mix-blend-mode: normal;
  }
  .about .row .content {
    padding: 1rem;
    width: 100%;
  }
  .about .row .content h3 {
    font-size: 2.2rem;
    text-align: center;
  }
  .about .row .content .tag {
    text-align: center;
    width: 100%;
  }
  .about .row .content p {
    font-size: 1.4rem;
    text-align: justify;
  }
  .about .row .content .box-container {
    gap: 1rem;
    flex-direction: column;
  }
  .about .row .content .box-container .box {
    min-width: auto;
    width: 100%;
  }
  .resumebtn {
    justify-content: center;
    margin-top: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .about .row .content h3 {
    font-size: 2rem;
  }
  .about .row .content p {
    font-size: 1.3rem;
  }
  .about .row .content .box-container .box p {
    font-size: 1.2rem;
  }
}
/* about media queries ends*/
/* about section ends */

/* skills section starts */
.skills {
  min-height: 90vh;
  background: var(--section-bg);
}
.skills h2 {
  color: var(--heading);
}
.skills .heading span {
  color: var(--heading-span);
}
.skills .container {
  background: var(--card-bg);
  color: var(--text);
  border-radius: 1rem;
  padding: 2rem;
  width: 90%;
  margin: auto;
  margin-top: 2rem;
  box-shadow: 0 5px 10px var(--box-shadow);
}
.skills .container .row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  flex-wrap: wrap;
  gap: 1.8rem;
}
.skills .container .bar {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 1rem;
  box-shadow: 0 4px 10px var(--box-shadow);
  background: var(--navbar-bg);
  transition: 0.2s;
}
.skills .container .bar:hover {
  box-shadow: 0 8px 10px var(--btn-primary-shadow) !important;
  background-color: var(--card-bg) !important;
  transform: translateY(-5px);
}
.skills .container .bar .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.skills .container .bar .info i {
  font-size: 4rem;
  color: var(--heading-span);
}
.skills .container .bar .info span {
  font-size: 2rem;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  margin-left: 0.5rem;
  color: var(--text);
}
/* skills media queries starts*/
@media screen and (max-width: 600px) {
  .skills .container {
    padding: 0;
    margin: 0;
    margin-top: 5px;
    width: 100%;
  }
  .skills .container .row {
    grid-template-columns: repeat(2, 1fr);
    margin: 1rem;
    padding: 2rem 0.2rem 2rem 0.2rem;
    gap: 1rem;
  }
}
/* skills media queries ends*/
/* skills section ends */

/* education section starts */
.education {
  background: var(--background);
  min-height: 80vh;
}
.education .qoute {
  font-size: 2rem;
  text-align: center;
  font-family: "Kaushan Script", cursive;
  font-weight: 400;
  margin-top: 0.5rem;
  color: var(--text);
}
.education .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.education .box-container .box {
  display: flex;
  flex-direction: row;
  width: 80%;
  border-radius: 0.5rem;
  box-shadow: 0.2rem 0.5rem 1rem var(--box-shadow);
  text-align: center;
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  transition: 0.3s;
  background: var(--card-bg);
}
.education .box-container .box a {
  display: flex;
  flex-direction: row;
  width: 80%;
}

.education .box-container .box:hover {
  transform: scale(1.03);
  box-shadow: 1rem 0.5rem 1.2rem var(--box-shadow);
}
.education .box-container .box .image {
  flex: 1 1 20rem;
  width: 100%;
}
.education .box-container .box img {
  object-fit: cover;
  position: relative;
  width: 100%;
  height: 100%;
}
.education .box-container .box .content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex-wrap: wrap;
  flex: 1 1 70rem;
  margin: 0;
}
.education .box-container .box .content h3 {
  font-size: 2.5rem;
  color: var(--heading);
  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;
  color: var(--text);
}
.education h4 {
  font-size: 2rem;
  color: var(--heading-span);
  text-align: left;
  margin: 1rem;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
}

/* education media queries starts*/
@media screen and (max-width: 600px) {
  .education .box-container .box {
    flex-direction: column;
    width: 100%;
  }
  .education .box-container .box a {
    display: flex;
    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 {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex-wrap: wrap;
    flex: 0;
  }
  .education .btns {
    margin-top: 2rem;
    margin-left: 1rem;
    margin-right: 1rem;
    flex-wrap: wrap;
  }
}
/* education media queries ends*/
/* education section ends */

/* work section starts */
.work {
  background: var(--work-bg);
}
.work h2 {
  color: var(--work-heading);
  padding: 1rem;
}
.work .heading span {
  color: var(--work-span);
}
.work .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem;
}
.work .box-container .box {
  flex: 1 1 30rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  height: 30rem;
}
.work .box-container .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.work .box-container .box .content {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 85%;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
}
.work .box-container .box .content .tag {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
  width: 100%;
  padding-left: 1rem;
  background: #ffd900;
}
.work .box-container .box .content .tag h3 {
  font-size: 2rem;
}
.work .box-container .box:hover .content {
  top: 25%;
}
.work .desc {
  margin: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.work .desc p {
  font-size: 1.5rem;
}
.work .desc .btns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
}
.work .desc .btns .btn {
  line-height: 0;
  display: inline;
  padding: 1.5rem 2.5rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  color: #fff;
  background: rgb(12, 12, 12);
  margin-right: 2rem;
}
.work .desc .btns .btn:hover {
  background: #310ae0f5;
}
.work .viewall {
  display: flex;
  justify-content: center;
}
.work .viewall .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: rgb(255, 255, 255);
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0px 5px 10px rgba(65, 84, 241, 0.4);
  text-align: center;
}
.work .viewall .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.work .viewall .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.work .viewall .btn:hover {
  background: #fff;
  color: #000;
}
.work .viewall .btn:hover i {
  transform: translateX(5px);
}
/* work section ends */

/* experience section starts */
.experience {
  background: var(--background);
}
.experience .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.experience .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: linear-gradient(180deg, var(--heading-span) 0%, var(--heading-span) 100%);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: 5;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation: timelineGrow 2s ease-out;
}
.experience .container {
  padding: 15px 45px;
  position: relative;
  background-color: inherit;
  width: 50%;
  min-height: 80px;
}
.experience .container::after {
  content: "\f0b1";
  position: absolute;
  width: 30px;
  height: 30px;
  right: -19px;
  background-color: var(--background);
  border: 4px solid var(--heading-span);
  top: 20px;
  border-radius: 50%;
  z-index: 15;
  font-size: 16px;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  font-family: "Font Awesome\ 5 Free", sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  animation: circleAppear 0.6s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.experience .container:hover::after {
  transform: scale(1.2);
  box-shadow: 0 0 20px var(--heading-span);
  border-width: 5px;
}
.experience .left {
  left: 0;
}
.experience .right {
  left: 50%;
}
.experience .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 7;
  right: 30px;
  border: medium solid var(--navbar-bg);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--navbar-bg);
}
.experience .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 7;
  left: 30px;
  border: medium solid var(--navbar-bg);
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--navbar-bg) transparent transparent;
}
.experience .right::after {
  left: -19px;
}
.experience .theme-card {
  background-color: var(--card-bg);
  position: relative;
  border-radius: 6px;
  box-shadow: 0 4px 8px var(--box-shadow);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: cardSlideIn 0.8s ease-out forwards;
  z-index: 8;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* Staggered animation delays for timeline cards */
.experience .container:nth-child(1) .theme-card { animation-delay: 0.2s; }
.experience .container:nth-child(2) .theme-card { animation-delay: 0.4s; }
.experience .container:nth-child(3) .theme-card { animation-delay: 0.6s; }
.experience .container:nth-child(4) .theme-card { animation-delay: 0.8s; }
.experience .container:nth-child(5) .theme-card { animation-delay: 1.0s; }
.experience .container:nth-child(6) .theme-card { animation-delay: 1.2s; }
.experience .container:nth-child(7) .theme-card { animation-delay: 1.4s; }
.experience .container:nth-child(8) .theme-card { animation-delay: 1.6s; }
.experience .container:nth-child(9) .theme-card { animation-delay: 1.8s; }
.experience .theme-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px var(--box-shadow);
  border: 1px solid var(--heading-span);
}
.experience .theme-card .tag {
  font-size: 1.3rem;
  padding-top: 1.5rem;
  padding-left: 1.5rem;
}
.experience .theme-card .tag h2 {
  color: var(--heading);
}
.experience .theme-card .desc {
  margin-left: 1.5rem;
  padding-bottom: 1rem;
}
.experience .theme-card .desc h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading-span);
}
.experience .theme-card .desc p {
  font-size: 1.2rem;
  color: var(--text);
}
/* view all button */
.morebtn {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.morebtn .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: var(--btn-primary-color);
  background: var(--btn-primary-bg);
  box-shadow: 0px 5px 10px var(--btn-primary-shadow);
  text-align: center;
}
.morebtn .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.morebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.morebtn .btn:hover {
  background: var(--btn-primary-hover);
}
.morebtn .btn:hover i {
  transform: translateX(5px);
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  .experience {
    min-height: 80vh;
  }
  .experience .timeline {
    margin-top: 2rem;
  }
  .experience .timeline::after {
    left: 31px;
    z-index: 5;
  }
  .experience .container {
    width: 100%;
    padding-left: 8rem;
    padding-right: 2rem;
    min-height: 80px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .experience .container::after {
    font-size: 16px;
    z-index: 15;
    width: 30px;
    height: 30px;
    line-height: 1;
  }
  .experience .container::before {
    left: 61px;
    border: medium solid #f68c09;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f68c09 transparent transparent;
    z-index: 7;
  }
  .experience .left::after {
    left: 13px;
    width: 30px;
    height: 30px;
    top: 20px;
  }
  .experience .right::after {
    left: 13px;
    width: 30px;
    height: 30px;
    top: 20px;
  }
  .experience .right {
    left: 0%;
  }
  .morebtn {
    margin-top: 3rem;
  }
  
  /* Optimize animations for mobile performance */
  .experience .theme-card {
    animation-duration: 0.6s;
  }
  
  .experience .timeline::after {
    animation-duration: 1.5s;
  }
  
  .experience .container::after {
    animation-duration: 0.4s;
  }
  
  /* Reduce animation delays on mobile for faster loading */
  .experience .container:nth-child(1) .theme-card { animation-delay: 0.1s; }
  .experience .container:nth-child(2) .theme-card { animation-delay: 0.2s; }
  .experience .container:nth-child(3) .theme-card { animation-delay: 0.3s; }
  .experience .container:nth-child(4) .theme-card { animation-delay: 0.4s; }
  .experience .container:nth-child(5) .theme-card { animation-delay: 0.5s; }
  .experience .container:nth-child(6) .theme-card { animation-delay: 0.6s; }
  .experience .container:nth-child(7) .theme-card { animation-delay: 0.7s; }
  .experience .container:nth-child(8) .theme-card { animation-delay: 0.8s; }
  .experience .container:nth-child(9) .theme-card { animation-delay: 0.9s; }
}
/* experience media queries ends */
/* experience section ends */

/* certificate section starts */
.certificate {
  background: linear-gradient(to bottom, #000031, #00002c);
  min-height: 100vh;
  padding-bottom: 3rem;
}

.certificate h2 {
  color: #fff;
  padding: 1rem;
}

.certificate .heading span {
  color: rgb(255, 230, 0);
}

.certificate .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 1000px;
}

.certificate .viewall {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.certificate .viewall .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: rgb(255, 255, 255);
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0px 5px 10px rgba(65, 84, 241, 0.4);
  text-align: center;
}

.certificate .viewall .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}

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

.certificate .viewall .btn:hover {
  background: #fff;
  color: #000;
}

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

@media (max-width: 800px) {
  .certificate {
    min-height: 80vh;
  }

  .certificate .box-container {
    margin: 1rem;
  }

  section {
    min-height: auto;
    padding: 2rem;
  }
}
/* certificate section ends */

/* contact section starts */
.contact {
  background: var(--background);
  min-height: 60vh;
}
.contact .container {
  max-width: 1050px;
  width: 100%;
  background: var(--card-bg);
  border-radius: 1.5rem;
  margin: 2rem auto;
  box-shadow: 0 5px 10px var(--box-shadow);
}
.contact .container .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 2rem;
}
.contact .content .image-box {
  max-width: 60%;
  margin-left: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40rem;
}

/* 3D Contact Animation Styles */
.contact-animation {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.central-sphere {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 2rem 0;
  transform-style: preserve-3d;
  animation: rotate3d 20s infinite linear;
}

.sphere-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: linear-gradient(
    135deg,
    var(--heading-span),
    var(--btn-primary-bg)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: pulse 3s infinite ease-in-out;
}

.sphere-inner i {
  font-size: 3rem;
  color: white;
  animation: bounce 2s infinite ease-in-out;
}

.orbit {
  position: absolute;
  border: 2px solid var(--heading-span);
  border-radius: 50%;
  opacity: 0.3;
  animation: spin 15s infinite linear;
}

.orbit-1 {
  width: 160px;
  height: 160px;
  top: 20px;
  left: 20px;
  animation-duration: 10s;
}

.orbit-2 {
  width: 200px;
  height: 200px;
  top: 0;
  left: 0;
  animation-duration: 15s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 240px;
  height: 240px;
  top: -20px;
  left: -20px;
  animation-duration: 20s;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.element {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--card-bg);
  border: 2px solid var(--heading-span);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px var(--box-shadow);
  animation: float 6s infinite ease-in-out;
}

.element i {
  font-size: 1.5rem;
  color: var(--heading-span);
}

.element-1 {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.element-2 {
  top: 20%;
  right: 15%;
  animation-delay: 1s;
}

.element-3 {
  bottom: 30%;
  left: 10%;
  animation-delay: 2s;
}

.element-4 {
  bottom: 20%;
  right: 20%;
  animation-delay: 3s;
}

.element-5 {
  top: 50%;
  left: 5%;
  animation-delay: 4s;
}

.element-6 {
  top: 60%;
  right: 5%;
  animation-delay: 5s;
}

.contact-text {
  text-align: center;
  margin-top: 2rem;
  z-index: 10;
}

.contact-text h3 {
  font-size: 2.5rem;
  color: var(--heading);
  margin-bottom: 0.5rem;
  animation: fadeInUp 1s ease-out;
}

.contact-text p {
  font-size: 1.4rem;
  color: var(--text);
  opacity: 0.8;
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* Animations */
@keyframes rotate3d {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  25% {
    transform: rotateY(90deg) rotateX(15deg);
  }
  50% {
    transform: rotateY(180deg) rotateX(0deg);
  }
  75% {
    transform: rotateY(270deg) rotateX(-15deg);
  }
  100% {
    transform: rotateY(360deg) rotateX(0deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  25% {
    transform: translateY(-20px) scale(1.1);
  }
  50% {
    transform: translateY(-10px) scale(1.05);
  }
  75% {
    transform: translateY(-15px) scale(1.08);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Timeline Animation Keyframes */
@keyframes timelineGrow {
  0% {
    height: 0;
    opacity: 0;
  }
  100% {
    height: 100%;
    opacity: 1;
  }
}

@keyframes circleAppear {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes cardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact .content form {
  width: 45%;
  margin-right: 3.5rem;
}
form .form-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-group .field {
  height: 50px;
  display: flex;
  position: relative;
  margin: 1rem;
  width: 100%;
}
form i {
  position: absolute;
  top: 50%;
  left: 18px;
  color: var(--text);
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
}
form .field input,
form .message textarea {
  width: 100%;
  height: 100%;
  outline: none;
  padding: 0 16px 0 48px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  border-radius: 5px;
  border: 1px solid var(--text);
  background: var(--navbar-bg);
  color: var(--text);
}
.field input::placeholder,
.message textarea::placeholder {
  color: var(--text);
  opacity: 0.7;
}
.field input:focus,
.message textarea:focus {
  padding-left: 47px;
  border: 2px solid var(--heading-span);
}
.field input:focus ~ i,
.message textarea:focus ~ i {
  color: var(--heading-span);
}
form .message {
  position: relative;
  margin: 1rem;
  width: 100%;
}
form .message i {
  top: 25px;
  font-size: 20px;
  left: 15px;
}
form .message textarea {
  min-height: 130px;
  max-height: 230px;
  max-width: 100%;
  min-width: 100%;
  padding: 12px 20px 0 48px;
}
form .message textarea::-webkit-scrollbar {
  width: 0px;
}
form .button-area {
  display: flex;
  float: right;
  flex-direction: row-reverse;
}
.button-area button {
  color: var(--btn-primary-color);
  border: none;
  outline: none;
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 5px;
  padding: 13px 25px;
  background: var(--btn-primary-bg);
  box-shadow: 0px 5px 10px var(--btn-primary-shadow);
  transition: 0.3s ease;
  font-family: "Nunito", sans-serif;
}
.button-area button:hover {
  background: var(--btn-primary-hover);
}
.button-area span {
  font-size: 17px;
  padding: 1rem;
  display: none;
}
.button-area button i {
  position: relative;
  top: 6px;
  left: 2px;
  font-size: 1.5rem;
  transition: 0.3s;
  color: var(--btn-primary-color);
}
.button-area button:hover i {
  left: 8px;
}
/* contact section media queries starts */
@media (max-width: 900px) {
  .contact {
    min-height: 70vh;
  }
  .contact .container {
    margin: 3rem 0 2rem 0;
  }
  .contact .container .content {
    padding: 18px 12px;
    flex-direction: column;
  }
  .contact .content .image-box {
    max-width: 100%;
    margin: 0 0 2rem 0;
    height: 25rem;
  }
  .contact .content form {
    width: 100%;
    margin-right: 0;
  }

  /* Mobile responsive for contact animation */
  .central-sphere {
    width: 150px;
    height: 150px;
  }

  .sphere-inner {
    width: 90px;
    height: 90px;
  }

  .sphere-inner i {
    font-size: 2rem;
  }

  .orbit-1 {
    width: 120px;
    height: 120px;
    top: 15px;
    left: 15px;
  }

  .orbit-2 {
    width: 150px;
    height: 150px;
  }

  .orbit-3 {
    width: 180px;
    height: 180px;
    top: -15px;
    left: -15px;
  }

  .element {
    width: 35px;
    height: 35px;
  }

  .element i {
    font-size: 1rem;
  }

  .contact-text h3 {
    font-size: 2rem;
  }

  .contact-text p {
    font-size: 1.2rem;
  }
}
/* contact section media queries ends */
/* contact section ends */

/* footer section starts */
.footer {
  min-height: auto;
  padding-top: 0;
  background: var(--footer-bg);
}
.footer .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer .box-container .box {
  flex: 1 1 20rem;
}
.footer .box-container .box:last-child {
  margin-left: auto;
  text-align: right;
}
.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: var(--footer-text);
  padding: 1rem 0;
  font-weight: 600;
}
.footer .box-container .box p {
  font-size: 1.5rem;
  color: var(--footer-text);
  padding: 1rem 0;
  text-transform: none;
}
.footer .box-container .box p i {
  padding-right: 1rem;
  color: var(--heading-span);
}
.footer .box-container .box a {
  font-size: 1.8rem;
  color: var(--footer-text);
  padding: 1rem 0;
  display: block;
}
.footer .box-container .box a:hover {
  color: var(--heading-span);
}
.footer .box-container .box a:hover i {
  padding-right: 2rem;
}
.footer .box-container .box a i {
  padding-right: 1rem;
  color: var(--heading-span);
  transition: 0.2s;
}
.footer .box-container .box a i:hover {
  color: var(--social-hover);
}
.footer .box-container .box .share {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.footer .box-container .box:last-child .share {
  justify-content: flex-end;
}
.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: var(--heading-span);
  color: #fff;
}
.footer .box-container .box .share a:hover {
  background: transparent;
  transform: scale(0.98);
  border: 0.1rem solid rgb(180, 178, 178);
  color: var(--social-hover);
}
.footer .credit {
  padding: 1rem 0 0 0;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  color: var(--footer-text);
  border-top: 0.1rem solid rgba(255, 255, 255, 0.3);
}
.footer .credit a {
  color: var(--social-hover);
}
.footer .fa {
  color: #e90606;
  margin: 0 0.3rem;
  font-size: 1.5rem;
  animation: pound 0.35s infinite alternate;
}
@-webkit-keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@media (max-width: 450px) {
  .footer .box-container .box {
    margin: 1.5rem;
  }
  .footer .box-container .box p {
    padding: 0.7rem;
  }
  .footer .box-container .box .share a {
    padding: 1.2rem;
  }
}
/* footer section ends */

/* common media queries starts*/
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  body {
    padding-right: 0;
  }
  section {
    padding: 2rem;
  }
}
/* common media queries ends*/

/* scroll top starts */
#scroll-top {
  position: fixed;
  top: -140%;
  right: 2rem;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  background: var(--btn-secondary-bg);
  color: var(--navbar-bg);
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}
#scroll-top.active {
  top: calc(100% - 12rem);
}
/* scroll top ends */
