﻿/* Support page typography — UAT common.css + request-a-demo.css */

@font-face {
  font-family: "MilligramText-Regular";
  src: url("/assets/fonts/MilligramText-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "MilligramText-Medium";
  src: url("/assets/fonts/MilligramText-Medium.ttf") format("truetype");
  font-display: swap;
}

:root {
  --sp-font-primary: "MilligramText-Regular", sans-serif;
  --sp-font-medium: "MilligramText-Medium", sans-serif;
  --sp-font-heading: "CooperBTLight", sans-serif;
  --sp-body-size: 18px;
  --sp-h1-size: 50px;
  --sp-h2-size: 45px;
  --sp-h3-size: 30px;
  --sp-body-lh: 31px;
  --sp-h1-lh: 60px;
  --sp-hero-green: #17a34c;
  --sp-hero-text: #2a3442;
  --sp-hero-link: #429ac3;
  --sp-title-dark: #1a1a1a;
  --sp-body-muted: #555;
  --sp-link-green: #1b8f3a;
}

@media screen and (max-width: 1366px) {
  :root {
    --sp-body-size: 16px;
    --sp-h1-size: 47px;
    --sp-h2-size: 40px;
    --sp-h1-lh: 55px;
  }
}

@media screen and (max-width: 1260px) {
  :root {
    --sp-body-size: 14px;
    --sp-h1-size: 45px;
    --sp-h2-size: 34px;
    --sp-h3-size: 28px;
    --sp-h1-lh: 52px;
  }
}

@media (min-width: 1920px) {
  :root {
    --sp-body-size: 20px;
  }
}

/* Base — override style.css Open Sans in page content only */
body.support-page {
  overflow-x: hidden;
}

/* Page content typography — NOT header (header block at end of file) */
body.support-page .hero-wrapper .simple-hero,
body.support-page .hero-wrapper .simple-hero p,
body.support-page .hero-wrapper .simple-hero a:not(.gradient-btn),
body.support-page .hero-wrapper .simple-hero div,
body.support-page .hero-wrapper .simple-hero label,
body.support-page .hero-wrapper .simple-hero li,
body.support-page .hero-wrapper .simple-hero span:not(.validation),
body.support-page #main,
body.support-page #main p,
body.support-page #main a,
body.support-page #main div,
body.support-page #main li {
  font-family: var(--sp-font-primary) !important;
  font-size: var(--sp-body-size) !important;
  font-weight: 400 !important;
  line-height: var(--sp-body-lh) !important;
}

body.support-page .hero-wrapper .simple-hero h1,
body.support-page .hero-wrapper .simple-hero h2,
body.support-page .hero-wrapper .simple-hero h3,
body.support-page #main h1,
body.support-page #main h2,
body.support-page #main h3,
body.support-page #main h4,
body.support-page #main h5,
body.support-page #main h6 {
  font-family: var(--sp-font-heading) !important;
  font-weight: 600 !important;
}

body.support-page #main h1 {
  font-size: var(--sp-h1-size) !important;
  line-height: var(--sp-h1-lh) !important;
}

body.support-page #main h2 {
  font-size: var(--sp-h2-size) !important;
  line-height: 1.2 !important;
}

body.support-page #main h3 {
  font-size: var(--sp-h3-size) !important;
  line-height: 1.2 !important;
}

body.support-page #main section {
  padding: 40px 0;
  overflow: hidden;
}

body.support-page section {
  overflow: unset !important;
}

@media (min-width: 1200px) {
  body.support-page div.container,
  body.support-page section.container {
    /* max-width: 1140px !important; */
  }
}

/* Hero wrapper — request-demo */
body.support-page .hero-wrapper {
  position: relative;
  background-image: url("/assets/img/request-demo-hero-background.png");
  background-size: cover !important;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

body.support-page .hero-wrapper > section {
  position: relative;
  z-index: 1;
}

body.support-page .hero-wrapper > header#header {
  position: relative;
  z-index: 1030 !important;
}

body.support-page .hero-wrapper > header#header.header-scrolled {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030 !important;
}

body.support-page .nav_style {
  display: none;
}

body.support-page .hero-wrapper .fixed-top.topnav_bg {
  background: transparent !important;
  z-index: 1031;
}

body.support-page .top_bavbar a {
  color: #000 !important;
  font-weight: 400 !important;
}

body.support-page .top_bavbar a:after {
  border-color: #000 !important;
}

body.support-page .top_bavbar ul li {
  font-size: 16px !important;
  color: #000 !important;
}

body.support-page .hero-wrapper ul.nav_style li a {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #000 !important;
}

body.support-page .hero-wrapper .header_area.fixed-top {
  background: transparent !important;
  padding: 0 !important;
  overflow: visible;
}

body.support-page .hero-wrapper #header.header-scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 2px 12px rgba(15, 27, 45, 0.08);
}

body.support-page .hero-wrapper #header.header-scrolled img.img_show {
  display: block !important;
  width: 240px !important;
}

body.support-page .hero-wrapper .navigation {
  display: flex !important;
  justify-content: space-between;
}

body.support-page .hero-wrapper .megamenu-panel,
body.support-page .hero-wrapper .nav-dropdown {
  z-index: 1040 !important;
}

body.support-page .nav-toggle:before {
  background-color: #000 !important;
  box-shadow:
    0 0.5em 0 0 #000,
    0 1em 0 0 #000 !important;
}

@media (min-width: 992px) {
  body.support-page .hero-wrapper header.fixed-top .nav-menu > li > a {
    padding: 40px 10px !important;
  }

  body.support-page .hero-wrapper #header.header-scrolled img.img_show {
    width: 200px !important;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  body.support-page .hero-wrapper #header.header-scrolled {
    height: 120px !important;
  }
}

@media (min-width: 320px) and (max-width: 576px) {
  body.support-page .hero-wrapper header#header.header-scrolled {
    height: 120px !important;
  }
}

@media (min-width: 1200px) {
  body.support-page .hero-wrapper header.fixed-top img.img_show {
    width: 240px !important;
  }

  body.support-page
    .hero-wrapper
    #header.header_area.fixed-top.sticky.header-scrolled
    .nav-header
    .nav-brand
    img {
    width: 240px !important;
  }
}

/* Hero section — UAT colors + request-demo title */
body.support-page .simple-hero,
body.support-page .hero-demo-section {
  padding: 80px 0;
  color: var(--sp-hero-text) !important;
  position: relative;
  z-index: 1;
}

body.support-page .simple-hero p,
body.support-page .simple-hero label {
  color: var(--sp-hero-text) !important;
}

body.support-page .simple-hero a:not(.gradient-btn) {
  color: var(--sp-hero-link) !important;
  text-decoration: none;
}

body.support-page .hero-title {
  font-family: var(--sp-font-heading) !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  line-height: 1.2 !important;
  margin-bottom: 2.5rem;
  text-align: center;
  color: var(--sp-hero-green) !important;
}

@media (min-width: 300px) and (max-width: 991px) {
  body.support-page h1.hero-title {
    font-size: 50px !important;
    line-height: 65px !important;
  }
}

.nav-link {
  padding: 0;
}

/* Form */
.form_customwidth {
  width: 90%;
  margin: 0 auto;
}

.arc-quote-form {
  border: 1px solid #000 !important;
  box-shadow: 0px 2.43px 2.43px 0px #00000040;
  border-radius: 15px;
}

body.support-page form {
  background: #fff;
  padding: 1rem;
  border: 1px solid #fff;
  border-radius: 5px;
}

body.support-page form .form-control,
body.support-page form .form-select {
  background-color: #f5f8fa;
  font-family: var(--sp-font-primary) !important;
  font-size: var(--sp-body-size) !important;
  color: #000 !important;
}

body.support-page form label {
  font-family: var(--sp-font-primary) !important;
  font-size: var(--sp-body-size) !important;
  color: var(--sp-hero-text) !important;
  font-weight: 400 !important;
}

input[type="checkbox"] {
  cursor: pointer;
}

.submit_width {
  width: auto;
  padding: 11px 15px;
}

button.submit_width {
  background: linear-gradient(90deg, rgb(21, 163, 74), rgb(5, 150, 105)) !important;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 5px 20px;
  color: #fff !important;
  font-family: var(--sp-font-primary) !important;
  font-size: var(--sp-body-size) !important;
}

.submit__control h3 {
  margin-top: 1rem;
  font-size: 16px !important;
  font-family: var(--sp-font-primary) !important;
}

.submit__generated {
  display: inline-block;
  vertical-align: center;
  line-height: 35px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.9);
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}

.submit__generated span {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px 16px;
}

.submit__generated.unvalid .submit__input {
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

.submit__generated.unvalid:after {
  content: "";
  color: #e74c3c;
}

.submit__generated.valid:after,
.submit__generated.unvalid:after {
  font-family: FontAwesome;
  font-size: 18px;
  margin-left: 10px;
}

.submit__input {
  position: relative;
  outline: 0;
  height: 35px;
  width: 35px;
  border-radius: 4px;
  border: 1px solid #42a0dd;
  color: #42a0dd;
  text-align: center;
  font-size: 16px;
  top: -2px;
}

span.submit__error,
span.submit__error--empty {
  color: #e74c3c;
  position: absolute;
  margin-top: 1.3rem;
}

.submit__overlay {
  height: 50px;
  width: 110px;
  background-color: rgba(255, 255, 255, 0.8);
  position: absolute;
  margin-top: -90px;
  margin-left: -5px;
}

.input_display {
  display: inline-block;
  border: 1px solid transparent !important;
  padding: 0 !important;
}

span.validation {
  border: 1px solid transparent !important;
  padding: 0 !important;
  position: absolute;
  left: 1rem;
  bottom: -0.6rem;
  top: auto;
  font-size: 1rem !important;
  text-transform: lowercase;
}

.validation {
  color: red;
}

.fa-refresh {
  cursor: pointer;
  margin: 0 12px;
  font-size: 16px;
}

i.fa-refresh {
  margin: 4px 0 0;
  padding: 5px;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.2s ease-out, color 0.2s ease-out;
}

i.fa-refresh:hover {
  color: rgba(0, 0, 0, 0.4);
  transform: rotate(180deg);
}

.low-opa {
  opacity: 0.4;
}

.fadeOut {
  opacity: 0;
  transform: translateY(10px);
}

.fadeIn {
  opacity: 1 !important;
  transform: translateY(0px) !important;
}

.form-fields,
.form-success {
  transition: all 0.2s ease-out;
}

.form-success {
  opacity: 0;
  transform: translateY(-10px);
  margin-top: 20px;
}

.hide {
  display: none !important;
}

.gradient-btn {
  font-family: var(--sp-font-primary) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  background: linear-gradient(90deg, rgb(22 163 74), #059669);
  color: #fff !important;
  padding: 20px 40px !important;
  border-radius: 12px;
  text-decoration: none;
  transform: scale(1);
}

.gradient-btn:not(:hover) {
  animation: zoomOut 0.6s forwards;
}

.gradient-btn:hover {
  animation: zoomIn 0.6s forwards;
  box-shadow: 0 25px 50px -12px rgb(34 197 94 / 25%);
}

@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

@keyframes zoomOut {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}

/* Policy sections — UAT */
.support-policy-section {
  padding: 80px 0;
}

.policy-title {
  margin-bottom: 20px;
  color: var(--sp-title-dark) !important;
  font-family: var(--sp-font-heading) !important;
  font-size: var(--sp-h3-size) !important;
  font-weight: 600 !important;
}

.support-policy-section p {
  color: var(--sp-body-muted) !important;
  margin-bottom: 18px;
}

.support-policy-section a {
  color: var(--sp-link-green) !important;
}

.policy-img {
  max-width: 100%;
  height: auto;
}

.afterhours-section {
  padding: 80px 0;
}

.afterhours-title {
  margin-bottom: 30px;
  color: var(--sp-title-dark) !important;
  font-family: var(--sp-font-heading) !important;
  font-size: var(--sp-h3-size) !important;
  font-weight: 600 !important;
}

.afterhours-content p {
  color: var(--sp-body-muted) !important;
  margin-bottom: 18px;
  text-align: left;
}

@media (max-width: 768px) {
  .support-policy-section,
  .afterhours-section {
    padding: 50px 0;
  }

  .policy-img {
    margin-top: 30px;
  }

  button.submit_width,
  .gradient-btn {
    font-size: 18px !important;
  }

  button.submit_width {
    font-weight: 400 !important;
  }

  .gradient-btn {
    font-weight: 700 !important;
  }
}

/* ============================================================
   HEADER + TOP NAV — re-apply request-a-demo.css after style.css
   ============================================================ */

body.support-page .hero-wrapper .topnav_bg .top_bavbar a,
body.support-page .hero-wrapper .topnav_bg ul.nav_style li a,
body.support-page .hero-wrapper #header .nav-menu > li > a,
body.support-page .hero-wrapper #header .nav-menus-wrapper .nav-menu li a,
body.support-page .hero-wrapper #header .navigation-portrait .nav-menus-wrapper .nav-menu li a {
  font-family: "MilligramText-Regular", sans-serif !important;
  font-weight: 400 !important;
  line-height: normal !important;
  color: #000 !important;
}

/* Base link size (matches request-a-demo global a/div 18px beating style.css 14px topbar) */
body.support-page .hero-wrapper .topnav_bg a,
body.support-page .hero-wrapper #header a {
  font-size: 18px !important;
}

body.support-page .hero-wrapper #header .nav-menu > li > a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  text-transform: capitalize;
  text-decoration: none;
}

body.support-page .hero-wrapper #header .nav-menu > li > a > i,
body.support-page .hero-wrapper #header .nav-menu > li > a > [class*="ion-"] {
  font-size: 14px !important;
  -webkit-transform: scale(1.4);
  transform: scale(1.4);
  width: 18px;
    height: 16px;
    line-height: 16px;
}

body.support-page .hero-wrapper #header .nav-dropdown li a,
body.support-page .hero-wrapper #header .megamenu-list li a,
body.support-page .hero-wrapper #header .nav-submenu li a {
  font-size: 16px !important;
  font-family: "MilligramText-Regular", sans-serif !important;
  font-weight: 400 !important;
  line-height: normal !important;
}

body.support-page .hero-wrapper #header .megamenu-list-title > a {
  font-family: "MilligramText-Medium", sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

body.support-page .hero-wrapper #header .nav-menu {
  font-size: 16px !important;
  line-height: normal !important;
}

body.support-page .hero-wrapper #header .nav-menu > li:hover > a,
body.support-page .hero-wrapper #header .nav-menu > li.active > a,
body.support-page .hero-wrapper #header .nav-menu > li.focus > a {
  color: #000 !important;
}

@media (min-width: 992px) {
  body.support-page .hero-wrapper #header.fixed-top .nav-menu > li > a {
    padding: 40px 10px !important;
    font-size: 16px !important;
  }

  body.support-page .hero-wrapper #header .nav-menus-wrapper .nav-menu li a {
    font-size: 18px !important;
  }

  body.support-page .hero-wrapper .fixed-top.topnav_bg a,
  body.support-page .hero-wrapper .topnav_bg .top_bavbar a,
  body.support-page .hero-wrapper .topnav_bg .top_bavbar ul li,
  body.support-page .hero-wrapper .topnav_bg ul.nav_style li a {
    font-size: 16px !important;
    font-weight: 600 !important;
  }
}

@media (min-width: 300px) and (max-width: 991px) {
  body.support-page .hero-wrapper #header.fixed-top .nav-menu > li > a,
  body.support-page .hero-wrapper #header .nav-menus-wrapper .nav-menu li a {
    font-size: 18px !important;
    line-height: normal !important;
  }
}

@media (min-width: 320px) and (max-width: 1024px) {
  body.support-page .hero-wrapper #header .nav-menu > li > a {
    padding: 12px 15px 12px 26px !important;
  }
}

body.support-page .hero-wrapper #header.header-scrolled img.img_show,
body.support-page .hero-wrapper #header.fixtop_custom.header-scrolled img.img_show {
  display: block !important;
}

@media (min-width: 700px) and (max-width: 1920px) {
  body.support-page .hero-wrapper #header.header-scrolled img.img_show {
    display: block !important;
  }
}

body.support-page .hero-wrapper #header a.request_demobtn,
body.support-page .hero-wrapper #header a.free-trial,
body.support-page .hero-wrapper #header a.custom_primary {
  font-size: 16px !important;
  font-weight: 400 !important;
}

/* Beat style.css .fixed-top nav padding (40px 5px → 40px 10px like request-demo) */
body.support-page .hero-wrapper #header.header_area.fixed-top .navigation {
  /* padding: 10px !important; */
}

body.support-page .hero-wrapper #header.fixed-top .nav-menu > li > a,
body.support-page .hero-wrapper #header.header_area .nav-menu > li > a,
body.support-page .hero-wrapper .fixed-top .nav-menu > li > a {
  padding: 40px 10px !important;
}

@media (min-width: 1199px) {
  body.support-page .hero-wrapper #header .nav-menu {
    min-height: 60px;
    display: flex;
    align-items: center;
  }
}

body.support-page .hero-wrapper #header .navigation {
  display: flex !important;
  justify-content: space-between;
}

body.support-page .top_bavbar {
  justify-content: end !important;
}

body.support-page .hero-wrapper #header.header-scrolled img.img_show {
  display: block !important;
  width: 240px !important;
}

@media (min-width: 992px) {
  body.support-page .hero-wrapper #header.header-scrolled img.img_show {
    width: 200px !important;
  }
}

@media (min-width: 1200px) {
  body.support-page .hero-wrapper #header.fixed-top img.img_show {
    width: 240px !important;
  }
}

body.support-page .hero-wrapper #header .megamenu-panel .megamenu-list > li > a:hover,
body.support-page .hero-wrapper #header .megamenu-lists .megamenu-list > li.megamenu-list-title > a:hover,
body.support-page .hero-wrapper #header li ul.nav-submenu li a:hover {
  color: #fff !important;
}
