/* 

--- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

--- SHADOWS

0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);

--- BORDER-RADIUS

Default: 9px
Medium: 11px

--- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

--- Main colors: #FFDE59 #474747

*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

*:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(179, 156, 62, 0.575);
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: inter, sans-serif;
  line-height: 1;
  font-weight: 400;
  background-color: #fbfbfb;
  color: #474747;
  /* Only works if there is nothing absolutely positioned in relation to body */
  overflow-x: hidden;
}

.container {
  max-width: 120rem;
  padding: 0 4.8rem;
  margin: 0 auto;
}

/* HEADER */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 9.6rem;
  width: 100%;
  padding: 0 4.8rem;
  position: fixed;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.93);
  z-index: 999;
  box-shadow: 0 1.2rem 1.6rem rgba(0, 0, 0, 0.03);
}

.logo {
  height: 3rem;
}

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #474747;
  font-weight: 600;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #e6c850;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #474747;
  background-color: #ffde59;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #e6c850;
}

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #474747;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* HERO */

.empty {
  width: 100%;
  height: 9.6rem;
}

.hero {
  padding: 9.6rem 4.8rem 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.clients-box {
  display: flex;
  align-items: center;
  gap: 3.2rem;
  margin-bottom: 2.8rem;
}

.clients-img img {
  height: 5.2rem;
  width: 5.2rem;
  border-radius: 50%;
  margin-right: -1.6rem;
  border: 3px solid #fff;
  transition: all 0.4s;
}

.clients-img img:hover {
  transform: translateY(-10px);
}

.clients-text {
  font-size: 1.8rem;
  font-weight: 500;
  color: #666;
}

.heading-primary {
  text-align: center;
  font-size: 6.4rem;
  line-height: 1.05;
  font-weight: 600;
  margin-bottom: 2.4rem;
}

.heading-primary span {
  color: #e6c850;
}

.hero-description {
  font-size: 2.2rem;
  margin-bottom: 4rem;
  text-align: center;
}

.btns {
  display: flex;
  gap: 1.2rem;
}

.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  color: #474747;
  font-weight: 600;
  font-size: 1.8rem;
  padding: 1.6rem 3rem;
  border-radius: 9px;
  transition: all 0.3s;
  background-color: #ffde59;
}

.btn:hover,
.btn:active {
  background-color: #e6c850;
}

.learn:link,
.learn:visited {
  background-color: #666;
  color: #fff;
}

.learn:hover,
.learn:active {
  background-color: #888;
}

/* ABOUT */

.section-about {
  padding: 12.8rem 0 0;
}

.heading-about {
  text-align: center;
  font-size: 3.6rem;
  margin-bottom: 4.8rem;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-img {
  overflow: hidden;
  border-radius: 13px;
}

.about-img img {
  width: 100%;
  transition: all 0.5s;
}

.about-content img:hover {
  transform: scale(1.1);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.about-text p {
  font-size: 1.8rem;
  line-height: 1.4;
}

/* CARRIER */

.section-carrier {
  padding: 6.4rem 0 0;
}

.heading-carrier {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 3.6rem;
  color: #888;
}

.highlight-title {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.check-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: #e6c850;
  margin-right: 1.2rem;
}

.highlight-description {
  font-weight: 400;
  padding-left: 3.6rem;
  font-size: 1.6rem;
  margin-bottom: 2.4rem;
  line-height: 1.5;
}

/* FEATURED */

.section-featured {
  padding: 12.8rem 0 0;
}

.heading-featured {
  text-align: center;
  font-size: 3.6rem;
  margin-bottom: 4.8rem;
}

.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  row-gap: 1.2rem;
  justify-items: center;
  align-items: center;
}

.logos img {
  width: 12rem;
  opacity: 65%;
  filter: brightness(0);
  transition: all 0.4s;
}

.logos img:hover {
  transform: scale(1.1);
}

/* SERVICES */

.section-services {
  padding: 12.8rem 0 0;
}

.heading-services {
  text-align: center;
  font-size: 3.6rem;
  margin-bottom: 3.6rem;
}

.services-description {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 4.8rem;
  color: #888;
  line-height: 1.6;
  padding: 0 6.4rem;
}

.boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.6rem;
}

.service {
  padding: 3.2rem;
  border-radius: 13px;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  transition: all 0.4s;
}

.service:hover {
  transform: translateY(-1rem);
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
}

.service-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

.service-icon {
  width: 5.6rem;
  height: 5.6rem;
  color: #e6c850;
}

.service-name {
  font-size: 1.8rem;
  margin-bottom: 3.6rem;
  text-align: center;
  font-weight: 600;
  line-height: 1.2;
}

.service-text {
  font-size: 1.6rem;
  line-height: 1.5;
}

/* TESTIMONIALS */

.section-testimonials {
  padding: 12.8rem 0 0;
}

.heading-testimonials {
  text-align: center;
  font-size: 3.6rem;
  margin-bottom: 3.6rem;
}

.testimonials-description {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 4.8rem;
  color: #888;
  line-height: 1.6;
}

.slider {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  height: 70rem;
  overflow: hidden;
  padding: 0 1rem;
  position: relative;
}

.fade-top {
  top: 0px;
  background: linear-gradient(to bottom, #fbfbfb, transparent);
}

.fade-bottom {
  bottom: 0px;
  background: linear-gradient(to top, #fbfbfb, transparent);
}

.fade-top,
.fade-bottom {
  position: absolute;
  height: 8rem;
  width: 100%;
  z-index: 2;
}

.slider-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.slider-container-left {
  animation: scrollReviewsUp 60s linear infinite;
}

@keyframes scrollReviewsUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.slider-container-right {
  animation: scrollReviewsDown 60s linear infinite;
}

@keyframes scrollReviewsDown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

.slider-container:hover {
  animation-play-state: paused;
}

.slider-item {
  padding: 3.2rem;
  background-color: #fffcee;
  border-radius: 13px;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  transition: all 0.4s;
}

.slider-item:hover {
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.4);
  background-color: #fff8de;
}

.item-who {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.item-who img {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
}

.who-name {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.who-job {
  font-size: 1.4rem;
  color: #777;
}

.item-content {
  font-size: 1.4rem;
  line-height: 1.5;
}

/* CTA */

.section-cta {
  padding: 14rem 0 0rem;
}

.cta-box {
  display: grid;
  grid-template-columns: 6fr 4fr;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 0rem 1rem rgba(0, 0, 0, 0.1);
  color: #fff;
  background-color: #474747;
}

.cta-heading {
  font-size: 4.2rem;
  font-weight: 600;
  margin-bottom: 4.8rem;
  line-height: 1.3;
}

.cta-text {
  padding: 4.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.cta-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.cta-btns *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(253, 242, 233, 0.5);
}

.cta-btn:link,
.cta-btn:visited {
  display: inline-block;
  padding: 2rem;
  background-color: #ffde59;
  color: #474747;
  border-radius: 13px;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.4s;
}

.cta-btn:hover,
.cta-btn:active {
  background-color: #ccb247;
  color: #fff;
}

.news-btn {
  grid-column: 1/3;
}

.cta-img {
  background-image: url(../img/cta.webp);
  background-size: cover;
  background-position: center;
}

/* FOOTER */

.footer-container {
  padding: 9.6rem;
}

.footer-container p {
  text-align: center;
  font-size: 1.4rem;
  line-height: 2;
}

.rare {
  color: #474747;
}
