/*
Theme Name: DevQ Starter
Author: Josh Yager
Author URI: https://thedevq.com/
Description: Custom Theme build by The Dev Q
Version: 1.0.0
*/

nav#menu:not(.mm-menu) {
  display: none;
}

.container-fluid {
  max-width: 2400px;
  margin: auto;
}

/* @media (min-width:1600px) {
  .container {
    max-width: 1550px;
  }
} */

body, p, ul, li {
  font-family: var(--font2);
  font-weight: 400;
  color: #333131;
}


html, body {
  overflow-x: hidden !important;
  position: relative;
}

.maincopy ul li {
  list-style: none;
  position: relative;
  margin-bottom: 15px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font1);
  color: #333131;
  font-weight: 600;
}

img {
  max-width: 100%;
}

.btn {
  text-decoration: none;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 300px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  transition: all .3s ease-in-out;
}

.btn i {
  margin-right: 8px;
  font-size: 14px;
}

.btn.btn-secondary {
  background: var(--secondary);
}

.btn.btn-tertiary {
  background: var(--tertiary);
}

.btn.btn-white {
  background: white;
  color: var(--primary);
}

.btn.white:hover {
  background: var(--primary);
  color: white;
}

.btn:hover {
  background: var(--secondary);
  color: white;
}

.btn.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

::selection {
  background: var(--tertiary);
  color: var(--secondary);
}

::-webkit-scrollbar-track {
  background-color: #f5f5f5;
  -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: var(--tertiary);
}

::-webkit-scrollbar {
  width: 10px;
}

.mobileonly {
  display: none;
}

html {
  scroll-behavior: smooth;
}

/* Basic Html */
body {
  margin: 0px;
  background: #fff;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin-bottom: 10px;
}

/* Header Styles & Main Logo */
.mainLogo {
  padding: 0;
  display: block;
  width: 200px;
  height: auto;
  margin: 0;
  position: relative;
}

.menutop ul {
  display: flex;
  list-style: none;
}

/* Drop Down Menu */
.dropdown-menu {
  display: none;
  transform-origin: center top 0;
  transition: all .1s ease 0s;
  min-width: 200px;
  left: -10px;
  overflow: hidden;
}

.menu-depth-1 {
  position: relative;
}

/* Hamburger Styles */
.mburger strong {
  display: block;
  position: absolute;
  left: calc(var(--mb-button-size)*((1 - var(--mb-bar-width))/2));
  width: calc(var(--mb-button-size)*var(--mb-bar-width));
  height: var(--mb-bar-height);
  border-radius: calc(var(--mb-bar-height)/2);
  background: black;
  color: inherit;
  opacity: 1;
}

.mburger strong {
  border-radius: 0px;
}

.mburger {
  color: #fff;
}

.mburger:hover, .mburger:focus, .mburger:active {
  color: #fff;
}

.mburger strong:nth-of-type(1) {
  bottom: calc(45% + var(--mb-bar-spacing));
}

.mburger strong:nth-of-type(3) {
  top: calc(45% + var(--mb-bar-spacing));
}

.mburger span {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.mm-menu {
  --mm-color-background: #fff;
}

.mm-listitem__text, .mm-navbar__title>span {
  font-weight: 600;
  color: var(--primary);
}

.mm-wrapper {
  overflow: hidden;
}

/* Menu Tablet */
@media screen and (max-width:1199px) {
  .mobileonly {
    display: inherit;
  }

  .mainLogo {
    margin: 0px auto;
    width: 200px;
    height: auto;
  }
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* forms */
.devqform {
  width: 100%;
  padding-bottom: 40px;
  max-width: 1200px;
  margin: auto;
}

.devqform input, .devqform textarea, .devqform select {
  padding: 10px;
  display: inline-block;
  border-radius: 0;
  font-size: 18px;
  font-family: var(--font1);
  background: #ecebec;
  border: 1px solid #b3b3b3;
  border-radius: 0;
  margin-bottom: 1rem !important;
}

.devqform select {
  text-transform: uppercase;
}

.devqform input::placeholder, .devqform textarea::placeholder, .devqform select::placeholder {
  font-weight: 300;
  color: #a9a9a9;
  font-family: var(--font2);
  font-size: 16px;
}

.devqform .gform_footer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.devqform .button {
  background: var(--primary);
  color: white;
  margin: 0;
  cursor: pointer;
  transition: all .5s;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  width: 300px;
  max-width: 100%;
  margin-right: 10px;
}

.devqform .button:hover {
  background: var(--tertiary);
  color: initial;
}

.devqform textarea {
  height: 110px !important;
}

.devqform .gform_fields {
  grid-row-gap: 4px !important;
}


.col25 {
  width: 25%;
  padding: 5px 10px !important;
  display: inline-block;
  clear: both;
}

.col33 {
  width: 33.33%;
  padding: 5px 10px !important;
  display: inline-block;
  clear: both;
}

.col50 {
  width: 50%;
  padding: 5px 10px !important;
  display: inline-block;
  clear: both;
}

.col100 {
  width: 100%;
  padding: 5px 10px !important;
  display: inline-block;
  clear: both;
}

.boxFormFlex .gfield_checkbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.boxFormFlex .gchoice {
  width: 33%;
  height: 50px;
  display: flex;
  align-items: center;
}

.boxFormFlex input {
  margin: 0 10px 0 0 !important;
}

.boxFormFlex {
  margin: 30px 0 !important;
}

.devqform h2 {
  margin-bottom: 30px;
}

.devqform .gform_button_select_files {
  padding: 15px;
  font-family: var(--font1);
  font-size: 18px;
  border: 0;
}

@media (max-width:991px) {
  .boxFormFlex .gchoice {
    width: 50%;
  }

  .col50, .col25, .col33, .col100 {
    width: 100%;
    padding: 5px 0 !important;
  }
}

.devq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 15px 0;
}

.menutop ul li a {
  text-decoration: none;
  margin-left: 30px;
  font-weight: 500;
  color: initial;
  font-size: 18px;
  transition: all .1s ease-in-out;
  display: flex;
  align-items: center;
}

.menutop ul li a:hover {
  color: var(--secondary);
}

.footerfluid2 {
  padding: 15px 0;
  background: var(--primary);
}

.footerfluid2 p {
  color: white;
  margin: 0;
  padding: 10px 0;
  font-size: 16px;
}

.mobileOnly {
  display: none;
}

.flextophead {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

img.mobilelogo {
  width: 230px;
  margin: 0 15px;
}

.mobilemen {
  margin: -10px 10px 0 0;
}

img.mobileLogo {
  padding: 30px;
}

#buttonTop {
  display: inline-block;
  background-color: var(--primary);
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  border: 2px solid white;
}

#buttonTop::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 50px;
  color: #fff;
}

#buttonTop:hover {
  cursor: pointer;
  background-color: #333;
}

#buttonTop:active {
  background-color: #555;
}

#buttonTop.show {
  opacity: 1;
  visibility: visible;
}

ul.dropdown-menu {
  display: none;
}

a.dropdown-toggle i {
  padding-left: 5px;
  font-size: 14px;
}

.dropdown:hover ul.dropdown-menu {
  display: block;
  position: absolute;
  color: white;
  /* padding-top: 10px; */
  z-index: 3;
}

.menu-item-has-children {
  position: relative;
}

.dropdown-menu a {
  margin: 0 !important;
}

.dropdown-menu li a {
  background: var(--primary);
  padding: 10px 15px;
  color: white !important;
  display: block;
  border-bottom: 1px solid white;
  transition: all .1s ease-in-out;
}

.dropdown-menu li:last-child a {
  border-bottom: 0;
}

.dropdown-menu li a:hover {
  background: var(--secondary);
  color: white !important;
}

.mobilemen {
  display: none;
}

.footerfluid2 {
  padding: 80px 0 50px;
  background: var(--primary);
}

.flexfooter2 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}

.leftfoot {
  width: calc(50% - 30px);
}

.leftfoot .logo img {
  width: 250px;
  max-width: 100%;
}


.copyright1 {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.copyright1 p,
.copyright1 a {
  color: white;
  text-decoration: none;
  margin: 0;
  font-size: 18px;
}

.copyright1 a {
  margin-left: 20px;

}

.address a.contact {
  font-weight: 700;
  margin-top: 20px;
  display: block;
}

.newsletter {
  width: calc(50% - 30px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.newsletter h3 {
  color: white;
  font-weight: 400;
  margin: 0;
  font-size: 30px;
}

.newsletter label {
  display: none !important;
}

.innernews {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

.newsletter .gform_fields {
  display: flex !important;
}

.newsletter .ginput_container input {
  width: 370px !important;
  max-width: 100% !important;
  min-width: initial;
  border-radius: 30px;
  border: 0;
  background: var(--secondary);
  color: white;
  height: 50px;
  padding: 0 0 0 30px !important;
}

.newsletter .ginput_container input::placeholder {
  color: white;
}

.newsletter .gform_wrapper.gravity-theme #field_submit input {
  border: 4px solid var(--secondary) !important;
  background: 0;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  padding: 0 20px;
  height: 50px;
  margin-left: 10px;
  color: white;
  cursor: pointer;
  transition: all .3s ease-in-out;
}

.newsletter .gform_wrapper.gravity-theme #field_submit input:hover {
  background: var(--tertiary);
  color: var(--primary);
  border: 4px solid var(--secondary) !important;
}

.gform_footer.before {
  display: none !important;
}

.newsletter .social {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.newsletter .social a {
  color: var(--primary);
  font-size: 18px;
  margin-left: 20px;
  background-color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .3s ease-in-out;
}

.newsletter .social a:hover {
  background-color: var(--tertiary);
  color: white;
}

@media (max-width:1199px) {

  .flexfooter2 {
    flex-direction: column;
  }

  .logo {
    text-align: center;
  }

  .leftfoot {
    width: 100%;
  }

  .copyright1 {
    text-align: center;
    flex-direction: column;
  }

  .address a.contact {
    text-align: center;
  }

  .copyright1 a {
    margin-left: 0;
  }

  .address p {
    text-align: center;
  }

  .newsletter h3 {
    text-align: center;
    font-size: 22px;
  }

  .newsletter {
    width: 100%;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
  }

  .newsletter .innernews {
    align-items: center;
  }

  .newsletter .ginput_container input {
    width: 210px !important;
  }

  .newsletter .gform_wrapper.gravity-theme #field_submit input {
    font-size: 12px;
    padding: 0 10px;
    margin-left: 5px;
  }

  .newsletter .social {
    justify-content: center;
  }

  .newsletter .social a {
    margin: 0 10px;
  }

  .desktopOnly {
    display: none;
  }

  .mobileOnly {
    display: initial;
  }

  .footerfluidcolor {
    padding: 70px 0 40px;
  }

  .footerfluid2 p {
    text-align: center;
  }

  .mobilemen {
    display: inherit;
  }

}


.rightcontactmodal .gform_wrapper.gravity-theme .gfield_label {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0;
  color: var(--primary);
}

.rightcontactmodal input,
.rightcontactmodal textarea,
.rightcontactmodal select {
  padding: 8px 15px 8px 0 !important;
  display: inline-block;
  border-radius: 0;
  font-size: 16px !important;
  font-family: var(--font1);
  border: none;
  border-bottom: 1px solid #a9a9a9;
  margin-bottom: 1rem !important;
  font-weight: 500;
  background: transparent;
  text-transform: none;
}

p.gform_required_legend {
  display: none;
}

.rightcontactmodal form {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  margin-left: auto;
}

span.gfield_required.gfield_required_custom {
  display: none !important;
}

.rightcontactmodal .gform_footer.top_label {
  width: 100%;
}

.rightcontactmodal input#gform_submit_button_2 {
  margin-bottom: 0 !important;
  width: 100%;
  border: none;
  color: white;
  background: var(--primary);
  border-radius: 30px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all .3s ease-in-out;
}

.rightcontactmodal input#gform_submit_button_2:hover {
  background: var(--secondary);
}

.rightcontactmodal .ginput_container_textarea textarea {
  height: 100px !important;
}

.rightcontactmodal .gform_footer.top_label {
  padding-bottom: 0 !important;
}

.numbermodal1 a {
  font-size: 18px !important;
  margin-top: 40px !important;
  font-weight: 700 !important;
  color: var(--secondary) !important;
}

/* -------------------------- */
/* CLASSES TO MAKE MODAL WORK */
.hidden {
  display: none;
}

button.close-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 150px;
  width: 150px;
  background: white;
  color: var(--primary);
  font-size: 30px;
  cursor: pointer;
  border: 2px solid var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-size: 150px;
  font-weight: 300 !important;
  margin: 0;
  padding: 0px 0 10px 0px;
  transition: all .7s ease-in-out;
}



button.close-modal:after {
  content: "X";
  font-family: 'Font Awesome 6 Pro';
  font-weight: 300 !important;
  font-size: 80px;
  position: absolute;
  left: 50%;
  top: calc(50% + 0px);
  transform: translate(-50%, -50%);
  margin: 0;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: white;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 5;
}

ul#menu-desktop {
  list-style: none;
  padding: 0;
  margin: 0;
  width: fit-content;
  margin: auto;
}

ul#menu-desktop li a {
  text-decoration: none;
  color: var(--primary);
  margin: 10px 0;
  display: block;
  font-weight: 500;
}

ul#menu-desktop li a:hover {
  color: var(--primary);
}

ul#menu-desktop li a i {
  display: none;
}

.dropdown-menu {
  list-style: none;
  padding-left: 30px;
}

.fullmodalflex {
  display: flex;
  justify-content: space-between;
  width: 1000px;
  max-width: 100%;
  align-items: center;
}

.modal:after {
  content: "";
  width: 2px;
  height: 100%;
  position: absolute;
  background: var(--primary);
  z-index: -1;
}

.modal:before {
  content: "";
  width: 25px;
  position: absolute;
  height: 100%;
  background: var(--primary);
  left: 0;
}

.modal h4 {
  font-family: var(--font2);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 30px;
  letter-spacing: 3px;
}

ul#menu-desktop li a {
  text-decoration: none;
  color: var(--primary);
  margin: 5px 0;
  display: block;
  font-weight: 500;
  font-family: var(--font1);
  font-size: 42px;
  line-height: 1.4;
}

.fademodalimg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50vw;
  height: 50vh;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.fademodalimg:after {
  content: "";
  position: absolute;
  top: 0px;
  width: 100%;
  height: 200px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.rightcontactmodal a {
  text-decoration: none;
  color: var(--primary);
  margin: 5px 0;
  display: block;
  font-weight: 500;
  font-family: var(--font1);
  font-size: 42px;
  line-height: 1.4;
  text-decoration: none;
}

.rightcontactmodal a:hover {
  color: var(--primary);
}

.current_page_item a {
  color: var(--primary) !important;
}

.current-menu-item a {
  color: var(--primary) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 5px;
}

.mobilemodal {
  display: none;
}

ul#menu-desktop li a:hover {
  color: var(--tertiary);
}

@media (max-width:1199px) {
  .locees {
    flex-wrap: wrap;
  }

  .mobilemodal {
    display: block;
  }

  .sepn {
    margin: 30px 0;
    width: 100%;
  }

  p.ccpprr {
    margin: 20px 0 0px;
  }

  .innub {
    margin-top: 0px;
  }

  .rightcontactmodal {
    display: none;
  }

  .modal:after {
    display: none;
  }

  .fullmodalflex {
    justify-content: center;
  }


  button.close-modal {
    top: 50px;
    left: 50px;
    transform: none;
    width: 100px;
    height: 100px;

  }

  button.close-modal:after {
    font-size: 30px;
  }
}

@media (max-width:600px) {
  ul#menu-desktop li a {
    font-size: 30px;
  }
}

@media (max-width:767px) {
  .fullmodalflex {
    margin-left: 80px;
    justify-content: flex-start;
    margin-bottom: -50px;
  }

  button.close-modal {
    left: 60px;
  }

  button.close-modal {
    width: 60px;
    height: 60px;
    top: 80px;
    top: 0;
    position: relative;
    margin: 0 0 15px 10px;
  }

  .modal {
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
}
/* ── Related Resources (service pages) ────────────────────── */
.wp-block-group.related-resources {
  background: var(--primary, #03121d);
  border-radius: 12px;
  padding: 36px 40px 40px;
  margin: 0 auto;
  max-width: 960px;
}

.wp-block-group.related-resources h3 {
  font-family: var(--font1, 'Roboto', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 194, 171, .15);
}

.wp-block-group.related-resources ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wp-block-group.related-resources ul li {
  margin: 0;
  padding: 0;
}

.wp-block-group.related-resources ul li::before {
  display: none;
}

.wp-block-group.related-resources ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(0, 194, 171, .06);
  border: 1px solid rgba(0, 194, 171, .1);
  border-radius: 8px;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: all .2s ease;
}

.wp-block-group.related-resources ul li a::before {
  content: '\2192';
  color: var(--secondary, #00c2ab);
  flex-shrink: 0;
  font-size: 16px;
}

.wp-block-group.related-resources ul li a:hover {
  background: rgba(0, 194, 171, .12);
  border-color: rgba(0, 194, 171, .3);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .wp-block-group.related-resources {
    padding: 28px 24px 32px;
  }
  .wp-block-group.related-resources ul {
    grid-template-columns: 1fr;
  }
}
