/**********/
/* HEADER */
/**********/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 9.6rem;
  padding: 0 4.8rem;
}

.logo {
  height: 4.8rem;
}

/**************/
/* NAVIGATION */
/**************/

.main-nav-list {
  list-style: none;
  display: flex;
  gap: 4.8rem;
  align-items: center;
}

.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 300ms;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #2d913c;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  background-color: #32a143;
  color: #fff;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #2d913c;
}

.mobile-nav-btn {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.mobile-nav-icon {
  width: 4.8rem;
  height: 4.8rem;
  color: #333;
}

.mobile-nav-icon[name="close-outline"] {
  display: none;
}

.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 {
  padding: 4.8rem 0 9.6rem 0;
}

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

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

.hero-btn-box {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.hero-img {
  width: 100%;
}

/****************/
/* APPS SECTION */
/****************/

.section-apps {
  padding: 4.8rem 0;
  background-color: #f1f3f5;
}

.heading-apps {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 3.2rem;
  color: #333;
}

.grid--apps {
  grid-template-columns: repeat(6, 1fr);
}

.apps img {
  width: 100%;
}

/*****************/
/* ABOUT SECTION */
/*****************/

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

.grid--about {
  grid-template-columns: repeat(2, 1fr);
}

.about-img {
  width: 100%;
}

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

.my-resume-link {
  font-size: 2rem;
}

.service-icon {
  color: #32a143;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 3.2rem;
  background-color: #ebf6ec;
  padding: 1.6rem;
  border-radius: 50%;
}

.service-title {
  font-size: 2.4rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.grid--services {
  grid-template-columns: repeat(4, 1fr);
}

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

/***************/
/* CTA SECTION */
/***************/

.section-cta {
  padding: 4.8rem 0 12.8rem;
}

/* 2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128 */

.cta {
  display: grid;
  grid-template-columns: 3fr 2fr;
  margin: 0 0;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  border-radius: 11px;
  background-image: linear-gradient(to right bottom, #70bd7b, #47aa56);
  overflow: hidden;
}

.cta-text-box {
  display: flex;
  flex-direction: column;
  color: #333;
  padding: 4.8rem 6.4rem;
}

.cta .heading-secondary {
  color: #333;
  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(112, 189, 124, 0.35),
      rgba(71, 170, 86, 0.35)
    ),
    url("../img/contact.jpg");
  background-size: cover;
  background-position: center;
}

.cta-btn {
  width: 100%;
  text-align: center;
}

.cta *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(235, 246, 236, 0.5);
}

/**********/
/* FOOTER */
/**********/

.footer {
  padding: 12.8rem 0;
  background-color: #f1f3f5;
}

.grid--footer {
  grid-template-columns: 2fr 1fr 1fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 3.2rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  width: 2.4rem;
  height: 2.4rem;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #777;
  margin-top: auto;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
  color: #777;
}

.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: #777;
  transition: all 300ms;
}

.footer-link:hover,
.footer-link:active {
  text-decoration: none;
  font-size: 1.6rem;
  color: #555;
}
