/**************************/
/* BELOW 1344px (Smaller desktops) */
/**************************/

@media (max-width: 90em) {
  .hero {
    max-width: 120rem;
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .heading-primary {
    font-size: 4.4rem;
  }

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

  .section-about .grid--2-cols {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .about-img-boxe {
    justify-content: center;
    margin-bottom: 2rem;
  }
  .about-img {
    position: static;
    width: 60%;
    height: auto;
    margin: 0 auto;
    border-width: 1rem;
  }
  .about-text {
    padding: 2rem;
  }

  .section-flowers .grid--3-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .flower-img {
    width: 100%;
    height: auto;
  }

   .grid--footer {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-logo {
    margin: 0 auto 2rem auto;
  }
  .footer-description {
    margin-bottom: 1rem;
  }
  .social-links {
    justify-content: center;
  }
}

/**************************/
/* BELOW 1200px (Landscape Tablets) */
/**************************/

@media (max-width: 70em) {
  html {
    /* 9px / 16px  */
    font-size: 56.25%;
  }
/* .header{
  display: flex;
  justify-content: space-evenly;
} */
  .carousel-container {
    max-width: 100%;
  }
  .carousel-img {
    height: 200px;
  }
 

  .heading-secondary {
    font-size: 3.6rem;
  }

  .heading-tertiary {
    font-size: 2.4rem;
  }

  /* .header {
    padding: 0 3.2rem;
    justify-content:space-evenly;
  } */

  .main-nav-list {
    gap: 3.2rem;
  }

  .hero {
    gap: 4.8rem;
  }
  /* .logos img{
  height:250px;
  filter: brightness(1);
  opacity: 50%;
} */
.grid--2-cols .section-how{
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .testimonials-container {
    padding: 9.6rem 3.2rem;
  }
  #cta h2 {
    font-size: 2rem;
  }
  #cta p {
    font-size: 1rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }
}

/**************************/
/* BELOW 944px (Tablets) */
/**************************/

@media (max-width: 59em) {
  html {
    /* 8px / 16px = 0.5 = 50% */
    font-size: 50%;
  }
  .logo{
    height: 3.8rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 0 8rem;
    gap: 6.4rem;
  }

  .hero-text-box,
  .hero-img-box {
    text-align: center;
  }

  .hero-img {
    width: 60%;
  }
  .grid--2-cols .section-how{
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;}

  .special-imags {
    display: grid;
    grid-template-columns: 1fr;
    
    margin-top: 3.2rem;
  }
  .special-imgs{
justify-content: center;
  }
.section-flowers .grid--3-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .logos img {
    height: 5.4rem;
  }

  .step-number {
    font-size: 7.4rem;
  }
  .step-img-box::before,
.step-img-box::after{
  border-radius: 50px 0 50px 0;
}

.carousel-container {
    max-width: 100%;
  }
  .carousel-img {
    height: 140px;
  }
  .carousel-caption {
    font-weight: 700;
    color: #dbcccf;
    padding: 5px;
    font-size: 1rem;
    
  }
  .carousel-btn {
    background-color:rgb(192, 118, 118);
    font-size: 1.5rem;
    padding: 0.5rem ;
  }

  .flower-content {
    padding: 2.4rem 3.2rem 3.2rem 3.2rem;
  }

  .section-testimonials {
    grid-template-columns: 1fr;
  }

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

  .cta {
    /* 3/5 = 60% + 2/5 = 40% */
    grid-template-columns: 3fr 2fr;
  }

  .cta-form {
    grid-template-columns: 1fr;
  }

  .btn--form {
    margin-top: 1.2rem;
  }

  /* MOBILE NAVIGATION */
  .btn-mobile-nav {
    display: block;
    /* z-index: 9999; */
  }

  .main-nav {
    background-color: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;

    /* Hide navigation */
    /* Allows NO transitions at all */
    /* display: none; */

    /* 1) Hide it visually */
    opacity: 0;

    /* 2) Make it unaccessible to mouse and keyboard */
    pointer-events: none;

    /* 3) Hide it from screen readers */
    visibility: hidden;
  }

  .main-nav-list {
    flex-direction: column;
    gap: 4.8rem;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
  }

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

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


  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 3rem;
  }
}

/**************************/
/* BELOW 704px (Smaller tablets) */
/**************************/

@media (max-width: 44em) {
  .grid--3-cols,
  .grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
  }


  .heading-secondary {
    margin-bottom: 4.8rem;
  }


  /* .logo-col {
    grid-column: span 3;
  } */

   /* .nav-col {
    grid-row: 1;
    grid-column: span 2;
    margin-bottom: 3.2rem;
  } */

  

  .grid-footer{
    grid-template-columns: 1fr;
  }
   .footer-logo {
    margin: 0 auto 2rem auto;}
  .footer-description
   {
    margin-bottom: 1rem;
  }
  .social-links {
    justify-content: center;
  }
}

/**************************/
/* BELOW 544px (Phones) */
/**************************/

@media (max-width: 34em) {
  /* html{
    font-size: 43.75%;
  }
   */

 .grid--2-cols ,
  .grid--3-cols,
  .grid--4-cols {
  grid-template-columns: 1fr  !important;
    /* repeat(2,1fr) */
  }
  
  

  .btn,
  .btn:link,
  .btn:visited {
    padding: 1.4rem 1.6rem;
  }

  .section-hero {
    padding: 2.4rem 0 6.4rem 0;
  }

  .hero {
    padding: 0 3.2rem;
  }

  .hero-img {
    width: 80%;
  }
  .about-img{
    width:100%;
    border-radius: 75px 0 75px 0;
  }
.heading-secondary,
.heading-tertiary,
.heading-forth{
  font-size: 2rem;
 
}
/* .sec{
   margin-bottom: 9.6rem;
} */

  .logos img {
    height: 5.6rem;
  }


  .step-img-box:nth-child(2) {
    margin-top: 6.4rem;
    grid-row: 1;
  }

  
  .step-img-box:nth-child(6) {
    grid-row: 5;
  } 

  .step-img-box {
    transform: translateY(1.6rem);
  }
  
  .step-description{
    font-size: 1.4rem;
    
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }

  .cta {
    grid-template-columns: 1fr;
  }

  .cta-text-box {
    padding: 3.2rem;
  }

  .cta-img-box {
    height: 32rem;
    grid-row: 1;
  }

  /* .grid--footer {
    grid-template-columns: repeat(3, 1fr);
  } */

  

   .footer-logo {
    margin: 0 auto 2rem auto;
  } 
  .footer-description {
    margin-bottom: 1rem;
  }
  .social-links {
    justify-content: center;
  }
}

/* 
- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/