/*=============== GOOGLE FONTS ===============*/
/* Imported via <link> in index.html (Poppins) */

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors (default = dark theme) ==========*/
  --hue: 250;
  --first-color: hsl(var(--hue), 69%, 65%);
  --first-color-alt: hsl(var(--hue), 60%, 55%);
  --first-color-light: hsl(var(--hue), 60%, 75%);
  --first-color-lighten: hsla(var(--hue), 69%, 61%, .12);
  --title-color: hsl(220, 20%, 96%);
  --text-color: hsl(220, 9%, 68%);
  --text-color-light: hsl(220, 9%, 50%);
  --body-color: hsl(220, 22%, 7%);
  --container-color: hsl(220, 18%, 11%);
  --border-color: hsl(220, 15%, 20%);
  --icon-bg: hsla(var(--hue), 69%, 65%, .14);

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== LIGHT THEME (secondary, toggleable) ===============*/
body.light-theme {
  --first-color: hsl(var(--hue), 69%, 61%);
  --first-color-alt: hsl(var(--hue), 57%, 53%);
  --first-color-light: hsl(var(--hue), 69%, 85%);
  --first-color-lighten: hsl(var(--hue), 100%, 97%);
  --title-color: hsl(var(--hue), 12%, 15%);
  --text-color: hsl(var(--hue), 8%, 45%);
  --text-color-light: hsl(var(--hue), 8%, 65%);
  --body-color: hsl(var(--hue), 100%, 99%);
  --container-color: #fff;
  --border-color: hsl(var(--hue), 20%, 92%);
  --icon-bg: hsla(var(--hue), 69%, 61%, .08);
}

/*========== Button Dark/Light ==========*/
.change-theme {
  color: var(--title-color);
  font-size: 1.15rem;
  cursor: pointer;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background .4s, color .4s;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

button, input, textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  background-color: transparent;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding: 5.5rem 0 2rem;
}

.section__title,
.section__title-center {
  font-size: var(--h1-font-size);
  color: var(--title-color);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--first-color);
  font-weight: var(--font-medium);
  margin-bottom: .25rem;
}

.section__title,
.section__subtitle {
  text-align: center;
}

.section__title {
  margin-bottom: 2rem;
}

/*=============== HEADER ===============*/
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--body-color);
  z-index: var(--z-fixed);
  transition: box-shadow .4s, background .4s;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.nav__logo {
  font-size: 1.15rem;
}

.nav__logo:hover {
  color: var(--first-color);
}

.nav__toggle {
  font-size: 1.2rem;
  cursor: pointer;
}

.nav__btns {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: -120%;
    left: 0;
    width: 100%;
    padding: 3.5rem 0 3rem;
    box-shadow: 0 4px 12px hsla(var(--hue), 24%, 15%, .1);
    border-radius: 0 0 1.5rem 1.5rem;
    transition: top .4s;
    z-index: var(--z-fixed);
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
  text-align: center;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: color .3s;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__close {
  position: absolute;
  right: 1.3rem;
  top: 1rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/* Show menu */
.show-menu {
  top: 0;
}

/* Active link */
.active-link {
  color: var(--first-color);
}

/* Change background header */
.scroll-header {
  box-shadow: 0 1px 4px hsla(var(--hue), 24%, 15%, .1);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: var(--container-color);
  box-shadow: 0 4px 12px hsla(var(--hue), 24%, 15%, .15);
  display: inline-flex;
  padding: 6px;
  border-radius: .35rem;
  z-index: var(--z-tooltip);
  opacity: .8;
  transition: bottom .4s, opacity .4s, transform .3s;
}

.scrollup__icon {
  font-size: 1.25rem;
  color: var(--first-color);
}

.scrollup:hover {
  opacity: 1;
  transform: translateY(-.25rem);
}

/* Show scroll up */
.show-scroll {
  bottom: 3rem;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 1rem 1.75rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: box-shadow .4s, background .4s, transform .2s;
}

.button:hover {
  background-color: var(--first-color-alt);
  box-shadow: 0 8px 24px hsla(var(--hue), 69%, 61%, .35);
}

.button--flex {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

.button--small {
  padding: .75rem 1rem;
}

.button--white {
  background-color: #fff;
  color: var(--first-color);
}

.button--white:hover {
  background-color: #fff;
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, .2);
}

.button__icon {
  font-size: 1.25rem;
  transition: transform .3s;
}

.button:hover .button__icon {
  transform: translateX(.25rem);
}

/*=============== HOME ===============*/
.home {
  padding-top: 6rem;
}

.home__container {
  position: relative;
  row-gap: 3rem;
  padding-bottom: 3rem;
}

.home__data {
  text-align: center;
}

.home__title {
  font-size: var(--big-font-size);
  margin-bottom: .25rem;
  line-height: 1.1;
}

.home__title-color {
  color: var(--first-color);
}

.home__subtitle {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: .75rem;
  color: var(--first-color);
}

.home__description {
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.home__social {
  display: flex;
  column-gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.home__social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--container-color);
  color: var(--first-color);
  font-size: 1.15rem;
  border-radius: 50%;
  box-shadow: 0 4px 12px hsla(var(--hue), 24%, 15%, .1);
  transition: transform .3s, color .3s;
}

.home__social-icon:hover {
  transform: translateY(-.25rem);
  color: var(--first-color-alt);
}

.home__img {
  width: 220px;
  height: 220px;
  background: linear-gradient(180deg, var(--first-color), var(--first-color-alt));
  border-radius: 50%;
  justify-self: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  order: -1;
}

.home__img img {
  width: 100%;
  object-fit: cover;
}

.home__scroll {
  display: none;
}

.home__scroll-button {
  color: var(--first-color);
  transition: transform .3s;
  display: inline-flex;
  flex-direction: column;
  row-gap: .25rem;
  align-items: center;
}

.home__scroll-button:hover {
  transform: translateY(.25rem);
}

.home__scroll-mouse {
  font-size: 1.5rem;
}

.home__scroll-name {
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-right: .25rem;
}

.home__scroll-arrow {
  font-size: 1rem;
}

/*=============== ABOUT ===============*/
.about__img {
  width: 220px;
  border-radius: 1.5rem;
  justify-self: center;
}

.about__data {
  text-align: center;
}

.about__description {
  margin-bottom: 1rem;
}

.about__description:last-of-type {
  margin-bottom: 2rem;
}

.about__info {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: .5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.about__box {
  background-color: var(--container-color);
  border-radius: .75rem;
  padding: .75rem .5rem;
  text-align: center;
  box-shadow: 0 4px 16px hsla(var(--hue), 24%, 15%, .08);
}

.about__number {
  display: block;
  font-size: var(--h2-font-size);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
}

.about__subtitle {
  font-size: var(--tiny-font-size, .7rem);
  font-size: .7rem;
}

.about__buttons {
  display: flex;
  justify-content: center;
}

/*=============== SKILLS ===============*/
.skills__container {
  display: grid;
  row-gap: 1.5rem;
}

.skills__content {
  background-color: var(--container-color);
  border-radius: 1rem;
  box-shadow: 0 4px 16px hsla(var(--hue), 24%, 15%, .07);
  overflow: hidden;
  align-self: start;
}

.skills__header {
  display: flex;
  align-items: center;
  column-gap: 1rem;
  padding: 1.5rem;
  cursor: pointer;
}

.skills__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--first-color);
  background-color: var(--icon-bg);
  border-radius: .65rem;
  flex-shrink: 0;
}

.skills__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.skills__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.skills__arrow {
  margin-left: auto;
  font-size: 1.35rem;
  color: var(--first-color);
  transition: transform .3s;
  flex-shrink: 0;
}

.skills__open .skills__arrow {
  transform: rotate(180deg);
}

.skills__list {
  max-height: 0;
  overflow: hidden;
  display: grid;
  row-gap: .6rem;
  padding: 0 1.5rem;
  transition: max-height .35s ease, padding .35s ease;
}

.skills__open .skills__list {
  max-height: 700px;
  padding: 0 1.5rem 1.5rem;
}

.skills__list li {
  font-size: var(--small-font-size);
  color: var(--text-color);
  padding-left: 1.15rem;
  position: relative;
}

.skills__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--first-color);
}

/*=============== QUALIFICATION ===============*/
.qualification__tabs {
  display: flex;
  justify-content: center;
  column-gap: 2rem;
  margin-bottom: 2rem;
}

.qualification__button {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
  color: var(--text-color);
}

.qualification__button:hover {
  color: var(--first-color);
}

.qualification__icon {
  font-size: 1.4rem;
  margin-right: .25rem;
}

.qualification__active {
  color: var(--first-color);
}

.qualification__sections {
  display: grid;
  grid-template-columns: 100%;
}

.qualification__content {
  display: none;
}

.qualification__content.qualification__active {
  display: block;
}

.qualification__data {
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  column-gap: 1.5rem;
}

.qualification__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.qualification__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: .25rem;
}

.qualification__calendar {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
}

.qualification__rounder {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: var(--first-color);
  border-radius: 50%;
}

.qualification__line {
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--first-color);
  transform: translate(6px, -7px);
}

/*=============== SERVICES ===============*/
.services__container {
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.services__card {
  background-color: var(--container-color);
  padding: 2.5rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 16px hsla(var(--hue), 24%, 15%, .07);
  transition: transform .3s;
}

.services__card:hover {
  transform: translateY(-.5rem);
}

.services__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.75rem;
  color: var(--first-color);
  background-color: var(--icon-bg);
  border-radius: .75rem;
  margin: 0 auto 1.25rem;
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.25rem;
}

.services__button {
  cursor: pointer;
  font-size: var(--small-font-size);
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  color: var(--first-color);
  font-weight: var(--font-medium);
}

.services__button-icon {
  font-size: 1rem;
  transition: transform .3s;
}

.services__button:hover .services__button-icon {
  transform: translateX(.25rem);
}

.services__modal {
  position: fixed;
  inset: 0;
  background-color: hsla(var(--hue), 28%, 10%, .6);
  padding: 1.5rem;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: var(--z-modal);
}

.services__modal-content {
  position: relative;
  background-color: var(--container-color);
  padding: 3rem 1.75rem 2rem;
  border-radius: 1rem;
  max-width: 420px;
}

.services__modal-title {
  font-size: var(--h3-font-size);
  margin-bottom: .75rem;
}

.services__modal-description {
  font-size: var(--small-font-size);
  margin-bottom: 1.5rem;
}

.services__modal-service {
  display: flex;
  column-gap: .5rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.services__modal-icon {
  font-size: 1.15rem;
  color: var(--first-color);
  margin-top: .15rem;
}

.services__modal-info {
  font-size: var(--small-font-size);
}

.services__modal-close {
  position: absolute;
  top: .9rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--first-color);
  cursor: pointer;
}

/* Active modal */
.active-modal {
  opacity: 1;
  visibility: visible;
}

/*=============== PORTFOLIO ===============*/
.portfolio__container {
  position: relative;
}

.portfolio__swiper {
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
}

.portfolio__content {
  grid-template-columns: 1fr;
  background-color: var(--container-color);
  padding: 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 4px 16px hsla(var(--hue), 24%, 15%, .07);
  display: none;
}

.portfolio__content.portfolio__active {
  display: grid;
}

.portfolio__img {
  width: 100%;
  border-radius: .75rem;
  margin-bottom: 1rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portfolio__title {
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
}

.portfolio__description {
  margin-bottom: 1.25rem;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 40%;
  width: 2.25rem;
  height: 2.25rem;
  background-color: var(--container-color);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px hsla(var(--hue), 24%, 15%, .15);
  cursor: pointer;
  color: var(--first-color);
  font-size: 1.25rem;
  z-index: 5;
}

.swiper-button-prev { left: -.25rem; }
.swiper-button-next { right: -.25rem; }

.swiper-pagination {
  display: flex;
  justify-content: center;
  column-gap: .5rem;
  margin-top: 1.5rem;
}

.swiper-pagination span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: background .3s, width .3s;
}

.swiper-pagination span.pagination-active {
  background-color: var(--first-color);
  width: 20px;
  border-radius: .5rem;
}

/*=============== PROJECT IN MIND ===============*/
.project {
  padding: 2rem 0;
}

.project__bg {
  background: linear-gradient(150deg, var(--first-color), var(--first-color-alt));
  border-radius: 1.5rem;
  padding: 3rem 0;
}

.project__container {
  grid-template-columns: 1fr;
  row-gap: 2.5rem;
  text-align: center;
}

.project__title,
.project__description {
  color: #fff;
}

.project__title {
  font-size: var(--h1-font-size);
  margin-bottom: 1rem;
}

.project__description {
  margin-bottom: 2rem;
  opacity: .9;
}

.project__img {
  width: 180px;
  border-radius: 1.25rem;
  justify-self: center;
}

/*=============== TESTIMONIAL ===============*/
.testimonial__container {
  position: relative;
}

.testimonial__swiper {
  overflow: hidden;
}

.testimonial__content {
  background-color: var(--container-color);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 16px hsla(var(--hue), 24%, 15%, .07);
  display: none;
}

.testimonial__content.testimonial__active {
  display: block;
}

.testimonial__img {
  width: 60px;
  border-radius: 50%;
  margin: 0 auto .75rem;
}

.testimonial__name {
  font-size: var(--normal-font-size);
  margin-bottom: .25rem;
}

.testimonial__stars {
  display: flex;
  column-gap: .1rem;
  justify-content: center;
  font-size: .85rem;
  color: var(--first-color);
  margin-bottom: .75rem;
}

.testimonial__description {
  font-size: var(--small-font-size);
}

/*=============== CONTACT ===============*/
.contact__container {
  row-gap: 3rem;
  padding-bottom: 3rem;
}

.contact__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact__info {
  display: grid;
  row-gap: 1rem;
}

.contact__card {
  background-color: var(--container-color);
  border-radius: .75rem;
  text-align: center;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 16px hsla(var(--hue), 24%, 15%, .07);
}

.contact__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  color: var(--first-color);
  background-color: var(--icon-bg);
  border-radius: .65rem;
  margin: 0 auto .75rem;
}

.contact__card-title,
.contact__card-data {
  font-size: var(--small-font-size);
}

.contact__card-title {
  font-weight: var(--font-medium);
}

.contact__card-data {
  display: block;
  margin-bottom: .5rem;
  color: var(--text-color-light);
}

.contact__button {
  color: var(--first-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  cursor: pointer;
}

.contact__button-icon {
  font-size: 1rem;
  transition: transform .3s;
}

.contact__button:hover .contact__button-icon {
  transform: translateX(.25rem);
}

.contact__form {
  display: grid;
  row-gap: 1rem;
}

.contact__form-div {
  position: relative;
  height: 4rem;
}

.contact__form-input {
  width: 100%;
  height: 100%;
  border: 1px solid var(--border-color);
  background-color: var(--container-color);
  border-radius: .5rem;
  padding: 1.5rem .75rem .5rem;
  color: var(--text-color);
  z-index: 1;
  transition: border-color .3s;
}

.contact__form-input:focus {
  border-color: var(--first-color);
}

.contact__form-tag {
  position: absolute;
  top: -.65rem;
  left: 1rem;
  font-size: var(--smaller-font-size);
  padding: .1rem .35rem;
  background-color: var(--body-color);
  color: var(--title-color);
  z-index: 10;
}

.contact__form-area {
  height: 10rem;
}

.contact__form-area textarea {
  resize: none;
}

/* CAPTCHA */
.contact__captcha {
  display: flex;
  align-items: center;
  column-gap: .75rem;
}

.contact__captcha-img {
  border-radius: .5rem;
  border: 1px solid var(--border-color);
  height: 50px;
  width: 150px;
  display: block;
}

.contact__captcha-refresh {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: .5rem;
  color: var(--first-color);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background .3s, transform .3s;
}

.contact__captcha-refresh:hover {
  background-color: var(--first-color-lighten);
}

.contact__captcha-refresh:active {
  transform: rotate(180deg);
}

/* Honeypot: visually hidden, still accessible in the DOM/tab order removed */
.contact__honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact__form-status {
  font-size: var(--small-font-size);
  min-height: 1.2rem;
  margin-top: -.25rem;
}

.contact__form-status.success {
  color: hsl(145, 63%, 42%);
}

.contact__form-status.error {
  color: hsl(0, 70%, 55%);
}

/*=============== FOOTER ===============*/
.footer {
  background-color: hsl(var(--hue), 24%, 12%);
  padding-top: 2.5rem;
}

.footer__container {
  row-gap: 2rem;
  text-align: center;
  padding-bottom: 2rem;
}

.footer__title {
  font-size: var(--h1-font-size);
  color: #fff;
  margin-bottom: .25rem;
}

.footer__subtitle {
  font-size: var(--small-font-size);
  color: hsl(var(--hue), 8%, 75%);
}

.footer__list {
  display: flex;
  justify-content: center;
  column-gap: 1.5rem;
}

.footer__link {
  color: #fff;
  font-size: var(--small-font-size);
  transition: opacity .3s;
}

.footer__link:hover {
  opacity: .7;
}

.footer__social {
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.footer__social-link {
  width: 2.25rem;
  height: 2.25rem;
  background-color: hsla(0, 0%, 100%, .1);
  color: #fff;
  font-size: 1.1rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s, transform .3s;
}

.footer__social-link:hover {
  background-color: hsla(0, 0%, 100%, .2);
  transform: translateY(-.2rem);
}

.footer__copy {
  text-align: center;
  font-size: var(--smaller-font-size);
  color: hsl(var(--hue), 8%, 65%);
  padding: 1.5rem 0;
  border-top: 1px solid hsla(0, 0%, 100%, .1);
}

/*=============== SCROLLBAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  background-color: var(--body-color);
  border-radius: .5rem;
}

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

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .home__img {
    width: 180px;
    height: 180px;
  }

  .about__info {
    grid-template-columns: repeat(3, 1fr);
  }

  .qualification__data {
    gap: .5rem;
  }
}

/* For medium devices (tablets) */
@media screen and (min-width: 576px) {
  .home__container {
    grid-template-columns: 1fr;
  }

  .about__container,
  .contact__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
    align-items: start;
  }

  .project__container {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .project__data {
    order: 1;
  }

  .project__img {
    justify-self: center;
  }
}

@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }

  .section {
    padding: 7rem 0 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
    column-gap: 3rem;
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }

  .nav__menu {
    margin-left: auto;
  }

  .home__container {
    grid-template-columns: max-content 1fr 1fr;
    align-items: center;
    column-gap: 2rem;
    padding-bottom: 0;
  }

  .home__data {
    text-align: left;
    order: 1;
  }

  .home__description {
    margin-left: 0;
  }

  .home__social {
    order: 0;
    flex-direction: column;
    justify-content: center;
  }

  .home__img {
    order: 2;
    width: 320px;
    height: 320px;
    justify-self: center;
  }

  .home__scroll {
    display: block;
    position: absolute;
    right: -2rem;
    bottom: 3rem;
  }

  .about__container {
    column-gap: 3rem;
  }

  .about__img {
    width: 320px;
  }

  .about__data,
  .about__info,
  .about__buttons {
    text-align: left;
    justify-content: initial;
  }

  .about__info {
    grid-template-columns: repeat(3, 140px);
  }

  .services__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact__info {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1rem;
  }

  .footer__container {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .footer__socials,
  .footer__list {
    justify-content: flex-start;
  }

  .footer__list {
    justify-self: center;
  }

  .footer__social {
    justify-self: end;
  }
}

@media screen and (min-width: 992px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .home__img {
    width: 380px;
    height: 380px;
  }

  .qualification__tabs {
    column-gap: 3rem;
  }

  .qualification__sections {
    display: flex;
    justify-content: center;
  }

  .qualification__content {
    max-width: 700px;
    margin: 0 auto;
  }

  .portfolio__content {
    grid-template-columns: 1fr .8fr;
    align-items: center;
    column-gap: 2.5rem;
    padding: 2.5rem;
  }

  .portfolio__img {
    order: 1;
  }

  .swiper-button-prev { left: -3rem; }
  .swiper-button-next { right: -3rem; }

  .project__bg {
    padding: 4rem 0;
  }

  .project__container {
    column-gap: 5rem;
  }

  .project__title {
    font-size: var(--big-font-size);
  }

  .project__img {
    width: 260px;
  }

  .testimonial__content {
    max-width: 420px;
    margin: 0 auto;
  }
}
