@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;
  border: none;
}

.header-actions {
  margin-left: auto;
}

.language-toggle {
  color: #10233f;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  background: #f7f7f7;
  font-family: "Poppins", sans-serif;
}

*::selection {
  background: #2b3dda;
  color: #fff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}
html::-webkit-scrollbar {
  width: 0.8rem;
}
html::-webkit-scrollbar-track {
  background: rgb(235, 202, 245);
}
html::-webkit-scrollbar-thumb {
  background: #420177;
}

/* 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: #fff;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.3);
}
section {
  min-height: 100vh;
  padding: 2rem 9%;
}
.heading {
  font-size: 3.5rem;
  color: rgb(32, 32, 32);
  font-weight: 800;
  text-align: center;
}
.heading span {
  color: rgb(115, 3, 167);
}
header .logo {
  font-size: 1.9rem;
  font-weight: 800;
  text-decoration: none;
  color: #0e2431;
}
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: #0e2431;
  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: #011aff;
  border-bottom: 0.2rem solid #011aff;
  padding: 0.5rem 0;
}
/* navbar ends */

/* hamburger icon starts*/
#menu {
  font-size: 3rem;
  cursor: pointer;
  color: rgb(24, 2, 63);
  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: #0e0f31;
  }
  header .navbar ul {
    flex-flow: column;
    padding: 1rem;
  }
  header .navbar ul li {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem;
    width: 26rem;
  }
  header .navbar ul li a {
    display: block;
    padding: 1rem;
    text-align: left;
    color: #fff;
    font-size: 2rem;
  }
  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    padding: 1rem;
    color: #fff;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid #011aff;
  }
  .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;
}
.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 rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.home .image img:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.home .content h1 {
  font-size: 5rem;
  font-weight: 800;
  color: #002057;
}
.home .content h1 span {
  font-size: 5rem;
  font-weight: 800;
  color: #ff7b00;
}
.home .content p {
  font-size: 2.5rem;
  color: #000;
  font-weight: 600;
  padding: 1rem 0;
}
.home .content p span {
  font-size: 2.5rem;
  color: rgb(148, 8, 8);
  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: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 18px rgba(48, 68, 247, 0.6);
  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: #1a047e;
}
.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: #09011b;
  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: #0685da;
}
.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 a.mega:hover {
  background-color: #ee0000;
}
/* 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: rgb(255, 255, 255);
}
.about .row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 4rem;
}
.about .row .image {
  text-align: center;
  flex: 1 1 35rem;
}
.about .row .image img {
  margin: 4rem;
  width: 30rem;
  height: auto;
  border-radius: 5%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
  mix-blend-mode: luminosity;
  transition: 0.3s;
  cursor: pointer;
}
.about .row .image img:hover {
  mix-blend-mode: normal;
}
.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;
}
.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 {
  text-transform: none;
}
.about .row .content .box-container .box p span {
  color: #011aff;
}.resumebtn {
  margin-top: 6rem;
}

.resumebtn .btn,
.resume-dropdown-content {
  padding: 1.7rem 3rem;
  border-radius: 0.5em;
  transition: 0.3s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  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: #1a047e;
}

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

.resume-button {
  background-color: #1a047e;
  color: white;
  padding: 1.7rem 3rem;
  font-size: 16px;
  border: none;
}

.resume-dropdown-content {
  display: none;
  position: absolute;
  background-color: #1a047e;
  min-width: 160px;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  font-family: "Nunito", sans-serif;
}

.resume-dropdown-content a {
  color: #fff;
  padding: 20px 30px;
  text-decoration: none;
  display: block;
}

.resume-dropdown-content a:hover {
  background-color: #1a047e;
}

.show {
  display: block;
}

.resumebtn {
  margin-top: 6rem;
}

.resumebtn .btn,
.resume-dropdown-content .resume-dropdown-content a {
  padding: 1.7rem 3rem;
  border-radius: 0.5em;
  transition: 0.3s;
  font-family: "Nunito", sans-serif;
}

.resumebtn .btn {
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
}

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

.resumebtn .btn:hover {
  background: #1a047e;
}

.resume-button {
  background-color: #1a047e;
  color: white;
  padding: 1.7rem 3rem;
  font-size: 1.8rem;
  border: none;
}

.resume-dropdown-content {
  display: none;
  position: absolute;
  background-color: #1a047e;
  min-width: 160px;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  font-family: "Nunito", sans-serif;
}

.resume-dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 1.8rem;
}

.resume-dropdown-content a:hover {
  background-color: #1a047e;
}

.show {
  display: block;
}




/* about media queries starts*/
@media screen and (max-width: 600px) {
  .about .row .image {
    margin-top: 2rem;
  }
  .about .row .image img {
    margin: 0 auto;
    width: 80%;
    mix-blend-mode: normal;
  }
  .about .row {
    padding: 0.5rem;
    margin-bottom: 7rem;
  }
  .about .row .content {
    padding: 1rem;
  }
  .about .row .content .box-container {
    gap: 0;
  }
}
/* about media queries ends*/
/* about section ends */

/* skills section starts */
.skills {
  min-height: auto;
  background: linear-gradient(to bottom, #57059e, #4a00e0);
}
.skills h2 {
  color: #fff;
}
.skills .heading span {
  color: rgb(255, 230, 0);
}
.skills .container {
  background: rgba(0, 0, 22, 0.4);
  color: #fff;
  border-radius: 1rem;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  width: min(100%, 110rem);
  margin: auto;
  margin-top: 2rem;
}
.skills .container .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: clamp(1rem, 2vw, 1.8rem);
}
.skills-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 2rem auto 0;
  padding: 1rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0.6rem;
  color: #fff;
  background: transparent;
  font: 600 1.5rem "Poppins", sans-serif;
  cursor: pointer;
}
.skills-toggle:hover {
  color: #10233f;
  background: #fff;
}
.skills-toggle[hidden] {
  display: none;
}
.skills .container .bar {
  min-width: 0;
  min-height: 12rem;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 22, 0.9);
  transition: 0.2s;
}
.skills .container .bar:hover {
  box-shadow: 0 8px 10px rgba(0, 2, 68, 0.8) !important;
  background-color: rgba(0, 0, 0, 0.9) !important;
}
.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;
}
.skills .container .bar .info span {
  font-size: 2rem;
  font-weight: 500;
  font-family: "Poppins";
  margin-left: 0.5rem;
}
/* skills media queries starts*/
@media screen and (max-width: 600px) {
  .skills .container .row {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  }
}
/* skills media queries ends*/
/* skills section ends */

/* certification cards are rendered from certifications.json */
.certifications {
  background: #e5ecfb;
}
.certifications .container,
.certification-list {
  max-width: 110rem;
  margin: 2rem auto 0;
}
.certification-list {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #4d3df2 transparent;
  padding: 0.5rem 0.2rem 1.6rem;
}
.certificate-card {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.8rem 2rem rgba(16, 35, 63, 0.1);
  scroll-snap-align: start;
}
.certificate-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: clamp(20rem, 38vw, 34rem);
  padding: 2rem;
  color: #10233f;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(77, 61, 242, 0.12), transparent 26%),
    linear-gradient(135deg, #fff, #f0efff);
  text-align: center;
}
.certificate-preview iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.certificate-preview.has-embed .certificate-preview-label {
  position: absolute;
  top: 0.8rem;
  left: 1rem;
  z-index: 1;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.9);
}
.certificate-preview > i {
  color: #4d3df2;
  font-size: 5rem;
}
.certificate-preview strong {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.certificate-preview > span:last-child {
  color: #516078;
  font-size: 1.5rem;
}
.certificate-preview .certificate-preview-label {
  align-self: flex-start;
  color: #516078;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.certificate-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  min-height: 9rem;
  padding: 1.6rem 2rem;
}
.certificate-icon {
  display: grid;
  flex: 0 0 5.2rem;
  width: 5.2rem;
  height: 5.2rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #4d3df2;
  font-size: 2.2rem;
}
.certificate-details {
  min-width: 0;
}
.certificate-details h3 {
  color: #10233f;
  font-size: 1.8rem;
  line-height: 1.35;
}
.certificate-details p,
.certificate-details a {
  display: inline-block;
  margin-top: 0.4rem;
  color: #516078;
  font-size: 1.4rem;
  overflow-wrap: anywhere;
}
.certificate-details a {
  color: #3d2bc4;
  font-weight: 600;
  flex: 0 0 auto;
}
.certification-arrow {
  display: grid;
  flex: 0 0 4.6rem;
  width: 4.6rem;
  height: 4.6rem;
  place-items: center;
  border: 1px solid rgba(16, 35, 63, 0.18);
  border-radius: 50%;
  color: #fff;
  background: #4d3df2;
  cursor: pointer;
}
.certification-arrow:hover:not(:disabled) {
  background: #3d2bc4;
}
.certification-arrow:disabled {
  cursor: default;
  opacity: 0.4;
}
.certification-arrow[hidden] {
  display: none;
}
.certification-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 120rem;
  margin: 2rem auto 0;
}
.certifications-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: fit-content;
  max-width: 100%;
  margin: 1.5rem auto 0;
  padding: 1.1rem 2rem;
  border-radius: 0.6rem;
  color: #fff;
  background: #4d3df2;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.certifications-view-all::after {
  content: "\f35d";
  font-family: "Font Awesome 5 Free";
  font-size: 1.2rem;
  font-weight: 900;
}
.certifications-view-all:hover {
  transform: translateY(-0.1rem);
  background: #3d2bc4;
}
.certifications-view-all:focus-visible {
  outline: 0.2rem solid #10233f;
  outline-offset: 0.2rem;
}
.certifications-state {
  grid-column: 1 / -1;
  flex: 0 0 100%;
  margin: 0;
  padding: 2rem;
  color: #516078;
  border: 1px dashed rgba(16, 35, 63, 0.25);
  border-radius: 1rem;
  text-align: center;
  font-size: 1.5rem;
}
.certifications-state.error {
  color: #a31919;
}

/* education section starts */
.education {
  background: #e5ecfb;
  min-height: 80vh;
}
.education .qoute {
  font-size: 1.5rem;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  margin-top: 0.5rem;
}
.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 rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  transition: 0.3s;
  background: rgb(252, 252, 252);
}
.education .box-container .box:hover {
  transform: scale(1.03);
  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;
  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;
}
.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: 2rem;
  color: rgb(34, 109, 0);
  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 .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: #010124; */
  background: linear-gradient(to bottom, #000031, #00002c);
}
.work h2 {
  color: #fff;
  padding: 1rem;
}
.work .heading span {
  color: rgb(255, 230, 0);
}
.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 .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.experience .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: #020133;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -2;
}
.experience .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
/*circles on timeline*/
.experience .container::after {
  content: "\f0b1";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: rgb(255, 255, 255);
  border: 4px solid #ff9f55;
  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%;
}
/* arrows pointing right */
.experience .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #f68c09;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #f68c09;
}
/* arrows pointing left  */
.experience .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #f68c09;
  border-width: 10px 10px 10px 0;
  border-color: transparent #f68c09 transparent transparent;
}
.experience .right::after {
  left: -16px;
}
.experience .content {
  background-color: #f68c09;
  position: relative;
  border-radius: 6px;
}
.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;
}
/* view all button */
.morebtn {
  display: flex;
  justify-content: center;
}
.morebtn .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  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: #1a047e;
}
.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;
  }
  .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 {
    left: 15px;
  }
  .experience .right::after {
    left: 15px;
  }
  .experience .right {
    left: 0%;
  }
  .morebtn {
    margin-top: 3rem;
  }
}
/* experience media queries ends */
/* experience section ends */

/* contact section starts */
.contact {
  background: #e5ecfb;
  min-height: 60vh;
}
.contact .container {
  max-width: 1050px;
  width: 100%;
  background: #fff;
  border-radius: 1.5rem;
  margin: 2rem 5rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
.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;
}
.contact .content .image-box img {
  width: 100%;
  height: 40rem;
  position: relative;
}
.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: rgb(51, 51, 51);
  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 rgb(51, 51, 51);
  background: #e5ecfb;
}
.field input::placeholder,
.message textarea::placeholder {
  color: rgb(51, 51, 51);
}
.field input:focus,
.message textarea:focus {
  padding-left: 47px;
  border: 2px solid rgb(115, 3, 167);
}
.field input:focus ~ i,
.message textarea:focus ~ i {
  color: rgb(115, 3, 167);
}
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: #fff;
  border: none;
  outline: none;
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 5px;
  padding: 13px 25px;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  transition: 0.3s ease;
  font-family: "Nunito", sans-serif;
}
.button-area button:hover {
  background: #421cecf5;
}
.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: #fff;
}
.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;
  }
  .contact .content .image-box {
    display: none;
  }
  .contact .content form {
    width: 100%;
    margin-right: 2rem;
  }
}
/* contact section media queries ends */
/* contact section ends */

/* footer section starts */
.footer {
  min-height: auto;
  padding-top: 0;
  background: rgb(0, 1, 43);
}
.footer .box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer .box-container .box {
  flex: 1 1 25rem;
  margin: 2.5rem;
}
.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: #fff;
  padding-bottom: 1rem;
  font-weight: normal;
}
.footer .box-container .box p {
  font-size: 1.5rem;
  color: #ccc;
  padding: 0.7rem 0;
  text-transform: none;
}
.footer .box-container .box p i {
  padding-right: 1rem;
  color: #ffae00;
}
.footer .box-container .box a {
  font-size: 1.5rem;
  color: rgb(238, 238, 238);
  padding: 0.3rem 0;
  display: block;
}
.footer .box-container .box a:hover {
  color: #ffae00;
}
.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: rgb(230, 230, 230);
  color: #02094b;
  border: none;
}
.footer .box-container .box .share a:hover {
  background: transparent;
  transform: scale(0.98);
  border: 0.1rem solid rgb(180, 178, 178);
  color: #ffae00;
}
.footer .credit {
  padding: 1rem 0 0 0;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  color: #fff;
  border-top: 0.1rem solid #fff3;
}
.footer .credit a {
  color: #ffae00;
}
.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: #ffae00;
  color: rgb(13, 0, 44);
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}
#scroll-top.active {
  top: calc(100% - 12rem);
}
/* scroll top ends */

/* Shared finishing touches */
:root {
  color-scheme: light;
  --ink: #10233f;
  --accent: #4d3df2;
  --surface: #fff;
  --focus: #ffae00;
}

html {
  scroll-padding-top: 8rem;
}

body {
  color: var(--ink);
  line-height: 1.65;
}

section {
  min-height: auto;
  padding: clamp(5rem, 8vw, 9rem) max(2rem, 9%);
  scroll-margin-top: 6.5rem;
}

.home {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 9rem;
}

.home #particles-js {
  opacity: 0.22;
  pointer-events: none;
}

.heading {
  margin-bottom: 2rem;
  line-height: 1.2;
  font-size: clamp(2.8rem, 4vw, 3.8rem);
}

header {
  padding-inline: clamp(2rem, 7vw, 10rem);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

header .logo {
  flex-shrink: 0;
  white-space: nowrap;
}

header .logo,
header .navbar ul li a {
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* Small language control shares the header without competing with the main links. */
.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.8rem;
}

.language-toggle {
  min-width: 4.2rem;
  min-height: 3.6rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(16, 35, 63, 0.18);
  border-radius: 99rem;
  color: #10233f;
  background: transparent;
  font: 600 1.35rem "Poppins", sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.language-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(77, 61, 242, 0.06);
}

.home .content h1 {
  line-height: 1.18;
  font-size: clamp(3.6rem, 5.2vw, 6rem);
  /* Preserve the original navy headline and orange name highlight. */
  color: #002057;
}

.home .content h1 span {
  font-size: inherit;
  color: inherit;
}

.home .content h1 span:last-child {
  color: #ff7b00;
}

.home .content p,
.home .content p span {
  line-height: 1.5;
}

.home .content p {
  color: #000;
}

.home .content p .hero-intro {
  color: #000;
}

.home .content p .typing-text {
  color: rgb(148, 8, 8);
}

.home .image img {
  display: block;
  max-width: 46rem;
  aspect-ratio: 1;
  object-fit: cover;
  margin-inline: auto;
  border: 0.8rem solid var(--surface);
}

.home .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.8rem;
}

.about .row {
  align-items: center;
  max-width: 120rem;
  margin-inline: auto;
  padding: 2rem 0;
}

.about .row .portrait {
  /* A smaller circular portrait gives the biography more room on wide screens. */
  flex: 0 0 clamp(18rem, 22vw, 25rem);
}

.about .row .image.portrait img {
  display: block;
  width: clamp(18rem, 22vw, 25rem);
  height: clamp(18rem, 22vw, 25rem);
  max-width: 100%;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
}

.about .row .content {
  padding: 2rem;
}

.about .row .content p {
  line-height: 1.8;
}

.about .row .content .box-container {
  gap: 0.5rem 3rem;
}

.resumebtn {
  position: relative;
  margin-top: 3rem;
}

.resumebtn .btn,
.button-area button,
.morebtn .btn,
.work .viewall .btn {
  min-height: 4.8rem;
  cursor: pointer;
}

.resume-dropdown-content {
  z-index: 5;
  margin-top: 0.8rem;
  border-radius: 0.8rem;
}

.skills .container {
  max-width: 110rem;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.skills .container .row {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.skills .container .bar {
  min-height: 12rem;
}

.skills .container .bar .info img {
  width: 4.8rem;
  height: 4.8rem;
  object-fit: contain;
}

.education .box-container .box {
  width: 100%;
  max-width: none;
  min-height: 15rem;
  margin: 0;
}

.education {
  min-height: auto;
}

.education .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 36rem), 1fr));
  align-items: stretch;
  gap: 1.6rem;
  max-width: 110rem;
  margin: 2rem auto 0;
}

.education .box-container .box .image {
  flex: 0 0 15rem;
  width: 15rem;
  min-height: 15rem;
}

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

.education .box-container .box .content {
  flex: 1 1 auto;
  justify-content: center;
}

.education .box-container .box .content h3 {
  font-size: clamp(1.7rem, 2.2vw, 2rem);
}

.education .box-container .box .content p {
  font-size: 1.35rem;
}

.education .box-container .box .content h4 {
  margin-block: 0.5rem;
  font-size: 1.5rem;
}

.work .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr));
  max-width: 120rem;
  margin: 2rem auto 3rem;
}

.work .box-container .box {
  min-width: 0;
  height: 32rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #221860, #5848d8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work .box-container .box:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.2rem 2.5rem rgba(0, 0, 0, 0.28);
}

.work .box-container .box .content {
  top: calc(100% - 4.5rem);
  background: rgba(255, 255, 255, 0.97);
  transition: top 0.3s ease;
}

.work .box-container .box:hover .content,
.work .box-container .box:focus-within .content {
  top: 18%;
}

.work .box-container .box .content .tag {
  min-height: 4.5rem;
}

.work .box-container .box img {
  display: block;
  background: linear-gradient(135deg, #221860, #5848d8);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 2.4rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 1.7rem;
}

.empty-state.error {
  color: #ffe3e3;
}

.experience .content {
  border-radius: 0.8rem;
  box-shadow: 0 0.8rem 2rem rgba(16, 35, 63, 0.14);
}

.contact .container {
  max-width: 100rem;
  margin: 2rem auto;
  overflow: hidden;
}

.contact .content .image-box {
  margin-left: 1rem;
}

.contact .content .image-box img {
  height: auto;
  max-height: 38rem;
  object-fit: contain;
}

.contact .content form {
  min-width: 0;
  margin-right: 1rem;
}

.form-group .field,
form .message {
  margin-inline: 0;
  width: 100%;
}

.form-status {
  clear: both;
  min-height: 2.4rem;
  padding: 1rem 0 0;
  color: #135b2c;
  font-size: 1.4rem;
}

.form-status.error {
  color: #a31919;
}

.button-area button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.footer .credit {
  margin: 0;
  padding-bottom: 1.5rem;
  line-height: 1.6;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1200px) {
  #menu {
    display: block;
  }

  header .navbar {
    position: fixed;
    top: 6.5rem;
    right: -110%;
    width: min(32rem, 86vw);
    height: calc(100dvh - 6.5rem);
    overflow-y: auto;
    background: #0e0f31;
    box-shadow: -1rem 1rem 2rem rgba(0, 0, 0, 0.2);
  }

  header .navbar.nav-toggle {
    right: 0;
  }

  header .navbar ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

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

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

  .header-actions {
    margin-left: auto;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

#menu {
  min-width: 4.4rem;
  min-height: 4.4rem;
  padding: 0.5rem;
  border-radius: 0.6rem;
  background: transparent;
}

@media (max-width: 900px) {
  #menu {
    display: block;
  }

  header .navbar {
    position: fixed;
    top: 6.5rem;
    right: -110%;
    width: min(32rem, 86vw);
    height: calc(100dvh - 6.5rem);
    overflow-y: auto;
    background: #0e0f31;
    box-shadow: -1rem 1rem 2rem rgba(0, 0, 0, 0.2);
  }

  header .navbar.nav-toggle {
    right: 0;
  }

  header .navbar ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

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

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

  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    padding: 1rem;
    color: #fff;
    border-bottom: 0.3rem solid #ffae00;
  }

  .home {
    gap: 1rem;
  }

  .home .image img {
    width: min(70%, 36rem);
    margin: 1rem auto;
  }

  .contact .content .image-box {
    display: none;
  }

  .contact .content form {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 768px) {
  header {
    padding-inline: 2rem;
  }

  header .navbar {
    right: -110%;
    width: min(32rem, 86vw);
    height: calc(100dvh - 6.5rem);
    overflow-y: auto;
    box-shadow: -1rem 1rem 2rem rgba(0, 0, 0, 0.2);
  }

  header .navbar ul li {
    width: 100%;
  }

  header .navbar ul li a {
    border-radius: 0.6rem;
  }

  .home {
    text-align: center;
    padding-top: 10rem;
  }

  .home .content {
    flex-basis: 100%;
  }

  .home .image {
    flex-basis: 100%;
  }

  .home .image img {
    width: min(62vw, 30rem);
    margin: 0 auto;
  }

  .socials {
    margin-top: 7rem;
  }

  .about .row {
    padding-inline: 0;
  }

  .about .row .content {
    flex-basis: 100%;
  }

  .about .row .image.portrait {
    flex: 0 0 auto;
    width: 100%;
  }

  .about .row .image.portrait img {
    width: 18rem;
    height: 18rem;
  }

  .about .row .content {
    padding: 1rem;
  }

  .skills .container {
    width: 100%;
  }

  .work .box-container .box .content {
    top: 48%;
  }

  .work .box-container .box:hover .content,
  .work .box-container .box:focus-within .content {
    top: 18%;
  }
}

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

  .home {
    min-height: auto;
    padding-top: 12rem;
    padding-bottom: 6rem;
  }

  .home .content h1,
  .home .content h1 span {
    font-size: clamp(3.4rem, 10vw, 4.8rem);
  }

  .home .content p,
  .home .content p span {
    font-size: 2rem;
  }

  .about .row .content .box-container .box {
    flex: 1 1 100%;
  }

  .education .box-container .box {
    width: 100%;
    min-height: 14rem;
    flex-direction: row;
  }

  .work .box-container {
    margin-inline: 0;
  }

  .work .box-container .box {
    height: 30rem;
  }

  .education .box-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 1.4rem;
  }

  .education .box-container .box {
    margin-top: 0;
  }

  .education .box-container .box .image {
    flex: 0 0 10rem;
    width: 10rem;
    height: auto;
    min-height: 0;
  }

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

  .education .box-container .box .content h3,
  .education .box-container .box .content p,
  .education .box-container .box .content h4 {
    margin-left: 0;
    overflow-wrap: anywhere;
  }

  .education .box-container .box .content h3 {
    font-size: 1.55rem;
  }

  .education .box-container .box .content p,
  .education .box-container .box .content h4 {
    font-size: 1.2rem;
  }

  .experience .timeline::after {
    background: #c8d0e0;
  }

  .experience .container::after {
    border-color: #ffae00;
  }

  .experience .container::before {
    border-color: transparent #fff transparent transparent;
  }

  .experience .content {
    border-left: 0.4rem solid #ffae00;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0.8rem 2rem rgba(16, 35, 63, 0.12);
  }

  .experience .content .tag,
  .experience .content .desc h3 {
    color: #10233f;
  }

  .experience .content .desc,
  .experience .content .desc p {
    color: #516078;
  }

  .contact .container {
    margin-inline: 0;
  }

  .contact .container .content {
    padding: 2rem 1.5rem;
  }

  .button-area button {
    display: inline-flex;
    min-height: 4.8rem;
    align-items: center;
  }

  .button-area span {
    display: inline;
    padding: 0 0.8rem 0 0;
    font-size: 1.5rem;
  }

  .button-area button i {
    top: 0;
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
