/*---------------------------------*/
/* Below 1216px */
@media (max-width: 76em) {
  html {
    font-size: 56.25%;
  }
  .main-header {
    padding: 1.2rem 8.2rem;
  }
  .callback-form input,
  .callback-form textarea {
    padding: 8px;
    font-style: inherit;
    border: 1px solid rgba(0, 0, 0, 0.125);
    font-size: 1.2rem;
    width: 100%;
  }
  .callback-form {
    width: 28rem;
    top: 6rem;
  }
  .cta-header {
    font-size: 2rem;
  }
  .cta-close {
    font-size: 1.4rem;
  }
  .cta-header-div {
    margin-bottom: 1.2rem;
  }
  .cta-input-div {
    margin-bottom: 1.4rem;
  }
  .callback-form span {
    font-size: 1rem;
  }
  .cta-btn {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }
  .cta-terms {
    font-size: 1rem;
  }
}
/*---------------------------------*/

/*---------------------------------*/
/* Below 1088px */

@media (max-width: 68em) {
  html {
    font-size: 50%;
  }
  .main-header {
    padding: 1.2rem 6rem;
  }
  .hero-container {
    max-width: 120rem;
    gap: 8rem;
  }
}

/*---------------------------------*/

/*---------------------------------*/
/* Below 976px */
@media (max-width: 61em) {
  .hero-container {
    max-width: 110rem;
    gap: 6.4rem;
  }
  .primary-heading {
    font-size: 4.8rem;
    margin-bottom: 1.6rem;
  }
  .hero-desc {
    font-size: 1.6rem;
    margin-bottom: 2.4rem;
  }
  .hero-btn:link,
  .hero-btn:visited {
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    border-radius: 6px;
  }
  .hero-btns {
    gap: 2.4rem;
    margin-bottom: 3.2rem;
  }
  .hero-customer-img {
    height: 3.2rem;
    width: 3.2rem;
    border: 2px solid #fff;
    margin-right: -1.2rem;
  }
  .hero-imgs-p {
    font-size: 1.6rem;
  }
  .hero-customers-container {
    gap: 1.2rem;
  }
  .main-nav-ul {
    font-size: 1.8rem;
    gap: 3.2rem;
  }
  .hero-img {
    width: 90%;
  }
  .header-button:link,
  .header-button:visited {
    border-radius: 6px;
  }
  .main-nav-ul {
    padding: 03.6rem;
  }
  .secondary-heading {
    font-size: 3.6rem;
    margin-bottom: 3.6rem;
  }
  .container {
    max-width: 110rem;
  }
  .gap-med {
    gap: 4.8rem;
  }
  .category-container {
    padding: 2rem 1.2rem;
    border-radius: 1rem;
  }
  .logo-container {
    height: 8rem;
    width: 7.6rem;
    margin-bottom: 1.4rem;
  }
  .service-logo {
    height: 6rem;
  }
  .caregory-name {
    font-size: 1.4rem;
  }
  .how-icon {
    font-size: 3.6rem;
    padding: 1.4rem;
    margin-bottom: 2rem;
  }
  .how-heading {
    font-size: 1.8rem;
    margin-bottom: 1.4rem;
  }
  .how-desc {
    font-size: 1.4rem;
  }
  .testimonials-container {
    padding: 4.8rem 2.4rem;
    gap: 1.6rem;
    border-radius: 10px;
  }
  .customer-testimonials {
    font-size: 1.4rem;
    letter-spacing: 0.65px;
  }
  .testimonials-photo-container {
    gap: 1.6rem;
  }
  .no-picture {
    height: 4.6rem;
  }
  .customer-name {
    font-size: 1.6rem;
    letter-spacing: 0.65px;
  }
  .section-services {
    padding: 6.4rem 0;
  }
  .callback-btn-div {
    left: -4rem;
    top: 25rem;
  }
  .callback-btn {
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
    border-radius: 3px;
  }
  .whatsapp-link {
    padding: 1rem;
  }
  .whatsapp-icon {
    font-size: 2rem;
  }
  .whatsapp-btn-div {
    top: 25rem;
  }
  .form-select,
  .form-textarea,
  .form-date,
  .form-text-address,
  .form-text,
  .form-select {
    font-size: 1.6rem;
    border-radius: 6px;
  }
  .form-icon {
    font-size: 4.4rem;
    padding: 1.4rem 1.4rem;
  }
  .how-form-heading {
    font-size: 1.4rem;
  }
}
/*---------------------------------*/

/*---------------------------------*/
/* Below 800px */
@media (max-width: 50em) {
  /* .main-nav {
    display: none;
  } */
  .mobile-nav {
    display: block;
    z-index: 9999;
  }
  .main-nav {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #e6f7fc;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.5s ease-in;
    z-index: 100;
  }
  .nav-open .main-nav {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .main-nav-ul {
    flex-direction: column;
    font-size: 3rem;
    gap: 6.4rem;
  }
  app-header {
    height: 100vh;
  }
  .nav-open .bi-list {
    display: none;
  }
  .nav-open .bi-x-circle-fill {
    display: block;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 4.8rem;
  }
  .section-hero {
    padding: 4.8rem 0;
  }
  .primary-heading {
    margin-bottom: 3.2rem;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-desc {
    margin-bottom: 4.8rem;
  }
  .hero-customers-container {
    justify-content: center;
  }
  .hero-img {
    width: 50%;
  }
  .grid-col--5 {
    grid-template-columns: repeat(3, 2fr);
  }
  .padding-med {
    padding: 0 8rem;
    row-gap: 4.8rem;
    column-gap: 6.4rem;
  }
  .category-container {
    padding: 3.6rem 1.2rem;
  }
  .secondary-heading {
    font-size: 3.2rem;
  }
  .grid-col--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-testimonials .grid-col--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-footer {
    padding: 4.8rem 3.2rem 4.8rem 3.2rem;
  }
  .form-header-container {
    padding: 3.2rem 1.6rem;
  }
  .section-form-header .container {
    max-width: 90rem;
  }
  .form-grid {
    grid-template-columns: 0.65fr;
    justify-content: center;
  }
  .form-data-container {
    grid-row: 1;
  }
  .section-form-data {
    padding: 2.4rem 0;
  }
}

/*---------------------------------*/

/*---------------------------------*/
/* Below 592px */
@media (max-width: 37em) {
  .primary-heading {
    line-height: 1.3;
    font-size: 4.4rem;
  }
  .grid-col--5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .padding-med {
    padding: 0 9.6rem;
  }
  .hero-img {
    width: 70%;
  }
  .section-how .padding-med {
    padding: 0 8rem;
  }
  .caregory-name {
    font-size: 1.8rem;
  }

  .section-testimonials .grid-col--3 {
    grid-template-columns: 1fr;
  }
  .section-footer .grid-col--3 {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer-logo-container {
    align-items: center;
  }
  .section-footer .gap-med {
    gap: 2.4rem;
  }
  .secondary-heading {
    line-height: 1.3;
  }
  .section-form-header .container {
    max-width: 70rem;
  }
  .form-main-heading {
    font-size: 2.4rem;
  }
  .form-header-container {
    gap: 1.2rem;
  }
  .form-link-container {
    font-size: 1.4rem;
  }
  .form-grid {
    grid-template-columns: 0.8fr;
  }
  .form-tertiary-header {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .form-details-lists {
    gap: 1rem;
    font-size: 1.4rem;
  }
  .form-secondary-heading {
    font-size: 2.4rem;
    line-height: 1.3;
  }
}
/*---------------------------------*/

/*---------------------------------*/
/* Below 496px */
@media (max-width: 31em) {
  .padding-med {
    padding: 0 4.8rem;
    column-gap: 4.8rem;
  }
  .grid-col--4 {
    grid-template-columns: 1fr;
  }
  .section-testimonials .padding-med {
    padding: 0 9.6rem;
  }
  .section-form-header .container {
    max-width: 90%;
  }
  .form-main-heading {
    font-size: 2.6rem;
    line-height: 1.3;
    text-align: center;
  }
  .form-link-container {
    font-size: 1.6rem;
  }
  .form-grid {
    grid-template-columns: 0.9fr;
  }
  .form-secondary-heading {
    font-size: 2rem;
  }
  .form-info-desc {
    font-size: 1.2rem;
  }
  .form-info-book {
    font-size: 1.4rem;
  }
  .info-list-heading {
    font-size: 1.4rem;
  }
  /* .form-grid {
    grid-template-columns: 0.9fr;
  } */
  .category-form {
    grid-template-columns: 1fr;
  }
  .form-textarea {
    grid-column: span 1;
  }
  .form-text-address {
    grid-column: span 1;
  }
  .form-btn {
    grid-column: span 1;
  }
  .form-select,
  .form-textarea,
  .form-date,
  .form-text-address,
  .form-text,
  .form-select {
    font-size: 2rem;
    width: 100%;
  }
}

/*---------------------------------*/

/*---------------------------------*/
/* Below 448px */
@media (max-width: 28em) {
  .form-grid {
    grid-template-columns: 92%;
  }
  .hero-container {
    padding: 0 3.2rem;
  }
  .hero-desc {
    font-size: 2rem;
  }
  .hero-btn:link,
  .hero-btn:visited {
    font-size: 2rem;
  }
  .hero-imgs-p {
    font-size: 1.8rem;
  }
  .padding-med {
    padding: 0 3.2rem;
    column-gap: 3.2rem;
  }
  .hero-img {
    width: 85%;
  }
  .how-heading {
    font-size: 2.4rem;
  }
  .how-desc {
    font-size: 1.8rem;
  }
  .customer-testimonials {
    font-size: 1.8rem;
  }
  .footer-copyright {
    font-size: 1.6rem;
  }
  .footer-main-text {
    font-size: 2rem;
  }
  .callback-btn-div {
    top: 50%;
    left: -6.2rem;
  }
  .whatsapp-btn-div {
    top: 40%;
  }
  .call-btn-div {
    top: 60%;
  }
  .callback-form {
    top: 30%;
  }
  .callback-btn {
    font-size: 1.8rem;
  }
  .whatsapp-icon {
    font-size: 3rem;
  }
  .section-testimonials .padding-med {
    padding: 0 8rem;
  }
  .category-container {
    padding: 3.6rem 0;
  }
  .section-testimonials .padding-med {
    padding: 0 3.2rem;
  }
  .testimonials-container {
    width: 80%;
    justify-self: center;
  }
  .caregory-name {
    font-size: 1.6rem;
  }
  .how-icon {
    font-size: 4rem;
  }
  .form-tertiary-header {
    font-size: 2.2rem;
    text-align: center;
    line-height: 1.3;
  }
  .form-details-lists {
    font-size: 1.6rem;
  }
  .form-secondary-heading {
    font-size: 2.4rem;
    text-align: center;
    line-height: 1.3;
  }
  .form-info-desc {
    font-size: 1.6rem;
  }
  .info-list-heading {
    font-size: 1.8rem;
  }
  .form-info-lists {
    font-size: 1.6rem;
    line-height: 1.5;
  }
  .form-info-book {
    font-size: 1.8rem;
    line-height: 1.4;
  }
  .how-form-heading {
    font-size: 1.8rem;
  }
  .form-select,
  .form-date {
    background-color: #fff;
  }
}
/*---------------------------------*/
