@media only screen and (min-width: 0px) and (max-width: 600px) {
  header {
    padding: 0.75rem 1rem;
  }

  .logo h2 {
    display: none;
  }

  .logo img {
    width: 40px;
    margin: 0 0.5rem;
  }

  nav.default {
    display: none;
  }

  nav.menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 2rem 1rem;
  }

  .menu .menu-buttons .navBtn {
    width: 33%;
    font-size: 0.7rem;
  }

  .main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  header {
    -ms-flex-item-align: start;
    align-self: flex-start;
  }

  .all-sections {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 2rem 0;
  }

  .about-heading {
    padding: 2rem;
    padding-top: 3rem;
    margin: auto;
  }

  .about-heading h1 {
    font-size: 1.8rem;
  }

  .about-section {
    width: 90vw;
    padding: 0rem 1rem;
    gap: 5rem;
  }

  .about-us,
  .our-story {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2rem;
  }

  .about-us {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .text {
    width: 90%;
    text-align: center;
    gap: 1.5rem;
  }

  .text h2 {
    font-size: 1.1rem;
    line-height: 1.6rem;
  }

  .text p {
    font-size: 0.65rem;
    line-height: 1rem;
  }

  .image {
    width: 70%;

  }

  .image picture img {
    height: 120px;
  }

  .why-choose-us {
    padding: 0 2rem;
    gap: 3rem;
  }

  .why-heading h2 {
    font-size: 1.3rem;
  }

  .why-cards {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    justify-items: center;
  }

  .why-cards>*:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    grid-row: 1;
    grid-column: 1;
  }

  .why-cards>*:nth-child(2) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    grid-row: 2;
    grid-column: 1;
  }

  .why-cards>*:nth-child(3) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    grid-row: 3;
    grid-column: 1;
  }

  .why-cards>*:nth-child(4) {
    -ms-grid-row: 4;
    -ms-grid-column: 1;
    grid-row: 4;
    grid-column: 1;
  }

  .card {
    width: 75%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    padding: 1.5rem;
    gap: 1.2rem;
    text-align: center;
  }

  .card:nth-child(2),
  .card:nth-child(4) {
    margin-top: 0;
  }

  .card img {
    width: 70px;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.6rem;
    line-height: 0.9rem;
  }

  .meet-our-team {
    width: 100vw;
    padding: 0 2.5rem;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .our-team-heading h2 {
    font-size: 1.3rem;
  }

  .meet-our-team p {
    font-size: 0.65rem;
    line-height: 1rem;
  }

  footer {
    padding: 1.5rem;
  }

  footer .section1 {
    -ms-grid-columns: 1fr 1.5rem 1fr;
    grid-template-columns: 1fr 1fr;
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;
    grid-gap: 1.5rem;
    font-size: 0.7rem;
  }

  footer .section1>*:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    grid-row: 1;
    grid-column: 1;
  }

  footer .section1>*:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
    grid-row: 1;
    grid-column: 2;
  }
  footer .section1>*:nth-child(3) {
    -ms-grid-row: 2;
    -ms-grid-column: span 2;
    grid-row: 2;
    grid-column: span 2;
    
  }

  .pages a,
  .footer-services a,
  .contact-info a {
    line-height: 0.8rem;
  }

  .contacts-links {
    -ms-grid-column-span: 2;
    grid-column: 2 span;
  }

  .contacts-links-div {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .contact-div {
    margin: 0;
    margin-top: 2rem;
    gap: 0.75rem;
  }

  .links {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .links li {
    font-size: 1rem;
  }

  .fa-envelope {
    font-size: 0.9rem;
  }

  .subscribe {
    -ms-flex-item-align: start;
    align-self: flex-start;
  }

  .subscribe input {
    height: 2rem;
  }

  .subscribe button {
    top: 20%;
  }

  .copyrights {
    font-size: 0.5rem;
  }
}

@media only screen and (min-width:400px) and (max-width: 600px) {
  .menu .menu-buttons .navBtn {
    width: 28%;
    font-size: 0.8rem;
  }

  .text {
    width: 80%;
    text-align: center;
    gap: 1.5rem;
  }

  .text h2 {
    font-size: 1.2rem;
    line-height: 1.6rem;
  }

  .text p {
    font-size: 0.75rem;
    line-height: 1rem;
  }

  .image {
    width: 65%;

  }

  .image picture img {
    height: 160px;
  }

  .why-heading h2 {
    font-size: 1.4rem;
  }

  .card {
    width: 60%;
    gap: 1.3rem;
  }

  .card:nth-child(2),
  .card:nth-child(4) {
    margin-top: 0;
  }

  .card img {
    width: 75px;
  }

  .card h3 {
    font-size: 1.1rem;
    line-height: 1.4rem;
  }

  .card p {
    font-size: 0.7rem;
    line-height: 0.95rem;
  }

  .meet-our-team {
    width: 90vw;
  }

  .our-team-heading h2 {
    font-size: 1.3rem;
  }

  .meet-our-team p {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}

@media only screen and (min-width:500px) and (max-width: 600px) {
  .menu .menu-buttons .navBtn {
    width: 27%;
  }

  .about-heading h1 {
    font-size: 2rem;
  }

  .text h2 {
    font-size: 1.3rem;
    line-height: 1.6rem;
  }

  .text p {
    font-size: 0.75rem;
    line-height: 1rem;
  }



  .why-cards {
    -ms-grid-columns: 1fr 0 1fr;
    grid-template-columns: 1fr 1fr;
    -ms-grid-rows: 1fr 0 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
  }

  .why-cards>*:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    grid-row: 1;
    grid-column: 1;
  }

  .why-cards>*:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
    grid-row: 1;
    grid-column: 2;
  }

  .why-cards>*:nth-child(3) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    grid-row: 2;
    grid-column: 1;
  }

  .why-cards>*:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
    grid-row: 2;
    grid-column: 2;
  }

  .why-heading h2 {
    font-size: 1.6rem;
  }

  .card {
    width: 90%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    gap: 1.3rem;
  }

  .card:nth-child(2),
  .card:nth-child(4) {
    margin-top: 2rem;
  }

  .card img {
    width: 75px;
  }

  .card h3 {
    font-size: 1.1rem;
    line-height: 1.4rem;
  }

  .card p {
    font-size: 0.7rem;
    line-height: 1rem;
  }

  .our-team-heading h2 {
    font-size: 1.5rem;
  }

  .meet-our-team p {
    font-size: 0.8rem;
    line-height: 1.1rem;
  }
}

@media only screen and (min-width: 600px) and (max-width: 900px) {
  header {
    padding: 1rem 2rem;
  }

  .logo h2 {
    font-size: 1.15rem;
  }

  nav.default {
    gap: 0.5rem;
  }

  nav.default .navBtn {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
  }

  .main {
    padding: 1rem;
  }

  .about-heading {
    padding: 2rem 3rem;
    padding-top: 3rem;
  }

  .about-heading h1 {
    font-size: 2.2rem;
  }

  .about-section {
    padding: 0rem 3rem;
    padding-right: 4rem;
    gap: 4rem;
  }

  .about-us,
  .our-story {
    gap: 1.5rem;
  }

  .text h2 {
    font-size: 1.4rem;
  }

  .text p {
    font-size: 0.8rem;
    line-height: 1.1rem;
  }

  .image {
    width: 40%;

  }

  .image picture img {
    height: 150px;
  }

  .why-choose-us {
    padding: 0 2rem;
    padding-right: 4rem;
    gap: 4rem;
  }

  .why-heading h2 {
    font-size: 1.7rem;
  }

  .why-cards {
    gap: 1rem;
  }

  .card {
    width: 25%;
    padding: 1.3rem;
    gap: 1.5rem;
  }

  .card img {
    width: 90px;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.75rem;
    line-height: 1rem;
  }

  .meet-our-team {
    padding: 0 2rem;
    padding-right: 4rem;
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .our-team-heading h2 {
    font-size: 1.7rem;
  }

  .meet-our-team p {
    font-size: 0.8rem;
    line-height: 1.1rem;
  }

  footer {
    padding: 2rem 4rem;
  }

  footer .section1 {
    -ms-grid-columns: 1fr 2rem 1fr;
    grid-template-columns: 1fr 1fr;
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;
    grid-gap: 2rem;
    font-size: 0.65rem;
  }

  footer .section1>*:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    grid-row: 1;
    grid-column: 1;
  }

  footer .section1>*:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
    grid-row: 1;
    grid-column: 2;
  }
  footer .section1>*:nth-child(3) {
    -ms-grid-row: 2;
    -ms-grid-column: span 2;
    grid-row: 2;
    grid-column: span 2;
    
  }

  .pages a,
  .footer-services a,
  .contact-info a {
    line-height: 0.8rem;
  }

  .contacts-links {
    -ms-grid-column-span: 2;
    grid-column: 2 span;
  }

  .links li {
    font-size: 1rem;
  }

  .fa-envelope {
    font-size: 0.9rem;
  }

  .subscribe {
    -ms-flex-item-align: end;
    align-self: flex-end;
  }

  .subscribe input {
    height: 2rem;
  }

  .subscribe button {
    top: 20%;
  }

  .copyrights {
    font-size: 0.65rem;
  }
}

@media only screen and (min-width: 600px) and (max-width: 800px) {
  header {
    padding: 0.5rem;
  }

  .logo h2 {
    display: none;
  }

  .logo img {
    width: 40px;
    margin: 0 1rem;
  }

  nav.default {
    gap: 0.5rem;
  }

  nav.default .navBtn {
    padding: 0.4rem 1rem;
    font-size: 0.65rem;
  }

  .about-heading {
    padding: 2rem;
    padding-top: 3rem;
  }

  .about-heading h1 {
    font-size: 2rem;
  }

  .about-section {
    padding: 0rem 2rem;
    padding-right: 3rem;
    gap: 5rem;
  }

  .about-us,
  .our-story {
    gap: 1rem;
  }

  .text h2 {
    font-size: 1.2rem;
  }

  .text p {
    font-size: 0.7rem;
    line-height: 1.1rem;
  }

  .why-heading h2 {
    font-size: 1.5rem;
  }

  .why-cards {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 2rem 1fr;
    grid-template-columns: 1fr 1fr;
    -ms-grid-rows: 1fr 0 1fr;
    grid-template-rows: 1fr 1fr;
    row-gap: 0;
    -webkit-column-gap: 2rem;
    -moz-column-gap: 2rem;
    column-gap: 2rem;
  }

  .why-cards>*:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    grid-row: 1;
    grid-column: 1;
  }

  .why-cards>*:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
    grid-row: 1;
    grid-column: 2;
  }

  .why-cards>*:nth-child(3) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    grid-row: 2;
    grid-column: 1;
  }

  .why-cards>*:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
    grid-row: 2;
    grid-column: 2;
  }

  .card {
    width: 100%;
    padding: 1.8rem;
    gap: 1.8rem;
  }

  .card img {
    width: 100px;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.8rem;
    line-height: 1.2rem;
  }

  .meet-our-team {
    padding: 0 2rem;
    padding-right: 4rem;
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .our-team-heading h2 {
    font-size: 1.5rem;
  }

  .meet-our-team p {
    font-size: 0.75rem;
    line-height: 1.1rem;
  }
}

@media only screen and (min-width: 600px) and (max-width: 700px) {
  nav.default {
    display: none;
  }

  nav.menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .card {
    gap: 2rem;
  }

  .card img {
    width: 90px;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.75rem;
    line-height: 1.1rem;
  }


  .image {
    width: 37%;

  }

  .image picture img {
    height: 140px;
  }
}

@media only screen and (min-width: 1200px) {
  .all-sections {
    gap: 9rem;
  }

  .about-heading {
    padding: 4rem;
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .about-heading h1 {
    font-size: 3rem;
  }

  .about-section {
    padding: 0rem 4rem;
    gap: 6rem;
  }

  .about-us,
  .our-story {
    gap: 1.5rem;
  }

  .text h2 {
    font-size: 2rem;
  }

  .text p {
    font-size: 1.1rem;
    line-height: 1.6rem;
  }

  .image {
    width: 30%;

  }

  .image picture img {
    height: 250px;
  }

  .why-choose-us {
    padding: 0rem 4rem;
    padding-right: 5rem;
  }

  .why-heading h2 {
    font-size: 2.5rem;
  }

  .why-cards {
    gap: 2rem;
  }

  .card {
    width: 100%;
    padding: 2rem;
    gap: 2rem;
  }

  .card:nth-child(2),
  .card:nth-child(4) {
    margin-top: 4rem;
  }

  .card img {
    width: 120px;
  }

  .card h3 {
    font-size: 1.5rem;
  }

  .card p {
    font-size: 1rem;
    line-height: 1.4rem;
  }

  .meet-our-team {
    padding: 0rem 5rem;
    gap: 4rem;
    margin-bottom: 6rem;
  }

  .our-team-heading h2 {
    font-size: 2.5rem;
  }

  .meet-our-team p {
    font-size: 1rem;
    line-height: 1.7rem;
  }
}

@media only screen and (min-width: 1400px) {
  .card {
    width: 100%;
    padding: 2.5rem;
    gap: 2.5rem;
  }

  .card:nth-child(2),
  .card:nth-child(4) {
    margin-top: 6rem;
  }

  .card img {
    width: 130px;
  }

  .card h3 {
    font-size: 1.8rem;
  }

  .card p {
    font-size: 1.2rem;
    line-height: 1.6rem;
  }

  .image {
    width: 30%;

  }

  .image picture img {
    height: 250px;
  }
}

@media only screen and (min-width: 1700px) {

  .text p {
    font-size: 1.2rem;
    line-height: 1.9rem;
  }

  .image {
    width: 25%;

  }

  .image picture img {
    height: 250px;
  }
}