/* ********************** */
/* HEADER */
/* ********************** */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fbdcd6;

  height: 9.6rem;
  padding: 0 4.8rem;

  position: relative;
}

.logo {
  height: 4.8rem;
}

/**************************/
/* NAVIGATION */
/**************************/

.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: #333;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #7e2a21;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: #a8382c;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #7e2a21;
}

/* MOBILE NAV BUTTON */
.btn-mobile-nav {
  border: none;
  background: none;

  display: none;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.icon-mobile-nav {
  font-size: 4.8rem;
  color: #333;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .section-hero {
  margin-top: 9.6rem;
}

/* ********************** */
/* HERO SECTION */
/* ********************** */

.section-hero {
  background-color: #fbdcd6;
  padding: 3.2rem 0 9.6rem 0;
}

.hero {
  /* height: 100vh; */
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9.6rem;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.global-standards {
  display: flex;
  align-items: center;
  gap: 1.6px;
  margin-top: 8rem;
}

.global-standards-imgs {
  display: flex;
}

.global-standards-imgs img {
  height: 4.8rem;
  width: 4.8rem;
  border-radius: 50%;
  margin-right: -1rem;
  border: 3px solid #fbdcd6;
}

.global-standards-imgs img:last-child {
  margin: 0;
}

.global-standards-text {
  font-size: 1.6rem;
  font-weight: 600;
}

.global-standards-text span {
  color: #d24637;
  font-weight: 700;
  letter-spacing: -1px;
}

.hero-img {
  width: 100%;
}

/* ********************** */
/* FEATURED IN SECTION */
/* ********************** */
.section-featured {
  padding: 4.8rem 0 3.2rem 0;
}
.heading-featured-in {
  color: #888;
  font-size: 1.4rem;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.75px;
  text-align: center;
  font-weight: 500;
  margin-bottom: 2.4rem;
}

.logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 3.2rem;
}

.logos img {
  height: 3.2rem;

  /* tips to change the color of pictures into gray */
  filter: brightness(0);
  opacity: 45%;
}

/* ********************** */
/* HOW IT WORKS SECTION */
/* ********************** */

.section-how {
  padding: 9.6rem 0;
}

.step-number {
  font-size: 9.6rem;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 1.2rem;
}

.step-description {
  font-size: 1.8rem;
  line-height: 1.6;
}

.step-img-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-img {
  width: 100%;
}

/* ********************** */
/* OUR SERVICES */
/* ********************** */

.section-services {
  padding: 9.6rem 0;
}

.service {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.1);
  border-radius: 11px;
  overflow: hidden;
  transition: all 0.4s;
}

.service:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.07);
}

.service-tags {
  margin-bottom: 1.2rem;
  display: flex;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 1rem;
  color: #fff;
  border-radius: 100px;
}

.tag--primary-color {
  background-color: #d24637;
}

.tag--accent-color {
  background-color: #37c3d2;
}

.tag--gray-color {
  background-color: #333;
}

.service-title {
  font-size: 2rem;
  margin-bottom: 3.2rem;
  color: #333;
  font-weight: 600;
}

.service-img {
  width: 100%;
  height: auto; /* Maintain the aspect ratio */
  object-fit: cover;
}

.service-content {
  padding: 2.4rem 3.2rem;
}

.service-attributes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.service-attribute {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.service-icon {
  font-size: 1.6rem;
  color: #d24637;
}

/* ********************** */
/* FEATURE SECTION */
/* ********************** */
.section-features {
  padding: 9.6rem 4.8rem;
  background-color: #fbdcd6;
}

.feature-icon {
  font-size: 3.2rem;
  color: #fff;
  margin-bottom: 3.2rem;
  background-color: #d24637;
  border-radius: 50%;
  padding: 1.6rem;
}

.feature-title {
  font-size: 2.4rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.feature-text {
  font-size: 1.8rem;
  line-height: 1.8;
}

/* ********************** */
/* CTA SECTION */
/* ********************** */

.section-cta {
  padding: 9.6rem 0 12.8rem;
}

.cta {
  display: grid;
  grid-template-columns: 2fr 1fr;
  background-color: #d24637;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  border-radius: 11px;
  overflow: hidden;
  background-image: linear-gradient(to right bottom, #db6b5f, #d24637);

  /* height: 50rem; */
}

.cta-text-box {
  padding: 4.8rem 6.4rem 6.4rem 6.4rem;
  color: #3f1510;
}

.cta .heading-secondary {
  color: #3f1510;
  margin-bottom: 3.2rem;
}

.cta-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}

.cta-img-box {
  background-image: linear-gradient(
      to right bottom,
      rgba(210, 70, 55, 0.35),
      rgba(219, 107, 95, 0.35)
    ),
    url("../img/cta/diverse-team-signing-a-professional-agreement-in-a-2023-11-27-05-17-20-utc.jpg");
  background-size: cover;
  background-position: center;
}

.cta-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3.2rem;
  row-gap: 2.4rem;
}

.cta-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.cta-form input,
.cta-form select {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  color: inherit;
  border: none;
  background-color: #fbdcd6;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.cta-form input::placeholder {
  color: #aaa;
}

.cta *:focus {
  outline: none;
  box-shadow: 0 0 0 0.5rem rgba(251, 220, 214, 0.5);
}

/* ********************** */
/* FOOTER SECTION */
/* ********************** */

.footer {
  padding: 12.8rem 0;
  border-top: 1px solid #fbdcd6;
}

.grid--footer {
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
  column-gap: 3.2rem !important;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 1rem;

  /* tips to change the color of pictures into gray */
  filter: brightness(0);
  opacity: 80%;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  font-size: 2.4rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 1.8rem;
}

.copyright {
  font-size: 1.4rem;
  color: #767676;
  line-height: 1.4;

  margin-top: auto;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #767676;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}
