* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
*:focus {
  outline: none;
  box-shadow: 0 0 0 0.5rem rgba(230, 125, 34, 0.5);
}
html {
  font-size: 62.5%;
  overflow-x: hidden;

  /* DOES NOT WORK ON SAFARI */

  /* scroll-behavior: smooth; */
}
body {
  color: #555;
  line-height: 1;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}
strong {
  font-weight: 500;
}
/* **********resuable*********** */
.container {
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}
.grid {
  display: grid;
  row-gap: 9.6rem;
  column-gap: 6.4rem;
  margin-bottom: 9.6rem;
}
.grid:last-child {
  margin-bottom: 0;
}
.grid--align-v {
  align-items: center;
}
.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}
.grid--5-cols {
  grid-template-columns: repeat(5, 1fr);
}
.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 700;
  line-height: 1.05;
  color: #333;
}
.heading-primary {
  font-size: 5.2rem;
  letter-spacing: -0.5px;
  margin-bottom: 3.2rem;
}
.heading-secondary {
  font-size: 4.4rem;
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 9.6rem;
}
.subheading {
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  color: #cf711f;
  text-transform: uppercase;
  margin-bottom: 1.7rem;
  letter-spacing: 0.75px;
}
.heading-tertiary {
  font-size: 3rem;
  line-height: 1.6;
  margin-bottom: 3.2rem;
}
.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1.6rem 3.2rem;
  border-radius: 8px;
  transition: all 0.5s;
  border: none;
  cursor: pointer;
}

.btn--main:link,
.btn--main:visited {
  background-color: #e67e22;
  color: #fff;
}

.btn--main:hover,
.btn--main:active {
  background-color: #cf711f;
}
.btn--outline:link,
.btn--outline:visited {
  background-color: #fff;
  color: #555;
}
.btn--outline:hover,
.btn--outline:active {
  background-color: #fdf2e9;
  box-shadow: inset 0 0 0 3px #fff;
}
.btn-con {
  margin-right: 1.6rem !important;
}
.margin--bottom-md {
  margin-bottom: 4.8rem !important;
}
.center--text {
  text-align: center;
}
.link:link,
.link:visited {
  display: inline-block;
  color: #e67e22;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: all 0.3s;
}
.link:hover,
.link:active {
  color: #cf711f;
  border-bottom: 1px solid transparent;
}
/* ************HEADER SECTION********** */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fdf2e9;
  padding: 0 4.8rem;
  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
}
.logo {
  height: 1.8rem;
}
/* ************NAVIGATION SECTION********** */
.main-nav-list {
  display: flex;
  align-items: center;
  gap: 4.8rem;
  list-style: none;
}
.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  font-size: 1.8rem;
  color: #333;
  transition: all 0.4s;
}
.main-nav-link:active,
.main-nav-link:hover {
  color: #cf711f;
}
.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: #e67e22;
}
.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
  background-color: #cf711f;
}
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}
.icon-mobile-nav {
  width: 4rem;
  height: 4rem;
  color: #333;
}
.icon-mobile-nav[name="close-circle-outline"] {
  display: none;
}

/* STICKY */

.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 7rem;
  background-color: #fff;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.sticky .section-hero {
  margin-top: 9.6rem;
}

/* ************HERO SECTION********** */
.section-hero {
  background-color: #fdf2e9;
  padding: 4.8rem 0 9.6rem 0;
}
.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9.6rem;
  align-items: center;
}
.hero-img {
  width: 100%;
}

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

.delivered-meals {
  display: flex;
  align-items: center;
  margin-top: 8rem;
  gap: 1.6rem;
}
.delivered-imgs {
  display: flex;
}
.delivered-imgs img {
  height: 4.8rem;
  width: 4.8rem;
  border-radius: 50%;
  margin-right: -1.6rem;
  border: 3px solid #fdf2e9;
}
.delivered-imgs img:last-child {
  margin: 0;
}
.delivered-text {
  font-size: 1.8rem;
  font-weight: 600;
}
.delivered-text span {
  color: #cf711f;
  font-weight: 700;
}

/* ************FEATURED IN ********** */
.section-featured {
  padding: 4.8rem 0;
}
.heading-featured-in {
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.75px;
  margin-bottom: 2.4rem;
  text-align: center;
  color: #777;
}
.logos {
  display: flex;
  justify-content: space-around;
}
.logos img {
  height: 3.2rem;
  filter: brightness(0);
  opacity: 50%;
}
/* ************HOW IT WORKS ********** */
.section-how {
  padding: 9.6rem 0;
}
.step-number {
  color: #ddd;
  font-size: 8.8rem;
  font-weight: 600;
}
.step-description {
  font-size: 1.8rem;
  line-height: 1.7;
}
.step-img-box {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
}
.step-img-box::before,
.step-img-box::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.step-img-box::before {
  padding-bottom: 60%;
  width: 60%;
  background-color: #fdf2e9;
  z-index: -1;
}
.step-img-box::after {
  width: 45%;
  padding-bottom: 45%;
  background-color: #fae5d3;
  z-index: -1;
}
.step-img {
  width: 35%;
}
/* *******Meals Section********* 
****************************
*/
.section-meals {
  padding: 9.6rem 0;
}
.meal-img {
  width: 100%;
}
.meal-title {
  color: #333;
  font-weight: 600;
  font-size: 2.4rem;
  margin-bottom: 3.2rem;
}
.meal-attributes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.meal-attribute {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.7rem;
}
.meal-icon {
  font-size: 2rem;
  color: #e67e22;
}
.tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #333;
  border-radius: 100px;
  font-weight: bold;
}
.tag--vegetarian {
  background-color: #51cf66;
}
.tag--vegan {
  background-color: #94d82d;
}
.tag--paleo {
  background-color: #ffd43b;
}
.meal-tags {
  margin-bottom: 1.2rem;
  display: flex;
  gap: 0.8rem;
}
.meal {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border-radius: 1.1rem;
  transition: all 0.5s;
}
.meal:hover {
  transform: translateY(-2rem);
  box-shadow: 0 3.2rem 5.2rem rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.meal-content {
  padding: 3.2rem 4.8rem;
}
.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.list-item {
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.list-icon {
  height: 3rem;
  width: 3rem;
  color: #e67e22;
}
.all-recipes {
  text-align: center;
  font-size: 1.8rem;
}
/* *******Testimonial Section********* 
****************************
*/
.section-testimonials {
  background-color: #fdf2e9;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
}
.testimonials-container {
  padding: 9.6rem;
}
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 4.8rem;
  column-gap: 8rem;
}
.testimonial-img {
  width: 6.4rem;
  border-radius: 50%;
  margin-bottom: 1.2rem;
}
.testimonial-text {
  font-size: 1.8rem;
  line-height: 1.7;
  margin-bottom: 1.7rem;
}
.testimonial-name {
  color: #7f7f7f;
  font-size: 1.5rem;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  padding: 1.6rem;
  /* align-items: center; */
}
.gallery-item img {
  display: block;
  width: 100%;

  transition: all 0.3s;
}
.gallery-item {
  overflow: hidden;
}
.gallery-item img:hover {
  transform: scale(1.3);
}
/* *******Pricing Section********* 
****************************
*/
.section-pricing {
  padding: 9.6rem 0;
}
.plan-header {
  text-align: center;
  margin-bottom: 4.8rem;
}
.pricing-plan {
  border-radius: 1.2rem;
  width: 70%;
  padding: 4rem;
}
.pricing--plan-starter {
  justify-self: end;
  border: 0.1rem solid #fdf2e9;
}
.pricing--plan-complete {
  background-color: #fdf2e9;
  position: relative;
  overflow: hidden;
}
.pricing--plan-complete::after {
  background-color: #ffd43b;
  content: "Best Value";
  top: 6%;
  right: -17%;
  position: absolute;
  color: #333;
  font-size: 1.4rem;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.7rem 7rem;
  transform: rotate(35deg);
}
.plan-name {
  color: #cf711f;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.75;
  text-transform: uppercase;
  margin-bottom: 3.2rem;
}
.plan-price {
  font-size: 5.8rem;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-text {
  font-size: 1.5rem;
  line-height: 1.7;
}
.plan-price span {
  font-size: 3rem;
  font-weight: 500;
  margin-right: 0.8rem;
}
.plan--sign-up {
  text-align: center;
  margin-top: 4.8rem;
}
.plan-details {
  font-size: 1.7rem;
  line-height: 1.7;
  text-align: center;
}
.feature-icon {
  color: #e67e22;
  height: 2.8rem;
  width: 2.8rem;
  margin-bottom: 2.4rem;
  background-color: #fdf2e9;
  padding: 0.8rem 0.8rem;
  border-radius: 50%;
}
.feature-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.8rem;
}
.feature-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
}
/* ********CTA Section********* 
****************************
*/
.section-cta {
  padding: 4.8rem 0 9.6rem 0;
}
.cta {
  display: grid;
  grid-template-columns: 2fr 1fr;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  background-image: linear-gradient(to right bottom, #ffc078, #e67e22);
  overflow: hidden;
}
.cta-text-box {
  padding: 4.2rem 6.4rem 6.4rem 6.4rem;
  color: #45260a;
}
.cta .heading-secondary {
  color: #45260a;
  margin-bottom: 3.2rem;
}
.cta-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 3.8rem;
}
.cta-img-box {
  background-image: linear-gradient(
      to right bottom,
      rgba(255, 192, 120, 0.303),
      rgba(230, 125, 34, 0.349)
    ),
    url("../img/eating.jpg");
  background-position: center;
  background-size: cover;
}
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 2.4rem;
  column-gap: 3.2rem;
}
.cta-form input,
.cta-form select {
  width: 100%;
  font-size: 1.8rem;
  font-family: inherit;
  padding: 1.2rem;
  border-radius: 0.8rem;
  border: none;
  background-color: #fdf2e9;
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.3);
}
.cta-form label {
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.btn-form {
  align-self: end;
  padding: 1.2rem;
  background-color: #45260a;
  color: #fdf2e9;
}
.btn-form:hover {
  color: #555;
  background-color: #fff;
}
.cta *:focus {
  outline: none;
  box-shadow: 0 0 0 0.5rem rgba(253, 242, 233, 0.5);
}
/* ********FOOTER********* 
****************************
*/
.footer {
  padding: 9.6rem 0;
  border: 1px solid #eee;
}
.grid--footer {
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
}
.footer-logo {
  margin-bottom: 3.2rem;
  display: block;
}
.logo-col {
  display: flex;
  flex-direction: column;
}
.copyright {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-top: auto;
}
.contacts {
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1.5;
}
.address {
  margin-bottom: 2.4rem;
}
.social-links {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}
.footer-link ion-icon {
  width: 2.4rem;
  height: 2.4rem;
}
.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.8rem;
}
.footer-nav {
  list-style: none;
}
.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.3rem;
  color: #767676;
  line-height: 2.7;
  transition: all 0.3s;
}
.footer-link:hover,
.footer-link:active {
  color: #333;
}
