/* ==========================================================================
   HereNOW Help – Custom Stylesheet
   Pixel-faithful replica of herenowhelp.com
   ========================================================================== */

/* ── Fonts ─────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Open+Sans:ital,wght@0,400;0,600;1,400&display=swap');

/* ── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  --primary:      #3e97b5;
  --primary-dk:   #347595;
  --deepblue:     #0b4265;
  --dark:         #2e2f33;
  --darkblue:     #1a2d3a;
  --section-dark: #1e2d38;
  --lightdark:    #35363a;
  --orange:       #ee9f36;
  --green:        #06c668;
  --red:          #e35029;
  --blue:         #2e71f1;
  --lightgrey:    #f8f9fb;
  --white:        #ffffff;
  --body-font:    'Roboto', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --head-font:    'Nunito', 'Open Sans', sans-serif;
  --text-muted:   rgba(255,255,255,0.82);
}

/* ── Reset / Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #333; font-weight: 300; margin: 0; padding: 0; }
#page { overflow: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Nunito', 'Open Sans', sans-serif; font-weight: 700; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; display: inline-block; }

/* ── Preloader ──────────────────────────────────────────────────────────── */
#loader-wrapper {
  position: fixed; inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s;
}

/* ── Spacing helpers ────────────────────────────────────────────────────── */
.wide-100 { padding-top: 100px; padding-bottom: 100px; }
.wide-60  { padding-top: 100px; padding-bottom:  60px; }
.section-title { margin-bottom: 48px; }

/* ═══════════════════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════════════════ */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 1050; }

#main-nav {
  padding: 0.55rem 1rem;
  transition: background .25s ease, box-shadow .25s ease;
  background: transparent;
}

/* Scrolled state */
#main-nav.scrolled {
  background: #fff !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.10);
}

/* Logo swap — default to dark logo (light hero background) */
.navbar-brand.logo-dark  { display: block; }
.navbar-brand.logo-light { display: none; }
#main-nav.scrolled .navbar-brand.logo-dark  { display: block; }
#main-nav.scrolled .navbar-brand.logo-light { display: none; }
.navbar-brand img { height: 30px; width: auto; }

/* Nav links — dark by default to suit light hero */
.nav-link {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: .93rem;
  color: #2a2a2a !important;
  padding: 1rem .75rem !important;
  transition: color .18s;
  white-space: nowrap;
}
#main-nav.scrolled .nav-link { color: #2a2a2a !important; }
.nav-link:hover,
#main-nav.scrolled .nav-link:hover { color: #3e97b5 !important; }

/* Dark hero pages (inner pages) — white nav links until scrolled */
#main-nav.dark-hero:not(.scrolled) .nav-link { color: #fff !important; }
#main-nav.dark-hero:not(.scrolled) .navbar-brand.logo-dark  { display: none; }
#main-nav.dark-hero:not(.scrolled) .navbar-brand.logo-light { display: block; }
#main-nav.dark-hero:not(.scrolled) .navbar-toggler .fas { color: #fff; }

/* "Schedule Demo" stays orange always */
.nav-link.schedule-demo,
#main-nav.scrolled .nav-link.schedule-demo { color: #ee9f36 !important; }
#main-nav.dark-hero:not(.scrolled) .nav-link.schedule-demo { color: #ee9f36 !important; }

/* Dropdown */
.dropdown-menu {
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
  padding: .4rem 0;
  min-width: 185px;
}
.dropdown-item {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  padding: .42rem 1.25rem;
  color: #444;
  transition: color .15s, background .15s;
}
.dropdown-item:hover { color: #3e97b5; background: #f0f7fb; }

/* Mobile hamburger */
.navbar-toggler { border: none; padding: .4rem; background: transparent; }
.navbar-toggler .fas { font-size: 1.35rem; color: #333; }
#main-nav.scrolled .navbar-toggler .fas { color: #333; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════════════ */
#hero-10 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 86px;
  padding-bottom: 60px;
  background: url('/images/hero-background.jpg') center/cover no-repeat;
}

/* Hero text */
.hero-txt { text-align: left; }

.hero-txt h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #024f7c;
  line-height: 1.22;
  margin-bottom: .9rem;
}

.hero-txt p {
  font-size: 1.25rem;
  color: #3e97b5;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.hero-txt p strong { color: #024f7c; }

.view-report {
  display: inline-block;
  color: #3e97b5;
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1.15em;
  border-bottom: 1px solid rgba(62,151,181,.45);
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
  margin-top: .4rem;
}
.view-report:hover { color: #024f7c; border-color: #024f7c; }

.hero-badge img { max-width: 270px; }

/* Device image */
.hero-device { text-align: center; }
.hero-device img {
  max-width: 460px;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.22));
}

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════════════════ */
.testimonials-section {
  background: #1e2d38;
  padding: 80px 0 60px;
}

.tbox {
  padding: 24px 28px 20px;
}

.tbox-quote {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #5ac8de;
  margin-bottom: .7rem;
  line-height: 1.3;
}

.tbox-body {
  color: rgba(255,255,255,0.82);
  font-style: italic;
  font-size: .94rem;
  line-height: 1.68;
  margin-bottom: .8rem;
}

.tbox-stars { color: #ee9f36; font-size: 1rem; }
.tbox-score {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: .96rem;
  color: #ee9f36;
  margin-left: 5px;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════════════════════ */
.services-section {
  background:
    linear-gradient(rgba(30,45,56,.88), rgba(30,45,56,.88)),
    url('/images/banner-1.jpg') center/cover no-repeat fixed;
  padding: 60px 0 80px;
}

.svc-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 18px;
}

.svc-icon { flex-shrink: 0; }
.svc-icon img { width: 80px; height: auto; }

.svc-body h5 {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-size: .98rem;
  font-weight: 700;
  color: #ee9f36;
  margin-bottom: .45rem;
  letter-spacing: .04em;
}

.svc-body p {
  color: rgba(255,255,255,0.82);
  font-size: .9rem;
  line-height: 1.62;
  margin-bottom: 0;
}

.svc-body a.learn-more {
  color: #3e97b5;
  font-weight: 600;
  font-size: .87rem;
  text-decoration: underline;
}
.svc-body a.learn-more:hover { color: #ee9f36; }

/* ═══════════════════════════════════════════════════════════════════════════
   CUSTOM DESIGN & CONTENT
═══════════════════════════════════════════════════════════════════════════ */
.custom-design-section {
  background: #fff;
  padding: 80px 0;
}

.custom-design-section h2.section-heading {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-size: 2.45rem;
  font-weight: 800;
  color: #3e97b5;
  text-align: center;
  margin-bottom: 52px;
}

.custom-col-title {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #347595;
  text-align: center;
  margin-bottom: .9rem;
  margin-top: 0;
}

.custom-col-list {
  list-style: none;
  padding: 0;
  text-align: center;
}
.custom-col-list li {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #3e97b5;
  line-height: 1.9;
}

.phone-wrap { text-align: center; padding: 0 8px; }
.phone-wrap img { max-width: 132px; }

/* ═══════════════════════════════════════════════════════════════════════════
   VIDEO
═══════════════════════════════════════════════════════════════════════════ */
.video-section {
  background: #f8f9fb;
  padding: 80px 0;
}

.video-section h3.section-head {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-size: 1.85rem;
  color: #3e97b5;
  text-align: center;
  margin-bottom: 32px;
}

.video-wrap { text-align: center; }
.video-wrap iframe {
  border: 20px solid #fff;
  box-shadow: 0 4px 28px rgba(0,0,0,.10);
  width: 800px;
  max-width: 100%;
  height: 450px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES — "What Makes HereNOW Help Different?"
═══════════════════════════════════════════════════════════════════════════ */
.features-section {
  background:
    linear-gradient(rgba(30,40,50,.88), rgba(30,40,50,.88)),
    url('/images/bg-graph.jpg') bottom center/cover no-repeat;
  padding: 80px 0;
}

.features-section .section-head {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-size: 1.9rem;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
}

.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 36px;
  padding: 0 8px;
}

.feat-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  font-size: 1.25rem;
  color: #ee9f36;
}

.feat-text h5 {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-size: .98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .35rem;
}

.feat-text p {
  color: rgba(255,255,255,0.82);
  font-size: .9rem;
  line-height: 1.62;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT / SCHEDULE A DEMO
═══════════════════════════════════════════════════════════════════════════ */
.contact-section {
  background:
    url('/images/bg-map.png') center/cover no-repeat,
    #f8f9fb;
  padding: 80px 0;
}

.contact-section .section-head {
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-size: 1.9rem;
  color: #3e97b5;
  text-align: center;
  margin-bottom: .4rem;
}

.contact-section .section-sub {
  color: #0b4265;
  font-size: 1.22rem;
  font-family: 'Nunito', 'Open Sans', sans-serif;
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-form-wrap { max-width: 820px; margin: 0 auto; }

.contact-form .form-control {
  border: 1px solid #c9dde5;
  border-radius: 6px;
  /* padding: .72rem 1rem; */
  font-size: .95rem;
  color: #333;
  background: #fff;
  width: 100%;
  margin-bottom: 1rem;
  font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none;
}
.contact-form .form-control:focus {
  border-color: #3e97b5;
  box-shadow: 0 0 0 3px rgba(62,151,181,.15);
  outline: none;
}
.contact-form select.form-control { color: #888; }
.contact-form select.form-control.filled { color: #333; }
.contact-form textarea.form-control { resize: vertical; min-height: 130px; }

.btn-send {
  display: block;
  margin: .4rem auto 0;
  background: #3e97b5;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .78rem 2.8rem;
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn-send:hover    { background: #347595; transform: translateY(-1px); }
.btn-send:active   { transform: translateY(0); }

.alert-success-box {
  background: #d4f2e0;
  border: 1px solid #a8dfc0;
  color: #1a6b40;
  border-radius: 6px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════ */
#footer {
  background: #fff;
  border-top: 1px solid #e5eef3;
  padding: 22px 0;
}
.footer-copy {
  color: #777;
  font-size: .87rem;
  font-family: 'Nunito', 'Open Sans', sans-serif;
  text-align: center;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  #hero-10       { min-height: auto; padding-top: 100px; padding-bottom: 56px; }
  .hero-txt h2   { font-size: 2rem; }
  .hero-device   { margin-top: 2.5rem; }
  .hero-device img { max-width: 100%; }
  .video-wrap iframe { width: 100%; height: 260px; }
  .features-section .section-head { font-size: 1.5rem; }
}

@media (max-width: 767px) {
  .hero-txt h2   { font-size: 1.65rem; }
  #main-nav .nav-link { color: #333 !important; }
  #main-nav .navbar-toggler .fas { color: #333; }
  #main-nav .navbar-brand.logo-dark  { display: block; }
  #main-nav .navbar-brand.logo-light { display: none; }
  #main-nav { background: #fff !important; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
  .custom-design-section h2.section-heading { font-size: 1.75rem; }
  .svc-card { flex-direction: column; align-items: center; text-align: center; }
  .feat-item { flex-direction: column; align-items: flex-start; }
}

/* ── Footer links ────────────────────────────────────────────────────── */
.footer-link {
  color: #888;
  font-family: 'Nunito', 'Open Sans', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  transition: color .15s;
}
.footer-link:hover { color: #3e97b5; }
