/*========= MEDIA QUERIES =========*/
@media (min-width: 1600px) {
  #about .image {
    width: 35% !important;
    height: 50%;
    margin-left: 5rem;
    margin-top: 1rem;
  }

  #about .image::before {
    height: 80%;
    width: 100%;
    top: -8.3%;
    left: -33%;
    margin-left: 4rem;
  }

  #about .image img {
    width: 100% !important;
    height: 19rem !important;
  }
}

/* extra large devices: 1200 > */
@media (min-width: 1200px) {
  html {
    font-size: 120%;
  }

  /* reusable classes */
  .container {
    /* max-width: 1120px; */
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 10rem 0;
  }

  .section header,
  #testimonials header {
    max-width: 32rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .button {
    height: 3.125rem;
  }

  /* navigation */
  nav .menu {
    opacity: 1;
    visibility: visible;
    top: 0;
  }

  nav .menu ul {
    display: flex;
    gap: 2rem;
  }

  nav .menu ul li a.title {
    font: 400 1rem var(--body-font);
    -webkit-font-smoothing: antialiased;
  }

  nav .menu ul li a.title.active {
    font-weight: bold;
    -webkit-font-smoothing: auto;
  }

  nav .icon-menu {
    display: none;
  }

  /* layout */
  main {
    margin-top: var(--header-height);
  }

  /* home */
  #home .container {
    grid-auto-flow: column;
    justify-content: space-between;
    margin: 0 auto;
  }

  #home .image {
    order: 1;
    width: 30%;
    height: 1% !important;
  }

  #home .text {
    order: 0;
    max-width: 24rem;
    text-align: left;
  }

  /* about */
  #about .container {
    margin: 0 auto;
    grid-auto-flow: column;
  }

  #about .image img {
    width: 120% !important;
    height: 24rem !important;
  }

  /* services */
  #services .grid {
    padding: 2rem;
  }

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

  .card {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
  }

  /* testimonials */
  #testimonials .container {
    margin-left: auto;
    margin-right: auto;
  }

  /*
  #testimonials blockquote {
    margin-left: 10rem;
    margin-right: 10rem;
  }
  */

  /* contact */
  #contact .container {
    grid-auto-flow: column;
    align-items: center;
  }

  #contact .text {
    max-width: 25rem;
  }

  /* footer */
  footer.section {
    padding: 3.75rem 0;
  }

  footer .container {
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
  }

  footer .logo {
    font-size: 2.25rem;
  }
}

/* @media (min-width: 1050px) {
  #about .image img {
    width: 90% !important;
    height: 20rem !important;
  }
} */

/* large devices: 992 > */
@media (min-width: 992px) and (max-width: 1199px) {
  /* reusable classes */
  .container {
    margin-left: 4rem;
    margin-right: 4rem;
  }

  .section {
    padding: 10rem 0;
  }

  .section header,
  #testimonials header {
    max-width: 32rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .button {
    height: 3.125rem;
  }

  /* navigation */
  nav .menu {
    opacity: 1;
    visibility: visible;
    top: 0;
  }

  nav .menu ul {
    display: flex;
    gap: 2rem;
  }

  nav .menu ul li a.title {
    font: 400 1rem var(--body-font);
    -webkit-font-smoothing: antialiased;
  }

  nav .menu ul li a.title.active {
    font-weight: bold;
    -webkit-font-smoothing: auto;
  }

  nav .icon-menu {
    display: none;
  }

  /* layout */
  main {
    margin-top: var(--header-height);
  }

  /* home */
  #home .container {
    margin-left: 2rem;
    grid-auto-flow: column;
    justify-content: space-between;
  }

  #home .image {
    order: 1;
  }

  #home .text {
    order: 0;
    max-width: 24rem;
    text-align: left;
  }

  /* about */
  #about .container {
    margin: 0 auto;
    grid-auto-flow: column;
  }

  #about .image {
    width: 140% !important;
    height: 100% !important;
    display: flex;
    justify-content: start;
    align-items: center;
    margin-left: 2rem !important;
  }

  #about .image img {
    display: flex;
    width: 2500% !important;
    height: 30rem !important;
    margin-right: 1rem;
  }

  #about .image::before {
    margin-left: 1rem !important;
  }
  /* services */
  .cards {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .card {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
  }

  /* testimonials */
  #testimonials .container {
    margin-left: auto;
    margin-right: auto;
  }

  /* #about .image {
    width: 10rem !important;
    height: 10% !important;
  } */

  /* contact */
  #contact .container {
    grid-auto-flow: column;
    align-items: center;
  }

  #contact .text {
    max-width: 25rem;
  }

  /* footer */
  footer.section {
    padding: 3.75rem 0;
  }

  footer .container {
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
  }

  footer .logo {
    font-size: 2.25rem;
  }
}

/* medium devices: 768 > */
@media (min-width: 768px) and (max-width: 991px) {
  /* reusable classes */
  .container {
    margin-left: 4rem;
    margin-right: 4rem;
  }

  .section {
    padding: 6rem 0;
  }

  .section header,
  #testimonials header {
    max-width: 32rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .button {
    height: 3.125rem;
  }

  /* navigation */
  nav .menu {
    opacity: 1;
    visibility: visible;
    top: 0;
  }

  nav .menu ul {
    display: flex;
    gap: 2rem;
  }

  nav .menu ul li a.title {
    font: 400 1rem var(--body-font);
    -webkit-font-smoothing: antialiased;
  }

  nav .menu ul li a.title.active {
    font-weight: bold;
    -webkit-font-smoothing: auto;
  }

  nav .icon-menu {
    display: none;
  }

  /* layout */
  main {
    margin-top: var(--header-height);
  }

  /* home */
  #home .container {
    margin-left: 2rem;
    grid-auto-flow: column;
    justify-content: space-between;
  }

  #home .image {
    order: 1;
  }

  #home .text {
    order: 0;
    max-width: 24rem;
    text-align: left;
  }

  /* about */
  #about .container {
    margin: 0 auto;
    grid-auto-flow: column;
  }

  #about .image {
    width: 140% !important;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin-left: 2rem !important;
  }

  #about .image img {
    display: flex;
    width: 130% !important;
    height: 30rem !important;
    margin-right: 1rem;
  }
  /* services */
  .cards {
    grid-auto-flow: dense;
  }

  .card {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
  }

  /* testimonials */
  #testimonials .container {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  /*
  #testimonials blockquote {
    margin-left: 4rem;
    margin-right: 4rem;
  }
  */
  /* contact */
  #contact .container {
    grid-auto-flow: column;
    align-items: start;
  }

  #contact .text {
    max-width: 25rem;
  }

  /* footer */
  footer.section {
    padding: 3.75rem 0;
  }

  footer .container {
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
  }

  .brand {
    width: 20rem;
    /* border: 2px solid green; */
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
  }

  .brand img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 500px) {
  .section {
    padding: 1.5rem 0rem;
  }

  #home {
    margin-top: 3rem;
    padding: 0rem !important;
  }

  #home .container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 3rem !important;
  }

  #home .text {
    margin-left: 0rem !important;
    width: 100%;
    text-align: center;
  }

  #home .image img {
    position: relative;
    right: 2.93rem;
    width: 100%;
  }

  #home .image {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0rem 0rem 0rem 2rem;
  }

  #home .image img {
    position: relative;
    width: 270% !important;
    height: 90% !important;
    margin-left: 2rem;
  }

  #home .image::before {
    width: 180% !important;
    margin-top: 4rem;
    top: -20.8% !important;
    left: 16.7%;
  }

  #about {
    margin-top: 1rem;
  }

  #about .container {
    padding: 0 0rem 0rem 0rem !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  #about .image {
    width: 80% !important;
  }

  #services header {
    height: 80vh;
  }

  .whatsapp-button {
    gap: 0.4rem;
    width: 7rem;
    height: 2rem;
    font-size: 0.6rem;
    align-items: center;
    justify-content: center;
    display: flex;
  }

  .whatsapp-button p {
    color: white;
  }

  .whatsapp-button img {
    width: 0.8rem;
    height: 0.8rem;
  }

  .logo img {
    width: 20%;
  }

  .footer-logo {
    width: 60%;
    margin-bottom: 2rem;
  }

  .links li {
    font-size: 0.9rem;
  }

  .testimonials1 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: auto;
  }

  .testimonial2 blockquote {
    width: 100%;
  }

  #testimonials blockquote {
    padding: 1.4rem;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
    border-radius: 0.25rem;
    border-left: 0.3rem solid var(--base-color);
    margin-bottom: 1.5rem;
    height: auto;
  }
}

@media (min-width: 501px) and (max-width: 768px) {
  .logo img {
    width: 15%;
  }

  .section {
    padding: calc(0.6rem + var(--header-height)) 0;
  }

  .testimonials1 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: auto;
  }

  .testimonial2 blockquote {
    width: 100%;
  }
}
