/*======================================
Theme Name: NAHQ
Theme URI: 
Description: NAHQ site redesign theme developed in Divi
Version: 1.0
Author: Divi Cake
Author URI: 
Template: Divi
======================================*/

:root {
  --white: #ffffff;
  --black: #000000;
  --nahq-white: #ffffff;
  --nahq-grey: #414042;
  --nahq-blue: #009fe8;
  --nahq-light-greyish-blue: #d3e3ed;
  --nahq-light-blue-25: rgba(211, 227, 237, 0.25);
  --nahq-light-blue: #9abddb;
  --nahq-light-grey: #f2f2f2;
  --nahq-yellow: #f9ec00;
  --nahq-dark-grey: #231f20;
  --nahq-sucess: #22af5c;
  --nahq-error: #eb392e;

  --articulat-cf: "articulat-cf", sans-serif;
  --inter: "Inter", Helvetica, Arial, Lucida, sans-serif;
  --anton: "Anton", sans-serif;
}

/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

@font-face {
  font-family: "icomoon";
  src: url("fonts/icomoon.woff") format("woff"),
    url("fonts/icomoon.ttf") format("truetype"),
    url("fonts/icomoon.svg") format("svg"),
    url("fonts/icomoon.eot") format("embedded-opentype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-copyright:before {
  content: "\e909";
}
.icon-arrow-circle-up-right:before {
  content: "\e900";
}
.icon-map-pin:before {
  content: "\e901";
}
.icon-phone:before {
  content: "\e902";
}
.icon-arrow-up-right:before {
  content: "\e903";
}
.icon-triangle-alert:before {
  content: "\e904";
}
.icon-facebook:before {
  content: "\e905";
}
.icon-instagram:before {
  content: "\e906";
}
.icon-linkedin:before {
  content: "\e907";
}
.icon-youtube:before {
  content: "\e908";
}

hr {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border: none;
  border-bottom: 1px solid rgba(65, 64, 66, 0.3);
}

/* Typography Styles */
body {
  font-family: var(--articulat-cf);
  line-height: 1.5;
  font-weight: 400;

  .et_pb_module,
  .et_pb_module.et_pb_heading {
    h1,
    .h1,
    h2,
    .h2,
    h3,
    .h3,
    h4,
    .h4,
    h5,
    .h5,
    h6,
    .h6 {
      font-family: var(--articulat-cf);
      margin-bottom: 2rem;
      margin-top: 2rem;
      padding-bottom: 0;

      &:first-of-type {
        margin-top: 0;
      }
    }

    h1,
    .h1 {
      font-size: 6.25rem;
      line-height: 1;
      font-weight: 500;
    }

    h2,
    .h2,
    &.h2 {
      font-size: 4rem;
      line-height: 1.156;
      font-weight: 700;
      * {
        font-size: 1em;
        line-height: 1.156;
        font-weight: 700;
      }
    }

    h3,
    .h3,
    &.h3,
    .sp-cpt-name {
      font-size: 3rem;
      line-height: 1.125;
      font-weight: 700;
      * {
        font-size: 1em;
        line-height: 1.125;
        font-weight: 700;
      }
    }

    h4,
    .h4,
    &.h4 {
      font-size: 2.5rem;
      line-height: 1.35;
      font-weight: 800;
      * {
        font-size: 1em;
        line-height: 1.35;
        font-weight: 800;
      }
    }

    h5,
    .h5 {
      font-size: 2rem;
      line-height: 1.188;
      font-weight: 600;
    }

    h6,
    .h6 {
      font-size: 1.625rem;
      line-height: 1.3;
      font-weight: 700;
    }
  }

  .body-xxl {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 400;
    * {
      font-size: 1em;
      line-height: 1.5;
      font-weight: 400;
    }
  }

  .body-xl,
  .sub-text {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
    * {
      font-size: 1em;
      line-height: 1.3;
      font-weight: 700;
    }
  }

  .body-large {
    font-size: 1.125rem;
    line-height: 1.667;
    font-weight: 400;
    * {
      font-size: 1em;
      line-height: 1.667;
      font-weight: 400;
    }
  }

  .body-regular {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    * {
      font-size: 1em;
      line-height: 1.5;
      font-weight: 400;
    }
  }

  .body-small {
    font-size: 0.875rem;
    line-height: 1.714;
    font-weight: 400;
    * {
      font-size: 1em;
      line-height: 1.714;
      font-weight: 400;
    }
  }
  p {
    padding-bottom: 0;
    margin-bottom: 1rem;
    &:last-of-type {
      margin-bottom: 0;
    }
  }

  ul,
  ol {
    line-height: 1.667;
  }
}
.heading-xl {
  h1 {
    font-size: 6.25rem;
    line-height: 1;
    @media (max-width: 768px) {
      font-size: 3.5rem;
      line-height: 1.1;
    }
  }
}
body {
  font-family: var(--articulat-cf);
  line-height: 1.5;
  font-weight: 400;

  p,
  input,
  textarea,
  select,
  ul,
  ol,
  .et_pb_button,
  label,
  div {
    font-family: var(--articulat-cf);
    line-height: 1.5;
    font-weight: 400;
  }
  .et_pb_module.et_pb_text {
    ul {
      padding-left: 32px;
      @media (max-width: 600px) {
        padding-left: 24px;
      }
    }
  }
}

.heading-font {
  font-family: var(--articulat-cf) !important;
}

@media screen and (max-width: 767px) {
  body {
    .et_pb_module,
    .et_pb_module.et_pb_heading {
      h1,
      .h1,
      h2,
      .h2,
      h3,
      .h3,
      h4,
      .h4,
      h5,
      .h5,
      h6,
      .h6 {
        margin-bottom: 1.5rem;
      }
      h1,
      .h1 {
        font-size: 3.375rem;
        line-height: 1.111;
      }

      h2,
      .h2,
      &.h2 {
        font-size: 2.375rem;
        line-height: 1.263;
        * {
          font-size: 1em;
          line-height: 1.25;
        }
      }

      h3,
      .h3,
      &.h3,
      .sp-cpt-name {
        font-size: 1.75rem;
        line-height: 1.357;
        * {
          font-size: 1em;
          line-height: 1.357;
        }
      }

      h4,
      .h4,
      &.h4 {
        font-size: 1.5rem;
        line-height: 1.583;
        * {
          font-size: 1em;
        }
      }

      h5,
      .h5 {
        font-size: 1.375rem;
        line-height: 1.364;
      }

      h6,
      .h6 {
        font-size: 1.25rem;
        line-height: 1.4;
      }
    }

    .body-xxl {
      font-size: 1.25rem;
      line-height: 1.5;
      * {
        font-size: 1em;
        line-height: 1.5;
      }
    }

    .body-xl,
    .sub-text {
      font-size: 1.125rem;
      line-height: 1.444;
      * {
        font-size: 1em;
        line-height: 1.444;
      }
    }

    .body-large {
      font-size: 1rem;
      line-height: 1.625em;
      * {
        font-size: 1em;
        line-height: 1.625em;
      }
    }

    .body-regular {
      font-size: 1rem;
      line-height: 1.5;
      * {
        font-size: 1em;
        line-height: 1.5;
      }
    }

    .body-small {
      font-size: 0.875rem;
      line-height: 1.083;
      * {
        font-size: 1em;
        line-height: 1.083;
      }
    }
  }
}

sub,
sup {
  font-size: 0.5em;
}

a {
  text-decoration: underline;
  text-underline-offset: 4px;
  &:hover {
    color: var(--nahq-blue);
    text-decoration: underline;
  }
}

/* Global List items Styles */
.et_pb_text ol,
.et_pb_text ul,
.entry-content ul,
.et-l--body ul {
  margin-top: 1rem;
  li {
    margin-bottom: 4px;
    &:last-of-type {
      margin-bottom: 0;
    }
  }
}

.d-flex {
  display: flex;
}
.d-inline-flex {
  display: inline-flex;
}
.align-items-center {
  align-items: center;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-column {
  flex-direction: column;
}
.justify-content-center {
  justify-content: center;
}
@media (min-width: 981px) {
  .d-flex-desktop {
    display: flex;
  }
  .align-items-center-desktop {
    align-items: center;
  }
  .justify-content-center-desktop {
    justify-content: center;
  }
  .justify-content-end {
    justify-content: flex-end;
  }
}
.mt-8 {
  margin-top: 0.5rem;
}
.mt-16 {
  margin-top: 1rem;
}
.mt-24 {
  margin-top: 1.5rem;
}
.mt-32 {
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
  .mt-md-8 {
    margin-top: 0.5rem;
  }
  .mt-md-16 {
    margin-top: 1rem;
  }
  .mt-md-24 {
    margin-top: 1.5rem;
  }
  .mt-md-32 {
    margin-top: 2rem;
  }
}
@media screen and (min-width: 980px) {
  .mt-lg-8 {
    margin-top: 0.5rem;
  }
  .mt-lg-16 {
    margin-top: 1rem;
  }
  .mt-lg-24 {
    margin-top: 1.5rem;
  }
  .mt-lg-32 {
    margin-top: 2rem;
  }
}

.align-center-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.btns-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.gap-80 {
  gap: 40px;
  @media screen and (max-width: 767px) {
    gap: 20px;
  }
}

/* Rounded border for image */
.img-gradient-border {
  .et_pb_image_wrap {
    position: relative;
    padding: 1px;
    border-radius: 1000px;
    overflow: hidden;
    width: 470px;
    height: 470px;
    display: inline-flex;
    @media screen and (max-width: 767px) {
      width: 280px;
      height: 280px;
    }

    & > img {
      object-fit: cover;
      flex: 1;
      border-radius: 1000px;
    }

    &:before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 1000px;
      padding: 20px;
      background: linear-gradient(
          90deg,
          var(--nahq-yellow) 50%,
          var(--nahq-white) 50%
        )
        border-box;
      -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      z-index: 1;
    }
  }
  &.bg-reverse {
    .et_pb_image_wrap {
      &:before {
        background: linear-gradient(
            90deg,
            var(--nahq-white) 50%,
            var(--nahq-yellow) 50%
          )
          border-box;
      }
    }
  }
  &.bg-gold {
    .et_pb_image_wrap {
      &:before {
        background: linear-gradient(0deg, #b58b2e 0, #b58b2e 60%, var(--nahq-grey) 60%, var(--nahq-grey) 100%) border-box;
      }
    }
  }
  &.bg-white {
    .et_pb_image_wrap:before {
      background: var(--nahq-white);
    }
  }
  &.bg-light-yellow {
    .et_pb_image_wrap:before {
      background: #f1b03f;
    }
  }
  &.p-25 {
    .et_pb_image_wrap:before {
      padding: 25px;
    }
  }
  &.p-20 {
    .et_pb_image_wrap {
      padding: 20px;
    }
  }
  &.p-10 {
    .et_pb_image_wrap {
      padding: 10px;
    }
  }
  &.p-30 {
    .et_pb_image_wrap:before {
      padding: 30px;
    }
  }
  &.sm-img {
    .et_pb_image_wrap {
      width: 265px;
      height: 265px;
      @media screen and (max-width: 767px) {
        width: 145px;
        height: 145px;
      }
    }
  }
  &.md-img {
    .et_pb_image_wrap {
      width: 330px;
      height: 330px;
      @media screen and (max-width: 767px) {
        width: 230px;
        height: 230px;
      }
    }
  }
  &.auto-wh {
    .et_pb_image_wrap {
      width: auto;
      height: auto;
    }
  }
}
.img-gradient-border.grey-blue .et_pb_image_wrap:before {
  background: linear-gradient(90deg, var(--nahq-grey) 50%, var(--nahq-blue) 50%)
    border-box;
}
.img-gradient-border.blue-grey .et_pb_image_wrap:before {
  background: linear-gradient(90deg, var(--nahq-blue) 50%, var(--nahq-grey) 50%)
    border-box;
}
/* Column Reverse Mobile Style  */
@media screen and (max-width: 980px) {
  .column-reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
  .before-after-none-mobile {
    &:before {
      content: none !important;
    }
    &:after {
      content: none !important;
    }
  }
}
/* Left & Right f=default gaps */
.et_pb_section {
  padding-left: 24px;
  padding-right: 24px;
}
.et_pb_toggle_open .et_pb_toggle_title:before {
  content: "\4b" !important;
}
.et_pb_toggle_close .et_pb_toggle_title:before {
  content: "\4c" !important;
}

#full-width-row,
.full-width-row {
  margin-right: 0px !important;
}
.full-width-row-left {
  margin-left: 0px !important;
}
@media screen and (min-width: 1620px) {
  .full-width-wrapper {
    padding-left: 0px !important;
  }

  .full-width-wrapper .et_pb_row {
    max-width: 1280px !important;
  }

  #full-width-row,
  .full-width-row {
    margin-right: auto !important;
    max-width: 1320px !important;
    padding-right: 20px;
  }
  .full-width-row-left {
    margin-left: auto !important;
    max-width: 1280px !important;
  }
}

.et_pb_blurb_container .et_pb_module_header {
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .bottom-curv-sm .et_pb_image_wrap::before {
    content: "";
    width: 100%;
    position: absolute;
    top: -4px;
    background: url(/wp-content/uploads/2024/10/bottom-white-circle.png)
      no-repeat;
    z-index: 99;
    height: 100px;
    background-position: bottom;
    background-size: cover;
  }
}
@media (max-width: 400px) {
  .bottom-curv-sm .et_pb_image_wrap::before {
    top: -16px !important;
  }
}

/* Framework Chart styles */
.framewordk-chart {
  &:hover {
    .frame-item {
      opacity: 0.5;
      &:hover {
        opacity: 1;
      }
    }
  }
}

/* CSS for Mac Os */
body.mac-os {
  .testimonial-slider .et-pb-slider-arrows .et-pb-arrow-next {
    margin-top: -31px;
  }
  .bg-grey-text-wrap {
    padding-top: 6px !important;
    padding-right: 8px !important;
    padding-bottom: 5px !important;
    padding-left: 14px !important;
  }
  @media (max-width: 768px) {
    .testimonial-slider .et-pb-slider-arrows .et-pb-arrow-next {
      margin-top: -36px;
    }
  }

  .heading-text {
    padding-top: 2px;
    padding-bottom: 2px !important;
    font-weight: 700;
  }
  .text-heading {
    &.et_pb_text > :last-child {
      padding-bottom: 4px !important;
    }
  }
  .tag {
    padding: 6px 16px;
  }
  .heading-text {
    padding: 4px 11px 4px 11px;
  }
}
.hero-wrap {
  > .et_pb_row {
    @media (min-width: 980px) {
      min-height: 600px;
    }
  }
}

.bg-white-grey-gradient {
  background: linear-gradient(
    to right,
    white 34%,
    var(--nahq-grey) 34%,
    var(--nahq-grey) 66%,
    var(--nahq-grey) 100%
  );
}

/* // Search Result css */
.search-result-wrapper {
  &:before {
    content: "";
    width: 418px;
    height: 64px;
    background: var(--nahq-blue);
    left: 0;
    position: absolute;
    top: 0;
    display: block;
  }
  &:after {
    content: "";
    width: 99px;
    height: 102px;
    background: var(--nahq-blue);
    left: 0;
    position: absolute;
    top: 0;
    display: block;
  }
  @media (max-width: 768px) {
    &::after,
    &::before {
      display: none;
    }
  }
  .facetwp-facet-search_counter {
    /* text-align: left !important; */
  }
  .facetwp-type-pager {
    text-align: center;
    .facetwp-page {
      padding: 4px 10px 2px;
      cursor: pointer;
      border: 1px solid #41404233;
      text-decoration: none;
      font-weight: 600;
      &.active {
        color: #ffffff;
        background: var(--nahq-blue);
      }
    }
  }
}

.filter-sidebar-wrapper {
  .et_pb_text_inner {
    h5 {
      font-size: 26px !important;
      @media (max-width: 768px) {
        font-size: 20px !important;
      }
    }
    h6 {
      font-size: 20px !important;
      margin-bottom: 0px !important;
      @media (max-width: 768px) {
        font-size: 18px !important;
      }
    }
  }
  .filter-by-wrap {
    margin-bottom: 32px !important;
    .et_pb_text_inner {
      display: flex;
      justify-content: space-between;
    }
  }
  .et_pb_code {
    border-bottom: 1px solid #4140424d;
    &:last-child {
      border-bottom: none !important;
    }
  }
  .et_pb_module.et_pb_text {
    margin-bottom: 20px !important;
  }
  .facetwp-checkbox {
    background: url("/wp-content/uploads/2024/10/checkbox-bg.png") 0 50%
      no-repeat;
    background-size: 23px 23px;
    margin-bottom: 16px;
    padding-left: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    &.checked {
      background: url("/wp-content/uploads/2024/10/checked-bg.png") 0 50%
        no-repeat;
      background-size: 23px 23px;
    }
    .facetwp-display-value,
    .facetwp-counter {
      padding-top: 5px;
    }
  }
  .facetwp-facet {
    text-transform: lowercase;
    @media (max-width: 768px) {
      margin-bottom: 24px;
    }
  }
}
.search-result-content-wrap {
  .facetwp-input-wrap {
    max-width: 460px;
    display: block;
    border-bottom: 1px solid var(--nahq-dark-grey);
    input {
      width: 100%;
      border: none;
      padding-left: 36px;
      padding-bottom: 10px;
      font-size: 16px;
      color: var(--nahq-grey);
    }
    .facetwp-icon {
      left: 0 !important;
      right: 100%;
      &:before {
        display: inline-block;
        content: "";
        width: 30px;
        height: 100%;
        background: url("/wp-content/uploads/2024/10/search.png") no-repeat;
        background-position: 5px 20%;
        background-size: 20px 20px;
      }
      &.f-loading {
        &:before {
          background: url("/wp-content/uploads/2024/10/loading.png") no-repeat;
          background-position: 5px 50%;
          background-size: 20px 20px;
        }
      }
    }
  }
  .search-input-wrap {
    .facetwp-facet {
      margin-bottom: 0px;
      flex: 1;
    }
    .et_pb_code_inner {
      display: flex;
      justify-content: space-between;
      .sort-by {
        display: inline-flex;
        gap: 32px;
        align-items: center;
        font-weight: 600;
        @media (max-width: 768px) {
          display: none;
          &.show {
            display: block;
          }
        }
        select {
          border: 1px solid !important;
          padding: 8px 64px 5px 16px !important;
          border-radius: 100px;
          font-size: 16px;
          line-height: 26px;
          color: var(--nahq-dark-grey);
          font-weight: 600;
          appearance: none;
          -webkit-appearance: none;
          -moz-appearance: none;
          background-image: url(/wp-content/uploads/2024/10/chevron-up.png) !important;
          background-repeat: no-repeat;
          background-position: right 16px top 7px;
          background-size: 24px;
        }
      }
    }
  }
}
.btn-filter,
.btn-sort-by,
.btn-more-details {
  text-decoration: none !important;
  &:hover {
    background-color: transparent !important;
  }
}
.btn-filter {
  background: url("/wp-content/uploads/2024/10/filter-dot-bg.png") no-repeat;
  background-position: right 0px top;
}
.btn-sort-by {
  background: url("/wp-content/uploads/2024/10/btn-line-bg.png") no-repeat;
  background-position: left;
  background-size: 1px 28px;
}
.btn-close {
  display: none;
}
.btn-more-details::after {
  font-size: 32px !important;
  font-weight: 600 !important;
  margin-top: -2px;
}
.rotate-icon::after {
  transform: rotate(180deg);
}
@media (max-width: 767px) {
  .search-result-wrapper {
    position: static;
  }
  .filter-sort-btn-wrap {
    .et_pb_row {
      .et_pb_column {
        display: flex;
        justify-content: space-around;
      }
    }
  }
  .filter-sidebar-wrapper,
  .shop-details-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    &.show {
      display: block;
      background: #ffffff;
      overflow: auto;
      max-height: 100vh;
      z-index: 99;
    }
    .btn-close {
      display: block;
      width: 24px;
      height: 24px;
      margin-bottom: 16px;
      margin-left: auto;
    }
  }
  .shop-details-sidebar {
    &.show {
      padding: 52px 0px 72px 0px;
    }
    .member-contact-meta {
      background: #f2f2f2;
      padding: 24px;
    }
    .close-btn-wrap {
      display: flex;
      justify-content: space-between;
      margin-bottom: -22px;
      p {
        font-size: 20px;
        font-weight: 600;
        line-height: 1.4;
      }
    }
  }
  .filter-sidebar-wrapper {
    &.show {
      padding: 52px 24px 72px 24px;
    }
  }
  .no-scroll {
    overflow: hidden;
  }
  .sort-content-wrap {
    display: none;
    .sort-list {
      li {
        list-style-type: none;
        border-bottom: 1px solid;
        padding: 8px;
      }
    }
  }
}
/* // Search Result Page CSS End */

.nahq-hero-level-3 {
  display: flex;
  align-items: center;
}
.et_pb_blurb {
  .et_pb_blurb_container {
    .et_pb_module_header {
      margin-bottom: 16px;
    }
  }
}

.skip {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  &:focus {
    position: static;
    width: auto;
    height: auto;
  }
}

.main-header-wrap {
  transition: all 0.4s ease-in-out;
  /* &.nav-down {
    position: fixed;
    top: 0;
    width: 100%;
    transition: all 0.4s ease-in-out;
  }
  &.nav-up {
    position: absolute;
    top: -200px;
    transition: all 0.4s ease-in-out;
  } */
}

.text-grey {
  color: var(--nahq-grey);
}
.text-dark-grey {
  color: var(--nahq-dark-grey);
}
#main-content {
  margin-top: 161px;
  @media screen and (max-width: 980px) {
    margin-top: 0 !important;
  }
}

sup,
sub {
  font-size: 0.6em !important;
}

@media (max-width: 768px) {
  .et-l--header {
    &.popup-moredetail-open {
      z-index: 0;
      position: relative;
    }
  }
}
/* :focus {
  outline: solid 2px #000;
  outline-offset: 4px;
  border-radius: 4px;
} */
