:root {
  --hue-color: 242;
  --skin-color: hsl(342, 92%, 46%);
  --mirage-color: hsl(210, 10%, 23%);
  --title-color: hsl(var(--hue-color), 8%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 85%);
  --body-color: hsl(var(--hue-color), 19%, 5%);
  --box-color: hsl(var(--hue-color), 14%, 10%);
  --scroll-box-color: hsl(var(--hue-color), 12%, 38%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 26%);
  --body-font: "Poppins", sans-serif;
  --signature-font: "Turret Road", sans-serif;
  --biggest-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --mb025: 0.25rem;
  --mb05: 0.5rem;
  --mb075: 0.75rem;
  --mb1: 1rem;
  --mb15: 1.5rem;
  --mb2: 2rem;
  --mb25: 2.5rem;
  --mb3: 3rem;
  --z-fixed: 10;
  --z-modal: 100;
}
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  min-height: 100%;
}
body,
body button,
body input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

input {
  border: none;
  outline: none;
}

.container {
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
}
@media screen and (min-width: 1408px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
}

.grid {
  display: grid;
}

::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--scroll-box-color);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: 0.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  background-color: var(--skin-color);
  color: var(--title-color);
  padding: 0.75rem 1.4rem;
  border-radius: 0.25rem;
  font-weight: var(--font-medium);
  position: relative;
  z-index: 1;
  transition: 0.4s;
}
.button::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--mirage-color);
  z-index: -1;
  transform-origin: center;
  transform: scale(0);
  border-radius: 0.25rem;
  transition: 0.3s;
}
.button:hover::after {
  transform: scale(1);
}

.section {
  padding: 6.5rem 0 2rem;
}
.section__title {
  text-align: center;
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb3);
}
.section__title::before {
  content: attr(data-heading);
  display: block;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--skin-color);
}

.aside {
  width: 270px;
  background: var(--box-color);
  position: fixed;
  left: -270px;
  top: 0;
  z-index: 10;
  height: 100%;
  padding: 30px;
  border-right: 1px solid var(--scroll-box-color);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
.aside.open {
  left: 0;
}
.aside__logo {
  position: absolute;
  top: 30px;
  font-size: 30px;
  text-transform: capitalize;
}
.aside__logo a {
  color: var(--title-color);
  font-weight: 700;
  padding: 15px 20px;
  font-size: 30px;
  letter-spacing: 5px;
  position: relative;
}
.aside__logo a::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-bottom: 5px solid var(--skin-color);
  border-left: 5px solid var(--skin-color);
  bottom: 0;
  left: 0;
}
.aside__logo a::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-top: 5px solid var(--skin-color);
  border-right: 5px solid var(--skin-color);
  top: 0;
  right: 0;
}
.aside__logo a span {
  font-size: 40px;
}
.aside__nav {
  margin-top: 50px;
  list-style: none;
  padding: 0;
}
.aside__nav li {
  margin-bottom: 20px;
  display: block;
}
.aside__nav a {
  font-size: 16px;
  font-weight: 600;
  display: block;
  color: var(--title-color);
  padding: 5px 15px;
  border-bottom: 1px solid var(--scroll-box-color);
  text-decoration: none;
}
.aside__nav a.active {
  color: var(--skin-color);
}
.aside__nav a i {
  margin-right: 15px;
}
.aside__nav-toggler {
  height: 40px;
  width: 45px;
  border: 1px solid var(--scroll-box-color);
  cursor: pointer;
  position: fixed;
  left: 30px;
  top: 20px;
  border-radius: 5px;
  background: var(--box-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.aside__nav-toggler.open {
  left: 300px;
}
.aside__nav-toggler.open span {
  background-color: transparent;
}
.aside__nav-toggler.open span::before {
  transform: rotate(45deg);
  top: 0;
}
.aside__nav-toggler.open span::after {
  transform: rotate(-45deg);
  top: 0;
}
.aside__nav-toggler span {
  height: 2px;
  width: 18px;
  background: var(--skin-color);
  display: inline-block;
  position: relative;
}
.aside__nav-toggler span::before {
  content: "";
  height: 2px;
  width: 18px;
  background: var(--skin-color);
  position: absolute;
  top: -6px;
  left: 0;
  transition: all 0.3s ease;
}
.aside__nav-toggler span::after {
  content: "";
  height: 2px;
  width: 18px;
  background: var(--skin-color);
  position: absolute;
  top: 6px;
  left: 0;
  transition: all 0.3s ease;
}
@media screen and (min-width: 1199px) {
  .aside {
    left: 0;
  }
  .aside .aside__nav-toggler {
    display: none;
  }
}

.main {
  margin-left: 0;
  margin-top: 0;
}
@media screen and (min-width: 1199px) {
  .main {
    margin-left: 270px;
  }
}

.home {
  background: rgba(25, 25, 25, 0.8);
  height: initial;
  margin-top: 0;
  padding-block: 4rem 0;
  padding-left: 2rem;
  position: relative;
  overflow: hidden;
}
.home__container {
  position: relative;
  align-items: initial;
  padding-top: 0;
  row-gap: 2rem;
  overflow: hidden;
}
@media screen and (min-width: 576px) {
  .home__container {
    height: 100%;
    align-items: center;
  }
}
.home__social {
  position: absolute;
  top: 30px;
  right: -1rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 3.5rem;
}
.home__social-follow {
  font-weight: var(--font-medium);
  position: relative;
  font-size: var(--smaller-font-size);
  transform: rotate(90deg);
}
.home__social-follow::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 2px;
  background-color: var(--text-color);
  right: -45%;
  top: 50%;
}
.home__social-links {
  display: inline-flex;
  flex-direction: column;
  row-gap: 0.25rem;
  column-gap: 1rem;
}
@media screen and (min-width: 576px) {
  .home__social-links {
    flex-direction: row;
  }
}
.home__social-link {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  transition: 0.4s;
}
.home__social-link:hover {
  transform: translateY(0.25rem);
}
@media screen and (min-width: 576px) {
  .home__social-link {
    font-size: 1.08rem;
  }
}
@media screen and (min-width: 576px) {
  .home__social {
    left: 0;
    right: initial;
    flex-direction: row;
    column-gap: 3.5rem;
    row-gap: 0;
  }
  .home__social-follow {
    transform: rotate(0deg);
    font-size: var(--normal-font-size);
  }
}
.home__img {
  display: block;
  width: 100%;
  max-width: 250px;
  justify-self: center;
  align-self: flex-end;
  height: auto;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 1rem 1rem 0 0;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  image-rendering: smooth;
}
@media screen and (min-width: 350px) {
  .home__img {
    max-width: 300px;
  }
}
@media screen and (min-width: 576px) {
  .home__img {
    position: absolute;
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    max-width: 350px;
    border-radius: 1rem 0 0 0;
  }
}
@media screen and (min-width: 768px) {
  .home__img {
    max-width: 400px;
  }
}
@media screen and (min-width: 1024px) {
  .home__img {
    max-width: 450px;
  }
}
@media screen and (min-width: 1216px) {
  .home__img {
    max-width: 39rem;
  }
}
.home__title {
  font-size: var(--h1-font-size);
}
@media screen and (min-width: 350px) {
  .home__title {
    font-size: var(--biggest-font-size);
  }
}
.home__subtitle {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb075);
}
@media screen and (min-width: 350px) {
  .home__subtitle {
    font-size: var(--h3-font-size);
  }
}
.home__description {
  max-width: 450px;
  margin-bottom: var(--mb2);
}
@media screen and (min-width: 576px) {
  .home {
    background-image: initial;
    height: 100vh;
    align-items: center;
  }
}

.my-info {
  display: none;
}
.my-info__item {
  display: flex;
  align-items: center;
}
@media screen and (min-width: 576px) {
  .my-info {
    display: flex;
    column-gap: 1.8rem;
    position: absolute;
    left: 0;
    bottom: 1.8rem;
  }
}

.info__item {
  display: flex;
  align-items: center;
}
.info__title {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}
.info__subtitle {
  font-size: var(--small-font-size);
}
.info__icon {
  font-size: 1.8rem;
  color: var(--skin-color);
  margin-right: var(--mb075);
}

.about {
  padding-inline: 2rem;
}
.about__container {
  grid-template-columns: 1fr;
  column-gap: 4rem;
  align-items: center;
  row-gap: 2.5rem;
}
@media screen and (min-width: 1024px) {
  .about__container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 0;
  }
}
.about__img {
  width: 250px;
  border-radius: 0.75rem;
  justify-self: center;
}
@media screen and (min-width: 768px) {
  .about__img {
    width: 250px;
  }
}
@media screen and (min-width: 1024px) {
  .about__img {
    width: 350px;
  }
}
@media screen and (min-width: 1216px) {
  .about__img {
    width: 480px;
  }
}
.about__heading {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb075);
}
.about__description {
  text-align: justify;
  padding-right: 0;
  margin-bottom: var(--mb2);
  padding: 0;
}
@media screen and (min-width: 576px) {
  .about__description {
    text-align: center;
  }
}
@media screen and (min-width: 1024px) {
  .about__description {
    padding: 0 4rem;
    text-align: center;
  }
}
@media screen and (min-width: 1216px) {
  .about__description {
    padding-right: 6rem;
    text-align: justify;
  }
}
.about__data {
  text-align: initial;
}
@media screen and (min-width: 1024px) {
  .about__data {
    text-align: center;
  }
}
.about__info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0.5rem;
  margin-bottom: var(--mb3);
  row-gap: 0.5rem;
}
@media screen and (min-width: 350px) {
  .about__info {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 0.5rem;
  }
}
@media screen and (min-width: 576px) {
  .about__info {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 0;
  }
}
@media screen and (min-width: 1024px) {
  .about__info {
    justify-content: center;
    grid-template-columns: repeat(3, 140px);
  }
}
.about__box {
  text-align: center;
  border-radius: 0.25rem;
  padding: 1rem 1.25rem;
  background-color: var(--box-color);
}
@media screen and (min-width: 1024px) {
  .about__box {
    padding: 0.75rem 0.5rem;
  }
}
.about__icon {
  font-size: 1.5rem;
  color: var(--skin-color);
  margin-bottom: var(--mb075);
}
.about__title {
  font-size: var(--small-font-size);
}
.about__subtitle {
  font-size: var(--small-font-size);
}

.qualification__container {
  grid-template-columns: 1fr;
  column-gap: 3rem;
  justify-content: center;
  row-gap: 3rem;
}
@media screen and (min-width: 768px) {
  .qualification__container {
    grid-template-columns: 290px;
  }
}
@media screen and (min-width: 1024px) {
  .qualification__container {
    grid-template-columns: repeat(2, 290px);
    row-gap: 0;
  }
}
@media screen and (min-width: 1216px) {
  .qualification__container {
    grid-template-columns: repeat(2, 340px);
  }
}
.qualification__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb2);
}

.timeline__item {
  position: relative;
  margin-bottom: var(--mb25);
  padding-left: 3rem;
}
.timeline__item:last-child {
  margin-bottom: 0;
}
.timeline__item::before {
  content: "";
  width: 1px;
  position: absolute;
  left: 0.48rem;
  top: 0;
  height: 100%;
  background-color: var(--skin-color);
}
.timeline__item:hover .circle-dot {
  background-color: var(--body-color);
}
.timeline__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb025);
}
.timeline__text {
  font-size: var(--smaller-font-size);
  margin-bottom: var(--mb1);
}
.timeline__date {
  display: flex;
  align-items: center;
  column-gap: 0.4rem;
  font-size: var(--normal-font-size);
  color: var(--skin-color);
}

.circle-dot {
  position: absolute;
  left: 0;
  top: 0;
  height: 1rem;
  width: 1rem;
  border: 2px solid var(--skin-color);
  border-radius: 50%;
  background-color: var(--skin-color);
  transition: 0.4s;
}

.skills__container {
  grid-template-columns: 1fr;
  column-gap: 3rem;
  justify-content: center;
  row-gap: 3rem;
}
@media screen and (min-width: 768px) {
  .skills__container {
    grid-template-columns: 300px;
  }
}
@media screen and (min-width: 1024px) {
  .skills__container {
    grid-template-columns: 340px 300px;
    row-gap: 0;
  }
}
@media screen and (min-width: 1216px) {
  .skills__container {
    grid-template-columns: 360px 320px;
  }
}
.skills__header {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.skills__header:not(:last-child) {
  margin-bottom: var(--mb25);
}
.skills__icon {
  font-size: 2rem;
  color: var(--skin-color);
  margin-right: var(--mb075);
}
.skills__arrow {
  font-size: 2rem;
  color: var(--skin-color);
  margin-left: auto;
}
.skills__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}
@media screen and (min-width: 350px) {
  .skills__title {
    font-size: var(--h3-font-size);
  }
}
.skills__subtitle {
  font-size: var(--small-font-size);
}
.skills__group.skills-active .skills__list {
  border: 2px solid rgba(var(--skin-color-alt), 0.15);
}
.skills__list {
  row-gap: 1rem;
  column-gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  transition: all 0.3s ease;
}
@media screen and (min-width: 1024px) {
  .skills__list {
    row-gap: 1rem;
  }
}
.skills__data {
  padding: var(--mb075) var(--mb1);
  background-color: var(--box-color);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: 0.3s;
}
.skills__data:hover {
  background-color: var(--skin-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.skills__data:hover .skills__name,
.skills__data:hover .skills__years {
  color: var(--title-color);
}
.skills__data:hover .skills__icon {
  color: var(--title-color);
}
.skills__icon {
  font-size: 1.5rem;
  color: var(--skin-color);
  transition: 0.3s;
}
.skills__name {
  flex: 1;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin: 0;
}
.skills__years {
  font-size: var(--small-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  white-space: nowrap;
}
.skills [data-content] {
  display: none;
}
.skills-active .skills__arrow {
  transform: rotate(-90deg);
  transition: 0.4s;
}
.skills-active .skills__header .skills__title {
  color: var(--skin-color);
}
.skills-active .skills__header .skills__icon {
  color: var(--skin-color);
}
.skills-active[data-content] {
  display: block;
}

.services__container {
  grid-template-columns: max-content;
  justify-content: center;
  column-gap: 1.8rem;
  gap: 1.5rem;
}
@media screen and (min-width: 350px) {
  .services__container {
    grid-template-columns: max-content;
  }
}
@media screen and (min-width: 768px) {
  .services__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media screen and (min-width: 1024px) {
  .services__container {
    grid-template-columns: repeat(3, 220px);
  }
}
@media screen and (min-width: 1216px) {
  .services__container {
    grid-template-columns: repeat(3, 250px);
  }
}
.services__content {
  position: relative;
  background-color: var(--box-color);
  padding: 6rem 0 2rem 2.5rem;
  border-radius: 0.25rem;
  padding-right: 3.5rem;
}
@media screen and (min-width: 768px) {
  .services__content {
    padding: 3.5rem 0.5rem 1.25rem 1.5rem;
  }
}
@media screen and (min-width: 1024px) {
  .services__content {
    padding: 6rem 0 2rem 2.5rem;
  }
}
.services__icon {
  display: block;
  font-size: 1.5rem;
  color: var(--skin-color);
  margin-bottom: var(--mb1);
}
@media screen and (min-width: 1024px) {
  .services__icon {
    font-size: 1.8rem;
  }
}
.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb1);
  font-weight: var(--font-medium);
}
.services__button {
  color: var(--skin-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  cursor: pointer;
}
.services__button-icon {
  font-size: 1rem;
  transition: 0.4s;
}
.services__button:hover .services__button-icon {
  transform: translateX(0.25rem);
}
.services__modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.services__modal.active-modal {
  opacity: 1;
  visibility: visible;
}
.services__modal-content {
  width: 500px;
  position: relative;
  background-color: var(--box-color);
  padding: 4.5rem 1.5rem 2.5rem;
  border-radius: 0.5rem;
}
@media screen and (min-width: 576px) {
  .services__modal-content {
    padding: 4.5rem 2.5rem 2.5rem;
  }
}
.services__modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--skin-color);
  cursor: pointer;
}
.services__modal-title {
  text-align: center;
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb1);
}
.services__modal-description {
  text-align: center;
  font-size: var(--small-font-size);
  padding: 0;
  margin-bottom: var(--mb2);
}
@media screen and (min-width: 576px) {
  .services__modal-description {
    padding: 0 3.5rem;
  }
}
.services__modal-services {
  row-gap: var(--mb075);
}
.services__modal-service {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}
.services__modal-icon {
  color: var(--skin-color);
  font-size: 1.1rem;
}
.services__modal-info {
  font-size: var(--small-font-size);
}

.work {
  padding-inline: 1rem;
}
.work__filters {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.75rem;
  margin-bottom: var(--mb2);
  flex-wrap: wrap;
  row-gap: 0.75rem;
}
.work__item {
  cursor: pointer;
  color: var(--title-color);
  padding: 0.25rem 0.75rem;
  font-weight: var(--font-medium);
  border-radius: 0.5rem;
  transition: 0.4s;
}
.work__item:hover {
  background-color: var(--skin-color);
  color: var(--title-color);
}
.work__item.active-work {
  background-color: var(--skin-color);
  color: var(--title-color);
}
@media screen and (min-width: 768px) {
  .work__item {
    padding: 0.5rem 1rem;
  }
}
.work__container {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media screen and (min-width: 576px) {
  .work__container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 768px) {
  .work__container {
    gap: 2rem;
  }
}
@media screen and (min-width: 1024px) {
  .work__container {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1216px) {
  .work__container {
    grid-template-columns: repeat(3, 330px);
    justify-content: center;
  }
}
.work__card {
  background-color: var(--box-color);
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: 0.4s;
  position: relative;
}
.work__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
.work__card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.work__card:hover::after {
  opacity: 1;
}
.work__card:hover .work__img {
  transform: scale(1.1);
}
.work__card:hover .work__button {
  color: var(--skin-color);
  text-decoration: underline;
}
.work__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: 0.4s;
}
@media screen and (min-width: 768px) {
  .work__img {
    height: 280px;
  }
}
.work__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin: 1rem 1.5rem 0.5rem;
}
.work__button {
  color: var(--skin-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  padding: 0 1.5rem 1.5rem;
  cursor: pointer;
}
.work__button-icon {
  font-size: 1rem;
  transition: 0.4s;
}
.work__button:hover .work__button-icon {
  transform: translateX(0.25rem);
}

.portfolio-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
.portfolio-popup.open {
  opacity: 1;
  visibility: visible;
}
.portfolio-popup-inner {
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--box-color);
  padding: 2.5rem;
  border-radius: 0.5rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .portfolio-popup-inner {
    padding: 3rem;
  }
}
.portfolio-popup-content {
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media screen and (min-width: 768px) {
  .portfolio-popup-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
.portfolio-popup-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--skin-color);
  cursor: pointer;
  transition: 0.4s;
}
.portfolio-popup-close:hover {
  transform: rotate(90deg);
}
.portfolio-popup-img {
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}
.portfolio-popup-subtitle {
  font-size: var(--small-font-size);
  margin-bottom: var(--mb05);
}
.portfolio-popup-subtitle span {
  color: var(--skin-color);
}
.portfolio-item-details {
  display: none;
}

.pp-thumbnail img {
  width: 100%;
  border-radius: 0.5rem;
}

.portfolio-popup-info .portfolio-popup-body .details-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb1);
  color: var(--title-color);
}
@media screen and (min-width: 768px) {
  .portfolio-popup-info .portfolio-popup-body .details-title {
    font-size: var(--h1-font-size);
  }
}
.portfolio-popup-info .portfolio-popup-body .details-description {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  margin-bottom: var(--mb15);
  line-height: 1.6;
}
.portfolio-popup-info .portfolio-popup-body .details-info {
  list-style: none;
  padding: 0;
  margin: 0;
}
.portfolio-popup-info .portfolio-popup-body .details-info li {
  display: flex;
  margin-bottom: var(--mb075);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  align-items: center;
}
.portfolio-popup-info .portfolio-popup-body .details-info li span {
  color: var(--skin-color);
  margin-left: 0.5rem;
  font-weight: var(--font-medium);
}
.portfolio-popup-info .portfolio-popup-body .details-info li span .contributor-link {
  color: var(--skin-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.portfolio-popup-info .portfolio-popup-body .details-info li span .contributor-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}
.portfolio-popup-info .portfolio-popup-body .details-info li span .contributor-name {
  color: var(--skin-color);
}
.portfolio-popup-info .portfolio-popup-body .details-info li span .contributors-list {
  display: inline;
}
.portfolio-popup-info .portfolio-popup-body .details-info li.view-project-link {
  margin-top: var(--mb1);
  padding-top: var(--mb1);
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}
.portfolio-popup-info .portfolio-popup-body .details-info li.view-project-link span {
  display: block;
  margin-top: 0.5rem;
}
.portfolio-popup-info .portfolio-popup-body .details-info li.view-project-link span a.project-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--skin-color) 0%, rgba(255, 100, 100, 0.85) 100%);
  color: white;
  border-radius: 8px;
  font-weight: var(--font-semi-bold);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.portfolio-popup-info .portfolio-popup-body .details-info li.view-project-link span a.project-view-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.portfolio-popup-info .portfolio-popup-body .details-info li.view-project-link span a.project-view-link::after {
  content: "\ea4e";
  font-family: "Unicons";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.portfolio-popup-info .portfolio-popup-body .details-info li.view-project-link span a.project-view-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 100, 100, 0.9) 0%, var(--skin-color) 100%);
}
.portfolio-popup-info .portfolio-popup-body .details-info li.view-project-link span a.project-view-link:hover::before {
  width: 300px;
  height: 300px;
}
.portfolio-popup-info .portfolio-popup-body .details-info li.view-project-link span a.project-view-link:hover::after {
  transform: translate(3px, -3px);
}
.portfolio-popup-info .portfolio-popup-body .details-info li.view-project-link span a.project-view-link:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.project-carousel {
  width: 100%;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--box-color);
}

.carousel-images {
  position: relative;
  width: 100%;
  min-height: 300px;
}
@media screen and (min-width: 768px) {
  .carousel-images {
    min-height: 400px;
  }
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}
.carousel-slide img {
  max-width: 100%;
  max-height: 400px;
  width: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}
@media screen and (min-width: 768px) {
  .carousel-slide img {
    max-height: 500px;
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  z-index: 10;
}
.carousel-btn:hover {
  background: var(--skin-color);
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn.carousel-prev {
  left: 10px;
}
.carousel-btn.carousel-next {
  right: 10px;
}
.carousel-btn i {
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: var(--skin-color);
  transform: scale(1.3);
}
.carousel-dot:hover {
  background: var(--skin-color);
  opacity: 0.7;
}

.lightbox-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.lightbox-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.lightbox-dot.active {
  background: var(--skin-color);
  transform: scale(1.3);
}
.lightbox-dot:hover {
  background: var(--skin-color);
  opacity: 0.7;
}

.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: calc(var(--z-modal) + 100);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.image-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  z-index: 20;
  transition: 0.3s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.lightbox-close:hover {
  transform: rotate(90deg);
  background: var(--skin-color);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.lightbox-btn:hover {
  background: var(--skin-color);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-btn.lightbox-prev {
  left: -60px;
}
@media screen and (max-width: 768px) {
  .lightbox-btn.lightbox-prev {
    left: 10px;
  }
}
.lightbox-btn.lightbox-next {
  right: -60px;
}
@media screen and (max-width: 768px) {
  .lightbox-btn.lightbox-next {
    right: 10px;
  }
}
.lightbox-btn i {
  pointer-events: none;
}

.lightbox-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.lightbox-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}
.lightbox-dot.active {
  background: var(--skin-color);
  transform: scale(1.3);
  border-color: white;
}
.lightbox-dot:hover {
  background: var(--skin-color);
  opacity: 0.8;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}
.contact__container {
  grid-template-columns: 1fr;
  row-gap: 3rem;
}
@media screen and (min-width: 768px) {
  .contact__container {
    grid-template-columns: 300px;
    justify-content: center;
  }
}
@media screen and (min-width: 1024px) {
  .contact__container {
    grid-template-columns: repeat(2, 340px);
    column-gap: 3rem;
    justify-content: center;
  }
}
.contact__info {
  display: grid;
  row-gap: 1rem;
}
.contact__card {
  background-color: var(--box-color);
  border-radius: 0.25rem;
  padding: 1rem;
  text-align: center;
}
.contact__card-icon {
  font-size: 1.8rem;
  color: var(--skin-color);
  margin-bottom: var(--mb025);
}
.contact__card-title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb025);
}
.contact__card-data {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb075);
}
.contact__button {
  color: var(--skin-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.25rem;
  cursor: pointer;
}
.contact__button-icon {
  font-size: 1rem;
  transition: 0.4s;
}
.contact__button:hover .contact__button-icon {
  transform: translateX(0.25rem);
}
.contact__form {
  width: 100%;
}

.input-container {
  position: relative;
  margin-bottom: 1.5rem;
}
.input-container.textarea {
  height: 7.5rem;
}
.input-container.textarea .input {
  resize: none;
  padding-top: 1rem;
}
.input-container.textarea label,
.input-container.textarea span {
  top: 1rem;
}
.input-container .input {
  width: 100%;
  border: 2px solid var(--box-color);
  background-color: transparent;
  color: var(--text-color);
  padding: 1.5rem 1rem 0.5rem;
  border-radius: 0.25rem;
  outline: none;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  transition: 0.4s;
}
.input-container .input:focus {
  border-color: var(--skin-color);
}
.input-container .input:focus ~ label {
  top: -0.5rem;
  left: 0.8rem;
  color: var(--skin-color);
  font-size: var(--smaller-font-size);
  background-color: var(--body-color);
  padding: 0 0.5rem;
  z-index: 10;
}
.input-container .input:focus ~ span {
  opacity: 0;
}
.input-container .input:not(:placeholder-shown).input ~ label {
  top: -0.5rem;
  left: 0.8rem;
  font-size: var(--smaller-font-size);
  background-color: var(--body-color);
  padding: 0 0.5rem;
  z-index: 10;
}
.input-container .input:not(:placeholder-shown).input ~ span {
  opacity: 0;
}
.input-container label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-color);
  font-size: var(--normal-font-size);
  transition: 0.3s;
  pointer-events: none;
}
.input-container span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-color);
  font-size: var(--normal-font-size);
  opacity: 1;
  transition: 0.3s;
  pointer-events: none;
}

.footer {
  background-color: var(--box-color);
  border-top: 1px solid var(--scroll-box-color);
}
.footer__bg {
  padding: 3rem 0 0.5rem;
}
.footer__container {
  display: flex;
  grid-template-columns: 1fr;
  row-gap: 2rem;
  align-items: center;
  padding-inline: 3rem;
}
@media screen and (min-width: 576px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
  }
}
@media screen and (min-width: 768px) {
  .footer__container {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
  }
}
@media screen and (min-width: 1024px) {
  .footer__container {
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
  }
}
.footer__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb025);
  color: var(--title-color);
}
@media screen and (min-width: 768px) {
  .footer__title {
    font-size: var(--h1-font-size);
  }
}
.footer__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color);
}
.footer__links {
  display: flex;
  flex-direction: column;
  row-gap: 0.75rem;
  list-style: none;
  padding: 0;
}
@media screen and (min-width: 576px) {
  .footer__links {
    flex-direction: row;
    column-gap: 2rem;
  }
}
.footer__link {
  color: var(--text-color);
  text-decoration: none;
  transition: 0.4s;
}
.footer__link:hover {
  color: var(--skin-color);
}
.footer__socials {
  display: flex;
  column-gap: 1.25rem;
  justify-self: flex-end;
}
@media screen and (min-width: 576px) {
  .footer__socials {
    justify-self: center;
  }
}
@media screen and (min-width: 1024px) {
  .footer__socials {
    justify-self: flex-end;
  }
}
.footer__social {
  font-size: 1.25rem;
  color: var(--title-color);
  transition: 0.4s;
}
.footer__social:hover {
  color: var(--skin-color);
}
.footer__copy {
  font-size: var(--smaller-font-size);
  text-align: center;
  color: var(--text-color);
  margin-top: 2.5rem;
}
.footer__copy a {
  color: var(--skin-color);
  text-decoration: none;
}
.footer__copy a:hover {
  text-decoration: underline;
}