@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");

:root {
  /* Light Theme - Primary Colors */
  --color-primary: #2b3dda;
  --color-primary-dark: #2506ad;
  --color-primary-darker: #1a047e;
  --color-secondary: #ff7b00;
  --color-accent: #ffd900;
  --color-accent-purple: #420177;
  --color-accent-red: rgb(148, 8, 8);

  /* Light Theme - Backgrounds */
  --bg-light: #f7f7f7;
  --bg-white: #ffffff;
  --bg-light-blue: #e5ecfb;
  --bg-card: rgb(252, 252, 252);

  /* Light Theme - Text & Borders */
  --text-dark-primary: #002057;
  --text-dark: #000000;
  --text-dark-secondary: #020133;
  --text-gray: rgb(27, 27, 27);
  --text-light: #dbe7f6;

  /* Light Theme - Social Icons */
  --social-icon-cyan: #00d9ff;
  --social-icon-dark: #09011b;
  --social-icon-blue: #0685da;
  --social-icon-github: #0e0e0e;
  --social-icon-twitter: #00aced;
  --social-icon-linkedin: #007bb6;
  --social-icon-dev: #070707;
  --social-icon-instagram: #ee00da;

  /* Light Theme - Scrollbar */
  --scrollbar-track: rgb(235, 202, 245);
  --scrollbar-thumb: #420177;

  /* Light Theme - Other */
  --shadow-color: rgba(0, 0, 0, 0.3);
  --orange: #f68c09;
  --green: rgb(34, 109, 0);
  --blue-navy: rgb(0, 1, 43);

  /* Dark Theme - Backgrounds */
  --dark-bg-primary: #08111f;
  --dark-bg-secondary: #111a2e;
  --dark-bg-tertiary: #0b1323;
  --dark-bg-card: #0d1526;

  /* Dark Theme - Text */
  --dark-text-primary: #f4f7fb;
  --dark-text-secondary: #dbe7f6;
  --dark-text-tertiary: #b4c0d4;

  /* Dark Theme - Accent */
  --dark-accent: #7aa2ff;
  --dark-accent-green: #8ad27b;

  /* Dark Theme - Scrollbar */
  --dark-scrollbar-track: #0f172a;
  --dark-scrollbar-thumb: #7aa2ff;

  /* Gradients */
  --gradient-purple: linear-gradient(to bottom, #57059e, #4a00e0);
  --gradient-dark: linear-gradient(to bottom, #420177, #00002c);
}

* {
  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;
  scroll-padding-top: 6.5rem;
}
body {
  background: var(--bg-light);
  font-family: "Poppins", sans-serif;
}

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

html {
  font-size: 62.5%;
  overflow-x: hidden;
}
html::-webkit-scrollbar {
  width: 0.5rem;
}
html::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
html::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
}

/* pre loader start */
.loader-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  z-index: 99999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
.loader-container.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader {
  width: 12rem;
  height: 12rem;
  display: block;
  object-fit: contain;
}

/* 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);
}
.home .image img:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.home .content h2 {
  font-size: 5rem;
  font-weight: 800;
  color: var(--text-dark-primary);
}
.home .content h2 span {
  font-size: 5rem;
  font-weight: 800;
  color: var(--color-secondary);
}
.home .content p {
  font-size: 2.5rem;
  color: var(--text-dark);
  font-weight: 600;
  padding: 1rem 0;
}
.home .content p span {
  font-size: 2.5rem;
  color: var(--color-accent-red);
  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: var(--color-primary-dark);
  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: var(--color-primary-darker);
}
.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: var(--social-icon-cyan);
  background-color: var(--social-icon-dark);
  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(--social-icon-blue);
}
.social-icons a.github:hover {
  background-color: var(--social-icon-github);
}
.social-icons a.twitter:hover {
  background-color: var(--social-icon-twitter);
}
.social-icons a.linkedin:hover {
  background-color: var(--social-icon-linkedin);
}
.social-icons a.dev:hover {
  background-color: var(--social-icon-dev);
}
.social-icons a.instagram:hover {
  background-color: var(--social-icon-instagram);
}
/* social icons end */

/* hero media queries starts*/
@media (max-width: 450px) {
  .home .btn {
    margin: 2rem 0;
  }
  .socials {
    margin-top: 10rem;
  }
  .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(--bg-white);
}
.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: 40rem;
  border-radius: 5%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
  mix-blend-mode: luminosity;
  transition: all 0.3s ease;
  cursor: pointer;
}
.about .row .image img:hover {
  mix-blend-mode: normal;
  box-shadow: 0 5px 10px rgba(37, 6, 173, 0.51);
}
.about .row .content {
  flex: 1 1 45rem;
  padding: 3rem;
}
.about .row .content h3 {
  color: var(--text-gray);
  font-size: 3.5rem;
}
.about .row .content .tag {
  font-size: 2rem;
  color: var(--text-dark-secondary);
  font-weight: 600;
  margin-top: 1rem;
}
.about .row .content p {
  font-size: 2rem;
  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: var(--color-primary);
}
.resumebtn {
  margin-top: 6rem;
}
.resumebtn .btn {
  padding: 1.7rem 3rem;
  border-radius: 0.5em;
  transition: 0.3s;
  color: #fff;
  background: var(--color-primary-dark);
  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: var(--color-primary-darker);
}
.resumebtn .btn:hover i {
  transform: translateX(5px);
}
/* about media queries starts*/
@media screen and (max-width: 600px) {
  .home .content h2 {
    font-size: 3.5rem;
  }
  .home .content h2 span {
    font-size: 3.5rem;
  }
  .home .content p {
    font-size: 1.5rem;
    color: #000;
    font-weight: 600;
    padding: 1rem 0;
  }
  .home .content p span {
    font-size: 1.5rem;
    color: rgb(148, 8, 8);
    font-weight: 600;
    padding: 1rem 0;
  }
  .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 h3 {
    font-size: 2.5rem;
  }
  .about .row .content .tag {
    font-size: 1.4rem;
  }
  .about .row .content p {
    font-size: 1.5rem;
  }
  .about .row .content .box-container {
    gap: 0;
  }
}
/* about media queries ends*/
/* about section ends */

/* skills section starts */
.skills {
  min-height: 100vh;
  background: var(--gradient-purple);
}
.skills .quote {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  margin-top: 0.5rem;
}
.skills h2 {
  color: #fff;
}
.skills .heading span {
  color: var(--color-accent);
}
.skills .container {
  background: rgba(0, 0, 22, 0.4);
  color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  width: 90%;
  margin: auto;
  margin-top: 2rem;
}
.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 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 {
    padding: 0;
    margin: 0;
  }
  .skills .container .row {
    grid-template-columns: repeat(2, 1fr);
    margin: 1rem;
    padding: 2rem 0.2rem 2rem 0.2rem;
    gap: 1rem;
  }
  .skills .container {
    margin-top: 5px;
    width: 100%;
  }
}
/* skills media queries ends*/
/* skills section ends */

/* education section starts */
.education {
  background: var(--bg-light-blue);
  min-height: 100vh;
}
.education .quote {
  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;
  cursor: default;
}
.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: var(--bg-card);
}
.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: 0 0 20rem;
  width: 100%;
}
.education .box-container .box img {
  display: block;
  object-fit: cover;
  position: relative;
  width: 300px;
  height: 200px;
  overflow: hidden;
}
.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: var(--text-dark-secondary);
  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: var(--green);
  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 {
    display: block;
    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: var(--gradient-dark);
}
.work .quote {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  margin-top: 0.5rem;
}
.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;
  justify-content: center;
}
.work .box-container .box {
  flex: 0 0 35rem;
  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: var(--color-accent);
}
.work .box-container .box .content .tag h3 {
  font-size: 2rem;
}
.work .box-container .box:hover .content {
  top: 25%;
  cursor: default;
}
.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: var(--social-icon-dev);
  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: "Poppins", 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 .quote {
  font-size: 1.5rem;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  margin-top: 0.5rem;
}
.experience .timeline {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
}
.experience .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: var(--text-dark-secondary);
  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 var(--orange);
  top: 15px;
  border-radius: 50%;
  z-index: 100;
  font-size: 1.89rem;
  text-align: center;
  font-weight: 600;
  color: var(--blue-navy);
  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 var(--orange);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--orange);
}
/* arrows pointing left  */
.experience .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid var(--orange);
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--orange) transparent transparent;
}
.experience .right::after {
  left: -16px;
}
.experience .content {
  background-color: var(--orange);
  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: var(--color-primary-dark);
  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: var(--color-primary-darker);
}
.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: var(--bg-light-blue);
  min-height: 60vh;
}
.contact * {
  text-transform: none !important;
}
.contact .container {
  max-width: 1050px;
  width: 100%;
  background: var(--bg-white);
  border-radius: 1.5rem;
  margin: 2rem auto;
  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: var(--color-primary-dark);
  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 */

/* 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(--color-accent);
  color: rgb(13, 0, 44);
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}
#scroll-top.active {
  top: calc(100% - 12rem);
}
/* scroll top ends */
html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background: var(--dark-bg-primary);
  color: var(--dark-text-secondary);
}

html[data-theme="dark"] *::selection {
  background: var(--dark-accent);
  color: var(--dark-bg-primary);
}

html[data-theme="dark"]::-webkit-scrollbar-track {
  background: var(--dark-scrollbar-track);
}

html[data-theme="dark"]::-webkit-scrollbar-thumb {
  background: var(--dark-scrollbar-thumb);
}

html[data-theme="dark"] .loader-container {
  background: var(--dark-bg-secondary);
}

html[data-theme="dark"] .heading {
  color: #f4f7fb;
}

html[data-theme="dark"] .heading span,
html[data-theme="dark"] .about .row .content .box-container .box p span {
  color: var(--dark-accent);
}

html[data-theme="dark"] .home .content h2,
/* html[data-theme="dark"] .home .content h2 span, */
html[data-theme="dark"] .home .content p,
/* html[data-theme="dark"] .home .content p span, */
/* html[data-theme="dark"] .about .row .content h3, */
html[data-theme="dark"] .about .row .content .tag,
html[data-theme="dark"] .about .row .content p,
html[data-theme="dark"] .skills .quote,
html[data-theme="dark"] .skills .container .bar .info span,
html[data-theme="dark"] .education .quote,
html[data-theme="dark"] .education .box-container .box .content h3,
html[data-theme="dark"] .education .box-container .box .content p,
html[data-theme="dark"] .education h4,
html[data-theme="dark"] .work .quote,
html[data-theme="dark"] .work .desc p {
  color: var(--dark-text-secondary);
}

html[data-theme="dark"] .home .content p span {
  color: var(--color-secondary);
}

html[data-theme="dark"] .about .row .content h3 {
  color: var(--dark-accent);
}

html[data-theme="dark"] .about {
  background: var(--dark-bg-secondary);
}

html[data-theme="dark"] .about .row .image img,
html[data-theme="dark"] .education .box-container .box,
html[data-theme="dark"] .work .box-container .box {
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .about .row .content .tag {
  color: var(--dark-text-tertiary);
}

html[data-theme="dark"] .skills {
  background: linear-gradient(
    to bottom,
    var(--dark-bg-card),
    var(--dark-bg-primary)
  );
}

html[data-theme="dark"] .skills .container {
  background: rgba(13, 21, 38, 0.55);
  color: var(--dark-text-secondary);
}

html[data-theme="dark"] .skills .container .bar {
  background: rgba(13, 21, 38, 0.9);
}

html[data-theme="dark"] .skills .container .bar:hover {
  background-color: rgba(3, 7, 18, 0.95) !important;
}

html[data-theme="dark"] .education {
  background: var(--dark-bg-tertiary);
}

html[data-theme="dark"] .education .box-container .box {
  background: var(--dark-bg-secondary);
}

html[data-theme="dark"] .education .box-container .box .content h3 {
  color: var(--dark-text-primary);
}

html[data-theme="dark"] .education h4 {
  color: var(--dark-accent-green);
}

html[data-theme="dark"] .work .box-container .box .content .tag h3 {
  color: #08111f;
}

html[data-theme="dark"] .work {
  background: linear-gradient(
    to bottom,
    var(--dark-bg-card),
    var(--dark-bg-primary)
  );
}

html[data-theme="dark"] .work .box-container .box .content {
  background: rgba(13, 21, 38, 0.9);
}

html[data-theme="dark"] .experience .content .tag h2,
h3,
p {
  color: #08111f;
}

html[data-theme="dark"] .experience .timeline::after {
  background: #7aa2ff;
}

/* Dark theme - contact section */
html[data-theme="dark"] .contact {
  background: var(--dark-bg-secondary);
}

html[data-theme="dark"] .contact .container {
  background: var(--dark-bg-card);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] form .field input,
html[data-theme="dark"] form .message textarea {
  background: var(--dark-bg-secondary);
  border: 1px solid rgba(122, 162, 255, 0.2);
  color: var(--dark-text-primary);
}

html[data-theme="dark"] form i {
  color: var(--dark-text-tertiary);
}

html[data-theme="dark"] .field input::placeholder,
html[data-theme="dark"] .message textarea::placeholder {
  color: var(--dark-text-tertiary);
}

html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .message textarea:focus {
  border: 2px solid var(--dark-accent);
  background: rgba(13, 21, 38, 0.8);
}

html[data-theme="dark"] .field input:focus ~ i,
html[data-theme="dark"] .message textarea:focus ~ i {
  color: var(--dark-accent);
}

html[data-theme="dark"] .button-area button {
  background: var(--dark-accent);
  color: var(--dark-bg-primary);
  box-shadow: 0px 5px 10px rgba(122, 162, 255, 0.3);
}

html[data-theme="dark"] .button-area button:hover {
  background: rgba(122, 162, 255, 0.9);
  box-shadow: 0px 8px 15px rgba(122, 162, 255, 0.4);
}

html[data-theme="dark"] .button-area button i {
  color: var(--dark-bg-primary);
}

html[data-theme="dark"] .work .box-container .box .content .tag {
  background: var(--color-accent);
}

html[data-theme="dark"] .work .desc .btns .btn,
html[data-theme="dark"] .home .btn,
html[data-theme="dark"] .resumebtn .btn,
html[data-theme="dark"] .backbtn .btn,
html[data-theme="dark"] .morebtn .btn {
  box-shadow: 0px 5px 18px rgba(43, 74, 220, 0.35);
}

html[data-theme="dark"] .work .desc .btns .btn {
  background: var(--social-icon-dark);
}

html[data-theme="dark"] #scroll-top {
  background: var(--color-accent);
  color: var(--dark-bg-primary);
}

/* Toast */
#toast {
  position: fixed;
  top: 7rem;
  right: 20px;
  min-width: 250px;
  padding: 15px 20px;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  font-size: medium;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.4s,
    transform 0.4s;
  transform: translateX(400px);
  z-index: 9999;
}
#toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
#toast.success {
  background-color: var(--color-primary);
}
#toast.info {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}
#toast.error {
  background-color: #dc3545;
}
/* Toast ends */
