/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0.0
*/

@import url("../generatepress/style.css");


/* === Gravity Form #8: Click Boxes Styling (Scoped) === */
#gform_wrapper_8 .click-boxes .gfield_checkbox,
#gform_wrapper_8 .click-boxes .gfield_radio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0px;
  margin: 0;
}

#gform_wrapper_8 .click-boxes .gchoice {
  flex: 1 1 calc(25% - 12px);
  max-width: calc(25% - 12px);
  position: relative;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px;
}

#gform_wrapper_8 .click-boxes .gchoice:hover {
  
}

#gform_wrapper_8 .click-boxes input[type="checkbox"],
#gform_wrapper_8 .click-boxes input[type="radio"] {
  display: none;
}

#gform_wrapper_8 .click-boxes label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

#gform_wrapper_8 .click-boxes label img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}

#gform_wrapper_8 #input_8_7_3_container {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

#gform_wrapper_8 #input_8_7_3 {
  width: 100% !important;
}

/* Hover effect */
#gform_wrapper_8 .click-boxes .gchoice:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  transition: background-color 0.2s, transform 0.2s;
}

/* Selected state */
#gform_wrapper_8 .click-boxes .gchoice.selected {
  border: 2px solid #233479;
  background-color: rgba(255, 255, 255, 0.25);
}

#gform_wrapper_8 .click-boxes label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 14px;
}

#gform_wrapper_8 .click-boxes label img {
  margin: 0 auto 8px auto;
  display: block;
}

#gform_wrapper_8 {
  max-width: 1000px !important;
  margin: 0 auto;
  padding: 0px 20px;
}


#gform_8 .gform_page_footer input.gform_next_button {
  display: none !important;
}


/* === Responsive for Mobile === */
@media screen and (max-width: 767px) {
  #gform_wrapper_8 .click-boxes .gchoice {
    flex: 1 1 calc(48% - 12px);
    max-width: calc(48% - 12px);
  }

  #gform_wrapper_8 .click-boxes label img {
    width: 40px;
    height: 40px;
  }

  #gform_wrapper_8 .click-boxes label {
    padding: 10px;
  }
}

@media screen and (max-width: 768px) {
  .gform_wrapper .gform_footer input[type="submit"],
  .gform_wrapper .gform_page_footer input[type="button"],
  .gform_wrapper .gform_page_footer input[type="submit"] {
    font-size: 14px !important;
    padding: 8px 12px !important;
    width: auto !important;
    display: inline-block !important;
    margin: 5px !important;
  }

  .gform_wrapper .gform_page_footer {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

.translucent-highlight {
  background-color: rgba(35, 53, 120, 0.85);
  color: #ffffff;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}


body .gform_wrapper .ginput_container input[type="tel"],
body .gform_wrapper .ginput_container input[type="email"] {
  width: 100% !important;
}

@media screen and (max-width: 767px) {
  #gform_wrapper_9 .click-boxes .gchoice {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  #gform_wrapper_9 .click-boxes label img {
    width: 40px;
    height: 40px;
  }

  #gform_wrapper_9 .click-boxes label {
    padding: 10px;
  }
}

#gform_wrapper_9 .gform_page .gform_next_button {
  position: relative !important;
  opacity: 1 !important;
  width: auto;
  height: auto;
  overflow: visible;
  display: inline-block;
  margin-top: 20px;
}

#gform_wrapper_9 .gchoice.selected {
  border: 2px solid #233578;
  background-color: rgba(35, 53, 120, 0.2);
}

@media screen and (max-width: 767px) {
  #gform_wrapper_9 .click-boxes .gchoice {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  #gform_wrapper_9 .click-boxes label img {
    width: 40px;
    height: 40px;
  }

  #gform_wrapper_9 .click-boxes label {
    padding: 10px;
  }
}

#gform_wrapper_9 .click-boxes .gfield_checkbox,
#gform_wrapper_9 .click-boxes .gfield_radio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0;
  margin: 0;
}

#gform_wrapper_9 .click-boxes .gchoice {
  position: relative;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#gform_wrapper_9 .click-boxes .gchoice:hover {
  
}

#gform_wrapper_9 .click-boxes input[type="checkbox"],
#gform_wrapper_9 .click-boxes input[type="radio"] {
  display: none;
}

#gform_wrapper_9 .click-boxes label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

#gform_wrapper_9 .click-boxes label img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}

@media screen and (min-width: 1024px) {
  #gform_wrapper_8 {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    padding: 0 20px;
  }

  #gform_wrapper_8 .gform_page_footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 24px 0;
  }
}


@media screen and (max-width: 767px) {
  #gform_wrapper_9 .gform_page_footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 0;
  }
}

#gform_wrapper_8 input[type="button"],
#gform_wrapper_8 input[type="submit"],
#gform_wrapper_8 button,
#gform_wrapper_9 input[type="button"],
#gform_wrapper_9 input[type="submit"],
#gform_wrapper_9 button {
  background-color: #233578 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  padding: 14px 24px !important;
  text-align: center !important;
  
  display: inline-block;
  min-width: 140px;
  max-width: 220px;
}

#gform_wrapper_8 input[type="submit"],
#gform_wrapper_8 .gform_footer input[type="submit"] {
  width: 100% !important;
  max-width: none !important;
  display: block;
  margin: 20px auto;
}


/*
#gform_wrapper_8 input[type="button"]:hover,
#gform_wrapper_8 input[type="submit"]:hover,
#gform_wrapper_8 button:hover,
#gform_wrapper_9 input[type="button"]:hover,
#gform_wrapper_9 input[type="submit"]:hover,
#gform_wrapper_9 button:hover {
  opacity: 0.9;
}
*/
.gchoice label {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}


.click-boxes-hearabout {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
}

.gb-loop-item-b2b85117 {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#gform_wrapper_8 .gfield_label {
  color: #ffffff !important;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#gform_wrapper_8 .gform-field-label--type-sub {
  color: #ffffff !important;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

#gform_wrapper_9 .ginput_container_consent {
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #fff;
}

#gform_wrapper_9 .ginput_container_consent input[type="checkbox"] {
  margin-top: 0.3rem;
  flex-shrink: 0;
}

#gform_wrapper_9 .ginput_container_consent .gfield_consent_label {
  margin: 0;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

#gform_wrapper_9 .ginput_container_consent .gfield_consent_label {
  background: none !important;
}


@media screen and (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}

/* Hide on desktop */
@media (min-width: 769px) {
  .hide-on-desktop {
    display: none !important;
  }
}


/* === Menu Styling === */

.wp-block-navigation .wp-block-navigation-item {
  margin-left: 20px;
}

.wp-block-navigation .wp-block-navigation-item:first-child {
  margin-left: 0;
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
  position: absolute;
  top: 42px;
  left: 0;
  min-width: 232px;
  background: rgba(35, 52, 121, 0.5);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 10000;
  padding: 0;
  margin: 0;
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu .wp-block-navigation-item {
  margin: 0;
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu .wp-block-navigation-item__content {
  display: block;
  font-size: 0.9375rem;
  color: #fff;
  padding: 16px;
  border-radius: 0;
  text-decoration: none;
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu .wp-block-navigation-item__content:hover {
  background-color: #233479;
  border-radius: 4px;
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
  background: rgba(35, 52, 121, 0.5) !important;
  background-color: rgba(35, 52, 121, 0.5) !important;
}


.gchoice input {
  display: none; /* optional: hides the native input box */
}




/* ==== ABSOLUTE OVERRIDE: Remove All Animations and Transforms ==== */
.gchoice,
.gchoice:hover,
.gchoice.selected,
.gchoice.selected:hover,
.gchoice label img {
  transform: none !important;
  transition: none !important;
  animation: none !important;
}


.gchoice.selected {
  border: 2px solid #233578;
  background-color: #f0f4ff;
  padding: 8px;
  border-radius: 6px;
}

/* === MOBILE FOOTER BAR === */
.mobile-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #233578;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  z-index: 10050;
}

/* === ICON BUTTONS === */
.footer-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.footer-icon img {
  width: 24px;
  height: 24px;
}

.mobile-submenu {
  position: fixed;
  bottom: 60px;
  left: 0;
  width: 100%;
  background: #f9f9f9;
  border-top: 1px solid #ddd;
  z-index: 5;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  max-height: 50vh;
  overflow-y: auto;
  padding: 20px 15px;
}

.mobile-submenu.active {
  transform: translateY(0%);
  visibility: visible;
}


/* === MENU LIST ITEMS === */
.mobile-submenu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-submenu-items li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.mobile-submenu-items li a {
  text-decoration: none;
  color: #233578;
  font-weight: 500;
  font-size: 16px;
}

.trust-mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw; /* instead of 100% to include scrollbars */
  max-width: 100%;
  height: 60px; /* match your design */
  background: #233578; /* or your footer color */
  z-index: 10;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
}

.trust-mobile-nav {
  margin: 0 auto;
  left: 0;
  right: 0;
  padding-left: 10px;
  padding-right: 10px;
}


.mobile-submenu {
  z-index: 5;
}

.header-submenu-toggle {
  background: none;
  border: none;
  color: #233479;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.header-submenu-toggle::before {
  content: "+";
  font-size: 28px;
  font-weight: bold;
  color: #233479;
  display: inline-block;
  transition: transform 0.2s ease;
}

.menu-item-has-children.open .header-submenu-toggle::before {
  content: "–";
}

/* ✅ Hide submenus by default */
.header-submenu {
  display: none;
}

/* ✅ Show submenu only when parent is open */
.menu-item-has-children.open .header-submenu {
  display: block;
}

.menu-item-has-children .gb-container {
  padding-top: 10px;
  padding-bottom: 10px;
  align-items: center;
}

.menu-item-has-children .gb-container .gb-button,
.menu-item-has-children .gb-container .submenu-toggle {
  margin: 0;
  padding: 0;
  line-height: 1;
  height: auto;
}

.menu-item-has-children .gb-container p {
  margin: 0;
}


.trust-sticky-header {
  position: sticky;
  top: 0;
  z-index: 10060; /* higher than footer and submenu */
  background: #ffffff; /* or match your theme */
  width: 100%;
}

.top-bar {
  z-index: 10070;
}

.header-bar {
  z-index: 10060;
}

.thumbnail-link {
  position: relative;
  display: inline-block;
}

.play-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background-color: #233479;
  color: white;
  font-size: 12px;
  padding: 4px 8px 4px 16px;
  border-radius: 3px;
  display: flex;
  align-items: center;
}

.play-badge .triangle {
  width: 0;
  height: 0;
  border-left: 6px solid white;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-right: 4px;
}

/* Overlay — behind everything */
.goverlay {
    position: fixed !important;
    z-index: 999990 !important;
    top: 0;
    left: 0;
}

/* Lightbox container — above overlay */
.glightbox-container,
.gcontainer {
    position: fixed !important;
    z-index: 999999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    top: 0;
    left: 0;
}

/* Buttons — highest of all */
.gbtn,
.glightbox-clean .gclose,
.glightbox-clean .gprev,
.glightbox-clean .gnext {
    z-index: 100020 !important;
}

/* Kill the loader */
.gloader {
    display: none !important;
}

.goverlay {
    position: fixed !important;
    z-index: 999990 !important;
    top: 0;
    left: 0;
}

.glightbox-container,
.gcontainer {
    position: fixed !important;
    z-index: 999999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    top: 0;
    left: 0;
}

body.glightbox-open {
    transform: none !important;
    perspective: none !important;
    filter: none !important;
    will-change: auto !important;
    position: static !important;
    opacity: 1 !important;
}

/* 🌆 Dynamic City Links Styling */
.dynamic-city-links {
  columns: 2;
  list-style: none;
  padding-left: 0;
  margin: 1em 0;
}

.dynamic-city-links li {
  margin-bottom: 0.5em;
}

.dynamic-city-links a {
  color: #233479;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.dynamic-city-links.ppc li {
  color: #233479;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.dynamic-city-links a:hover {
  color: #6fabdd;
}

/* 📱 Mobile Optimization */
@media (max-width: 480px) {
  .dynamic-city-links a {
    font-size: 0.9rem;
  }
}

/* 🎯 Tighter, consistent spacing for Gravity Forms */
#gform_wrapper_3 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#gform_wrapper_3 .gform_heading,
#gform_wrapper_3 .gform_title,
#gform_wrapper_3 .gform_description {
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
}

#gform_wrapper_3 .gform_body,
#gform_wrapper_3 .gform_fields {
  margin: 0 !important;
  padding: 0 !important;
}

#gform_wrapper_3 .gfield {
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
}

/* Grid fix for complex fields (e.g., Name) */
#gform_wrapper_3 .ginput_complex.ginput_container {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  padding: 0 !important;
  margin: 0 !important;
}

/* Normalize containers */
#gform_wrapper_3 .ginput_container,
#gform_wrapper_3 .gform-grid-row,
#gform_wrapper_3 .gform-grid-col {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* 🔧 Remove any ul default margin */
.gform_legacy_markup_wrapper ul.gform_fields {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* 🌫️ Enhanced glassy style */
.glassy-box {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.glass {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* 🎨 Input styling */
#gform_wrapper_3 input,
#gform_wrapper_3 textarea,
#gform_wrapper_3 select {
  border: 1px solid #233479;
  border-radius: 6px;
  padding: 10px;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* 🏷️ Labels */
#gform_wrapper_3 .gfield_label {
  font-size: 13px;
  color: #233479;
  font-weight: 600;
  margin-bottom: 4px;
}

/* 🔘 Button */
#gform_wrapper_3 .gform_footer input[type="submit"],
#gform_wrapper_3 .gform_page_footer input[type="submit"] {
  background-color: #233479;
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  width: 100%;
  transition: background-color 0.3s ease;
}

#gform_wrapper_3 .gform_footer input[type="submit"]:hover,
#gform_wrapper_3 .gform_page_footer input[type="submit"]:hover {
  background-color: #6fabdd;
}

#gform_wrapper_3 .gform_body .gform_fields > .gfield {
  margin-bottom: 4px !important;
  padding-bottom: 0 !important;
}

#gform_wrapper_3 .gform_body .gform_fields > .gfield:last-child {
  margin-bottom: 0 !important;
}

#gform_wrapper_3 .gfield--type-name .ginput_complex {
  gap: 3px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Field focus effect */
#gform_wrapper_3 input:focus,
#gform_wrapper_3 textarea:focus,
#gform_wrapper_3 select:focus {
  outline: none;
  border-color: #6fabdd;
  box-shadow: 0 0 0 2px rgba(111, 171, 221, 0.3);
}

/* Placeholder color */
#gform_wrapper_3 ::placeholder {
  color: #233479;
  opacity: 0.6;
  font-size: 13px;
}

/* Section break alignment */
#gform_wrapper_3 .gsection_title {
  font-size: 16px;
  font-weight: bold;
  color: #233479;
  margin-bottom: 12px;
}

/* Add image to "Replacement" choice */
#gform_wrapper_8 .gchoice_8_12_1 label::before {
  content: "";
  display: inline-block;
  background-image: url('https://d7apda55b2-staging.wpdns.site/wp-content/uploads/2025/07/1.svg');
  background-size: cover;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Add image to "Repair" choice */
#gform_wrapper_8 .gchoice_8_12_2 label::before {
  content: "";
  display: inline-block;
  background-image: url('https://d7apda55b2-staging.wpdns.site/wp-content/uploads/2025/07/3.svg');
  background-size: cover;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Add image to "Inspection" choice */
#gform_wrapper_8 .gchoice_8_12_3 label::before {
  content: "";
  display: inline-block;
  background-image: url('https://d7apda55b2-staging.wpdns.site/wp-content/uploads/2025/07/4.svg');
  background-size: cover;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Add image to "Inspection" choice */
#gform_wrapper_8 .gchoice_8_12_4 label::before {
  content: "";
  display: inline-block;
  background-image: url('https://d7apda55b2-staging.wpdns.site/wp-content/uploads/2025/07/5.svg');
  background-size: cover;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Add image to "Inspection" choice */
#gform_wrapper_8 .gchoice_8_12_5 label::before {
  content: "";
  display: inline-block;
  background-image: url('https://d7apda55b2-staging.wpdns.site/wp-content/uploads/2025/07/2.svg');
  background-size: cover;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

/* === Enhanced Click Box Layout for Form 8 === */
#gform_wrapper_8 .click-boxes label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  padding-top: 10px;
  text-align: center;
  height: 100%;
}

/* Fix ::before to work with flexbox layout */
#gform_wrapper_8 .click-boxes label::before {
  content: "";
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}


/* Kiosk Styling */
.layout-kiosk .swiper-slide {
  padding: 0;
}


.layout-kiosk .kiosk-card {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 16;
  border-radius: 12px;
  overflow: hidden;
}

.layout-kiosk .kiosk-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.layout-kiosk .kiosk-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.layout-kiosk .kiosk-title {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  max-width: 70%;
  text-align: right;
}

/* Slide-Out Menu */
body:not(.wp-admin) .mobile-slideout-menu {
  position: fixed;
  top: 110px; /* 40px top bar + 70px mobile header */
  left: -300px;
  width: 300px;
  height: calc(100vh - 110px);
  background: #fff;
  z-index: 10010;
  transition: left 0.3s ease;
  overflow-y: auto;
}

body:not(.wp-admin) .mobile-slideout-menu.open {
  left: 0;
}

/* Slide-Out Menu - Child Items (Manual Links) */
.sub-menu {
  display: none;
  padding-left: 20px;
  margin-top: 8px;
}

.menu-item-has-children.open .sub-menu {
  display: block;
}

/* Top Bar and Mobile Header */
@media (max-width: 768px) {
  .fixed-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 10020;
  }

  .fixed-mobile-header {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 10010;
  }

  body {
    padding-top: 110px;
  }
}

/* Prevent content from sliding under header */
body {
  overflow-x: hidden;
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger-menu .bar {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #233578;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger transforms to X */
body.mobile-menu-open .hamburger-menu .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

body.mobile-menu-open .hamburger-menu .bar:nth-child(2) {
  opacity: 0;
}

body.mobile-menu-open .hamburger-menu .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

body {
  margin: 0;
}

#wpadminbar {
  z-index: 99999;
}

.fixed-top-bar {
  top: 0;
}

/* Gravity Form 13 Custom Styles */
#gform_wrapper_13 .gfield_label {
  color: #233479;
  font-weight: 600;
}

#gform_wrapper_13 .gform_footer input[type="submit"],
#gform_wrapper_13 .gform_footer input[type="button"] {
  background-color: #233479 !important;
  border: none !important;
  color: #fff !important;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}

#gform_wrapper_13 .gform_footer input[type="submit"]:hover,
#gform_wrapper_13 .gform_footer input[type="button"]:hover {
  opacity: 0.9;
}

/* 🔘 Button */
#gform_wrapper_13 .gform_footer input[type="submit"],
#gform_wrapper_13 .gform_page_footer input[type="submit"] {
  background-color: #233479;
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  width: 100%;
  transition: background-color 0.3s ease;
}

#gform_wrapper_13 .gform_footer input[type="submit"]:hover,
#gform_wrapper_13 .gform_page_footer input[type="submit"]:hover {
  background-color: #6fabdd;
}

.link-wrapper {
  position: relative;
}

.link-wrapper .full-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
}

/* === Final Reset for Gravity Form 8, Field 14 Consent === */
#gform_wrapper_8 #field_8_14 {
  all: revert !important;
}

#gform_wrapper_8 #field_8_14 * {
  all: revert !important;
  color: initial !important;
  background: none !important;
  text-shadow: none !important;
  border: none !important;
  font: inherit !important;
  line-height: normal !important;
}

#gform_wrapper_8 #field_8_13 label,
#gform_wrapper_8 #field_8_13 .gfield_description,
#gform_wrapper_8 #field_8_14 label,
#gform_wrapper_8 #field_8_14 .gfield_description {
  color: #ffffff !important;
}
#gform_wrapper_8 #field_8_13 input,
#gform_wrapper_8 #field_8_14 input {
  color: #ffffff !important;
}

#gform_wrapper_8 #field_8_11 .gform-field-label {
  color: #ffffff !important;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

body.page-id-7059 {
  padding-top: 0;
}

body.no-header {
  padding-top: 0;
}

.custom-bg-video-container {
  position: relative;
  overflow: hidden;
  height: 150px;
  min-height: 150px;
  z-index: 1;
}

.custom-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* === Global Pop-up Styles === */
.popup-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #fff;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 10001;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.popup-container.active {
  display: block;
}

.popup-container.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.popup-overlay.active {
  display: block;
}

.popup-overlay.visible {
  opacity: 1;
}


/* Close Button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #233578;
}

.popup-close:hover {
  color: #5d9acd;
}

/* Scope to THIS section only */
.gb-element-15b5d03f .gb-element-eafa4db5 {
  position: relative; /* the overlay anchor */
}

/* Ensure the composite image fills the column so coordinates match */
.gb-element-15b5d03f .gb-element-eafa4db5 .gb-media-e7ffb2bf {
  width: 100% !important;
  height: auto;
  display: block;
  border-radius: 12px;               /* optional to match mock */
}

/* Base review card styling */
.gb-element-15b5d03f .review-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: 12px;
  padding: clamp(14px, 1.4vw, 20px);
  box-shadow: 0 18px 44px rgba(0,0,0,.14);
  max-width: min(440px, 62%);
}

.gb-element-15b5d03f .review-card__rating { 
  font-size: 16px; 
  letter-spacing: 1px; 
  margin-bottom: 6px; 
}
.gb-element-15b5d03f .review-card__text { 
  font-size: clamp(14px, 1.1vw, 16px); 
  line-height: 1.5; 
}
.gb-element-15b5d03f .review-card__author { 
  margin-top: 8px; 
  font-weight: 600; 
  opacity: .8; 
}

/* Positioning — tune these to taste for your image */
.gb-element-15b5d03f .review-card--1 {
  /* sits over upper area */
  top: clamp(12%, 14vw, 22%);
  left: clamp(6%, 8vw, 10%);
}
.gb-element-15b5d03f .review-card--2 {
  /* sits over lower wide area */
  bottom: clamp(6%, 8vw, 14%);
  left: clamp(42%, 44vw, 50%);
  transform: translateX(-10%);
}

/* Responsive: on tablet/phone, stack under the image */
@media (max-width: 1024px) {
  .gb-element-15b5d03f .review-card {
    position: static; /* remove absolute */
    max-width: 100%;
    transform: none;
    margin-top: 12px;
  }
  .gb-element-15b5d03f .review-card + .review-card { margin-top: 10px; }
}

.iframe-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  border: none;
}

.video-hero {
  position: relative;
  overflow: hidden;
}

.video-hero .video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.video-hero > *:not(.video-bg) {
  position: relative;
  z-index: 1;
}

.review-pop {
  position: absolute !important;
  top: 40% !important;
  left: 55% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 9999 !important;
  background: white;
  border: 2px solid red;
  padding: 20px;
}

.review-vid {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  padding-top: 56.25%; /* 16:9 ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.review-vid iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  border-radius: 12px;
}

.popup-video-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.popup-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Global Style: GeneratePress + GenerateBlocks Buttons */
.gb-button .gb-button-text,
.wp-block-button__link {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-radius: 8px 8px 8px 0px !important;
}

/* === Mobile Footer Sizing Only === */
.trust-mobile-nav {
  min-height: 68px; /* adjust 60–70px as needed */
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); /* iOS safe area */
  box-sizing: border-box;
}

/* === Mobile Footer Polish (styling only, no sizing changes) === */

.trust-mobile-nav .footer-icon p,
.trust-mobile-nav .footer-icon .gb-text,
.trust-mobile-nav .footer-icon .footer-label {
  font-size: 11px;       /* small, readable text */
  line-height: 1.25;
  color: #fff;           /* crisp white for contrast */
  margin: 3px 0 15px;     /* just a touch of breathing room */
}

.gb-text-7e46342f.swipe-text {
  cursor: pointer !important;
  font-weight: 700 !important;
  color: #000 !important;
  transition: transform 0.3s ease, color 0.3s ease !important;
}

.gb-text-7e46342f.swipe-text:hover {
  transform: scale(1.1) !important;
  color: #6FABDD !important;
  text-decoration: underline !important;
}

/* ================================
   Gravity Form 21 – Custom Styles
   ================================ */

/* 🎯 Labels: dark gray + tight spacing */
#gform_wrapper_21 .gfield_label {
  color: #3a3a3a !important;
  font-weight: 600;
  margin-bottom: 4px !important;
  line-height: 1.3;
}

/* 📉 Reduce spacing between fields */
#gform_wrapper_21 .gform_fields > li {
  margin-bottom: 12px !important;
}

/* 📉 Reduce space between label and input */
#gform_wrapper_21 .gfield_label + .ginput_container {
  margin-top: 4px !important;
}

/* 🧱 Remove extra container spacing */
#gform_wrapper_21 .ginput_container {
  margin-bottom: 0 !important;
}

/* 🧱 Inputs & selects – tighter padding */
#gform_wrapper_21 input[type="text"],
#gform_wrapper_21 input[type="email"],
#gform_wrapper_21 input[type="tel"],
#gform_wrapper_21 textarea,
#gform_wrapper_21 select {
  padding: 10px 12px;
}

/* 📐 Remove unnecessary top padding */
#gform_wrapper_21 .gform_body {
  padding-top: 0;
}

/* 🧩 Optional section spacing */
#gform_wrapper_21 .gsection {
  margin-bottom: 16px;
}

/* 🔘 Primary Submit Button */
#gform_wrapper_21 .gform_footer input[type="submit"],
#gform_wrapper_21 .gform_page_footer input[type="submit"] {
  background-color: #233479;
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

#gform_wrapper_21 .gform_footer input[type="submit"]:hover,
#gform_wrapper_21 .gform_page_footer input[type="submit"]:hover {
  background-color: #6fabdd;
}

/* 🔗 Full clickable link wrapper (if used) */
.link-wrapper {
  position: relative;
}

.link-wrapper .full-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
}

/* ================================
   Gravity Form 21 – NEW MARKUP FIX
   ================================ */

/* 🎯 Labels (new GF markup) */
#gform_wrapper_21 .gform-field-label {
  color: #3a3a3a !important;
  font-weight: 600;
  margin-bottom: 4px !important;
  line-height: 1.3;
}

/* 📉 Field spacing */
#gform_wrapper_21 .gform-field {
  margin-bottom: 12px !important;
}

/* 📉 Space between label and input */
#gform_wrapper_21 .gform-field__label {
  margin-bottom: 4px !important;
}

/* 🧱 Control wrapper spacing */
#gform_wrapper_21 .gform-field__control {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* 🧱 Inputs */
#gform_wrapper_21 input,
#gform_wrapper_21 textarea,
#gform_wrapper_21 select {
  padding: 10px 12px !important;
}

/* ================================
   Gravity Forms inside .glass
   Fix inherited white text
   ================================ */

.glass #gform_wrapper_21 {
  color: #3a3a3a;
}

.glass #gform_wrapper_21 .gform-field-label,
.glass #gform_wrapper_21 .gform-field-label * {
  color: #3a3a3a !important;
  text-shadow: none !important;
}

.glass #gform_wrapper_21 .gform-field-description {
  color: #555 !important;
}

/* Gravity Form 21 – Full-width NEXT button via custom class */
#gform_wrapper_21 .gf-fullwidth-next {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box;
}

#gform_wrapper_21 .gform_body {
  min-height: 320px;
}

.training-accordion-item:has(.module-title-dynamic:empty) {
    display: none;
}

/* Tighten spacing only on Form 11 */
#gform_wrapper_11 .gfield {
    margin-bottom: 10px !important;
}

#gform_wrapper_11 .ginput_container {
    margin-top: 4px !important;
}

#gform_wrapper_11 .gfield_label {
    margin-bottom: 4px !important;
}

#gform_wrapper_11 textarea {
    min-height: 100px !important;
}

#gform_wrapper_11 {
    --gf-field-gap: 10px !important;
}

#gform_wrapper_11.gravity-theme {
    --gf-field-gap: 12px;
}

#gform_wrapper_11 .gform_required_legend {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#gform_wrapper_11 .gform_heading .gform_required_legend {
    display: none !important;
}

.gform_anchor {
    display: none !important;
}

body ul.blogtagstyle,
body ul.blogtagstyle.wp-block-categories-list {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 6px 16px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body ul.blogtagstyle li {
  padding: 4px 0 !important;
  margin: 0 !important;
  float: none !important;
}

body ul.blogtagstyle li a,
body ul.wp-block-categories-list.blogtagstyle li a {
  color: #233479 !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
}

body ul.blogtagstyle li a:hover,
body ul.wp-block-categories-list.blogtagstyle li a:hover {
  color: #6fabdd !important;
  text-decoration: none !important;
}

.image-shape-hex {
  clip-path: polygon(50% 0%, 100% 25%, 80% 100%, 20% 100%, 0% 25%);
  overflow: hidden;
}

.image-shape-hex img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}