.avatar {
  margin-left: 17px;
  height: 40px;
  border-radius: 100px;
}

/* Font Size for larger devices */
.container {
  max-width: 768px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

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

.header {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
}

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

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

/* Change Background header */
.scroll-header {
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
}

/*========HOME=============*/
.home__container {
  gap: 1rem;
}

.home__content {
  grid-template-columns: 0.5fr 3fr;
  padding-top: 3.5rem;
  align-items: center;
}

.home__social {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 1rem;
}

.home__social-icon {
  font-size: 1.8rem;
  color: var(--first-color);
}

.home__social-icon:hover {
  color: var(--first-color-lighter);
}

.home__blob {
  width: 200px;
  fill: var(--first-color);
  /* fill: hsl(69, 69%, 61%); */
}

.home__blob-img {
  width: 180%;
  height: 145%;
  padding-left: 30px;
}

.home__data {
  grid-column: 1/3;
}

.home__title {
  margin-bottom: 7px;
  font-size: var(--big-font-size);
}

.home__subtitle {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-75);
}

.home__description {
  margin-bottom: var(--mb-2);
}

.portfolio__scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  cursor: pointer;
}

.home__scroll {
  display: none;
}

.home__scroll-button {
  color: var(--first-color);
  transition: 0.3s;
}

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

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

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

.home__scroll-arrow {
  margin-left: 10px;
  font-size: 1.25rem;
}

/*====================== Scroll Bar =====================*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--scroll-bar-color);
  border-radius: 0.5rem;
}

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

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

.project__card__carussel {
  max-width: 372px;
  flex: 0 0 300px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background-color: var(--container-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project__card__carussel:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.project__card__carussel.hidden {
  display: none;
}

.project__card__carussel__bottom {
  display: flex;
  height: 310.5px;
  justify-content: space-evenly;
  flex-direction: column;
}

.project__card__carussel__button {
  display: flex;
  padding: 1rem 1.2rem;
  background-color: var(--container-color);
  justify-content: center;
}

/* Image */
.project__card__carussel__img {
  width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}

/* Content */
.project__card__carussel__content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.2rem;
  background-color: var(--container-color);
  height: 65%;
}

/* Header */
.project__card__carussel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.project__card__carussel__title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project__card__carussel__icon {
  font-size: 1.4rem;
  color: var(--first-color);
}

.project__card__carussel__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--title-color);
}

/* Category */
.project__card__carussel__category {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--first-color);
  background-color: var(--first-color-lighter);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  white-space: nowrap;
}

/* Description */
.project__card__carussel__description {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-color);
}

/* Stack */
.project__card__carussel__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project__card__carussel__stack li {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  background-color: var(--input-color);
  border-radius: 6px;
  color: var(--title-color);
  font-weight: 500;
}

/* Button */
.project__card__carussel__button {
  margin-top: auto;
  transition: transform 0.3s ease;
}

.project__card__carussel__button:hover {
  transform: translateY(-2px);
}

/* Carousel container */
.home__projects__container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.5rem 0;
  scroll-behavior: smooth;
}
.home__projects__container::-webkit-scrollbar {
  display: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .project__card__carussel {
    flex: 0 0 250px;
  }
  .project__card__carussel__img {
    height: 150px;
  }
}
@media screen and (max-width: 480px) {
  .project__card__carussel {
    flex: 0 0 240px;
  }
  .project__card__carussel__img {
    height: 120px;
  }
  .project__card__carussel__title {
    font-size: 1rem;
  }
  .project__card__carussel__description {
    font-size: 0.8rem;
  }
  .project__card__carussel__stack li {
    font-size: 0.7rem;
  }
}
.home__projects__nav {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.project-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: var(--container-color);
  color: var(--title-color);
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.project-nav-btn:hover {
  background-color: var(--first-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.project-nav-btn:active {
  transform: scale(0.92);
}
.project-nav-btn:focus-visible {
  outline: 2px solid var(--first-color);
  outline-offset: 3px;
}
.project-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

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

/*======================== Media Queries ======================*/
.conteiner-btn-project {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* For Small Devices */
@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  .nav__menu {
    padding: 2rem 0.25rem 4rem;
  }
  .nav__list {
    -moz-column-gap: 0;
         column-gap: 0;
  }
  .home__content {
    grid-template-columns: 0.25fr 3fr;
  }
  .home__blob {
    width: 180px;
  }
  .skills__icon,
  .skills__arrow {
    font-size: 1.25rem;
  }
  .skills__title {
    font-size: var(--normal-font-size);
  }
  .qualification__data {
    gap: 0.5rem;
  }
  .services__container {
    justify-content: center;
  }
  .services__content {
    padding-right: 0.5rem;
  }
  .services__modal {
    padding: 0 0.5rem;
  }
  .project__img {
    width: 200px;
  }
}
/* For medium Devices */
@media screen and (min-width: 568px) {
  .home__content {
    grid-template-columns: max-content 1fr 1fr;
  }
  .home__data {
    grid-column: initial;
  }
  .home__img {
    order: 1;
    justify-self: center;
  }
  .about__container,
  .skills__container,
  .project__container,
  .contact__container,
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
  .qualification__section {
    display: grid;
    grid-template-columns: 0.6fr;
    justify-content: center;
  }
}
.container {
  margin-left: auto;
  margin-right: auto;
}

body {
  margin: 0;
}

.section {
  padding: 6rem 0 4rem;
  min-height: 80vh;
}

.section__subtitle {
  margin-bottom: 4rem;
}

.header {
  top: 0;
  bottom: initial;
}

.header,
.main,
.footer__container {
  padding: 0 1rem;
}

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

.nav__icon,
.nav__close,
.nav__toggle {
  display: none;
}

.nav__list {
  display: flex;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}

.nav__menu {
  margin-left: auto;
}

.change-theme {
  margin: 0;
}

.home__content {
  padding-top: 5.5rem;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}

.home__blob {
  width: 240px;
}

.home__scroll {
  display: block;
}

.home__scroll-button {
  margin-left: 3rem;
}

.about__container {
  -moz-column-gap: 5rem;
       column-gap: 5rem;
}

.about__img {
  width: 300px;
}

.about__description {
  text-align: initial;
}

.about__info {
  justify-content: space-between;
}

.about__buttons {
  justify-content: initial;
}

.skills__icon,
.skills__arrow {
  font-size: 1.75rem;
}

.qualification__tabs {
  justify-content: center;
}

.qualification__button {
  margin: 0 var(--mb-1);
}

.qualification__sections {
  grid-template-columns: 0.5fr;
}

.services_container {
  grid-template-columns: repeat(3, 218px);
  justify-content: center;
}

.services__content {
  padding: 2rem 0 2rem 2rem;
}

.services__icon {
  font-size: 2rem;
}

.services__modal-content {
  width: 500px;
}

.testimonials {
  align-items: center;
}

.project {
  text-align: initial;
}

.project__bg {
  background: none;
}

.project__container {
  background-color: var(--first-color-second);
  border-radius: 1rem;
  padding: 3rem 2.5rem 0;
  grid-template-columns: 1fr max-content;
  -moz-column-gap: 3rem;
       column-gap: 3rem;
}

@media screen and (min-width: 968px) {
  .header,
  .main,
  .footer__container {
    padding: 0;
  }
  .home__blob {
    width: 280px;
  }
  .home__title {
    font-size: 37px;
  }
  .home__social {
    transform: translateX(-6rem);
  }
  .button--white {
    bottom: -4.5rem;
  }
}
/*================== Portfolio ==================*/
.portfolio__container {
  overflow: initial;
}

/*need change*/
.portfolio__content {
  padding: 0 1.5rem;
}

.portfolio__img {
  width: 310px;
  border-radius: 0.5rem;
  justify-self: center;
}

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

.portfolio__description {
  margin-bottom: var(--mb-0-75);
}

.portfolio__button:hover .button__icon {
  transform: translateX(0.25rem);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
}

.swiper-portfolio-icon {
  font-size: 2rem;
  color: var(--first-color);
}

.swiper-button-prev {
  left: -0.5rem;
}

.swiper-button-next {
  right: -0.5rem;
}

.swiper-container-horizontal > .swiper-pagination-bullets {
  bottom: -2.5rem;
}

.swiper-pagination-bullets-active {
  background-color: var(--first-color);
}

.swiper-button-next,
.swiper-button-prev,
.swiper-pagination-bullets {
  outline: none;
}

/*================ Contact Me ===============*/
.contact__container {
  row-gap: 2rem;
}

.contact__information {
  display: flex;
  margin-bottom: var(--mb-2);
}

.contact__icon {
  font-size: 2rem;
  color: var(--first-color);
  margin-right: var(--mb-0-75);
}

.contact__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

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

.contact__content {
  background-color: var(--input-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem 0.25rem;
}

.contact__label {
  font-size: var(--smaller-font-size);
  color: var(--title-color);
}

.contact__input {
  width: 100%;
  background-color: var(--input-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  padding: 0.25rem 0.5rem 0.5rem 0;
}

/*===================== About ==================*/
.about {
  padding-top: 105px;
}

.about__img {
  width: 170px;
  border-radius: 500%;
  justify-self: center;
  align-self: center;
  /* border: 1px solid #fff; */
}

.about__description {
  margin-bottom: var(--mb-2-5);
}

.about__info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: var(--mb-2-5);
  gap: 25px;
}

.about__info-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.about__info-name {
  font-size: var(--smaller-font-size);
}

.about__info-name,
.about__info-title {
  display: block;
  text-align: center;
}

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

.skills {
  padding-bottom: 90px;
}

.skills__container {
  row-gap: 0;
}

.skills__icon,
.skills__arrow {
  font-size: 1.25rem;
  color: var(--first-color);
}

.skills__icon {
  margin-right: var(--mb-0-75);
}

.skills__title {
  font-size: var(--h3-font-size);
}

.skills__arrow {
  margin-left: auto;
  transition: 0.4s;
}

.skills__list {
  margin-bottom: 30px;
  row-gap: 1.5rem;
  padding-left: 2.7rem;
}

.skills__titles {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--mb-0-5);
}

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

.skills__bar,
.skills__percentage {
  height: 5px;
  border-radius: 0.25rem;
}

.skills__bar {
  background-color: var(--first-color-lighter);
}

.skills__percentage {
  display: block;
  background-color: var(--first-color);
}

.skills__html {
  width: 90%;
}

.skills__css {
  width: 80%;
}

.skills__js {
  width: 55%;
}

.skills__react {
  width: 40%;
}

.skills__php {
  width: 80%;
}

.skills__node {
  width: 70%;
}

.skills__firebase {
  width: 75%;
}

.skills__python {
  width: 50%;
}

.skills__figma {
  width: 85%;
}

.skills__sketch {
  width: 75%;
}

.skills__photoshop {
  width: 60%;
}

.skills__close .skills__list {
  height: 0;
  overflow: hidden;
}

.skills__open .skills__list {
  height: -moz-max-content;
  height: max-content;
  margin-bottom: var(--mb-2-5);
}

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

.services__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.services__modal.active-modal {
  display: flex;
}

.services__modal-content {
  background: var(--container-color);
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.services__modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.qualification__tabs {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2);
}

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

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

.qualification__icon {
  font-size: 1.8rem;
  margin-right: var(--mb-0-25);
}

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

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

.qualification__subtitle {
  display: inline-block;
  font-size: var(--small-font-size);
}

.qualification__calender {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.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);
}

.qualification [data-content] {
  display: none;
}

.qualification__active[data-content] {
  display: none;
}

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

.qualification__middle__line {
  height: 130px;
}

.qualification__middle__line__right {
  display: none;
}

.index__conpetences__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0px 35px 0px 35px;
}

.skills__content {
  margin-bottom: 20px;
}

.skills__header {
  display: flex;
  margin-bottom: 20px;
  cursor: pointer;
  justify-content: space-between;
}

.skills__header_sub {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .qualification__middle__line {
    display: none;
  }
  .qualification__middle__line__right {
    display: block;
    height: 155px;
    margin-right: 13px;
  }
  .qualification__container {
    display: block;
  }
  .qualification__data {
    display: flex;
    justify-content: flex-start;
    -moz-column-gap: 0rem;
         column-gap: 0rem;
    align-items: center;
  }
}
/* ===================== PROJECTS SECTION ===================== */
#projects {
  position: relative;
}

/* ---------- Grid ---------- */
.skill__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.skill__description {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.6;
}

.general__modal__plus {
  display: none;
}

.general__modal__plus.active {
  display: block;
}

.loisirs__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.loisir-card {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loisir-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.loisir__icon {
  font-size: 2.5rem;
  color: var(--first-color);
  margin-bottom: 1rem;
}

.loisir__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.5rem;
}

.loisir__description {
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
}

body.dark-theme .loisir-card {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

body.dark-theme .loisir__description {
  color: var(--text-color-light);
}

body.dark-theme .loisir__title {
  color: var(--title-color);
}

* {
  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);
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

.theme-box {
  display: flex;
  align-items: center;
  width: 60px;
  height: 28px;
  background-color: hsl(240, 69%, 61%);
  border-radius: 50px;
  padding: 3px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  z-index: 2;
}

.switch-img {
  position: absolute;
  z-index: 400;
  width: 14px;
  height: 14px;
  color: black;
}

.switch-moon {
  left: 6px;
}

.switch-sun {
  right: 7px;
}

body.dark-theme .switch-knob {
  transform: translateX(32px);
}

body.dark-theme .switch-moon {
  color: white;
}

body.dark-theme .switch-sun {
  color: black;
}

.switch-img {
  transition: none;
}

.switch-img.hidden {
  display: none;
}

.nav__btns {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.change-theme {
  font-size: 1.25rem;
  color: var(--title-color);
  margin-right: var(--mb-1);
  cursor: pointer;
}

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

.general__card {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, opacity 0.3s;
}

.general__card:hover {
  transform: translateY(-4px);
}

.general__card.hidden {
  display: none;
}

.general__card .button {
  margin-top: auto;
}

.general__card .button__icon {
  transition: transform 0.3s ease;
}

.general__card .button:hover .button__icon {
  transform: translateX(6px);
}

/* ---------- Header ---------- */
.general__card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--mb-0-75);
}

.general__card__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

/* ---------- Category badge ---------- */
.general__card__category {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--first-color);
  background-color: var(--first-color-lighter);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  white-space: nowrap;
}

/* ---------- Description ---------- */
.general__card__description {
  font-size: var(--small-font-size);
  line-height: 1.65;
  color: var(--text-color);
  margin-bottom: var(--mb-1);
}

/* ---------- Tech stack ---------- */
.general__card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--mb-1);
}

.general__card__stack li {
  font-size: var(--smaller-font-size);
  padding: 0.35rem 0.75rem;
  background-color: var(--input-color);
  border-radius: 0.5rem;
  color: var(--title-color);
  font-weight: var(--font-medium);
}

/* ---------- Link ---------- */
.general__card__intro {
  max-width: 720px;
  margin: 0 auto var(--mb-2);
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.6;
}

.general__card__containers {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.general__card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.general__card__title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.general__card__icon {
  font-size: 1.4rem;
  color: var(--first-color);
}

.general__section__title {
  font-size: var(--h1-font-size);
}

.general__section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: 30px;
}

.general__section__title,
.general__section__subtitle {
  text-align: center;
}

.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 1rem;
  margin-bottom: 10px;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button__icon {
  font-size: 1.25rem;
  margin-left: 0.25rem;
  transition: 0.3s;
}

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

.button--white:hover {
  background-color: #fff;
}

.button--flex {
  display: inline-flex;
  align-items: center;
}

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

.button--link {
  padding: 0;
  background-color: transparent;
  color: var(--first-color);
}

.button--link:hover {
  background-color: transparent;
  color: var(--first-color-alt);
}

.general__content__border {
  border: solid 1px var(--first-color);
  border-radius: 100px;
  padding: 10px;
  width: 45%;
  cursor: pointer;
  margin-bottom: 12px;
}

.general__see__more {
  display: flex;
  justify-content: space-between;
}

.general__content__plus {
  margin-top: 13px;
  border: solid 1px var(--first-color);
  border-radius: 200px;
  padding: 10px;
  width: 166px;
  cursor: pointer;
}
.general__content__plus i {
  color: var(--first-color);
}

.services_container {
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.services__content {
  position: relative;
  background-color: var(--container-color);
  padding: 2.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.services__button {
  cursor: pointer;
  font-size: var(--small-font-size);
}

.services__button:hover .button__icon {
  transform: translateX(0.25rem);
}

/* === MODAL === */
.general__modal__plus {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.general__modal__plus__content {
  position: relative;
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 1.25rem;
}

.general__modal__plus__details {
  row-gap: 1rem;
}

.general__modal__plus__item {
  display: flex;
}

.general__modal__plus__title {
  font-size: var(--h3-font-size);
  font-family: var(--font-medium);
  margin-bottom: var(--mb-1-5);
}

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

.general__modal__plus__icon {
  color: var(--first-color);
  margin-right: var(--mb-0-25);
}

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

.general__popup__source {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.general__popup__source.active-modal {
  display: flex;
}

.general__popup__source > * {
  background: var(--container-color);
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 600px;
  width: 90%;
  position: relative;
}

body.modal-open {
  overflow: hidden;
}

.general__modal__plus {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.general__modal__plus.active-modal {
  display: flex;
}

.general__modal__plus__content {
  background: var(--container-color);
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.general__filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: var(--mb-2);
  margin-top: 20px;
  flex-wrap: wrap;
}

a {
  color: var(--title-color);
}

.general__filter:hover,
.general__filter.active {
  background-color: var(--first-color);
  color: #fff;
}

.general__container {
  gap: 25px;
}

.static-arrow {
  color: var(--first-color);
  font-size: 24px;
  margin-left: 10px;
}

.general__filter {
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  border: none;
  background-color: var(--input-color);
  color: var(--title-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: 0.3s;
}

.footer__bg {
  background-color: var(--first-color-second);
  padding: 2rem 0 3rem;
}

.footer__links {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.footer__links li a {
  color: white;
  font-size: 20px;
}

.footer__logo {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  color: var(--title-color);
}

.footer__copy {
  color: white;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.footer__contact {
  color: white;
}

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

@media screen and (max-width: 767px) {
  .footer__logo {
    width: 100%;
  }
  .footer__container {
    display: flex;
    flex-wrap: wrap;
  }
  .footer__links__pages {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
  }
  main {
    padding: 0px 25px;
  }
}
/* ---------- Navbar base ---------- */
.nav {
  max-width: 968px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}

.nav__icon__navigation {
  margin-right: 20px;
}

.header {
  padding: 10px 0;
}

.nav__logo {
  color: var(--title-color);
  font-weight: var(--font-medium);
}
.nav__logo:hover {
  color: var(--first-color);
}

/* ---------- Toggle mobile ---------- */
.nav__toggle {
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--title-color);
  display: none; /* nascosto in desktop */
  transition: color 0.25s ease;
}
.nav__toggle:hover {
  color: var(--first-color);
}

/* ---------- Menu ---------- */
.nav__menu {
  display: flex;
  align-items: center;
}
.nav__menu .nav__list {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  list-style: none;
}
.nav__menu .nav__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  text-decoration: none;
  transition: color 0.25s ease;
}
.nav__menu .nav__link:hover {
  color: var(--first-color);
}
.nav__menu .nav__link .nav__icon {
  font-size: 1.2rem;
}

/* ---------- Mobile improvements ---------- */
.mobile {
  display: flex;
  align-items: center;
}

/* Mobile nav icons */
.mobile-nav {
  display: none; /* default hidden su desktop */
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--title-color);
  transition: transform 0.25s ease, color 0.25s ease;
}
.mobile-nav:hover {
  color: var(--first-color);
  transform: scale(1.1);
}

/* ---------- Navbar mobile ---------- */
@media screen and (max-width: 767px) {
  .nav__toggle {
    display: block; /* visibile in mobile */
  }
  .nav__menu {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    padding: 2rem 1.5rem 4rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 1.5rem 1.5rem 0 0;
    transition: bottom 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .nav__menu.show-menu {
    bottom: 0;
  }
  .nav__menu .nav__list {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    align-items: center;
  }
  .nav__menu .nav__link {
    font-size: 1.1rem;
  }
  .nav__menu .nav__close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--first-color);
    transition: color 0.25s ease;
  }
  .nav__menu .nav__close:hover {
    color: var(--first-color-alt);
  }
}
:root {
  --header-height: 3rem;
  --hue-color: 240;
  --first-color: hsl(var(--hue-color), 69%, 61%);
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
  --body-color: hsl(var(--hue-color), 60%, 99%);
  --container-color: #fff;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);
  --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: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  --font-medium: 500;
  --font-semi-bold: 600;
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 1rem;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

@media screen and (min-width: 968px) {
  :root {
    --big-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;
  }
}
body.dark-theme {
  --first-color-second: hsl(var(--hue-color), 30%, 8%);
  --title-color: hsl(var(--hue-color), 8%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 95%);
  --input-color: hsl(var(--hue-color), 29%, 16%);
  --body-color: hsl(var(--hue-color), 28%, 12%);
  --container-color: hsl(var(--hue-color), 29%, 16%);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
}/*# sourceMappingURL=main.css.map */