.hero-section {
  height: calc(100vh - 8rem);
  width: 100%;
  background-image: url("../img/hero-img.jpg");
  background-position: top;
  background-size: cover;
  position: relative;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.603),
    rgba(0, 0, 0, 0)
  );
}
.hero-section .hero-content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  transform: translateY(-40%);
  opacity: 0;
  transition: all 500ms ease-in-out;
}

.hero-section .hero-content.load-in {
  transform: translate(0%);
  opacity: 1;
  animation-name: bounceInLeft;
  animation-duration: 1.5s;
}

.hero-section .hero-content .hero-heading {
  color: var(--clr-accent);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-section .hero-content .hero-heading > * {
  color: inherit;
}

.hero-section .hero-content .hero-heading h2 {
  font-size: clamp(2.5rem, 3vw, 3rem);
  line-height: 0.6;
}

.hero-section .hero-content .hero-heading h1 {
  font-size: clamp(4rem, 4vw, 6.5rem);
  line-height: 0.6;
}

.hero-section .continue-btn {
  z-index: 1;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 6rem;
  border-radius: var(--radius-half);
  border: 0.3rem solid var(--clr-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  transition: all 300ms ease-in-out;
}

.hero-section .continue-btn .link-text {
  display: none;
}

.hero-section .continue-btn i {
  line-height: 0.6;
  font-size: 2rem;
  animation-name: animateIconsDown;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@keyframes animateIconsDown {
  from {
    transform: scale(1.1) translateY(-1.7rem);
  }

  to {
    transform: translateY(1.5rem);
    opacity: 0;
  }
}

.hero-section .continue-btn:hover {
  width: 10rem;
  height: 4.5rem;
  border-radius: var(--radius-400);
  background-color: var(--clr-accent);
}

.hero-section .continue-btn:hover i {
  display: none;
}

.hero-section .continue-btn:hover .link-text {
  display: block;
  color: white;
}

/* ACHIEVEMENTS  */

.achievements-section {
  flex-direction: column;
  gap: 2rem;
}

.achievements-section p {
  margin-top: 3rem;
  width: 60%;
  text-align: center;
}

.achievement-cards {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 1rem;
}

.achievement-cards .achievement-card {
  width: 20rem;
  height: 15rem;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  padding: 1rem;
  border-radius: var(--radius-800);
}

.achievement-cards .achievement-card .number {
  width: 10rem;
  height: 10rem;
  background-color: var(--clr-primary);
  border-radius: var(--radius-half);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  letter-spacing: 0.1rem;
  color: var(--clr-accent);
}

.achievement-cards .achievement-card .content {
  font-size: 2rem;
  text-align: center;
  color: var(--clr-gray-800);
}

/* ABOUT SECTION */
.about-section {
  flex-direction: column;
}

.about-section .cta {
  align-self: flex-end;
}

.about-section .wrapper {
  gap: 2rem;
}

.about-section .wrapper .img-container {
  width: 50%;
  height: 55rem;
  border-radius: var(--radius-800);
  overflow: hidden;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.about-section .wrapper .img-container img {
  filter: saturate(200%);
  object-position: unset;
}

.about-section .wrapper .about-content {
  width: 45%;
  min-height: 50rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.about-section .wrapper .about-content p i {
  font-size: 3rem;
  color: var(--clr-primary-lightest);
}

/* PRACTICE AREA */
.practice-section {
  flex-direction: column;
}

.practice-section .cta {
  align-self: flex-end;
}

.practice-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 0.7fr));
  grid-auto-rows: 36rem;
  gap: 2rem;
  justify-content: center;
}

.practice-cards .practice-card {
  border-radius: var(--radius-400);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  gap: 1.5rem;
  cursor: pointer;
}

.practice-cards .practice-card .practice-img {
  height: 80%;
  width: 100%;
  border-radius: var(--radius-800);
  overflow: hidden;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.practice-cards .practice-card .practice-img img {
  filter: saturate(120%);
  transition: all 300ms ease-in-out;
}

.practice-cards .practice-card:hover .practice-img img {
  transform: scale(1.1);
}

.practice-cards .practice-card .practice-content {
  color: var(--clr-primary-lighter);
  width: 100%;
  text-align: left;
}

.practice-cards .practice-card:hover .practice-content {
  color: var(--clr-accent);
}

/* TEAM SECTION */
.team-section {
  flex-direction: column;
}

.team-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 0.7fr));
  grid-auto-rows: 32rem;
  gap: 3rem;
  justify-content: center;
}

.team-card {
  position: relative;
  overflow: hidden;
}

.team-card .card-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-800);
  overflow: hidden;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  position: absolute;
}

.team-card .card-img::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all 300ms ease-in-out;
}

.team-card:hover .card-img::after {
  background-color: rgba(0, 0, 0, 0.356);
}

.team-card .card-img img {
  -webkit-filter: saturate(100%);
  filter: saturate(100%);
}

.team-card .card-content {
  position: absolute;
  bottom: -30%;
  left: 0;
  width: 100%;
  height: 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1rem;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.61);
  -webkit-backdrop-filter: blur(0.4rem);
  backdrop-filter: blur(0.4rem);
  transition: all 300ms ease-in-out;
  border-radius: var(--radius-800);
  color: var(--clr-accent);
}

.team-card:hover .card-content {
  bottom: 0%;
}

.team-card .card-content span {
  transform: translateY(-0.7rem);
  opacity: 0;
  transition: 300ms all 400ms ease-in-out;
}

.team-card:hover .card-content span {
  transform: translateY(0);
  opacity: 1;
}

.team-card .card-content span:first-child {
  font-size: 2.4rem;
  font-weight: 700;
  text-transform: uppercase;
}

.team-card .card-content span:not(:first-child) {
  color: white;
}

.team-card .card-content span:nth-child(2) {
  transition-delay: 500ms;
}
.team-card .card-content span:nth-child(3) {
  transition-delay: 600ms;
}

/* TESTIOMONIAL SECTION */
.testimonials {
  width: 100%;
  flex-direction: column;
  align-items: center;
  background-color: var(--clr-primary);
}

.testimonials h1 {
  color: white;
}

.testimonial-cards {
  width: 60%;
}

.testimonial-card {
  width: 100%;
  min-height: 30rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  position: relative;
}

.testimonial-card .testimonial-img {
  width: 10rem;
  height: 10rem;
  border-radius: var(--radius-half);
  overflow: hidden;
}

.testimonial-card p {
  color: white;
}

.testimonial-card .testimonial-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-card .testimonial-footer span {
  color: var(--clr-accent);
}

@media (max-width: 800px) {
  .hero-section::after {
    background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.603),
      rgba(0, 0, 0, 0.726)
    );
  }

  .hero-section .hero-content {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-section .hero-content .hero-heading {
    align-items: center;
  }

  .hero-section .hero-content .hero-heading h1 {
    line-height: 1.2;
    width: 100%;
  }

  .hero-section .continue-btn {
    bottom: 15%;
  }

  /* ACHIVEMENTS  */
  .achievements-section p {
    width: 100%;
  }

  /* ABOUT SECTION */
  .about-section .wrapper .img-container {
    width: 80%;
    height: 30rem;
  }

  .about-section .wrapper .img-container img {
    object-position: top;
  }

  .about-section .wrapper .about-content {
    width: 100%;
  }

  /* TESTIOMONIAL SECTION */
  .testimonial-cards {
    width: 100%;
  }
}
