@media only screen and (max-width: 90em) {
  .hero-wrapper-home {
    /* background: orange; */
  }

  .hero {
    align-items: stretch;
    max-width: 90rem;
  }

  .hero__heading {
    font-size: 3.8rem;
    margin-bottom: 3.5rem;
  }

  .btn, .btn:link, .btn:visited {
    font-size: 1.4rem;
  }
}



  
/* ========== TABLET (<= 900px / 56.25em) ========== */
@media only screen and (max-width: 56.25em) {
  /* HERO */

  
  .hero {
    padding: 0;
    gap: 2.4rem;
  }
  
  .home-hero-image {
    /* margin-bottom: 2rem; */
    width: 100%;
  }
  
  .header {
    height: 5.5rem;
    padding: 0 5.8rem;
    padding-top: 4.5rem;
  }
  
  .section-hero {
    /* padding: 3.2rem 2.8rem 5.6rem 2.8rem; */
    padding: 0rem 2.8rem 0rem 2.8rem;
    height: calc(72vh - 5.5rem);
  }

  .home-hero__description {
    font-size: 1.6rem;
    margin-bottom: 2.4rem;
  }
  .hero__text-box {
    margin-left: 0;
  }

  /* OFFER */
  .offer__item {
    width: 100%;
    height: 30rem;
  }

  /* CASE STUDIES */
  .case-studies__heading {
    font-size: 5.2rem;
  }

  .case-study__image-home {
    margin-bottom: -4rem;
    max-width: 80%;
  }

  /* TESTIMONIAL */
  .testimonial__carousel-wrapper {
    height: 32.2rem;
  }
  .testimonial__carousel {
    width: 80%;
    height: 75%;
    padding: 2.4rem 6.2rem;
    gap: 6rem;
  }
  .testimonial__heading {
    font-size: 3.8rem;
  }

  .testimonial__author-job {
    padding-bottom: 3.2rem;
  }

  /* home testimonials section */

  .testimonial__img--box::before {
    width: 58%;
    height: 85%;
  }

  /* FOOTER */
  .grid--footer {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* ABOUT PAGE */
  .about-details__heading {
    font-size: 2rem;
  }
  .about-hero__description {
    font-size: 1.6rem;
  }

  /* Case studies page */
  .case-studies-hero__description {
    font-size: 1.8rem;
  }

  /* case study page */
  /* .case-study__gallery-right {
    margin-left: 7rem;
    width: 72%;
  } */
  .case-study__gallery-box--1 {
    width: 100%;
  }
  .case-study__project {
    padding-left: 3.2rem;
  }

  .case-study__type {
    font-size: 1.2rem;
  }

  .case-study__date {
    font-size: 1.2rem;
  }

  .case-study__metadata-link:link,
  .case-study__metadata-link:visited {
    font-size: 1.4rem;
  }

  /* PROJECTS */

  .project-wrapper {
    gap: 2rem;
    padding: 4rem 0rem !important;
  }

  .project__img-box {
    width: 60rem;
    height: 100vh;
  }

  .project__title {
    font-size: 2rem;
    margin-bottom: 4rem;
  }

  .project__underline {
    width: 60%;
  }

  .project__heading {
    font-size: 1.8rem;
  }

  .project__text {
    font-size: 1.4rem;
  }

  /* Insights page */

  .accordion {
    padding: 3rem;
  }

  .accordion__question {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  /* metadata page */
  .metadata-slide__title {
    font-size: 2.4rem;
  }

  .metadata-slide__separator {
    width: 90%;
  }

  /* ux journey page */
  .journey-section__step {
    flex-direction: column;
  }
}


/* ========== MOBILE (<= 600px / 37.5em) ========== */
@media only screen and (max-width: 37.5em) {
  /* HERO */

  .hero {
    grid-template-columns: 1fr; /* single column */
    grid-template-columns: column-reverse;
  }

  .hero__image-box {
    display: none; /* hide image */
  }

.section-hero {
  height: calc(72vh - 1rem);
}
  
  .hero__text-box {
    width: 100%; /* full width */
    /* grid-row: 2; */
  }
  .home-hero-image {
    display: none;
    margin-bottom: -10rem;
  }
  .hero__heading {
    font-size: 3.2rem;
  }

  /* Case study home page */
  .case-study__image-home {
    display: none;
  }

  /* TESTIMONIAL */
  .testimonial__carousel {
    flex-direction: column;
    width: 90%;
    height: 100%;
    height: auto;
    padding: 2.4rem;
    gap: 2rem;
    text-align: center;
  }

  .testimonial__text {
    font-size: 1.2rem;
    padding-top: 3.2rem;
    padding-bottom: 1.8rem;
  }
  .testimonial__author-job {
    font-size: 1rem;
  }
  .testimonial__dots {
    /* padding-bottom: 2.4rem; */
    transform: translate(-50%, -50%) !important;
  }
  .testimonial__heading {
    font-size: 2.4rem;
  }

  .testimonial-img {
    height: 70px;
  }

  .testimonial__dots {
    padding-bottom: 1.2rem;
  }

  .testimonial {
    padding: 3.2rem 2rem !important;
  }

  /* FOOTER */
  .grid--footer {
    grid-template-columns: 1fr;
  }
  .footer__copyright {
    font-size: 0.8rem;
  }
  .footer__heading {
    margin-bottom: 1.6rem;
  }

  /* ABOUT PAGE */
  .about-section__hero {
    padding-top: 8.2rem;
  }
  .about-details__description {
    font-size: 1.8rem;
    margin-bottom: 0;
  }
  .about-details__line {
    display: none;
  }
  .about-hero__description {
    font-size: 1.6rem;
  }
  .about-hero-image {
    max-width: 114%;
  }
  .hero__text-box {
    padding-bottom: 2.4rem;
  }
  .about-tagline-section {
    font-size: 2rem;
    padding: 8rem 0;
  }
  .section-hero {
    padding: 3.2rem 1.8rem 4.6rem;
  }

  /* OFFER */
  .offer {
    padding-top: 5.2rem;
  }
  .offer__heading {
    font-size: 2.4rem;
    line-height: 1.4;
    margin: 7.2rem;
  }
  .offer__title {
    font-size: 1.8rem;
  }
  .offer__text {
    padding-bottom: 2.4rem;
  }

  /* CASE STUDIES */
  .case-studies-home {
    padding-top: 12.2rem !important;
  }
  .case-studies__heading {
    font-size: 4rem;
  }

  /* Case study page */
  .case-study__gallery-heading {
    font-size: 2rem;
  }

  /* PROJECTS */
  .projects__image-box,
  .projects__item {
    flex: 0 0 100%;
  }
  .project-wrapper {
    flex-direction: column;
    padding: 2rem 1.6rem !important;
    gap: 2rem;
  }

  .project__img-box {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
  }
  .project__text-box {
    padding: 2rem 0;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .project__title {
    font-size: 2rem;
    margin-bottom: 2.4rem;
  }

  .project__meta {
    display: flex;
    gap: 1.6rem;
    /* justify-content: center; */
    align-items: center;
    font-size: 1rem;
    color: var(--color-grey-ligh-1);
    margin-bottom: 1.6rem;
  }
  .project__meta {
    font-size: 1rem;
  }

  .project__underline {
    margin-bottom: 3.6rem;
  }

  .project__section-text {
    gap: 3.2rem;
  }

  .project__heading {
    font-size: 1.8rem;
  }

  .project__text {
    font-size: 1.4rem;
  }

  /* insight page */
  .accordion__heading {
    font-size: 4rem;
  }

  .accordion__question {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .accordion__content {
    width: 100%;
  }

  .accordian__question-box {
    width: 100%;
    gap: 1rem;
  }

  .accordion__answer {
    font-size: 1.4;
  }

  .accordion__toggle:checked + .accordian__question-box + .accordion__content {
    max-height: 82rem;
  }

  /* metadata page */
  .metadata-slide__title {
    font-size: 1.8rem;
  }
  .metadata-slide__tagline {
    font-size: 1.6rem;
  }

  /* ux journey page */

  .journey__heading {
    font-size: 3.8rem;

    margin-bottom: 8.2rem;
  }

  .journey-step__title {
    font-size: 2rem;
    margin-bottom: 4.2rem;
  }

  .footer__contact-nav-box {
    margin-left: -2rem;
  }

  .footer__nav-col {
    gap: 2.4rem;
  }

  /* project start to finish section */

  .project__compare-heading {
    font-size: 2rem;
  }
}

/* ========== EXTRA SMALL (<= 375px) ========== */
@media only screen and (max-width: 375px) {
  .hero {
    padding: 0;
  }
  .about-hero-image {
    display: none;
  }
  .testimonial__carousel {
    width: 85%;
    height: 100%;
    padding: 4.2rem 1.6rem;
    /* gap: 2rem; */
  }

  .testimonial__text {
    font-size: 1rem;
  }

  .offer__item {
    max-width: 100%;
  }

  .case-study__image-home {
    display: none;
  }

  /* case study page  */
  .case-study__metadata-link:link,
  .case-study__metadata-link:visited {
    font-size: 1.2rem;
    padding: 2.4rem 2.2rem;
  }
}
/* ========== PROJECTS PAGE (<= 1024px) ========== */
@media (max-width: 1024px) {
  .projects__image-box,
  .projects__item {
    flex: 0 0 calc(50% - 0.7rem);
  }
}

@media (min-width: 1801px) {
  .testimonials__wrapper {
    width: 72%;
    margin: 0 auto;
  }
}

/* Media Queries */

/* 900px breakpoint */
@media (max-width: 900px) {
  .testimonials {
    padding: 3rem 1.6rem 6rem 3rem;
  }

  .testimonial__img--box {
    width: 100%;
    margin-left: -2rem;
  }

  .testimonials__cards--box {
    margin-left: 0;
  }

  .testimonial__cards {
    flex-direction: column;
    position: relative;
    align-items: flex-end;
    top: 0;
    gap: 2rem;
  }

  .testimonial__card {
    width: 80%;
    padding: 3rem 2rem;
  }

  /* emojis */
  .like--emoji {
    top: 2%;
    left: 37%;
  }
  .heart--emoji {
    top: 98%;
    left: 8%;
  }
  .laugh--emoji {
    top: 15%;
    left: 5%;
  }
  .hushed--emoji {
    top: 108%;
    left: 84%;
  }
  .testimonials__cta {
    position: relative;
    display: block;
    margin: 2rem auto 0;
    width: fit-content;
    padding: 2rem 3rem;
    font-size: 1.6rem;
    text-align: center;
  }
}

/* 600px breakpoint */
@media (max-width: 600px) {
  .testimonials {
    padding: 2rem 2rem 4rem 2rem;
  }

  .testimonials__wrapper {
    flex-direction: column;
    gap: 5.2rem;
  }
  .emoji {
    width: 5rem;
  }

  .like--emoji {
    top: 24%;
    left: 80%;
  }

  .heart--emoji {
    top: 50%;
    left: 27%;
  }

  .laugh--emoji {
    top: 25%;
    left: -2%;
  }

  .hushed--emoji {
    top: 77%;
    left: 98%;
  }

  .testimonial__img--box {
    display: none;
  }

  .testimonial__cards {
    gap: 3rem;
    align-items: center;
  }

  .testimonial__card {
    padding: 2.6rem 2rem;
  }

  .testimonials__cta {
    position: static;
    margin: 2rem auto 0;
    padding: 1.8rem 2.8rem;
    font-size: 1.4rem;
  }

  /* ------- MOBILE: turn into slider -------- */

  .testimonials__cards--box {
    width: 91%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    /* padding-top: 6rem; */
    padding-bottom: 2rem;
  }

  .testimonial__client--img {
    position: static;
    transform: none;
    margin-bottom: 1.5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
  }

  .testimonial__cards {
    display: flex;
    flex-direction: row;
    position: relative;
    top: 0;
    left: 100%;
    transition: transform 0.3s ease-in-out;
    gap: 0;
  }

  .testimonial__card {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  }

  .testimonial__client--name {
    margin-top: 6.2rem;
  }
  .slider__btn {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* 375px breakpoint */
@media (max-width: 375px) {
  .testimonials {
    padding: 1.5rem 1.5rem 3rem 1.5rem;
  }

  .testimonials__wrapper {
    flex-direction: column;
  }

  /* emojis */

  .emoji {
    width: 3rem;
  }
}

/* Tablet screens (≤ 992px) */
@media (max-width: 992px) {
  .projects__info-title {
    font-size: 3rem; /* smaller title */
  }

  .projects__info-tag {
    font-size: 1rem;
    padding: 1rem;
  }
}

/* Mobile screens (≤ 600px) */
@media (max-width: 600px) {
  .projects__info-title {
    font-size: 2.2rem;
  }

  .projects__info-tag {
    font-size: 0.9rem;
    padding: 0.8rem;
  }
}

@media (max-width: 400px) {
  .projects__info-title {
    font-size: 1.8rem;
  }

  .projects__info-tag {
    font-size: 0.8rem;
    padding: 0.6rem;
  }
}

/* between 1200px and 900px */
@media (max-width: 1200px) and (min-width: 901px) {
  .testimonial__cards {
    position: relative;
    top: 0;
    gap: 1.6rem;
  }

  .testimonial__card {
    width: 48%;
    padding: 3rem 2.4rem;
  }

  .testimonials__cta {
    position: relative;
    display: block;
    margin: 2rem 0rem 0rem 15rem;
    width: fit-content;
    padding: 2.2rem 3.6rem;
    font-size: 1.6rem;
    text-align: center;
  }
}

@media only screen and (max-width: 730px) {
  .testimonial__img--box::before {
    width: 58%;
    height: 75%;
  }
}

/* ================================================ */
/* Sections: Project Compare, Blogs, FAQ */
/* Breakpoints: 1200px, 992px, 768px, 600px */
/* ================================================ */

/* ===================== 1200px ===================== */
@media (max-width: 1200px) {
  /* Blogs */
  .blogs-home-wrapper {
    gap: 3rem;
  }

  /* FAQ */
  .faq__heading {
    font-size: 9rem;
  }
}

/* ===================== 992px ===================== */
@media (max-width: 992px) {
  /* Blogs */
  .blogs-home-wrapper {
    flex-wrap: wrap;
  }
  .blog-home__box-wrapper {
    width: 45%;
  }

  /* FAQ */
  .faq__content {
    width: 40%;
  }
  .faq__list {
    width: 55%;
  }
}

/* ===================== 768px ===================== */
@media (max-width: 768px) {
  /* Project Compare */
  .project__compare-image-container {
    width: 100%;
    max-height: auto;
    aspect-ratio: auto;
  }
  .before__image-wrapper {
    width: 32%;
    left: unset;
    top: unset;
    transform: none;
  }

  /* Blogs */
  .blogs-home-wrapper {
    flex-direction: column;
  }
  .blog-home__box-wrapper {
    width: 100%;
  }

  /* FAQ */
  .faq__wrapper {
    flex-direction: column;
    text-align: center;
  }
  .faq__content,
  .faq__list {
    width: 100%;
  }
}

/* ===================== 600px ===================== */
@media (max-width: 600px) {
  .project__compare-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .before__image-wrapper {
    width: 100%;
    height: auto;
    position: static;
    transform: none;
    margin-bottom: 1.2rem;
  }
  .after__image-wrapper {
    width: 100%;
  }
  .next__slider-btn-wrapper {
    position: static;
    transform: none;
    margin: 0 auto;
    margin-top: 4rem;
  }

  /* Blogs — One Column */
  .blogs-home {
    padding: 3rem 1rem;
  }
  .blog-home__img-wrapper {
    max-width: 100%;
  }
  .blog-home__title {
    font-size: 2rem;
  }

  /* FAQ — One Column */
  .faq__heading {
    font-size: 5rem;
  }
  .faq__item {
    padding: 1.8rem;
  }
  .faq__question,
  .faq__answer {
    font-size: 1.4rem;
  }

  .faq__heading::before {
    font-size: 22rem;
  }
}

/* ========== TABLET (≤ 1024px) ========== */
@media (max-width: 1024px) {
  .blog-title-h1 {
    font-size: 3.2rem;
    width: 38ch;
  }

  .blog-body {
    padding: 0 2rem;
    row-gap: 6rem;
  }

  .blog-body__image-text {
    column-gap: 2rem;
    max-height: none;
  }

  .blog-text-wrapper {
    padding-right: 1rem;
  }
}

/* ========== LARGE MOBILE / SMALL TABLET (≤ 768px) ========== */
@media (max-width: 768px) {
  .blog-title-h1 {
    font-size: 2.8rem;
    width: 32ch;
  }

  .blog-body__image-text {
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
    max-height: none;
  }

  .blog-image-wrapper,
  .blog-text-wrapper {
    width: 100%;
  }

  .blog-image-wrapper img {
    height: auto;
    max-height: 40rem;
    object-fit: cover;
  }

  .blog-highlight {
    padding: 1.6rem 2rem;
    font-size: 1.4rem;
  }
}

/* ========== MOBILE (≤ 480px) ========== */
@media (max-width: 480px) {
  .blog-hero {
    height: 45vh;
  }

  .blog-title-h1 {
    font-size: 2.2rem;
    width: 100%;
    padding: 0 1.4rem;
  }

  .blog-body {
    padding: 0 1.6rem;
    row-gap: 4.8rem;
  }

  .blog-text {
    font-size: 1.4rem;
  }

  .blog-summary {
    font-size: 1.6rem;
  }

  .checklist {
    padding-left: 2.8rem;
  }

  .checklist li p {
    font-size: 1.3rem;
  }
}

/************************* */
/* blog page */
/* ************************* */

/* =========================
   MOBILE-FIRST DEFAULTS
========================= */
.blog-hero {
  height: 40vh;
  margin-top: 2rem;
}

.blog-title-h1 {
  font-size: 2.4rem;
  width: 90%;
  text-align: center;
}

.blog-title-h2 {
  font-size: 2rem;
}

.blog-text {
  font-size: 1.4rem;
}

/* .checklist {
  padding-left: 2rem;
} */

.checklist li i.checklist-icon {
  left: -2%;
}

.checklist-items {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.blog-body {
  margin: 2rem 1rem;
  row-gap: 2.5rem;
}

.blog-body__image-text {
  flex-direction: column;
  gap: 2rem;
}

.blog-image-wrapper,
.blog-text-wrapper {
  width: 100%;
}

.blog-text-wrapper {
  padding: 1rem;
}

.blog-highlight {
  padding: 1.5rem 2rem;
  font-size: 1.4rem;
}

/* =========================
   TABLET (481px – 768px)
========================= */
@media (min-width: 481px) and (max-width: 768px) {
  .blog-hero {
    height: 50vh;
    margin-top: 2.5rem;
  }

  .blog-title-h1 {
    font-size: 2.4rem;
    width: 70%;
  }

  .blog-title-h2 {
    font-size: 2.4rem;
  }

  .blog-text {
    font-size: 1.5rem;
  }

  .blog-body {
    margin: 2.5rem 2rem;
    row-gap: 3rem;
  }

  .blog-body__image-text {
    flex-direction: column;
    gap: 2.5rem;
  }

  .blog-body__image-text-mobile {
    flex-direction: column-reverse;
    gap: 2.5rem;
  }

  .checklist li i.checklist-icon {
    left: -3%;
  }
}

/* =========================
   DESKTOP (769px+)
========================= */
@media (min-width: 769px) {
  .blog-hero {
    height: 60vh;
    margin-top: 3rem;
  }

  .blog-title-h1 {
    font-size: 3.6rem;
    width: 45ch;
  }

  .blog-title-h2 {
    font-size: 3.2rem;
  }

  .blog-text {
    font-size: 1.6rem;
  }

  .blog-body {
    max-width: 101rem;
    margin: 3rem auto;
    row-gap: 4.2rem;
  }

  .blog-body__image-text {
    flex-direction: row;
    gap: 3rem;
  }

  .blog-image-wrapper,
  .blog-text-wrapper {
    width: 50%;
  }

  .checklist li i.checklist-icon {
    left: -4%;
  }

  .checklist-items {
    gap: 1rem;
  }
}

/* =========================
   EXTRA SMALL DEVICES (<360px)
========================= */
@media (max-width: 360px) {
  .blog-title-h1 {
    font-size: 2rem;
  }

  .blog-title-h2 {
    font-size: 1.8rem;
  }

  .blog-text {
    font-size: 1.3rem;
  }

  .blog-body {
    margin: 1rem;
  }

  .checklist-items {
    gap: 0.6rem;
  }
}

/* ******************** */
/* promo banner */
/* ******************* */

@media only screen and (max-width: 600px) {
  .promo-text-wrapper {
    text-align: center;
    margin-left: 6%;
    padding-left: 0;
  }

  .promo-image {
    display: none;
  }
}
