:root {
  --color-primary: #fd7e04;
  --color-secondary: #b3886b;
  --color-dark: #2c2c31;
  --color-alt: #eee8a9;
  --color-extra: #f0fbff;
  --color-nav: #e3e6f3;
  --black-color: #222;
  --text-color: #465b52;
  --big-font: 3rem;
  --medium-font: 3rem;
  --small-font: 0.8rem;
  --very-small-font: 0.5rem;
  --text-font: 1rem;
  --bold-text: 700;
  --medium-text: 500;
  --thin-text: 300;
  --spaced-line: 5rem;
  --medium-spaced-line: 4rem;
}

@media (max-width: 1200px) {
  .header-top {
    display: none;
    text-align: start;
  }

  .menu-toggle {
    visibility: visible;
  }

  .menu-close i {
    z-index: 1000;
    position: absolute;
    display: block;
    top: 30px;
    left: 30px;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -350px;
    height: 100vh;
    width: 350px;
    background-color: #fff;
    height: 100vh;
    padding: 100px 0px 100px 20px;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
    opacity: 1;
    z-index: 1000;
    overflow: hidden;
  }

  .active-nav {
    visibility: visible;
    right: 0;
  }
  .nav-list li {
    position: initial;
    margin: 20px 0;
    font-size: 16px;
  }

  .nav-list li:hover {
    transform: translateY(0);
  }

  .sub-list {
    z-index: 1000;
    position: initial;
    border: 3px solid transparent;
    max-height: 0;
    transition: 0.5s ease;
    width: 250px;
    background: #fff;
  }

  .sub-list li {
    font-size: 15px;
    margin-left: 0;
    padding: 5px 10px;
    margin-bottom: 7px;
    border-bottom: none;
  }

  .sub-list li a {
    color: var(--black-color);
  }

  .sub-list::before {
    display: none;
  }
  .nav-list li:hover > .sub-list {
    opacity: 1;
    visibility: visible;
    max-height: initial;
  }
  .info-box h1 {
    font-size: 45px;
    line-height: 1.5;
  }

  .form button {
    font-size: 10px;
  }
}

@media (max-width: 1100px) {
  .about-txt {
    padding: 50px;
  }

  .about-txt p {
    line-height: 1.8;
  }

  .container {
    max-width: 90%;
  }

  .aboutpge-img img {
    height: 400px;
    width: 400px;
  }
}

@media (max-width: 1000px) {
  .form button {
    padding: 15px;
  }
  .aboutpge-img img {
    height: 450px;
    width: 350px;
  }
}

@media (max-width: 850px) {
  .info-box h1 {
    font-size: 35px;
    line-height: 1.5;
  }

  .info-box p {
    font-size: 18px;
    /* line-height: 1.5; */
  }

  .about-img {
    width: 40%;
    height: 80vh;
  }

  .about-txt {
    width: 60%;
    padding-left: 70px;
  }

  .card {
    width: 100%;
  }

  .contact .container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-details {
    width: 100%;
    margin-bottom: 30px;
  }

  .contact-form {
    width: 100%;
  }

  .form button {
    font-size: 12px;
    padding: 20px 25px;
    border-radius: 5px;
    width: 30%;
  }

  .footer {
    background: var(--color-dark);
    height: 88vh;
    width: 100%;
  }

  .footer .container {
    padding: 70px 0 50px 0;
  }

  .footer-main {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .footer-left {
    width: 100%;
    border-right: none;
  }

  .footer-right {
    width: 100%;
    padding-left: 0;
  }

  .about .container {
    flex-direction: column;
  }

  .about-dets {
    width: 100%;
  }

  .aboutpge-img {
    width: 100%;
  }

  .aboutpge-img img {
    width: 100%;
  }

  .value-box {
    width: 45%;
  }

  .staff-box {
    width: 45%;
  }

  .card-contain {
    flex-direction: column;
  }

  .card-contain-img {
    width: 100%;
    height: auto;
  }

  .card-contain-img img {
    height: auto;
  }

  .card-contain-detail {
    width: 100%;
    padding-right: 0;
  }
}

@media (max-width: 800px) {
  .image-container {
    flex-direction: column;
  }

  .images {
    width: 100%;
  }

  .images img {
    width: 100%;
    align-items: center;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .info-box {
    width: 90%;
    padding: 0 50px 0 0;
  }

  .details {
    flex-direction: column;
  }

  .about {
    height: 150vh;
  }

  .about-img {
    width: 100%;
    height: 80vh;
  }

  .about-txt {
    height: 70vh;
    width: 100%;
    padding-left: 70px;
  }
  .services {
    padding: 100px 0 100px 0;
  }
  .heading h2 {
    font-size: 25px;
  }

  .testimony i {
    font-size: 25px;
  }

  .testimony p {
    font-size: 18px;
    line-height: 1.5;
  }

  .client p {
    margin: 3px 0;
    font-size: 13px;
  }

  .section-header .container h3 {
    font-size: 40px;
    top: 38%;
  }

  .footer {
    height: 92vh;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .touch-box {
    flex-direction: column;
    padding-top: 65px;
  }
}

@media (max-width: 650px) {
  .contact-flexbox {
    flex-direction: column;
  }

  .contact-details-flex {
    max-width: 100%;
  }

  .footer {
    background: var(--color-dark);
    height: 130vh;
    width: 100%;
  }

  .footer-left {
    width: 100%;
    flex-direction: column;
  }

  .footer-left-box:first-child {
    width: 100%;
    margin-right: 0px;
  }

  .footer-left-box {
    width: 100%;
  }
}

@media (max-width: 570px) {
  .section-header .container h3 {
    font-size: 35px;
    top: 38%;
  }

  .mission .container {
    flex-direction: column;
  }

  .mission-box {
    width: 100%;
    text-align: center;
  }

  .value-box {
    width: 100%;
  }


  .staff-box {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .info-box h1 {
    font-size: 25px;
    line-height: 1.5;
  }

  .info-box p {
    font-size: 16px;
  }

  .about-txt {
    padding-bottom: 70px;
  }

  .box1 {
    padding: 0 20px;
  }

  .card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px 20px;
  }

  .card .img {
    width: 100%;
  }

  .card .img img {
    width: 100%;
  }

  .card-details {
    width: 100%;
    padding-left: 0;
  }

  .footer {
    height: auto;
  }

  /* product page */

  .section-header .container h3 {
    font-size: 29px;
    top: 38%;
  }

  .touch-box h2 {
    font-size: 35px;
  }
}
