* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-transform: capitalize;
  text-decoration: none;
  outline: none;
  transition: all 0.3s;
}
img {
  max-width: 100%;
  height: auto;
}
body {
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
}
body.hidden {
  overflow: hidden;
}

section {
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.25rem, 6vw, 18%);
}

section:nth-child(odd) {
  background-color: #2b2b2b;
}
section:nth-child(even) {
  background-color: #202020;
}

.heading {
  color: white;
  font-size: 2rem;
  text-align: center;
}

html::-webkit-scrollbar {
  width: 0.6rem;
}
html::-webkit-scrollbar-track {
  background: #202020;
}
html::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(17, 119, 255, 0.5);
}
html::-webkit-scrollbar-thumb:hover {
  border-radius: 5px;
  background: #0077ff;
}

/*?======================== Preloader start ========================= */
.preloader {
  background-color: #202020;
  height: 100vh;
  width: 100%;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.preloader.hidden {
  transition: 1s;
  opacity: 0;
  transform: scale(2.5);
  visibility: hidden;
}
.preloader .loading {
  transform: scale(0.5);
}
.preloader .loading svg {
  width: 12em;
  height: 12em;
  animation: spinner 1.5s linear infinite;
}

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

/*?======================== Preloader end ========================= */

/*?======================== Navbar start =========================*/
nav {
  background-color: #202020;
  display: flex;
  width: 100%;
  justify-content: space-around;
  padding: 10px 0;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
  position: fixed;
  z-index: 100;
}
a.logo {
  display: flex;
  text-decoration: none;
  margin-top: 5px;
}
nav .logo img {
  border-radius: 50%;
  box-shadow: 0px 0px 2px #444;
}
nav .logo h4 {
  color: white;
  padding-left: 10px;
  line-height: 41px;
}

nav ul {
  display: flex;
  list-style: none;
  width: 50%;
  justify-content: space-between;
  line-height: 50px;
}
nav ul li a {
  text-decoration: none;
  color: aliceblue;
  transition: 0.2s;
}
nav ul li a.active,
nav ul li a:hover {
  color: #0077ff;
  border-bottom: 0.2rem solid #0077ff;
  padding: 0.5rem 0;
}

.menu-toggle {
  margin-top: 10px;
  display: none;
  flex-direction: column;
  height: 20px;
  justify-content: space-between;
  position: relative;
}
.menu-toggle input {
  width: 28px;
  height: 28px;
  position: absolute;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  background-color: white;
  border-radius: 1px;
  transition: 0.5s;
}

/*? hamburger menu animation */
.menu-toggle span:nth-child(2) {
  transform-origin: 0 0;
}
.menu-toggle span:nth-child(4) {
  transform-origin: 0 100%;
}
.menu-toggle input:checked ~ span:nth-child(2) {
  transform: rotate(45deg) translate(-1px, -1px);
}
.menu-toggle input:checked ~ span:nth-child(4) {
  transform: rotate(-45deg) translate(-1px, 0);
}
.menu-toggle input:checked ~ span:nth-child(3) {
  opacity: 0;
  transform: scale(0);
}

/*? responsive*/

@media screen and (max-width: 968px) {
  /* General text responsiveness */
  .heading {
    font-size: 1.8rem;
  }

  nav {
    bottom: 0;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  }
  ul li {
    width: 50%;
    text-align: center;
  }
  nav ul li a {
    font-size: 0.95rem;
  }
  nav ul {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 30vh;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    background-color: #202020;
    z-index: -999;
    transform: translateY(30%);
    opacity: 0;
    transition: transform 0.2s linear, opacity 0.3s linear;
    border-radius: 20px;
    box-shadow: 0 0 5px#202020;
  }

  .menu-toggle {
    display: flex;
    margin-top: 15px;
  }
  nav ul.slide {
    transform: translateY(-90%);
    opacity: 1;
  }
}
/*?======================== Navbar end =========================*/

/*?======================== Home Start =========================*/
.home {
  min-height: 100svh;
  padding: clamp(4rem, 8vh, 6rem) clamp(1.25rem, 6vw, 16%);
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.home #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.home div.foto {
  flex: 1 1 40rem;
  z-index: 1;
}
.home div.foto img {
  width: 35%;
  margin-left: 33rem;
  margin-top: 4rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.home div.foto img:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.home div.test {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: min(92vw, 680px);
  padding: 0 1rem;
}
/* .home div.test h2 span.typing-text {
  text-align: center;
  color: white;
  line-break: strict;
  font-weight: 800;
  font-size: 2rem;
  text-transform: none;
} */
.home div.test h2 {
  text-align: center;
  line-break: strict;
  color: white;
  font-weight: 800;
  font-size: 2rem;
  text-transform: none;
}
.h
.home div.test p {
  position: absolute;
  color: white;
  top: -10px;
  font-size: 1.5rem;
  margin-top: -12rem;
  text-align: center;
}
.home div.new {
    padding-top: 10px;
    width: min(90vw, 420px);
    margin: 10px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

@media only screen and (max-width: 420px)  {
  .home div.test h2 {
    font-size: 1.4rem;
  }
}

.home div.new p span {
  color: #0077ff;
}

.home div.new a {
  font-weight: 600;
  line-height: 0;
  padding: 1.3rem 2.4rem;
  border-radius: 5em;
  transition: transform 0.3s, background 0.3s, color 0s;
  box-shadow: 0px 5px 18px rgba(32, 32, 32, 0.6);
}

.home div.new a span {
  font-size: 1rem;
}

.home div.new a.email {
  color: black;
  background: white;
}

.home div.new a.cv {
  color: #fff;
  background: #4e4e4e;
}

.home div.new a:hover {
  transform: scale(1.1);
  color: white;
  background: #0077ff;
}

/*? responsive*/

@media screen and (max-width: 968px) {
  .home div.foto img {
    width: 50%;
    margin-top: 2rem;
    margin-left: 20%;
    margin-bottom: -10rem;
  }
  .home div.content {
    margin-top: 30rem;
    margin-left: 30%;
  }
  .home div.content h2 {
    text-align: center;
    font-size: 2rem;
  }
  .home div.content p {
    margin-top: -15rem;
    margin-left: -2rem;
    font-size: 1rem;
  }
  .home div.content a {
    margin-left: -3rem;
    margin-top: -13rem;
    padding: 1rem;
  }
  .home div.content a.cv {
    margin-left: 6rem;
  }
}

@media screen and (max-width: 568px) {
  /* General text responsiveness */
  .heading {
    font-size: 1.5rem;
  }

  nav ul li a {
    font-size: 0.85rem;
  }

  .home {
    height: 10vh;
  }
  .home div.foto img {
    width: 80%;
    margin: 0rem 10% -10rem;
  }
  .home div.content {
    margin-left: 20%;
    margin-top: 30rem;
    margin-bottom: -10rem;
  }
  .home div.content h2 {
    font-size: 1.6rem;
  }
  .home div.content p {
    margin-top: -15rem;
    font-size: 0.85rem;
  }
  .home div.content a {
    margin-top: -13rem;
    padding: 1rem;
  }
  .home div.content a.cv {
    margin-left: 30%;
  }
}

/*?======================== Home end =========================*/

/*?======================== About start =========================*/
section.about {
  /* min-height: auto; */
  min-height: 60vh;
}
.about div.about-me {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  padding: 1rem;
}
.about div.about-me div.foto {
  flex: 2 1 10rem;
  z-index: 1;
  text-align: center;
  padding: 30px;
}
.about div.about-me div.foto img {
  width: 100%;
  border-radius: 20px;
  margin-top: 0;
  filter: grayscale(100);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.about div.about-me div.foto img:hover {
  filter: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.about div.about-me div.about-desc {
  flex: 1 1 20rem;
  z-index: 1;
  padding: 30px;
  margin-bottom: 40px;
}

.main-timeline .timeline:first-child:before, .main-timeline .timeline:last-child:before {
  right: -17.5px !important;
}

.about div.about-me div.about-desc p {
  color: white;
  font-size: 1.3rem;
  font-weight: 300;
  text-transform: none;
  text-align: justify;
  /* width: 60%; */
  /* right: 0; */
}
.about div.about-me div.about-desc a {
  color: black;
  background-color: white;
  font-weight: 600;
  position: absolute;
  margin-top: 1rem;
  position: absolute;
  line-height: 0;
  padding: 1rem 1.8rem;
  border-radius: 0.5em;
  transition: background-color 0.3s;
  box-shadow: 0px 5px 18px rgba(43, 43, 43, 0.6);
}
.about div.about-me div.about-desc a i {
  transition: color 0s, transform 0.3s;
}
.about div.about-me div.about-desc a:hover i {
  transform: translateX(5px);
}
.about div.about-me div.about-desc a:hover {
  color: white;
  background: #0077ff;
}

/*? responsive */
@media screen and (max-width: 968px) {
  .about div.about-me {
    display: inline-block;
    flex-wrap: wrap;
  }
  .about div.about-me .foto {
    width: 50%;
    margin: -25px auto;
  }
  section.about {
    padding: 2rem 0;
  }
  .about div.about-me div.about-desc p {
    text-align: center;
    font-size: 1rem;
  }
  .about div.about-me div.about-desc h2 {
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 568px) {
  .about div.about-me .foto {
    width: 100%;
    margin: -25px auto;
  }
  .about div.about-me div.about-desc p {
    font-size: 0.9rem;
  }
  .about div.about-me div.about-desc h2 {
    font-size: 1.4rem;
  }
}

/*?======================== About end =========================*/

/*?======================== Education start =========================*/
section.education {
  min-height: 60vh;
  padding: 1.8rem 10%;
}

.education .education-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
}

.education .education-item {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 5px solid #0077ff;
}

.education .education-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 119, 255, 0.3);
}

.education .education-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0077ff, #0066dd);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 119, 255, 0.3);
}

.education .education-icon i {
  font-size: 2.5rem;
  color: white;
}

.education .education-content {
  flex: 1;
}

.education .education-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.education .degree {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: none;
}

.education .school {
  color: #0077ff;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: none;
}

.education .year {
  background: rgba(0, 119, 255, 0.2);
  color: #0077ff;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.education .education-details {
  color: #ccc;
}

.education .description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-transform: none;
  text-align: justify;
}

.education .achievements,
.education .coursework {
  margin-top: 1.5rem;
}

.education .achievements h5,
.education .coursework h5 {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: none;
}

.education .achievements ul {
  list-style: none;
  padding-left: 0;
}

.education .achievements li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.6;
  text-transform: none;
}

.education .achievements li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #0077ff;
  font-size: 1rem;
}

.education .course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.education .course-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.education .course-tag:hover {
  background: rgba(0, 119, 255, 0.2);
  border-color: #0077ff;
  transform: translateY(-2px);
}

/*? responsive */
@media screen and (max-width: 968px) {
  section.education {
    padding: 1.8rem 5%;
  }

  .education .education-item {
    flex-direction: column;
    padding: 2rem;
  }

  .education .education-icon {
    width: 70px;
    height: 70px;
    align-self: center;
  }

  .education .education-icon i {
    font-size: 2rem;
  }

  .education .degree {
    font-size: 1.5rem;
  }

  .education .school {
    font-size: 1.1rem;
  }

  .education .description {
    font-size: 1rem;
  }

  .education .year {
    font-size: 0.95rem;
  }

  .education .course-tag {
    font-size: 0.85rem;
  }

  .education .education-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media screen and (max-width: 568px) {
  section.education {
    padding: 1.8rem 2%;
  }

  .education .education-container {
    padding: 1rem;
  }

  .education .education-item {
    padding: 1.5rem;
  }

  .education .degree {
    font-size: 1.3rem;
  }

  .education .school {
    font-size: 1rem;
  }

  .education .description {
    font-size: 1rem;
  }

  .education .course-tag {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/*?======================== Education end =========================*/

/*?======================== Honors & Awards start =========================*/
section.honors {
  min-height: 60vh;
  padding: 1.8rem 10%;
}

.honors .honors-container {
  max-width: 1300px;
  margin: 2rem auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.honors .honor-item {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 5px solid #0077ff;
}

.honors .honor-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 119, 255, 0.3);
}

.honors .honor-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #0077ff, #0066dd);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 119, 255, 0.3);
}

.honors .honor-icon i {
  font-size: 2rem;
  color: white;
}

.honors .honor-content {
  flex: 1;
}

.honors .honor-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.honors .honor-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: none;
  line-height: 1.3;
}

.honors .issuer {
  color: #0077ff;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: none;
}

.honors .honor-date {
  background: rgba(0, 119, 255, 0.2);
  color: #0077ff;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.honors .honor-details {
  color: #ccc;
}

.honors .description {
  font-size: 1rem;
  line-height: 1.6;
  text-transform: none;
  text-align: justify;
}

.honors .achievements {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.honors .achievements li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.6;
  text-transform: none;
}

.honors .achievements li:before {
  content: "\f058";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #0077ff;
  font-size: 1rem;
}

/*? responsive */
@media screen and (max-width: 968px) {
  section.honors {
    padding: 1.8rem 5%;
  }

  .honors .honor-item {
    flex-direction: column;
    padding: 1.5rem;
  }

  .honors .honor-icon {
    width: 60px;
    height: 60px;
    align-self: center;
  }

  .honors .honor-icon i {
    font-size: 1.8rem;
  }

  .honors .honor-title {
    font-size: 1.3rem;
  }

  .honors .issuer {
    font-size: 1rem;
  }

  .honors .description {
    font-size: 1rem;
  }

  .honors .achievements li {
    font-size: 1rem;
  }

  .honors .honor-date {
    font-size: 0.85rem;
  }

  .honors .honor-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media screen and (max-width: 568px) {
  section.honors {
    padding: 1.8rem 2%;
  }

  .honors .honors-container {
    padding: 1rem;
  }

  .honors .honor-item {
    padding: 1.2rem;
  }

  .honors .honor-title {
    font-size: 1.1rem;
  }

  .honors .issuer {
    font-size: 0.9rem;
  }

  .honors .description,
  .honors .achievements li {
    font-size: 0.95rem;
  }
}

/*?======================== Honors & Awards end =========================*/

/*?======================== Work start =========================*/
section.work {
    min-height: 80vh;
    padding: 1.8rem 10%;
}
.main-timeline {
    position: relative;
}

.main-timeline:before,
.main-timeline:after {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}

.main-timeline:before {
    content: "";
    width: 3px;
    height: 100%;
    background: #bababa;
    position: absolute;
    top: 0;
    left: 50%;
}

.main-timeline .timeline {
    width: 50%;
    float: left;
    position: relative;
    z-index: 1;
}

.main-timeline .timeline:before,
.main-timeline .timeline:after {
    content: "";
    display: block;
    width: 100%;
    clear: both;
}

.main-timeline .timeline:first-child:before,
.main-timeline .timeline:last-child:before {
    content: "";
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid rgba(211, 207, 205, 1);
    position: absolute;
    top: 0;
    right: -14px;
    z-index: 1;
}

.main-timeline .timeline:last-child:before {
    top: auto;
    bottom: 0;
}

.main-timeline .timeline:last-child:nth-child(even):before {
    right: auto;
    left: -12px;
    bottom: -2px;
}

.main-timeline .timeline-content {
    text-align: center;
    margin-top: 8px;
    position: relative;
    transition: all 0.3s ease 0s;
}

.main-timeline .timeline-content:before {
    content: "";
    width: 100%;
    height: 5px;
    background: rgba(211, 207, 205, 1);
    position: absolute;
    top: 88px;
    left: 0;
    z-index: -1;
}

.main-timeline .circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #fff;
    border: 8px solid rgba(211, 207, 205, 1);
    float: left;
    margin-right: 25px;
    position: relative;
}

.main-timeline .circle:before {
    content: "";
    width: 26px;
    height: 30px;
    background: rgba(211, 207, 205, 1);
    margin: auto;
    position: absolute;
    top: 0;
    right: -33px;
    bottom: 0;
    z-index: -1;
    box-shadow: inset 7px 0 9px -7px #444;
}

.main-timeline .circle span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    line-height: 268px;
    font-size: 80px;
    color: #454344;
}

.main-timeline .circle span:before,
.main-timeline .circle span:after {
    content: "";
    width: 28px;
    height: 50px;
    background: #2b2b2b;
    border-radius: 0 0 0 21px;
    margin: auto;
    position: absolute;
    top: -54px;
    right: -33px;
    bottom: 0;
    z-index: -1;
}

.main-timeline .circle span:after {
    border-radius: 21px 0 0 0;
    top: 0;
    bottom: -56px;
}

.main-timeline .circle .img {
    vertical-align: initial;
    border-radius: 50%;
    width: 100%;
    height: auto;
}

.main-timeline .content {
    display: table;
    padding-right: 40px;
    position: relative;
}

.main-timeline .year {
    display: block;
    padding: 10px;
    margin: 10px 0 50px 0;
    background: rgba(211, 207, 205, 1);
    border-radius: 7px;
    font-size: 25px;
    color: #2b2b2b;
}

.main-timeline .company {
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    margin-top: 0;
    
}

.main-timeline .title {
    font-size: 25px;
    font-weight: bold;
    color: rgba(211, 207, 205, 1);
    margin-top: 0;
}

.main-timeline .description {
    font-size: 14px;
    color: rgb(197, 188, 188);
    text-align: justify;
    text-transform: none;
}

.main-timeline .icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #2b2b2b;
    border: 4px solid rgba(211, 207, 205, 1);
    position: absolute;
    top: 78px;
    right: -14px;
}

.main-timeline .icon:before {
    content: "";
    width: 15px;
    height: 25px;
    background: rgba(211, 207, 205, 1);
    margin: auto;
    position: absolute;
    top: -1px;
    left: -15px;
    bottom: 0;
    z-index: -1;
}

.main-timeline .icon span:before,
.main-timeline .icon span:after {
    content: "";
    width: 21px;
    height: 25px;
    background: #2b2b2b;
    border-radius: 0 0 21px 0;
    margin: auto;
    position: absolute;
    top: -30px;
    left: -15px;
    bottom: 0;
    z-index: -1;
}

.main-timeline .icon span:after {
    border-radius: 0 21px 0 0;
    top: 0;
    left: -15px;
    bottom: -30px;
}

.main-timeline .timeline:nth-child(2n) .timeline-content,
.main-timeline .timeline:nth-child(2n) .circle {
    float: right;
}

.main-timeline .timeline:nth-child(2n) .circle {
    margin: 0 0 0 25px;
}

.main-timeline .timeline:nth-child(2n) .circle:before {
    right: auto;
    left: -33px;
    box-shadow: -7px 0 9px -7px #444 inset;
}

.main-timeline .timeline:nth-child(2n) .circle span:before,
.main-timeline .timeline:nth-child(2n) .circle span:after {
    right: auto;
    left: -33px;
    border-radius: 0 0 21px 0;
}

.main-timeline .timeline:nth-child(2n) .circle span:after {
    border-radius: 0 21px 0 0;
}

.main-timeline .timeline:nth-child(2n) .content {
    padding: 0 0 0 40px;
    margin-left: 2px;
}

.main-timeline .timeline:nth-child(2n) .icon {
    right: auto;
    left: -14px;
}

.main-timeline .timeline:nth-child(2n) .icon:before,
.main-timeline .timeline:nth-child(2n) .icon span:before,
.main-timeline .timeline:nth-child(2n) .icon span:after {
    left: auto;
    right: -15px;
}

.main-timeline .timeline:nth-child(2n) .icon span:before {
    border-radius: 0 0 0 21px;
}

.main-timeline .timeline:nth-child(2n) .icon span:after {
    border-radius: 21px 0 0 0;
}

.main-timeline .timeline:nth-child(2) {
    margin-top: 180px;
}

.main-timeline .timeline:nth-child(odd) {
    margin: -175px 0 0 0;
}

.main-timeline .timeline:nth-child(even) {
    margin-bottom: 180px;
}

.main-timeline .timeline:first-child,
.main-timeline .timeline:last-child:nth-child(even) {
    margin: 0;
}

@media only screen and (max-width: 990px) {
    .main-timeline:before {
        left: 100%;
    }

    .main-timeline .timeline {
        width: 100%;
        float: none;
        margin-bottom: 20px !important;
    }

    .main-timeline .timeline:first-child:before,
    .main-timeline .timeline:last-child:before {
        left: auto !important;
        right: -13px !important;
    }

    .main-timeline .timeline:nth-child(2n) .circle {
        float: left;
        margin: 0 25px 0 0;
    }

    .main-timeline .timeline:nth-child(2n) .circle:before {
        right: -33px;
        left: auto;
        box-shadow: 7px 0 9px -7px #444 inset;
    }

    .main-timeline .timeline:nth-child(2n) .circle span:before,
    .main-timeline .timeline:nth-child(2n) .circle span:after {
        right: -33px;
        left: auto;
        border-radius: 0 0 0 21px;
    }

    .main-timeline .timeline:nth-child(2n) .circle span:after {
        border-radius: 21px 0 0 0;
    }

    .main-timeline .timeline:nth-child(2n) .content {
        padding: 0 40px 0 0;
        margin-left: 0;
    }

    .main-timeline .timeline:nth-child(2n) .icon {
        right: -14px;
        left: auto;
    }

    .main-timeline .timeline:nth-child(2n) .icon:before,
    .main-timeline .timeline:nth-child(2n) .icon span:before,
    .main-timeline .timeline:nth-child(2n) .icon span:after {
        left: -15px;
        right: auto;
    }

    .main-timeline .timeline:nth-child(2n) .icon span:before {
        border-radius: 0 0 21px 0;
    }

    .main-timeline .timeline:nth-child(2n) .icon span:after {
        border-radius: 0 21px 0 0;
    }

    .main-timeline .timeline:nth-child(2),
    .main-timeline .timeline:nth-child(odd),
    .main-timeline .timeline:nth-child(even) {
        margin: 0;
    }
}

/*? responsive */
@media screen and (max-width: 968px) {
    .main-timeline .year {
        font-size: 22px;
    }

    .main-timeline .company {
        font-size: 26px;
    }

    .main-timeline .title {
        font-size: 22px;
    }

    .main-timeline .description {
        font-size: 13px;
    }
}

@media screen and (max-width: 568px) {
    .main-timeline .year {
        font-size: 20px;
    }

    .main-timeline .company {
        font-size: 22px;
    }

    .main-timeline .title {
        font-size: 18px;
    }

    .main-timeline .description {
        font-size: 12px;
    }
}

@media only screen and (max-width: 480px) {
    .main-timeline:before {
        left: 0;
    }

    .main-timeline .timeline:first-child:before,
    .main-timeline .timeline:last-child:before {
        left: -12px !important;
        right: auto !important;
    }

    .main-timeline .circle,
    .main-timeline .timeline:nth-child(2n) .circle {
        width: 130px;
        height: 130px;
        float: none;
        margin: 0 auto;
    }

    .main-timeline .timeline-content:before {
        width: 99.5%;
        top: 68px;
        left: 0.5%;
    }

    .main-timeline .circle span {
        line-height: 115px;
        font-size: 60px;
    }

    .main-timeline .circle:before,
    .main-timeline .circle span:before,
    .main-timeline .circle span:after,
    .main-timeline .icon {
        display: none;
    }

    .main-timeline .content,
    .main-timeline .timeline:nth-child(2n) .content {
        padding: 0 10px;
    }

    .main-timeline .year {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .main-timeline .company {
        font-size: 20px;
    }

    .main-timeline .title {
        font-size: 16px;
    }

    .main-timeline .description {
        text-align: center;
        font-size: 11px;
    }
}

/*?======================== Work end =========================*/

/*?======================== Skills start =========================*/
section.skills {
  min-height: 80vh;
  padding: 1.8rem 10%;
}

.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(5, 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-color: rgb(32, 32, 32);
  filter: grayscale(100);
  transition: 0.2s;
}
.skills .container .bar:hover {
  filter: none;
  box-shadow: 0px 0px 7px #0077ff;
  background-color: rgba(0, 0, 0, 0.5);
}
.skills .container .bar .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 1rem; */
  margin-top: 1rem;
}
.skills .container .bar .info img {
  width: 70px;
  height: 70px;
}
.skills .container .bar .info span {
  font-size: 1rem;
  font-weight: 500;
  /* margin-left: 0.5rem; */
}
/* skills media queries starts*/
@media screen and (max-width: 968px) {
  .skills .container .row {
    grid-template-columns: repeat(4, 1fr);
  }
  .skills .container .bar .info span {
    font-size: 0.95rem;
  }
}
@media screen and (max-width: 568px) {
  .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 .container .bar .info span {
    font-size: 0.9rem;
  }
}

/*?======================== Skills end =========================*/

/*?======================== Project start =========================*/
/* work section starts */
section.project {
  padding: 1.8rem 13%;
  min-height: 70vh;
}

.project .heading span {
  color: rgb(255, 230, 0);
}
.project .box-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* flex-wrap: wrap; */
  gap: 1.5rem;
  margin: 2rem;
}
.project .box-container .box {
  flex: 1 1 17rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  /* width: 15rem; */
  height: 17rem;
}
.project .box-container .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.project .box-container .box .content {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 82%;
  left: 0;
  background: rgba(32, 32, 32, 0.9);
  display: flex;
  flex-direction: column;
}
.project .box-container .box .content .tag {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 3rem;
  width: 100%;
  padding-left: 1rem;
  background: #2b2b2b;
}
.project .box-container .box .content .tag h3 {
  color: white;
  font-size: 1.2rem;
}
.project .box-container .box:hover .content {
  top: 15%;
}
.project .desc {
  margin: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project .desc p {
  text-transform: none;
  color: white;
  font-size: 1rem;
  margin-top: 0.5rem;
}
.project .desc .btns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 1rem;
  padding: 0 1rem;
}
.project .desc .btns .btn {
  line-height: 0;
  display: inline;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #fff;
  background: rgb(16, 16, 16);
}
.project .desc .btns .btn.view:hover i {
  transform: translateX(-5px);
}
.project .desc .btns .btn.code:hover i {
  transform: translateX(5px);
}
.project .desc .btns .btn:hover {
  background: #0077ff;
}
.project .viewall {
  background-color: #4e4e4e;
  display: flex;
  height: 5rem;
  justify-content: space-evenly;
  border-radius: 0.5rem;
}
.project .viewall h2 {
  text-transform: none;
  color: white;
  line-height: 5rem;
}
.project .viewall div {
  margin-top: 2rem;
}
.project .viewall .btn {
  height: 3rem;
  margin-left: 1rem;
  position: relative;
  padding: 1rem 1rem;
  border-radius: 0.5em;
  transition: background-color 0.3s, color 0s;
  color: rgb(255, 255, 255);
  font-weight: 700;
  background-color: #2b2b2b;
}
.project .viewall .btn.email {
  background-color: white;
  color: black;
}
.project .viewall .btn.email i {
  transition: transform 0.3s, color 0s;
}

.project .viewall .btn.email:hover i {
  transform: translateX(-5px);
}
.project .viewall .btn span {
  font-weight: 600;
  font-size: 1rem;
}
.project .viewall .btn i {
  margin: 0 0.3rem;
  font-size: 1rem;
  /* transition: 0.3s; */
}
.project .viewall .btn:hover {
  background: #0077ff;
  color: white;
}
.project .viewall .btn:hover i {
  transform: translateX(5px);
}
@media screen and (max-width: 968px) {
  .project .box-container .box .content .tag h3 {
    font-size: 1.1rem;
  }

  .project .desc p {
    font-size: 0.95rem;
  }

  .project .desc .btns .btn {
    font-size: 0.95rem;
  }

  .project .viewall {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    height: auto;
    padding: 1.5rem;
    gap: 1rem;
  }
  .project .viewall h2 {
    font-size: 1.2rem;
    text-align: center;
  }
  .project .viewall div {
    margin-top: 0;
  }
  .project .viewall .btn.more {
    position: static;
    margin: 0;
  }
  .project .viewall .btn.email {
    position: static;
    margin: 0;
  }
}
@media screen and (max-width: 568px) {
  section.project {
    padding: 1.8rem 2%;
  }
  .project .box-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .project .box-container .box .content .tag h3 {
    font-size: 1rem;
  }

  .project .desc p {
    font-size: 0.9rem;
  }

  .project .desc .btns .btn {
    padding: 1rem 1rem;
    font-size: 0.9rem;
  }
}

/*?======================== Project end =========================*/

/*?======================== Blog start =========================*/
section.blog {
  padding: 1.8rem 10%;
  min-height: 80vh;
}

.blog .blog-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.blog .blog-post {
  background: #2b2b2b;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.blog .blog-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 119, 255, 0.3);
}

.blog .blog-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.blog .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog .blog-post:hover .blog-image img {
  transform: scale(1.1);
}

.blog .blog-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #0077ff;
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.blog .blog-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.blog .blog-date .month {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-top: 3px;
}

.blog .blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog .blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog .blog-meta .category {
  color: #0077ff;
  font-size: 0.9rem;
  font-weight: 600;
}

.blog .blog-meta .read-time {
  color: #999;
  font-size: 0.85rem;
}

.blog .blog-meta i {
  margin-right: 5px;
}

.blog .blog-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
  text-transform: none;
}

.blog .blog-excerpt {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-transform: none;
  text-align: justify;
  flex: 1;
}

.blog .blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.blog .read-more {
  color: white;
  background: #0077ff;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog .read-more:hover {
  background: #0066dd;
  transform: translateX(5px);
}

.blog .read-more i {
  transition: transform 0.3s;
}

.blog .read-more:hover i {
  transform: translateX(5px);
}

.blog .blog-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog .blog-tags .tag {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.blog .blog-tags .tag:hover {
  background: rgba(0, 119, 255, 0.3);
}

/*? responsive */
@media screen and (max-width: 968px) {
  section.blog {
    padding: 1.8rem 5%;
  }

  .blog .blog-container {
    grid-template-columns: 1fr;
  }

  .blog .blog-title {
    font-size: 1.5rem;
  }

  .blog .blog-excerpt {
    font-size: 1rem;
  }

  .blog .blog-meta span {
    font-size: 0.9rem;
  }

  .blog .read-more {
    font-size: 0.95rem;
    padding: 0.7rem 1.8rem;
  }
}

@media screen and (max-width: 568px) {
  section.blog {
    padding: 1.8rem 2%;
  }

  .blog .blog-image {
    height: 200px;
  }

  .blog .blog-title {
    font-size: 1.2rem;
  }

  .blog .blog-excerpt {
    font-size: 0.9rem;
  }

  .blog .blog-meta span {
    font-size: 0.85rem;
  }

  .blog .read-more {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }

  .blog .blog-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog .read-more {
    width: 100%;
    justify-content: center;
  }

  .blog .blog-tags .tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }
}

/*?======================== Blog end =========================*/

/*?======================== Footer start =========================*/
.footer {
  min-height: auto;
  padding: 0rem 16%;
  background-color: #2b2b2b;
}
.footer .box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer .box-container .box {
  flex: 1 1 10rem;
  margin: 2rem;
}
.footer .box-container .box.right {
  position: relative;
  left: 9rem;
}
.footer .box-container .box h3 {
  font-size: 1.5rem;
  color: #fff;
  padding-bottom: 1rem;
  font-weight: normal;
}
.footer .box-container .box p {
  font-size: 1rem;
  color: #ccc;
  padding: 0.7rem 0;
  text-transform: none;
}
.footer .box-container .box p i {
  padding-right: 1rem;
  color: #0077ff;
}
/* .footer .box-container .box a {
  font-size: 0.5rem;
  color: rgb(238, 238, 238);
  padding: 0.3rem 0;
  display: block;
}
.footer .box-container .box a:hover {
  color: #0077ff;
} */
.footer .box-container .box .share {
  display: flex;
  flex-wrap: wrap;
  padding: 0rem 0;
}
.footer .box-container .box .share a {
  height: 2.2rem;
  width: 2.2rem;
  padding: 0.5rem;
  text-align: center;
  border-radius: 50%;
  font-size: 1rem;
  margin-right: 1rem;
  transition: 0.3s;
  background: rgb(230, 230, 230);
  color: #02094b;
  border: none;
}
.footer .box-container .box .share a:hover {
  background: transparent;
  transform: scale(0.9);
  border: 0.1rem solid rgb(180, 178, 178);
  color: #0077ff;
}
.footer .credit {
  padding: 1rem 0 1rem 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  border-top: 0.1rem solid #fff3;
}
.footer .credit i {
  font-size: 0.9rem;
}
.footer .credit a {
  color: #0077ff;
}
.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 screen and (max-width: 968px) {
  section.footer {
    min-height: 72vh;
  }
  .footer .box-container .box.right {
    left: 0;
  }
  .footer .box-container .box h3 {
    font-size: 1.3rem;
  }
  .footer .box-container .box p {
    font-size: 0.95rem;
  }
  .footer .credit {
    font-size: 0.95rem;
  }
}
@media screen and (max-width: 1200px) {
  .footer .box-container .box.right {
    left: 0;
  }
}
@media (max-width: 568px) {
  section.footer {
    padding: 1.8rem 0%;
    min-height: 72vh;
  }
  .footer .box-container .box h3 {
    margin-left: 10px;
    font-size: 1.2rem;
  }
  .footer .box-container .box p {
    font-size: 0.9rem;
  }
  .footer .credit {
    font-size: 0.9rem;
  }
  .footer .box-container .box {
    margin: 1rem;
  }
  .footer .box-container .box p {
    padding: 0.7rem;
  }
}
/*?======================== Footer end =========================*/

/*? scroll top starts */
#scroll-top {
  position: fixed;
  top: -140%;
  right: 3rem;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  background: #0077ff;
  color: white;
  border-radius: 10px;
  transition: 1s linear;
  z-index: 1;
}
#scroll-top.active {
  top: calc(100% - 7rem);
}

@media (max-width: 568px) {
  #scroll-top {
    top: 140%;
  }
}
/*? scroll top ends */

#myBtn {
  top: 86%;
  right: 90%;
  position: fixed;
  z-index: 1;
  font-size: 1rem;
  padding: 0.6rem 0.8rem;
  background: #0077ff;
  color: white;
  border-radius: 10px;
  transition: 1s linear;
  display: inline-block;
}

@media (max-width: 568px) {
  #myBtn {
    top: 86%;
    right: 90%;
  }
}
