@font-face {
  font-family: "inter-regular";
  src: url("../fonts/Inter_18pt-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: "inter-medium";
  src: url("../fonts/Inter_18pt-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "inter-bold";
  src: url("../fonts/Inter_18pt-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "inter-extrabold";
  src: url("../fonts/Inter_18pt-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
}

:root {
  --primary-color: #576fdb;
  --primary-color-opacity: rgba(87, 111, 219, 0.16);
  --secondary-color: #f5f5f5;
  --text-color: #333;
  --white-color: #fff;
  --black-color: #171717;
  --font-family-regular: "inter-regular";
  --font-family-bold: "inter-bold";
  --font-family-medium: "inter-medium";
  --font-family-extrabold: "inter-extrabold";

  /* --mobile-columns: 4;
  --tablet-columns: 8;
  --desktop-columns: 12; */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  min-width: 32rem;
  font-size: 1.6rem;
  font-family: var(--font-family-regular);
  color: var(--text-color);
  background-color: var(--secondary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-family-extrabold);
  line-height: 1.2;
  color: var(--black-color);
}

p {
  line-height: 1.5;

  @media screen and (min-width: 768px) {
    font-size: 1.8rem;
  }
}

a {
  line-height: 1.5;
  text-decoration: none;
}

img {
  display: block;
}

button {
  border: none;
  cursor: pointer;
}

[class*="__container"] {
  width: min(90%, 120rem);
  margin-inline: auto;

  @media screen and (min-width: 768px) {
    width: min(95%, 120rem);
  }
}

/* Header */
.header {
  padding-block: 2.4rem;
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header__logo-text {
  font-size: 2.4rem;
  font-family: var(--font-family-extrabold);
  color: var(--black-color);
}

.header__logo-text-span {
  color: var(--primary-color);
}

.header__nav {
  display: none;
  align-items: center;
  gap: 1.6rem;

  @media screen and (min-width: 768px) {
    display: flex;
  }

  @media screen and (min-width: 1024px) {
    gap: 2.4rem;
  }
}

.header__nav-link {
  font-family: var(--font-family-medium);
  color: var(--text-color);
}

.header__nav-link:hover {
  color: var(--primary-color);
}

.header__nav-link-active {
  padding: 0.8rem 2.4rem;
  border-radius: 10rem;
  font-size: 1.8rem;
  font-family: var(--font-family-extrabold);
  color: var(--primary-color);
  background-color: var(--primary-color-opacity);
}

.header__button {
  padding: 1.2rem 2.4rem;
  display: none;
  border-radius: 0.4rem;
  font-size: 1.6rem;
  font-family: var(--font-family-bold);
  letter-spacing: 0.02rem;
  color: var(--white-color);
  background-color: var(--primary-color);

  @media screen and (min-width: 768px) {
    display: block;
  }
}

.header__button-menu {
  display: block;

  @media screen and (min-width: 768px) {
    display: none;
  }
}

/* Hero */

.hero__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 2.4rem;
  row-gap: 1.2rem;

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(8, 1fr);
    align-items: center;
  }

  @media screen and (min-width: 1024px) {
    grid-template-columns: repeat(12, 1fr);
  }
}

.hero__info {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;

  @media screen and (min-width: 768px) {
    grid-column: 1 / 5;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 7;
    gap: 3.2rem;
  }
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero__title {
  font-size: 3.2rem;

  @media screen and (min-width: 768px) {
    font-size: 4rem;
  }

  @media screen and (min-width: 1024px) {
    font-size: 5.2rem;
  }

  @media screen and (min-width: 1200px) {
    font-size: 6.4rem;
  }
}

.hero__title-span {
  font-size: 3.8rem;
  color: var(--primary-color);

  @media screen and (min-width: 768px) {
    font-size: 4.8rem;
  }

  @media screen and (min-width: 1024px) {
    font-size: 6.4rem;
  }

  @media screen and (min-width: 1200px) {
    font-size: 8rem;
  }
}

.hero__button {
  width: 100%;
  padding: 1.2rem 2.4rem;
  border-radius: 0.4rem;
  font-size: 1.6rem;
  text-align: center;
  font-family: var(--font-family-bold);
  color: var(--white-color);
  background-color: var(--primary-color);

  @media screen and (min-width: 768px) {
    max-width: 16.5rem;
  }
}

.hero__image {
  grid-column: 1 / 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 2.4rem;

  opacity: 0;
  transform: translateY(100%);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;

  --opacity: 1;
  --transform: translateY(0);

  @media screen and (min-width: 768px) {
    grid-column: 5 / 9;
    grid-template-columns: repeat(5, 1fr);
    justify-content: start;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 8 / 13;
  }
}

.hero__image-picture {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 2;

  @media screen and (min-width: 768px) {
    grid-column-start: 1;
    grid-column-end: 6;
  }
}

.hero__image-img {
  width: 100%;
  height: auto;
}

.hero__image-overlay {
  grid-column-start: 2;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 2;
  width: 100%;
  height: 75%;
  border-radius: 2.4rem 2.4rem 0 0;
  background-color: var(--primary-color);

  @media screen and (min-width: 768px) {
    grid-column-start: 2;
    grid-column-end: 6;
    max-width: 34.4rem;
  }
}

/* Tag */
.tag__content {
  padding-top: 8rem;
  display: grid;
  gap: 3.2rem;

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(8, 1fr);
    justify-content: center;
    gap: 2.4rem;
  }

  @media screen and (min-width: 1024px) {
    padding-top: 12rem;
    grid-template-columns: repeat(12, 1fr);
  }
}

.tag__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;

  opacity: 0;
  transform: translateY(100%);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;

  --opacity: 1;
  --transform: translateY(0);

  @media screen and (min-width: 1024px) {
    padding: 2.4rem;
  }
}

.tag__card:nth-child(1) {
  @media screen and (min-width: 768px) {
    grid-column: 1 / 5;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 5;
  }
}
.tag__card:nth-child(2) {
  @media screen and (min-width: 768px) {
    grid-column: 5 / 9;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 5 / 9;
  }
}
.tag__card:nth-child(3) {
  @media screen and (min-width: 768px) {
    grid-column: 3 / 7;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 9 / 13;
  }
}

.tag__card-icon {
  padding: 1.2rem;
  border-radius: 0.8rem;
  background-color: var(--primary-color-opacity);
}

.tag__card-title {
  font-size: 2.4rem;
  font-family: var(--font-family-extrabold);
  color: var(--black-color);
}

/* About */
.about {
  padding-top: 8rem;

  @media screen and (min-width: 1024px) {
    padding-top: 12rem;
  }
}
.about__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 8rem;
  column-gap: 2.4rem;

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(8, 1fr);
    row-gap: 16rem;
  }

  @media screen and (min-width: 1024px) {
    grid-template-columns: repeat(12, 1fr);
  }
}

.about__doctor {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;

  @media screen and (min-width: 768px) {
    grid-column: 1 / 9;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0rem;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 13;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.4rem;
    align-items: center;
  }
}

.about__image {
  grid-column: 1 / 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;

  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;

  --opacity: 1;
  --transform: translateX(0);

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 7;
  }
}

.about__image-overlay {
  grid-column-start: 1;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 2;
  width: 100%;
  height: 75%;
  border-radius: 2.4rem 2.4rem 0 0;
  background-color: var(--primary-color);

  @media screen and (min-width: 1024px) {
    max-width: 38.4rem;
  }
}

.about__image-picture {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 2;
}

.about__image-img {
  width: 100%;
}

.about__doctor-info {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;

  opacity: 0;
  transform: scale(0);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;

  --opacity: 1;
  --transform: scale(1);

  @media screen and (min-width: 768px) {
    grid-column: 5 / 9;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 7 / 13;
  }
}

.about__doctor-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.about__doctor-title-container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.about__doctor-title-span {
  font-size: 1.6rem;
  font-family: var(--font-family-extrabold);
  color: var(--primary-color);
}

.about__doctor-title {
  font-size: 2.8rem;

  @media screen and (min-width: 1024px) {
    font-size: 4.8rem;
  }
}

.about__doctor-description {
  font-size: 1.6rem;
}

.about__doctor-cards {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.about__doctor-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1.2rem;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    align-items: center;
  }
}

.about__doctor-card-icon {
  padding: 1.6rem;
  border-radius: 0.8rem;
  background-color: rgba(0, 132, 51, 0.16);
}

.about__doctor-card-title {
  font-size: 2rem;
  font-family: var(--font-family-extrabold);
}

.about__doctor-card-description {
  font-size: 1.6rem;
}

.about__our {
  grid-column: 1 / 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 2.4rem;
  row-gap: 4.8rem;

  @media screen and (min-width: 768px) {
    grid-column: 1 / 9;
    grid-template-columns: repeat(8, 1fr);
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 13;
    grid-template-columns: repeat(12, 1fr);
  }
}

.about__our-text {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;

  @media screen and (min-width: 768px) {
    grid-column: 3 / 7;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 4 / 10;
  }
}

.about__our-title {
  font-size: 2.8rem;

  @media screen and (min-width: 1024px) {
    font-size: 4.8rem;
  }
}

.about__dentists {
  grid-column: 1 / 5;
  display: grid;
  gap: 2.4rem;

  @media screen and (min-width: 768px) {
    grid-column: 1 / 9;
    grid-template-columns: repeat(8, 1fr);
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 13;
    grid-template-columns: repeat(12, 1fr);
  }
}

.about__dentists-card {
  border-radius: 0.4rem;
  background-color: var(--primary-color-opacity);
  box-shadow: 0 0.4rem 0.8rem rgba(87, 111, 219, 0.25);
}

.about__dentists-card:nth-child(1) {
  @media screen and (min-width: 768px) {
    grid-column: 1 / 5;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 4;
  }
}
.about__dentists-card:nth-child(2) {
  @media screen and (min-width: 768px) {
    grid-column: 5 / 9;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 4 / 7;
  }
}

.about__dentists-card:nth-child(3) {
  @media screen and (min-width: 768px) {
    grid-column: 1 / 5;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 7 / 10;
  }
}

.about__dentists-card:nth-child(4) {
  @media screen and (min-width: 768px) {
    grid-column: 5 / 9;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 10 / 13;
  }
}

.about__dentists-card-image-img {
  width: 100%;
}

.about__dentists-card-content {
  padding: 2.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: center;
  background-color: var(--white-color);
}

.about__dentists-card-title {
  font-size: 2rem;
  font-family: var(--font-family-extrabold);
}

.about__dentists-card-button {
  padding: 1.2rem 2.4rem;
  border-radius: 0.4rem;
  font-size: 1.4rem;
  font-family: var(--font-family-bold);
  color: var(--primary-color);
  background-color: var(--primary-color-opacity);
}

/* Services */
.services {
  padding-block: 8rem;

  @media screen and (min-width: 1024px) {
    padding-block: 12rem;
  }
}

.services__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 2.4rem;
  row-gap: 8rem;

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(8, 1fr);
  }

  @media screen and (min-width: 1024px) {
    grid-template-columns: repeat(12, 1fr);
  }
}

.services__first {
  grid-column: 1 / 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 2.4rem;
  row-gap: 2.4rem;

  @media screen and (min-width: 768px) {
    grid-column: 1 / 9;
    grid-template-columns: repeat(8, 1fr);
    gap: 0rem;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 13;
    grid-template-columns: repeat(12, 1fr);
  }
}

.services__info {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;

  @media screen and (min-width: 768px) {
    grid-column: 1 / 5;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-content: start;
    gap: 2.4rem;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 7;
  }
}

.services__text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;

  @media screen and (min-width: 768px) {
    grid-column: 1 / 7;
  }
}

.service__title-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service__tag {
  font-size: 1.6rem;
  font-family: var(--font-family-extrabold);
  color: var(--primary-color);
}

.service__title {
  font-size: 2.8rem;

  @media screen and (min-width: 1024px) {
    font-size: 4.8rem;
  }
}

.services__cards {
  grid-column: 1 / 5;
  display: grid;
  column-gap: 2.4rem;
  row-gap: 1.6rem;

  @media screen and (min-width: 768px) {
    grid-column: 1 / 6;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }
}

.services__card {
  padding: 0.8rem;
  text-align: center;
}

.services__card:nth-child(1) {
  border-radius: 0.8rem;
  color: #008433;
  background-color: rgba(0, 132, 51, 0.16);
}

.services__card:nth-child(2) {
  border-radius: 0.8rem;
  color: #576fdb;
  background-color: rgba(87, 111, 219, 0.16);
}

.services__card:nth-child(3) {
  border-radius: 0.8rem;
  color: #c50101;
  background-color: rgba(197, 1, 1, 0.16);
}

.services__card:nth-child(4) {
  border-radius: 0.8rem;
  color: #c46200;
  background-color: rgba(196, 98, 0, 0.16);
}

.service__card-number {
  font-size: 3.2rem;
  font-family: var(--font-family-extrabold);
}
.service__card-info {
  font-size: 1.6rem;
}

.services__image {
  grid-column: 1 / 5;
  height: 29.8rem;
  border-radius: 0.8rem;
  background-image: url("../img/img-dentis-client.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  @media screen and (min-width: 768px) {
    grid-column: 5 / 9;
    height: 40.8rem;
  }

  @media screen and (min-width: 1024px) {
    height: 58.5rem;
    grid-column: 7 / 13;
  }
}

.services__services-cards {
  grid-column: 1 / 5;
  display: grid;
  gap: 2.4rem;

  @media screen and (min-width: 768px) {
    grid-column: 1 / 9;
    grid-template-columns: repeat(8, 1fr);
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 13;
    grid-template-columns: repeat(12, 1fr);
  }
}

.services__services-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;

  @media screen and (min-width: 1024px) {
    padding: 2.4rem;
  }
}

.services__services-card:nth-child(1) {
  @media screen and (min-width: 768px) {
    grid-column: 1 / 5;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 5;
  }
}
.services__services-card:nth-child(2) {
  @media screen and (min-width: 768px) {
    grid-column: 5 / 9;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 5 / 9;
  }
}
.services__services-card:nth-child(3) {
  @media screen and (min-width: 768px) {
    grid-column: 3 / 7;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 9 / 13;
  }
}

.services__services-card-title {
  font-size: 2.4rem;
  font-family: var(--font-family-extrabold);
  color: var(--primary-color);
}

.services__doctor {
  grid-column: 1 / 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  column-gap: 2.4rem;
  row-gap: 4.8rem;

  @media screen and (min-width: 768px) {
    grid-column: 1 / 9;
    grid-template-columns: repeat(8, 1fr);
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 13;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
  }
}

.services__doctor-info {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 7;
  }
}

.services__doctor-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.services__doctor-title {
  font-size: 2.8rem;

  @media screen and (min-width: 1024px) {
    font-size: 4.8rem;
  }
}

.services__doctor-cards {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.services__doctor-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-radius: 0.8rem;
  overflow: hidden;
  background-color: var(--white-color);
  box-shadow: 0 0.4rem 0.8rem rgba(100, 102, 110, 0.25);

  @media screen and (min-width: 1024px) {
    flex-direction: row;
  }
}
.services__doctor-card-icon {
  padding: 1.6rem;
  display: flex;
  justify-content: center;
  background-color: var(--primary-color);
}

.services__doctor-card-img {
  width: 4rem;
}

.services__doctor-card-content {
  padding: 0.8rem 1.6rem;
}

.services__doctor-card-title {
  font-size: 2rem;
  font-family: var(--font-family-extrabold);
}

.services__doctor-image {
  grid-column: 1 / 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 2.4rem;
  align-items: end;

  @media screen and (min-width: 768px) {
    grid-column: 5 / 9;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 8 / 13;
  }
}

.services__doctor-image-overlay {
  grid-column-start: 2;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 2;
  height: 75%;
  border-radius: 2.4rem 2.4rem 0 0;
  background-color: var(--primary-color);
}

.services__doctor-image-picture {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 2;
}

.services__doctor-image-img {
  width: 100%;
  height: auto;
}

/* Call to action */

.call-to-action {
  padding-block: 8rem;
  background-image: linear-gradient(
      to bottom,
      var(--primary-color) 5%,
      var(--primary-color) 50%,
      transparent 50%,
      transparent 100%
    ),
    url("../img/call-to-action.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  @media screen and (min-width: 768px) {
    background-image: linear-gradient(
        to right,
        var(--primary-color) 5%,
        var(--primary-color) 50%,
        transparent 50%,
        transparent 100%
      ),
      url("../img/call-to-action.png");
  }

  @media screen and (min-width: 1024px) {
    padding-block: 12rem;
  }
}

.call-to-action__content {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 8rem;

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: unset;
    gap: 12rem;
  }
}

.call-to-action__info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: var(--white-color);

  @media screen and (min-width: 1024px) {
    gap: 2.4rem;
  }
}

.call-to-action__title {
  font-size: 4.8rem;
  font-family: var(--font-family-extrabold);
  color: var(--white-color);
}

.call-to-action__button {
  max-width: 16.5rem;
  padding: 1.2rem 2.4rem;
  border-radius: 0.4rem;
  font-size: 1.6rem;
  font-family: var(--font-family-bold);
  text-align: center;
  color: var(--primary-color);
  background-color: var(--white-color);
}

/* Testimonial */
.testimonial {
  padding-block: 8rem;
}

.testimonial__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 2.4rem;
  row-gap: 4.8rem;

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(8, 1fr);
  }

  @media screen and (min-width: 1024px) {
    padding-block: 12rem;
    grid-template-columns: repeat(12, 1fr);
  }
}

.testimonial__info {
  grid-column: 1 / 5;

  @media screen and (min-width: 768px) {
    grid-column: 3 / 7;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 4 / 10;
  }
}

.testimonial__text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}

.testimonial__title {
  font-size: 2.8rem;

  @media screen and (min-width: 768px) {
    font-size: 4.8rem;
  }
}

.testimonial__cards {
  grid-column: 1 / 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;

  @media screen and (min-width: 768px) {
    grid-column: 1 / 9;
    grid-template-columns: repeat(8, 1fr);
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 13;
    grid-template-columns: repeat(12, 1fr);
  }
}

.testimonial__card {
  grid-column: 1 / 5;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  gap: 2.4rem;
  text-align: center;
  border-radius: 0.8rem;
  background-color: var(--white-color);
  box-shadow: 0 0.4rem 0.8rem rgba(100, 102, 110, 0.25);
}

.testimonial__card:nth-child(1) {
  @media screen and (min-width: 768px) {
    grid-column: 1 / 5;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 1 / 5;
  }
}

.testimonial__card:nth-child(2) {
  @media screen and (min-width: 768px) {
    grid-column: 5 / 9;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 5 / 9;
  }
}

.testimonial__card:nth-child(3) {
  @media screen and (min-width: 768px) {
    grid-column: 3 / 7;
  }

  @media screen and (min-width: 1024px) {
    grid-column: 9 / 13;
  }
}

.testimonial__card-image-img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
}

.testimonial__card-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.testimonial__card-name {
  font-size: 2rem;
  font-family: var(--font-family-extrabold);
}

.testimonial__card-starts {
  display: flex;
  gap: 0.8rem;
}

/* Footer */
.footer {
  padding-block: 8rem 3.2rem;
  background-color: var(--primary-color);
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__logo-text {
  font-size: 2.4rem;
  font-family: var(--font-family-extrabold);
  color: var(--white-color);
}

.footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;

  @media screen and (min-width: 768px) {
    flex-direction: row;
  }
}

.footer__nav-link {
  font-size: 1.4rem;
  color: var(--white-color);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.footer__copy {
  margin-top: 4.8rem;
  font-size: 1.6rem;
  text-align: center;
  color: var(--white-color);
  font-family: var(--font-family-medium);
}

.unset {
  opacity: var(--opacity);
  transform: var(--transform);
}
