/* ********************************************************/
/* HEADER COMPONENTS */
/* ********************************************************/

.header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #d8def8;

  height: 9.6rem;
  padding: 0 4.8rem;
}

.logo {
  width: 6rem;
  height: 6rem;
}
/* ********************************************************/
/* NAVIGATION COMPONENTS */
/* ********************************************************/

.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;
  font-size: 2rem;
  color: #333;
  font-weight: 500;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #3b5bdb;
}

.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: #3b5bdb;
}

.main-nav-link.nav-cta:hover {
  background-color: #3552c5;
  transform: translateY(-3px);
  box-shadow: 0 2.4rem 3.2rem rgba(0, 0, 0, 0.06);
}

.main-nav-link.nav-cta:active {
  transform: translateY(-1px);
  box-shadow: 0 2.4rem 3.2rem rgba(0, 0, 0, 0.06);
}

/* ********************************************************/
/* MOBILE-NAV COMPONENTS */
/* ********************************************************/
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  /* also close this second */
  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}
/* first close this */
.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* ********************************************************/
/* STICKY NAVIGATION*/
/* ********************************************************/
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.97);
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

/* TO SOLVE THE JUMP WHEN STICKY IS ADDED */
.sticky .section-hero {
  margin-top: 9.6rem;
}

/* ********************************************************/
/* SECTION-HERO COMPONENTS */
/* ********************************************************/

.section-hero {
  padding: 4.8rem 0 9.6rem 0;
  background-color: #d8def8;
  /* background: linear-gradient(to right, #d8def8, #c4cef4); */
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 9.6rem;
  row-gap: 3rem;
  align-items: center;
}

.hero-descriptions {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.hero-img {
  width: 100%;
}

.delivere-job {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.delivered-img {
  display: flex;
}

.delivered-img img {
  height: 4.8rem;
  width: 4.8rem;
  border-radius: 50%;
  margin-right: -1.6rem;
  border: 3px solid #d8def8;
}

.delivered-img img:last-child {
  margin-right: 0;
}

.delivered-text {
  font-size: 1.8rem;
  font-weight: 600;
}

.delivered-text span {
  color: #3552c5;
  font-weight: 700;
}

/* ********************************************************/
/* SERVICE COMPONENTS */
/* ********************************************************/

.section-service {
  padding: 9.6rem 0;
}

.service-description {
  font-size: 1.8rem;
  line-height: 1.8;
}

.service-img-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-img-box img {
  border-radius: 9px;
}

.service-text-box {
  align-self: center;
}

.service-img {
  width: 60%;
}

/* ********************************************************/
/* HOW COMPONENTS */
/* ********************************************************/

.section-how {
  padding: 9.6rem 0;
}

.how {
  box-shadow: 0 2.4rem 3.2rem rgba(0, 0, 0, 0.075);
  border-radius: 11px;
  overflow: hidden;
  transition: all 0.4s;
}

.how:hover {
  transform: translateY(-1.2rem);
  box-shadow: 0 2.4rem 3.2rem rgba(0, 0, 0, 0.06);
}

.how-content {
  padding: 3.2rem 4.8rem 4.8rem 4.8rem;
}

.heading-how {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.how-attributes {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.how-attribute {
  font-size: 1.6rem;
  line-height: 1.5;
}

.how-img {
  width: 100%;
}

/* ********************************************************/
/* SERVICE COMPONENTS */
/* ********************************************************/

.section-testimonials {
  background-color: #d8def8;

  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
}

.testimonial-container {
  padding: 9.6rem;
}

.testimonial-sub {
  font-size: 1.6rem;
  font-weight: 500;
  color: #2a4bb1;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.6rem;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 4.8rem;
  column-gap: 8rem;
  /* margin-top: 4.8rem; */
}

.testimonial-head {
  font-size: 4.4rem;
  font-weight: 500;
  color: #333;
  line-height: 1.2;
  margin-bottom: 8rem;
}

.testionial-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
}

.testimonial-name {
  font-size: 1.6rem;
  font-weight: 500;
}

.testimonial-img {
  width: 6.4rem;
  border-radius: 50%;
  margin-bottom: 1.2rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.6rem;
}

.gallery-img {
  overflow: hidden;
}

.gallery-img img {
  width: 100%;
  display: block;
  transition: all 0.3s;
}

.gallery-img img:hover {
  transform: scale(1.1);
}

/* ********************************************************/
/* FAQ COMPONENTS */
/* ********************************************************/

.section-faq {
  max-width: 130rem;
  margin: 0 auto;
  padding: 9.6rem;

  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.heading-faq {
  font-size: 4.4rem;
  line-height: 1.2;

  text-transform: uppercase;
}

.faq__contents {
  display: grid;
  grid-template-columns: auto 1fr auto;
  row-gap: 3.2rem;
  column-gap: 2.4rem;
  align-items: center;
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.2);
  background-color: #d8def8;
  border-radius: 2.4rem;
  padding: 2rem;
}

.faq__hidden-box {
  grid-column: 2;

  margin-bottom: 2rem;
}

.faq__number,
.faq__text {
  font-size: 2.4rem;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

.faq__hidden-text {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.8;
  color: #333;
}

.faq__icon {
  height: 3rem;
  width: 3rem;
  color: #adb5bd;
  background-color: #fff;
  display: inline-block;
  padding: 1.6rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.faq__icon:hover {
  color: #d8def8;
  background-color: #2c3e50;
}

.hidden {
  display: none;
}

/* ********************************************************/
/* FOOTER COMPONENTS */
/* ********************************************************/

.section__footer {
  padding: 9.6rem 0;
  background-image: linear-gradient(to right bottom, #4a6076, #2c3e50);
}

.grid__footer {
  display: grid;
  grid-template-columns: 30fr 20fr 30fr 20fr;
  row-gap: 9.6rem;
  column-gap: 5rem;
}

.footer-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
  color: #f4c542;
}

.footer-heading--text {
  font-size: 1.6rem;
  line-height: 1.5;
  color: #fff;
}

.links--lists {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-links:link,
.quick-links:visited {
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease-out;
}

.quick-links:hover,
.quick-links:active {
  color: #f28b82;
}

.footer-contacts {
  font-size: 1.6rem;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 1rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 2rem;
  color: #fff;
  font-size: 0.8rem;
}

.terms-links:link,
.terms-links:visited {
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s;
}

.terms-links:hover,
.terms-links:active {
  color: #f28b82;
}

.copy {
  font-size: 1rem;
}

.back__icon {
  height: 3rem;
  width: 3rem;
  color: #d8def8;
  background-color: #3b5bdb;
  display: inline-block;
  padding: 1.6rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.back-to-top:link,
.back-to-top:visited {
  transition: all 0.3s;
  position: fixed;
  bottom: 3rem;
  right: 3rem;
}
