/*=============== GOOGLE FONTS - Insert link for typography ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

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

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(41, 54%, 55%);
  --first-color-alt: hsl(41, 54%, 50%);
  --second-color: hsl(35, 50%, 8%);
  --title-color: hsl(41, 60%, 8%);
  --text-color: hsl(41, 8%, 32%);
  --white-color: hsl(0, 0%, 99%);
  --gray-color: hsl(0, 0%, 85%);
  --body-color: hsl(0, 0%, 99%);
  --container-color: hsl(0, 0%, 100%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --second-font: "Playfair Display", serif;
  --font-italic: italic;
  --biggest-font-size: 4rem;
  --bigger-font-size: 2.375rem;
  --big-font-size: 1.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

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

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

/*========== Responsive typography ==========*/
@media (width >= 1150px) {
  :root {
    --biggest-font-size: 9.5rem;
    --bigger-font-size: 4rem;
    --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;
  }
}

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

html {
  scroll-behavior: smooth;
}

body,
input,
button,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

input,
button,
textarea {
  background: none;
  border: none;
  outline: none;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1rem;
}

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

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  text-align: center;
  font-size: var(--big-font-size);
  margin-bottom: 0.5rem;
}

.section__title span {
  font-style: var(--font-italic);
}

.section__subtitle {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  color: var(--title-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
}

.section__subtitle div {
  width: 12px;
  height: 12px;
  background-color: var(--first-color);
  border-radius: 50%;
}

.section__description {
  text-align: center;
}

.main {
  overflow: hidden;
}

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

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

.nav__logo {
  color: var(--white-color);
  font: var(--font-semi-bold) var(--h2-font-size) var(--second-font);
  transition: color 0.4s;
}

.nav__toggle {
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.4s;
}

/* Navigation for mobile devices <> */
@media (width <= 1150px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: hsla(35, 50%, 8%, 0.9);
    width: 80%;
    height: 100%;
    backdrop-filter: blur(8px);
    padding: 6rem 0 2rem 3rem;
    z-index: var(--z-fixed);
    transition: right 0.4s;
  }
}

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

.nav__link {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.4s;
}

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

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

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

/* Change header styles */
.scroll-header {
  background-color: var(--body-color);
  box-shadow: 0 2px 16px hsla(0, 0%, 0%, 0.1);
}
.scroll-header :is(.nav__logo, .nav__toggle) {
  color: var(--title-color);
}

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

/*=============== HOME SECTION ===============*/
.home {
  position: relative;
  height: 100vh;
}

.home__bg, .home__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home__bg {
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.home__shadow {
  background-color: hsla(35, 50%, 8%, 0.85);
  box-shadow: inset 0px -96px 48px -40px var(--body-color);
  z-index: 5;
}

.home__container {
  position: relative;
  z-index: 10;
  padding-top: 3rem;
  row-gap: 3rem;
}

.home__data {
  text-align: center;
}

.home__title {
  color: var(--white-color);
  font-size: var(--bigger-font-size);
  margin-bottom: 1rem;
}

.home__title span {
  font-style: var(--font-italic);
}

.home__description {
  color: var(--white-color);
  margin-bottom: 3rem;
}

.home__image {
  position: relative;
  justify-self: center;
}

.home__img {
  width: 340px;
  mask-image: linear-gradient(to bottom, hsl(0, 0%, 0%) 80%, transparent 95%);
}

.home__stamp {
  position: absolute;
  top: 4rem;
  right: 1rem;
  width: 70px;
}

.home__name {
  position: absolute;
  bottom: -0.75rem;
  justify-self: center;
  font-size: var(--biggest-font-size);
  color: var(--white-color);
}

/*=============== BUTTON ===============*/
.button {
  background: var(--first-color);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border-radius: 4rem;
  transition: background-color 0.4s, box-shadow 0.4s;
}

.button div {
  width: 40px;
  height: 40px;
  background-color: var(--white-color);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.button i {
  color: var(--first-color);
  font-weight: initial;
  font-size: 1.5rem;
}

.button:hover {
  background-color: var(--first-color-alt);
  box-shadow: 0 8px 24px hsla(41, 54%, 55%, 0.3);
}

/*=============== ABOUT SECTION ===============*/
.about__data{
  text-align: center;
}

.about__description {
  font: var(--font-semi-bold) var(--h2-font-size) var(--second-font);
  color: var(--title-color);
  margin-bottom: 3rem;
}

.about__description span {
  color: var(--first-color);
  font-style: var(--font-italic);
  font-size: var(--h1-font-size);
}

/*=============== CASE SECTION ===============*/
.case__container {
  position: relative;
  row-gap: 3rem;
}

.case__card {
  position: relative;
  width: 300px;
  border-radius: 1.25rem;
  padding: 1.25rem;
  overflow: hidden;
  display: grid;
  grid-template-rows: max-content;
}

.case__img, .case__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.case__img {
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.case__gradient {
  background: linear-gradient(180deg, hsla(40, 51%, 8%, 0.8) 70%, hsla(41, 50%, 35%, 0.8) 100%);
  z-index: 5;
}

.case__state, 
.case__date {
  position: relative;
  z-index: 10;
  display: flex;
  column-gap: 0.5rem;
  align-items: center;
  align-self: flex-start;
}

.case__text {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  font-size: var(--smaller-font-size);
  text-transform: uppercase;
  border: 1px solid var(--white-color);
  padding: 0.25rem 0.5rem;
  border-radius: 2rem;
}

.case__circle {
  width: 16px;
  height: 16px;
  background-color: var(--first-color);
  border-radius: 50%;
}

.case__state {
  margin-bottom: 0.25rem;
}

.case__date .case__text {
  order: -1;
}

.case__data {
  position: relative;
  z-index: 10;
  margin-top: 6.5rem;
  align-self: flex-end;
}

.case__title {
  color: var(--white-color);
  font-size: var(--h2-font-size);
  margin-bottom: 0.5rem;
}

.case__title span {
  font-style: var(--font-italic);
}

.case__description {
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

/* Swiper class */
.case__swiper {
  width: 100%;
  height: 100%;
  padding-bottom: 5rem;
}

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

.case :is(.swiper-button-prev, .swiper-button-next) {
  top: initial;
  left: initial;
  bottom: -1rem;
  margin: initial;
  width: 40px;
  height: 40px;
  background-color: var(--body-color);
  border: 1px solid var(--first-color);
  border-radius: 2rem;
  color: var(--first-color);
  font-size: 2rem;
  transition: background-color 0.4s, color 0.4s;
}

.case :is(.swiper-button-prev:hover, .swiper-button-next:hover) {
  background-color: var(--first-color);
  color: var(--white-color);
}

.case .swiper-button-prev {
  left: calc(50% - 3rem);
}

.case .swiper-button-next {
  right: calc(50% - 3rem);
}

/* STUDY PAGES */
.study {
  padding-block: 5rem 3rem;
}

.study .section__header {
  text-align: center;
}

.study__title {
  font-size: var(--h2-font-size);
  border-bottom: 1px solid var(--gray-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.study__container {
  margin-top: 1.5rem;
  background-color: var(--container-color);
  box-shadow: 0 4px 24px hsla(0, 0%, 0%, 0.1);
  border-radius: 1rem;
  padding-bottom: 2rem;
}

.study__header {
  background-color: var(--second-color);
  color: var(--white-color);
  padding: 1rem;
  padding: 2rem 1rem;
  border-radius: 1rem 1rem 0 0;
}

.study__header-file {
  display: flex;
  column-gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.study__header-circle {
  width: 16px;
  height: 16px;
  background-color: var(--first-color);
  border-radius: 50%;
}

.study__header-number {
  border: 1px solid var(--first-color);
  padding: 0.25rem 0.5rem;
  border-radius: 4rem;
  font-size: var(--small-font-size);
}

.study__header-status {
  background-color: var(--first-color);
  padding: 0.25rem 0.5rem;
  font-size: var(--small-font-size);
  border-radius: 4rem;
  width: max-content;
  margin-bottom: 1rem;
}

.study__header-title {
  color: var(--white-color);
  font-size: var(--big-font-size);
  margin-bottom: 1.5rem;
}

.study__content, .study__area {
  padding-inline: 1rem;
}

.study__area .button {
  justify-self: center;
}

.study__key-list {
  background-color: var(--body-color);
  border: 1px solid var(--gray-color);
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
}

.study__key-subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.study__key-items {
  display: grid;
  row-gap: 0.5rem;
  list-style: disc;
  padding-left: 1rem;
}

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

.study__status-box {
  background-color: var(--body-color);
  border: 1px solid var(--gray-color);
  padding: 1rem;
  border-radius: 0.5rem;
}

.study__status-subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

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

.study__time-info {
  display: grid;
  row-gap: 0.5rem;
}

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

.study__time-date {
  font-size: var(--smaller-font-size);
}

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

.study__specs {
  background-color: var(--body-color);
  border: 1px solid var(--gray-color);
  padding: 1rem;
  border-radius: 1rem;
}

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

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

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

.study__doc {
  background-color: var(--body-color);
  border: 1px solid var(--gray-color);
  padding: 1rem;
  border-radius: 1rem;
}

.study__doc-buttons {
  display: grid;
  row-gap: 0.5rem;
}

.study__doc-pdf {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  border: 1px solid var(--first-color);
  padding: 0.75rem;
  border-radius: 0.5rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.study__doc-pdf i {
  font-size: 1.5rem;
  font-weight: initial;
  color: var(--first-color);
}

/* STUDY PAGES BREAKPOINTS */
@media (width >= 1150px) {
  .study {
    padding-bottom: 5rem;
  }
  .study .section__header {
    align-items: flex-start;
  }
  .study__container {
    margin-top: 4rem;
    border-radius: 2rem;
    padding-bottom: 3rem;
    grid-template-columns: repeat(2, 480px);
    column-gap: 4rem;
    align-items: flex-start;
    row-gap: 3rem;
  }
  .study__header {
    padding: 3rem;
    border-radius: 2rem 2rem 0 0;
    grid-column: 1/4;
  }
  .study__title {
    font-size: var(--h1-font-size);
  }
  .study__content {
    padding-inline: 3rem 0;
    grid-column: 1/2;
  }
  .study__area {
    padding-inline: 0 3rem;
    grid-column: 2/4;
  }
  .study__area .button {
    justify-self: flex-start;
  }
  .study__key-list, .study__status-box, .study__specs {
    padding: 2rem;
    border-radius: 1rem;
  }
  .study__time-group {
    row-gap: 1.25rem;
  }
  .study__specs-group {
    row-gap: 1.5rem;
  }
}

/*=============== PROCESS SECTION ===============*/
.process__container {
  row-gap: 3rem;
  margin-top: 2rem;
}

.process__img {
  width: 280px;
  justify-self: center;
}

.process__card {
  display: flex;
  column-gap: 0.5rem;
  background-color: var(--container-color);
  box-shadow: 0 4px 24px hsla(0, 0%, 0%, 0.15);
  padding: 0.75rem 0.75rem 1rem;
  border-radius: 1.25rem;
  cursor: default;
  transition: background-color 0.4s, box-shadow 0.4s;
}

.process__number {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-color);
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font: var(--font-semi-bold) var(--h2-font-size) var(--second-font);
  color: var(--title-color);
}

.process__title {
  font-size: var(--h2-font-size);
  margin-block: 0.25rem 1rem;
}

.process__content:has(.process__card:hover) .process__card {
  background-color: var(--body-color);
  box-shadow: none;
}

.process__content:has(.process__card:hover) .process__card:hover {
  background-color: var(--container-color);
  box-shadow: 0 4px 24px hsla(0, 0%, 0%, 0.15);
}

/*=============== SERVICES SECTION ===============*/
.services {
  position: relative;
  margin-top: 3rem;
}

.services__bg, 
.services__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.services__bg {
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.services__shadow {
  background-color: hsla(35, 50%, 8%, 0.85);
  box-shadow: inset 0px -96px 48px -40px var(--body-color), 
              inset 0px 96px 48px -40px var(--body-color);
  z-index: 5;
}

.services .section__header {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 2rem;
}

.services :is(.section__subtitle, .section__title) {
  color: var(--white-color);
}

.services__container {
  position: relative;
  z-index: 10;
  padding-block: 3rem 7rem;
}

.services__card {
  background-color: hsla(0, 0%, 100%, 0.1);
  backdrop-filter: blur(16px);
  padding: 1rem;
  border-radius: 1.25rem;
  border: 1px solid var(--gray-color);
  display: grid;
  row-gap: 1rem;
  transition: background-color 0.4s;
}

.services__number {
  font: var(--font-italic) var(--font-semi-bold) var(--big-font-size) var(--second-font);
  color: var(--white-color);
  transition: color 0.4s;
}

.services__title {
  font-size: var(--h2-font-size);
  color: var(--white-color);
  transition: color 0.4s;
}

.services__status {
  display: flex;
  column-gap: 0.5rem;
  align-items: center;
}

.services__text {
  background-color: var(--white-color);
  color: var(--title-color);
  padding: 0.25rem 0.5rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  border-radius: 2rem;
  transition: background-color 0.4s, color 0.4s;
}

.services__circle {
  width: 16px;
  height: 16px;
  background-color: var(--white-color);
  border-radius: 50%;
  transition: background-color 0.4s;
}

.services__description {
  color: var(--white-color);
  margin-bottom: 1.25rem;
  transition: color 0.4s;
}

.services__button {
  width: 40px;
  height: 40px;
  background-color: var(--white-color);
  color: var(--first-color);
  font-size: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}

.services__button:hover {
  box-shadow: 0 8px 24px hsla(41, 54%, 55%, 0.3);
}

.services__card:hover {
  background-color: var(--container-color);
}

.services__card:hover :is(.services__number, .services__title) {
  color: var(--title-color);
}

.services__card:hover :is(.services__circle, .services__text, .services__button) {
  background-color: var(--first-color);
  color: var(--white-color);
}

.services__card:hover .services__description {
  color: var(--text-color);
}

/* SERVICES PAGES */
.service {
  padding-block: 5rem 3rem;
}

.service .section__header {
  text-align: center;
}

.service__header {
  padding-block: 3rem 2rem;
}

.service__tag {
  display: flex;
  column-gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.service__circle {
  width: 16px;
  height: 16px;
  background-color: var(--first-color);
  border-radius: 50%;
}

.service__text {
  border: 1px solid var(--first-color);
  padding: 0.25rem 0.5rem;
  border-radius: 4rem;
  font-size: var(--small-font-size);
}

.service__title {
  font-size: var(--h2-font-size);
  margin-bottom: 1rem;
}

.service__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

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

.service__card-article {
  background-color: var(--body-color);
  padding: 1rem;
  border: 1px solid var(--gray-color);
  border-radius: 1rem;
  box-shadow: 0 4px 8px hsla(0, 0%, 0%, 0.1);
}

.service__card-data {
  display: flex;
  column-gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.service__card i {
  font-size: 1rem;
  color: var(--first-color);
}

.service__card-name {
  font-size: var(--small-font-size);
  font-family: var(--body-font);
}

.service__card-description {
  font-size: var(--small-font-size);
  padding-left: 1.5rem;
}

.service__corp {
  background-color: var(--second-color);
  padding: 1.5rem;
  border-radius: 1rem;
  color: var(--white-color);
}

.service__corp .service__subtitle {
  color: var(--white-color);
}

.service__corp .button {
  margin-top: 2rem;
}

.service__scope {
  background-color: var(--body-color);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--gray-color);
  box-shadow: 0 4px 8px hsla(0, 0%, 0%, 0.1);
}

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

.service__item {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.service__item i {
  font-size: 1rem;
  color: var(--first-color);
}

/* SERVICE PAGES BREAKPOINTS */
@media (width >= 1150px) {
  .service {
    padding-block: 5rem;
  }
  .service .section__header {
    align-items: flex-start;
  }
  .service__header {
    padding-block: 3rem;
  }
  .service__title {
    font-size: var(--big-font-size);
  }
  .service__description {
    max-width: 850px;
  }
  .service__container {
    grid-template-columns: 630px 435px;
    column-gap: 4rem;
    align-items: flex-start;
  }
  .service__subtitle {
    font-size: var(--h1-font-size);
    margin-bottom: 1.5rem;
  }
  .service__card-article {
    padding: 2rem;
  }
  .service__card i {
    font-size: 1.5rem;
  }
  .service__card-name {
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
  }
  .service__card-description {
    font-size: var(--normal-font-size);
  }
  .service__corp, .service__scope {
    padding: 2rem;
  }
  :is(.service__corp, .service__scope) .service__subtitle {
    font-size: var(--h2-font-size);
  }
  .service__item {
    font-size: var(--normal-font-size);
  }
}

/*=============== QUESTIONS SECTION ===============*/
.questions__container {
  row-gap: 3rem;
  margin-top: 2rem;
}

.questions__data {
  text-align: center;
}

.questions__img {
  width: 100px;
  border-radius: 50%;
  margin-inline: auto;
}

.questions__title {
  font-size: var(--h2-font-size);
  margin-block: 0.5rem;
}

.questions__description {
  margin-bottom: 2rem;
}

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

.questions__card {
  background-color: var(--container-color);
  box-shadow: 0 4px 24px hsla(0, 0%, 0%, 0.15);
  border: 1px solid var(--gray-color);
  border-radius: 1rem;
}

.questions__button {
  width: 100%;
  padding: 1rem 0.5rem 1.5rem 1rem;
  display: flex;
  column-gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  text-align: initial;
  cursor: pointer;
}

.questions__name {
  font-size: var(--h2-font-size);
}

.questions__arrow {
  width: 32px;
  height: 32px;
  background-color: var(--container-color);
  border: 1px solid var(--gray-color);
  color: var(--first-color);
  border-radius: 50%;
  font-size: 1.75rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: rotate 0.4s, background-color 0.4s, color 0.4s;
}

/* Hide text */
.questions__text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-inline: 1rem;
  transition: max-height 0.4s, opacity 0.4s, padding-bottom 0.4s;
}

/* Show text */
.questions-open .questions__text {
  max-height: 500px; /* If you have more elements, increase the max-height */
  opacity: 1;
  padding-bottom: 1.5rem;
}

/* Rotate icon */
.questions-open .questions__arrow {
  rotate: -180deg;
  background-color: var(--first-color);
  color: var(--white-color);
  border-color: var(--first);
}

/*=============== CLIENTS SECTION ===============*/
.clients__container {
  position: relative;
  row-gap: 3rem;
}

.clients__card {
  position: relative;
  width: 300px;
  border-radius: 1.25rem;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--gray-color);
  display: grid;
  grid-template-rows: 1fr auto;
}

.clients__img, 
.clients__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.clients__img {
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.clients__gradient {
  background-color: hsl(35, 50%, 100%);
  z-index: 5;
  transition: background-color 0.4s;
}

.clients__rating {
  position: relative;
  z-index: 10;
  display: grid;
  row-gap: 0.5rem;
  align-self: flex-start;
}

.clients__stars {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  color: var(--first-color);
  font-size: 1rem;
}

.clients__point {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  transition: color 0.4s;
}

.clients__description {
  position: relative;
  z-index: 10;
  color: var(--title-color);
  font-size: var(--h2-font-size);
  font-style: var(--font-italic);
  margin-block: 6rem 3rem;
  transition: color 0.4s;
  align-self: flex-end;
}

.clients__info {
  position: relative;
  z-index: 10;
  color: var(--title-color);
  align-self: flex-end;
}

.clients__name {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  transition: color 0.4s;
}

.clients__city {
  transition: color 0.4s;
}

.clients__quote {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-size: 6.5rem;
  color: var(--white-color);
  z-index: 10;
}

/* Swiper class */
.clients__swiper {
  width: 100%;
  height: 100%;
  padding-bottom: 5rem;
}
.clients .swiper-button-prev::after, 
.clients .swiper-button-next::after {
  content: "";
}
.clients :is(.swiper-button-prev, .swiper-button-next) {
  top: initial;
  left: initial;
  bottom: 0;
  margin: initial;
  width: 40px;
  height: 40px;
  background-color: var(--body-color);
  border: 1px solid var(--first-color);
  border-radius: 2rem;
  color: var(--first-color);
  font-size: 2rem;
  transition: background-color 0.4s, color 0.4s;
}

.clients :is(.swiper-button-prev:hover, .swiper-button-next:hover) {
  background-color: var(--first-color);
  color: var(--white-color);
}

.clients .swiper-button-prev {
  left: calc(50% - 3rem);
}

.clients .swiper-button-next {
  right: calc(50% - 3rem);
}

/* Swiper card active */
.clients .swiper-slide-active .clients__gradient, .clients .swiper-slide-duplicate-active .clients__gradient {
  background-color: hsla(35, 50%, 8%, 0.85);
}

.clients .swiper-slide-active :is(.clients__point, .clients__description, .clients__name, .clients__city) {
  color: var(--white-color);
}

/*=============== CONTACT SECTION ===============*/
.contact__container {
  row-gap: 3rem;
  margin-top: 2rem;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
}

.contact__map {
  height: 380px;
  justify-self: center;
  border-radius: 1rem;
  overflow: hidden;
}

.contact__form {
  position: relative;
  row-gap: 1rem;
  background-color: var(--container-color);
  padding: 1rem 0.75rem;
  box-shadow: 0 4px 24px hsla(0, 0%, 0%, 0.1);
  border: 1px solid var(--gray-color);
  border-radius: 1rem;
}

.contact__group {
  position: relative;
}

.contact__input {
  width: 100%;
  background: var(--container-color);
  color: var(--title-color);
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--gray-color);
}

.contact__label {
  display: none;
}

.contact__input:focus ~ .contact__label {
  opacity: 0;
}

.contact__input:autofill {
  transition: background-color 6000s, color 6000s;
}

.contact__area {
  height: 14rem;
  resize: none;
}

.contact__button {
  margin-top: 1rem;
  justify-self: center;
  cursor: pointer;
}

.contact__message {
  position: absolute;
  left: 0.75rem;
  bottom: 5rem;
  color: var(--title-color);
  font-size: var(--small-font-size);
}

/*=============== FOOTER ===============*/
.footer {
  position: relative;
  margin-top: 2rem;
  padding-block: 9rem 2rem;
}

.footer__bg, .footer__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.footer__bg {
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.footer__shadow {
  background-color: hsla(35, 50%, 8%, 0.85);
  box-shadow: inset 0px 96px 48px -40px var(--body-color);
  z-index: 5;
}

.footer__container {
  position: relative;
  z-index: 10;
  display: grid;
  row-gap: 3rem;
}

.footer__social {
  display: flex;
  column-gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer__social-link {
  color: var(--white-color);
  font-size: 1.5rem;
  transition: color 0.4s;
}

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

.footer__title {
  color: var(--white-color);
  font-size: var(--h2-font-size);
  margin-bottom: 0.5rem;
}

.footer__description {
  color: var(--white-color);
}

.footer__subtitle {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 3.5rem;
}

.footer__links {
  display: grid;
  row-gap: 0.5rem;
}

.footer__link {
  color: var(--white-color);
  transition: color 0.4s;
}

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

.footer__conect {
  display: flex;
  column-gap: 0.25rem;
  color: var(--white-color);
}

.footer__conect :is(address, a) {
  color: var(--white-color);
  font-style: initial;
}

.footer__info {
  position: relative;
  z-index: 10;
  color: var(--white-color);
  margin-top: 6rem;
  text-align: center;
}

.footer__date, 
.footer__copy {
  font-size: var(--smaller-font-size);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: hsl(0, 0%, 75%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 60%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 50%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  z-index: var(--z-tooltip);
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(0, 0%, 0%, 0.1);
  color: var(--title-color);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  transition: bottom 0.4s, transform 0.4s;
}

.scrollup:hover {
  transform: translateY(-0.5rem);
}

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

/*=============== BREAKPOINTS ===============*/
/* For small devices <> */
@media (width <= 340px) {
  .home__name {
    font-size: 3rem;
    text-align: center;
    bottom: 0rem;
  }

  .footer__content {
    grid-template-columns: 1fr;
  }
}

/* For medium devices <> */
@media (width >= 540px) {
  .home__container,
  .about__container,
  .process__container,
  .services__container,
  .questions__container,
  .contact__container {
    grid-template-columns: 400px;
    justify-content: center;
  }

  .section__description {
    max-width: 400px;
    margin-inline: auto;
  }
}

@media (width >= 768px) {
  .nav__menu {
    width: 50%;
  }
}

@media (width >= 968px) {
  .case__swiper,
  .clients__swiper {
    width: 950px;
  }
}

/* For large devices <> */
@media (width >= 1150px) {
  .container {
    margin-inline: auto;
  }

  .section {
    padding-block: 7rem 2rem;
  }
  .section__title {
    margin-bottom: 1.5rem;
    text-align: initial;
  }
  .section__subtitle {
    justify-content: initial;
  }
  .section__header {
    display: flex;
    width: 1120px;
    justify-content: space-between;
  }
  .section__description {
    max-width: 500px;
    text-align: right;
    margin-inline: initial;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
  }
  .nav__toggle, 
  .nav__close {
    display: none;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }
  .nav__menu {
    width: initial;
  }

  .scroll-header .nav__link {
    color: var(--title-color);
  }
  .scroll-header .nav__link:hover {
    color: var(--first-color);
  }
  .scroll-header .active-link {
    color: var(--first-color);
  }

  .home__container {
    grid-template-columns: 445px 600px;
    column-gap: 3rem;
    padding-top: 6rem;
  }
  .home__data {
    text-align: initial;
  }
  .home__img {
    width: 600px;
  }
  .home__stamp {
    width: 120px;
    right: initial;
    left: 0;
    top: 11rem;
  }
  .home__name {
    bottom: -3rem;
  }
  .home__description {
    padding-right: 6rem;
  }

  .about__container {
    grid-template-columns: 1040px;
    text-align: center;
  }
  .about .section__subtitle {
    justify-content: center;
  }
  .about__description {
    font-size: var(--h1-font-size);
  }
  .about__description span {
    font-size: 2.75rem;
  }

  .case__container {
    row-gap: 4rem;
  }
  .case__swiper {
    width: 1200px;
  }
  .case__card {
    width: 400px;
    padding: 2rem;
    border-radius: 2rem;
  }
  .case__text {
    font-size: var(--small-font-size);
  }
  .case__data {
    margin-top: 10rem;
  }
  .case__description {
    margin-bottom: 2rem;
  }

  .process__container {
    grid-template-columns: 400px 640px;
    margin-top: 6rem;
    padding-bottom: 3rem;
  }
  .process__img {
    width: 400px;
  }
  .process__card {
    padding: 2rem 3rem;
    align-items: center;
    column-gap: 2rem;
  }
  .process__card:nth-child(odd) {
    translate: 3rem;
  }
  .process__number {
    width: 64px;
    height: 64px;
  }

  .services .button {
    align-self: flex-start;
  }
  .services__container {
    grid-template-columns: 1fr;
  }
  .services__card {
    grid-template-columns: 380px 1fr 400px;
    align-items: center;
    padding: 2rem 1.5rem;
  }
  .services__header {
    display: flex;
    column-gap: 1.25rem;
    align-items: center;
  }
  .services__number {
    font-size: var(--h2-font-size);
  }
  .services__status {
    justify-content: center;
  }
  .services__info {
    display: flex;
    column-gap: 1rem;
    align-items: center;
  }
  .services__description {
    margin: initial;
  }
  .services__button {
    flex-shrink: 0;
  }

  .questions__container {
    grid-template-columns: 350px 660px;
    column-gap: 6rem;
    align-items: center;
    margin-top: 3rem;
  }
  .questions__data {
    text-align: initial;
  }
  .questions__img {
    margin-inline: initial;
  }
  .questions__button {
    padding: 1.25rem 1.25rem 1.5rem 1.25rem;
  }

  .clients__container {
    row-gap: 4rem;
  }
  .clients__swiper {
    width: 1110px;
  }
  .clients__card {
    width: 350px;
    padding: 2rem;
    border-radius: 2rem;
  }
  .clients__img {
    border-radius: 2rem;
  }
  .clients__point {
    font-size: var(--normal-font-size);
  }
  .clients__description {
    font-size: var(--h3-font-size);
    margin-block: 8rem 4rem;
  }

  .contact__container {
    grid-template-columns: 720px 344px;
    column-gap: 1.5rem;
    margin-top: 4rem;
  }
  .contact__form {
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    grid-template-columns: repeat(2, 320px);
    column-gap: 1rem;
  }
  .contact__group:nth-child(3) {
    grid-column: 1/3;
  }
  .contact__button {
    justify-self: flex-start;
  }
  .contact__area {
    height: 19rem;
  }
  .contact__message {
    left: 2rem;
    bottom: 6.5rem;
  }
  .contact__map {
    height: 100%;
  }

  .footer {
    margin-top: 4rem;
  }
  .footer__container {
    grid-template-columns: 270px max-content;
    justify-content: space-between;
  }
  .footer__content {
    grid-template-columns: repeat(3, max-content);
    column-gap: 6rem;
  }
  .footer__info {
    display: flex;
    justify-content: space-between;
  }

  .scrollup {
    right: 3rem;
  }
}
