/* media queries */

@media screen and (max-width: 1010px) {
	.container {
		width: 100%;
		padding: 20px;
	}
}

@media screen and (max-width: 780px) {
   .core-advantage-container {
      grid-template-columns: 1fr;
   }
   .core-advantage-card-body {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition:
         max-height 0.3s ease,
         opacity 0.15s ease;
   }
   .core-advantage-card:hover .core-advantage-card-body {
      max-height: 500px;
      opacity: 1;
   }
   .hamburger-menu {
      display: block;
      position: relative;
      z-index: 100;
   }

   .navlist {
      position: fixed;
      inset: 0;
      height: 100vh;
      width: 100%;
      background: #0a0912;
      overflow-y: auto;
      transform: translateY(-100%);
      will-change: transform;
      pointer-events: none;
      z-index: 9999;
   }

   .navlist.active {
      transform: translateY(0);
      pointer-events: auto;
   }

   .navlist > * {
      opacity: 0;
      transition: opacity .2s ease .12s;
   }
   .navlist.active > * {
      opacity: 1;
   }

   .navlist ul {
      height: 100%;
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 20px;
      background-color: #0a0912;
      border-radius: 0;
      text-align: center;
      align-items: center;
      margin-top: 10%;
   }

   .navlist.active ul li a {
      color: #fff;
      font-size: 15px;
   }

   .navlist-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 20px;
   }

   .navlist-logo img {
      width: 60px;
   }

   .navlist-logo img:last-child {
      width: 160px;
      margin-top: 10px;
   }

   .header {
      background-position: center;
      background-size: cover;
   }

   .header-content-body {
      grid-template-columns: 1fr;
      text-align: center;
      height: 100%;
   }

   .header-body-container {
      height: 100%;
      padding: 150px 0 50px 0;
      text-align: center;
   }

   .header-main-text {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 20px;
   }

   .header-text-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      height: 100%;
   }

   .header-main-text h1 {
      font-size: 3em;
      line-height: 3rem;
      width: 80%;
   }

   .header-main-text p {
      display: flex;
      margin: auto;
      font-weight: 600;
      font-size: 14px;
   }
}

@media screen and (max-width: 900px) {
   .how-we-work-card-container {
      display: grid;
      grid-template-columns: 1fr;
      justify-items: center;
      align-items: center;
      margin: 0 auto;
      margin-top: 20px;
   }

   .how-we-work-card {
      width: 100%;
      max-width: 250px;
      aspect-ratio: 11 / 15;
   }
}


@media screen and (max-width: 600px) {
   .about-us-content {
      grid-template-columns: 1fr;
   }
   .about-us-content-details {
      padding: 20px;
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
      gap: 10px;
   }
   .about-us-content-details p {
      font-size: 13px;
   }
}

@media screen and (max-width: 420px) {
   .how-we-work-card {
      max-width: 100%;
   }
   .nav {
      padding: 0;
   }
   .privacy-policy-container .nav {
      padding: 10px 0;
   }
   .navlist-policy-privacy .navlist-logo img:last-child {
      height: 23px;
   }
   .navlist-policy-privacy .navlist-logo img:first-child {
      width: 35px;
   }
   .navlist-policy-privacy .navlist-logo {
      gap: 5px;
   }
}

@media screen and (max-width: 450px) {
   .header-main-text h1 {
      font-size: 2.4rem;
      line-height: 2.4rem;
      width: 100%;
      text-align: center;
   }

   .core-values-header-title p {
      width: 100%;
   }

   .header-text-container button {
      padding: 13px 35px;
   }

   .header-content {
      padding: 0;
   }

   .nav {
      padding: 15px 10px;
   }

   .header-main-text {
      padding: 10px;
   }

   .header {
      background-image: url(../images/header_mobile_bg.jpeg);
   }

   .core-values-card-container {
      grid-template-columns: 1fr;
   }

   .core-values-card-content {
      flex-direction: column;
      align-items: start;
   }
   .privacy-policy-container .header-content {
      padding: 0 20px 20px 20px;
   }

   body.privacy-policy-page {
      background-attachment: scroll;
   }

   .privacy-policy-container {
      min-height: auto;
   }
   .privacy-policy-content-body {
      padding: 20px;
   }
   .privacy-policy-content h1 {
      font-size: 30px !important;
   }
}

@media screen and (max-width: 800px) {
   .contact-us-content-inner {
      grid-template-columns: 1fr;
   }
   .contact-us-image {
      order: 1;
   }
   .contact-us-form {
      order: 2;
      padding: 20px;
   }
   .contact-us-container {
      padding: 0;
   }
   .contact-us-title h3 {
      font-size: 18px;
   }
   .contact-us-title p {
      font-weight: 300;
   }
   .contact-us-form-container {
      padding-bottom: 10px;
   }
   .submit {
      width: 100%;
   }
   .contact-us-content.container {
      padding: 0;
   }
   .contact-grid {
      display: flex;
      flex-direction: column;
      grid-template-columns: 1fr;
   }
   .contact-grid-input {
      width: 100%;
   }
   .textarea {
      min-height: 150px;
   }
   .underlay {
      display: none;
   }
   .note-2 {
      display: block;
      font-size: 11px;
   }
   .note {
      display: none;
   }
   .footer-container {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-areas:
        "contact"
        "links";
      padding: 0px 20px 20px 20px;
      margin-top: 0;
      gap: 20px;
    }

    .contact-details {
      grid-area: contact;
    }
    .footer-links {
      grid-area: links;
      justify-self: start;
    }
    .contact-details-title {
      gap: 10px;
    }
    .contact-details-title h5 {
      font-size: 16px;
    }
    .contact-details-title span {
      font-weight: 500;
    }
    .contact-details-address {
      display: none;
    }
    .footer-title-logo img {
      height: 25px;
      margin-top: 20px;
    }
    .footer-privacy-policy {
      flex-direction: column;
      text-align: center;
    }
    .footer-privacy-policy-container {
      padding: 20px 0;
      margin-top: 0px;
    }
    .footer-title {
      gap: 10px;
    }
    .copyright {
      width: 100%;
    }
    .contact-details-address-mobile {
      display: block;
    }
    .contact-details-address-mobile p {
      color: #fff;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: .3px;
      line-height: 12px;
      font-family: 'Montserrat', sans-serif !important;
    }
}

@media screen and (max-width: 650px) {
   .our-services-card-container {
      grid-template-columns: 1fr;
   }
}

