/*
EMM NWB Custom CSS
Updated: October 2025
*/

/* Font (Jost) */
:root{
  --font-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 100px; 
}
html, body { font-family: var(--font-sans); font-weight: 300; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; }
h2.title {
  font-size: 36px;
  text-transform: uppercase;
}
body{
  overflow-x:hidden;
  padding-top: var(--nav-h); 
}
/* Font Applications */
body,h4,h5,h6,p,.works h2,.parallax .parallax-copy h2 {
  font-family: var(--font-sans);
}
.login-text h2,
.login-text a,
.login-text li,
.login-text h6,
.login-text p,
.round-box input {
  font-family: var(--font-sans);
}
/* a stage default reset */
a:active,
a:hover {
  outline: none;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
}
h1 {
  text-transform: uppercase;
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid #49aeb8;
  border-bottom: 2px solid #49aeb8;
  display: inline-block;
  margin-left: 10px;
}
.chevron-right {
  transform: rotate(-45deg);
}
.chevron-down {
  transform: rotate(45deg);
  margin-left: 15px;
}
.section-spacing {
  margin-bottom: 60px;
  padding-bottom: 20px;
}
.displaced-anchor {
  position: relative;
}
.displaced-anchor .anchor-positiioner {
  height: 0px;
  padding: 0px;
  margin: 0px;
  position: absolute;
  top: -113px;
}
.works p {
  font-family: var(--font-sans);
}
/* Nav bar */
.navbar {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}
.navbar-brand{
  margin-top:0px;
  height: 100px;
  max-width: 100%;
  padding-top: 0px;
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 25px;
  -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.navbar-brand.shrink{
  margin-top:5px;
  height: 70px;
  padding-top: 0px;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 10px;
}
.nav > li > a {
  cursor: pointer;
}
.emm-toggle{
  margin-top:35px;
  margin-bottom: 0px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.emm-toggle.shrink{
  margin-top: 25px;
  margin-bottom: 0px;
}

.nav-shrink{
  padding-top:27px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.nav-shrink.shrink{
  padding-top:15px;
}
.collapse{
  display: block;
}
.navbar-nav li {
  text-transform: uppercase;
}
.navbar-nav li a,
.navbar-nav li a:hover,
.navbar-nav li a:focus,
.navbar-nav li button, 
.navbar-nav li button:hover, 
.navbar-nav li button:focus {
  color: #000000;
  font-size: 1.4em;
  background: none;
  margin-left: 5px;
  padding: 15px 5px;
}
/* === Vertical divider before first CTA in top nav === */
/* Reusable vertical divider that appears *before* the item */
.navbar-nav > li.divider-start {
  position: relative; /* anchor for ::before */
  margin-left: 28px;  /* space after the divider */
}

.navbar-nav > li.divider-start::before {
  content: "";
  position: absolute;

  /* Logical properties = LTR/RTL friendly */
  inset-block: -16px;          /* top & bottom inset (auto-stretches the line) */
  inset-inline-start: -18px; /* place the divider between items */
  width: 3px;                /* divider thickness */
  background: #49aeb8;       /* your blue */
  border-radius: 1px;        /* subtle smoothing */
}
/* Collapse menu: hide the vertical divider when items stack */
/* Parallax */
#parallax {
  color: white;
  width: 100%;
  display: table;
  scroll-margin-top: var(--nav-h);
}
.ib{
  display: inline-block;
  vertical-align: middle;
}
#parallax input {
  padding: 4px;
  margin: 1px;
  color: black;
}
.parallax #student-support,
.parallax #instructor-support {
  width: 50%;
  margin-left: 0;
  font-size: 15px;
  margin-bottom: 10px;
}
#parallax .btn-info,
#parallax .btn-success {
  background-color: #49afcd;
  background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
  background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
  background-image: linear-gradient(top, #5bc0de, #2f96b4);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
  border-color: #2f96b4 #2f96b4 #1f6377;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}
.parallax-text-wrap {
  position: relative;
  top: 10%;
}
.parallax .title-container {
  margin-top: -75px;
  padding: 0;
}
.title-container .hero-title {
  text-align: center;
}
.hero-title h1 {
  font-size: 20px;
}
.hero-title p {
  color: black;
  font-size: 14px;
  margin-top: 15px;
}
.parallax-img {
  display: block;
  width: 100%;
  height: auto;          /* this is what makes the height follow the image */
}
.parallax-img.cropped {
  display: none;
}
.parallax-bg { 
  position: relative; 
}
/* Right-aligned overlay for the parallax login */
.parallax-layer {
  position: absolute;   /* already defined in your file; safe to keep */
  inset: 0;             /* stretch over the image */
  display: flex;
  align-items: center;  /* vertical center */
  z-index: 2;           /* ensure it's above the image */
}

.parallax-layer--right {
  justify-content: flex-end;
  padding-right: clamp(16px, 4vw, 64px); /* breathing room from the edge */
}
.parallax .contact-us-container {
  display: none;
}
/* Constrain the login box width when overlaid */
.parallax .login_medium {
  max-width: 320px;       /* or 32vw if you prefer fluid */
  width: 100%;
}
.blog, .testimonials {
  padding: 50px 0;
  width: 80%;
  margin: auto;
  max-width: 1000px;
}
.blog-container,
.testimonials-container {
  text-align: center;
}
.blog-container img {
  max-width: 100%;
}
.testimonials-container img {
  max-width: 100%;
  width: 50%;
}
.blog-container h1 {
  margin: 40px 0;
  font-size: 40px;
}
.blog-container ul,
.blog-container ol {
  text-align: left;
}
.blog-container li {
  font-size: 16px;
  margin-bottom: 5px;
}
.testimonials-container h1 {
  font-size: 28px;
  margin: 40px 0;
}
.blog-container p,
.testimonials-container p {
  font-size: 22px;
  text-align: left;
  margin-bottom: 15px;
}
.testimonials-container .testimonial-highlight {
  font-size: 20px;
  line-height: 1.55;
}
.testimonials-container .testimonial-highlight-img {
  float: left;
  width: 52%;
  max-width: 560px;
  margin: 6px 28px 0px 0;
  height: auto;
}
.testimonial-highlight-img.right {
  float: right;
   margin: 0 28px 0px 6px;
}
.testimonials-container .testimonial-highlight::after {
  content: "";
  display: table;
  clear: both;
}
.testimonials .author {
  text-align: left;
}
.testimonials .author p {
  font-weight: 500;
  margin: 0;
  font-size: 24px;
}
.testimonials .author span {
  font-size: 18px;
}
@media (max-width: 768px) {
  .testimonials-container .testimonial-highlight__img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px 0;
  }
}
/* Mobile/tablet fallback: stack below and center */
@media (max-width: 1024px) {
  .parallax-layer {
    position: static;     /* drop back into normal flow */
    display: block;
  }
  .parallax:not(.articles) .parallax-layer--right {
    padding-right: 0;
  }
  .parallax .login_medium {
    max-width: 320px;
    margin: 12px auto;    /* center on small screens */
    float: none;
    margin-top: 35px;
  }
  .howitworks > div.blue-divider {
    display: block;
    margin-bottom: 50px;
  }
  .contact-compact__right {
    width: 95%;
  }
}
/* Support tabs: grey by default, black on hover/focus */
#support-nav .login-text a {
  color: #9aa3ad;          /* existing grey tone */
  font-weight: 400;
  font-size:16px;
  text-decoration: none;
}
#support-nav .login-text a:hover,
#support-nav .login-text a:focus {
  color: #000;
}

#contact_form ul,
#request_demo_form ul {
  font: 12px var(--font-sans);
  list-style: none;
  font-weight: 300;
  letter-spacing: 0.5px;
  float: none;
}

.content_text{
  font: 12px/22px var(--font-sans);
  opacity: 0.7;
  font-weight: 200;
  letter-spacing: 1px;
}
.tweet_margin{
  margin-top:0px;
}

.responsive-margin{
  margin-left: 0%;
}
/* media quries by aden */

@media (max-width: 1280px) {
  .parallax #student-support, .parallax #instructor-support{
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .parallax .col-sm-4,
  .parallax .col-sm-8 {
    width: 100%;
    margin: initial auto;
  }
}

.par-center {
  float: none;
  margin: auto;
}
.round-box {
  overflow: visible;
  padding: 15px;
  background-color: #ffffff;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 0px;
  margin-bottom: 20px;
}
.round-box h2 {
  text-align: center;
  color: #9aa3ad;
  margin-top: 0;
}

@media (max-width: 990px) {
  .parallax #student-support,
  .parallax #instructor-support {
    width: 47%;
    background-color: #999999;
    margin-right: 3%;
    border-radius: 16px;
  }
  .parallax #instructor-support {
    margin-right: 0;
    margin-left: 3%;
  }
}
/* work section*/
.works {
  margin-bottom: 60px;
  padding-bottom: 50px;
}
.works .col-sm-11 {
  margin-left: auto;
  margin-right: auto;
}
.works .work-title {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background-color: #49aeb8;
}
.works h2 {
  margin-bottom: 20px;
  margin-top: 15%;
  text-transform: uppercase;
}
.left {
  display: none;
}
.licenter {
  height: 100%;
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}
.vcenter {
  display: flex;
  align-items: center;
}

.work-sections {
  margin-top: 100px;
}
.assess-img .assess-link {
  margin-left: -70px;
  height: 145px;
}
.assess-img .assess-card {
  margin-bottom: -100px;
}
/*Try It Out Section*/
.try input {
  width: 100%;
  background-color: #ffffff;
  color: #333333;
  border: none;
  padding: 10px;
  border-radius: 3px;
}
.border_gray{
  border: 1px solid #cccccc !important;
}
.try .col-sm-4 h1,
.try .col-sm-4 p {
  color: black;
}
.try .col-sm-8 img {
  width: 100%;
  max-width: 600px;
  min-width: 260px;
}
.nav-pills > li > a:hover,
.nav-pills > li > a:focus {
  color: #ffffff;
}
.try .btn-success {
  background-color: #2b95fd;
  color: #ffffff;
}
.try .btn-success:hover{
  background-color: #2b95fd;
  color: #ffffff; 
}
.pt1{
  padding-top:10px;
}
.terms_blue{
  color: #2b95fd;
}
.try #try-form {
  margin-bottom: 0px;
}
.try #try-form input::-webkit-input-placeholder {
  color: #333333;
}
.try #try-form input:-moz-placeholder {
  /* Firefox 18- */
  color: #333333;
}
.try #try-form input::-moz-placeholder {
  /* Firefox 19+ */
  color: #333333;
}
.try #try-form input:-ms-input-placeholder {
  color: #333333;
}
.try .form-input-block {
  margin: 0px 0;
}
.tryout_padding{
  padding-top: 15px;
}
.try .checkbox input {
  width: 20px;
  text-align: left;
}
.try .try-caption {
  font-size: 18px;
}
.try .try-submit {
  margin-top: 20px;
}
.try #try-tos {
  height: 120px;
  overflow-y: scroll;
  font-size: 70%;
}
.try #try-tos .loading {
  position: relative;
  top: 36px;
  text-align: center;
}
@-webkit-keyframes icon-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes icon-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
.try-responsive-margin{
  margin-bottom:80px;
  margin-top:80px;
}
.try #try-tos .glyphicon-refresh {
  -webkit-animation: icon-spin 2s infinite linear;
  animation: icon-spin 2s infinite linear;
}
.try #existing-user-alert {
  text-align: center;
  font-size: 117%;
}
@media (max-width: 768px) {
  .pricing-title .center-img {
    position: static;
    top: auto;
  }
  .try-caption_medium{
    text-align: center;
    margin-top:30px;
    margin-bottom:30px;
  }
  .round-box {
    overflow: visible;
    padding: 15px;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 0px;
    margin-bottom: 10px;
  }
  .tweet_margin{
    margin-top:50px;
  }
  .navbar-nav > li{
    float: left;
  }
  .parallax .login_medium {
    margin-top: 15px;
  }
  .parallax .contact-us-container {
    display: block;
    color: black;
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 10px;
  }
  .parallax .contact-us-container p {
    margin-bottom: 0;
  }
  .parallax #student-support, .parallax #instructor-support{
    width: 47%;
    background-color: #999999;
    margin-right: 0%;
    border-radius: 16px;
  }
  .responsive-margin{
    margin-left: 2%;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .round-box{
    background-color: rgba(255, 255, 255, 1)
  }
}
/* --------------------------------------
   Typography
   -------------------------------------- */
.text-blue {
  color: #49aeb8;
}
/* Features */
.features {
  padding-bottom: 20px;
  background-color: #fff;
  color: black;
  background-size: cover;
  text-align:center;
  background-image: url('../images/Element_4.svg');
  background-repeat: no-repeat;
  background-size: auto 75%;
  background-position: calc(100% + 100px);
}
.features-inner {
  font-size: 20px;
}
.features-inner h4 {
  font-size: 22px;
}
.features-inner .features-text {
  padding: 0 20px;
}
.features-inner #slide3 .features-text {
  padding: 0 15px;
}
.brochures-btn {
  margin-top: 4px;
  padding: 10px 15px !important;       /* a bit wider for the pill look */
  height: 100%;
  font-family: var(--font-heading);
  background-color: #49aeb8 !important; /* requested color */
  color: #fff !important;
  font-weight: 400;
  font-size: 16px !important;
  border: none !important;              /* remove old bottom border */
  border-radius: 9999px !important;     /* makes it oval */
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform .06s ease, background-color .2s ease, box-shadow .2s ease;
}

.brochures-btn:hover,
.brochures-btn:focus {
  background-color: #3b8f97 !important; /* slightly darker on hover/focus */
  text-decoration: none;
}

.brochures-btn:active {
  transform: translateY(1px);
}

/* Optional: clearer keyboard focus */
.brochures-btn:focus {
  outline: 2px solid #3b8f97;
  outline-offset: 2px;
}
#slide1 .features-img-box {
  background: url('../images/Icon_1.svg') top center no-repeat;
  width: 164px;
  height: 150px;
  background-size: 100%;
  margin: 0 auto 30px;
}
#slide2 .features-img-box {
  background: url('../images/Icon_2.svg') top center no-repeat;
  width: 139px;
  height: 150px;
  background-size: 100%;
  margin: 0 auto 30px;
}
#slide3 .features-img-box {
  background: url('../images/Icon_3.svg') top center no-repeat;
  width: 158px;
  height: 150px;
  background-size: 100%;
  margin: 0 auto 30px;
}
#slide4 .features-img-box {
  background: url('../images/Icon_4.svg') top center no-repeat;
  width: 147px;
  height: 150px;
  background-size: 100%;
  margin: 0 auto 30px;
}
/* Contact */
#contact_form,
#request_demo_form,
#pop-contact_form {
  margin-top: 5px;
  text-align: left;
  width: 250px;
}
#email-status {
  max-width: 100%;
  padding-left:15px;
  padding-right:15px;
}
.alert{
  border-radius: 0px;
  border: 1px solid #fff;
  color: #fff;
  font-weight: 200;
  font-family: var(--font-sans);
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}
.alert.loading {
  color: #333;
  border-color: #333;
}
.send-btn{
  padding: 8px 12px;
  margin-bottom: 15px;
  box-shadow: none;
  color: rgba(255,255,255,0.8);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #FDA527;
  background-repeat: repeat-x;
  border-color: #999999;
}
#contact_form, #pop-contact_form, #request_demo_form{
  margin-top: 5px;
  text-align: left;
  width: 100%;
}
.dark{
  background: rgba(0,0,0,0.5);
  border: 1px solid #DDDDDD;
  color: #b2b2b6;
  letter-spacing:0.5px;
  padding: 10px;
  outline: none;
  margin: 0;
  font-weight: 300;
  width:100%;
  max-width:100%;
  display: block;
  vertical-align: baseline; /* Improves appearance and consistency in all browsers */
  *vertical-align: middle; /* Improves appearance and consistency in all browsers */
  margin-bottom: 20px;
  -webkit-transition:0.2s border linear;
  -moz-transition:0.2s border linear;
  transition:0.2s border linear;
  -webkit-transform: translateZ(0);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-background-clip: padding;
  -moz-background-clip: padding;
  background-clip: padding-box;
  -webkit-border-radius:0;
  -moz-border-radius:0;
  border-radius: 0;
  -webkit-appearance: none;
}

#contact_form p,
#pop-contact_form p {
  text-align: right;
/*  padding-right: 5%; */
}

#request_demo_form .radio-list {
  margin-bottom: 10px;
  padding: 5px;
  font-size: 14px;
}

#request_demo_form .radio-list input[type="radio"] {
  margin: 0;
  vertical-align: middle;
}

.input-error {
  border: 2px solid #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.08);
  border-radius: 4px;
}

#request_demo_form p {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

.g-recaptcha {
  max-width: 320px;
  width: 100%;
  display: block;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  height: auto;
}

.g-recaptcha > div {
  transform-origin: 0 0;
  will-change: transform, width, height;
  display: inline-block;
}

.g-recaptcha iframe {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block;
}

#contact_form p .btn,
#request_demo_form p .btn,
#pop-contact_form p .btn {
  padding: 5px 15px;
  margin-top: 15px;
  margin-bottom: 15px;
  box-shadow: none;
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #5bb75b;
  *background-color: #51a351;
  background-image: -moz-linear-gradient(top, #5d5b5c, #3d393a);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5d5b5c), to(#3d393a));
  background-image: -webkit-linear-gradient(top, #5d5b5c, #3d393a);
  background-image: -o-linear-gradient(top, #5d5b5c, #3d393a);
  background-image: linear-gradient(to bottom, #5d5b5c, #3d393a);
  background-repeat: repeat-x;
  border-color: #999999;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5d5b5c', endColorstr='#ff3d393a', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
#contact_form p .btn:active,
#request_demo_form p .btn:active,
#pop-contact_form p .btn:active {
  background-color: black;
  border-color: #999999;
}
#contact_form p .btn::selection,
#request_demo_form p .btn::selection,
#pop-contact_form p .btn::selection {
  background-color: black;
  border-color: #999999;
}
#contact_form .input-field,
#request_demo_form .input-field,
#pop-contact_form .input-field {
  background-color: white;
  font-weight: bold;
  border: 1px solid #999999;
  padding: 5px 10px;
}
#contact_form textarea,
#request_demo_form textarea,
#pop-contact_form textarea {
  width: 100%;
  height: 90px;
  min-height: auto;
}
#request_demo_form #how_did_you_learn_modal {
  height: 75px;
}
#contact_form .btn-form,
#request_demo_form .btn-form,
#pop-contact_form .btn-form {
  width: auto;
  height: auto;
}
#contact_form .btn-form:hover,
#request_demo_form .btn-form:hover,
#pop-contact_form .btn-form:hover {
  background-color: black;
  box-shadow: none;
}
#myModal .modal-content {
  background: white;
  border-top: 5px solid #2AAAE1;
  border-bottom: 5px solid #2AAAE1;
  border-radius: 0;
}
#contact_form form::-webkit-input-placeholder,
#request_demo_form form::-webkit-input-placeholder,
#pop-contact_form .input-field::-webkit-input-placeholder {
  color: red;
}
#contact_form form:-moz-placeholder,
#request_demo_form form:-moz-placeholder,
#pop-contact_form .input-field:-moz-placeholder {
  /* Firefox 18- */
  color: red;
}
#contact_form form::-moz-placeholder,
#request_demo_form form::-moz-placeholder,
#pop-contact_form .input-field::-moz-placeholder {
  /* Firefox 19+ */
  color: red;
}
#contact_form form:-ms-input-placeholder,
#request_demo_form form:-ms-input-placeholder,
#pop-contact_form .input-field:-ms-input-placeholder {
  color: red;
}
/* --------------------------------------
   Media Queries
   -------------------------------------- */
/* Portrait & landscape phone */
/* Landscape phone to portrait tablet */
@media (max-width: 1280px) {
  .navbar-toggle{
    display: flex;
    flex-wrap: wrap;
    width: 40px;
    padding: 0;
  }
  .navbar-toggle .icon-bar{
    display: block;
    background: #49aeb8;
    width: 100%;
    height: 3px;
    margin-bottom: 5px;
  }
  .collapse {
    display: none !important;
  }
  .nav-collapse {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .nav-collapse .navbar-nav {
    padding: 15px;
  }
  .nav-collapse .navbar-nav .divider-start::before {
    inset-block: -8px;
  }

  .navbar-nav{
    margin-top:0px;
    margin-bottom:10px;
  }
  .nav-shrink{
    margin-top:0px;
  }
}
@media (max-width: 900px) {
  .pull-right{
    float: none !important;
    text-align: center;
  }
  .navbar-nav > li{
    float: none;
  }
  .navbar-nav > li.divider-start::before { display: none; }
}
@media (min-width: 1024) { 
  .navbar-toggle {
    display: none;
  }
}

@media (max-width: 769px) {
  #numeracy{
    margin-top:0%;
  }
  .parallax-title h1{
    font-size: 35px;
  }
  .grid-parent{
    margin-bottom: 50px;
  }
  .footer-left {
    height: auto;
  }
  footer {
    text-align: center;
  }
  footer .map-icon {
    display: none;
  }
  footer .social {
    margin-top: 25px;
  }
  /*Numeracy Section */
  #numeracy .numeracy-content .num-description {
    position: relative;
    left: auto;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }
  #numeracy .numeracy-content img {
    width: 100%;
    padding: 0 15px;
    margin-top: 20px;
  }
  #contact_form, #request_demo_form {
    width: 100%;
    margin: 10px 0;
  }
  .contact-compact__right .contact-compact__blurb {
    font-size: 16px;
  }
}
@media (max-width: 667px) {
  h1, .h1{
    font-size:29px;
  }
  .works p{
    font-family: var(--font-sans);
    padding-left: 25px;
    padding-right: 25px;
    font-size:20px;
  }

  .navbar-nav{
    float: none !important;
    text-align: center;
    margin-top:-10px;
  }

  .tweet_margin{
    margin-top:0px;
  }
}

@media (max-width: 435px) {
  .parallax #student-support, .parallax #instructor-support{
    font-size: 13px;
  }

  h1, .h1{
    font-size: 29px;
  }
  h4, .h4{
    font-size: 14px;
  }
}

@media (max-width: 414px) {
  .parallax-title h1{
    font-size: 39px;
  }

  .parallax #student-support, .parallax #instructor-support{
    font-size: 11px;
  }
  h1, .h1{
    font-size: 30px;
  }
  h4, .h4{
    font-size: 14px;
  }
  h2, .h2{
    font-size: 25px;
  }
}

@media (max-width: 400px) {
  h1, h2.title, .h1{
    font-size: 27px;
  }
  h4, .h4{
    font-size: 13px;
  }
  .parallax-title{
    margin: 130px 0 50px;
  }
  .parallax-title h1{
    font-size:21px;
  }
  h2, .h2{
    font-size: 20px;
  }
  .try-responsive-margin{
    margin-bottom: 0px;
  }

}

@media (max-width: 375px) {
  .try-responsive-margin{
    margin-top: 30px;
  }
  .works p{
    padding-left: 0px;
    padding-right: 0px;
  }
  .navbar-nav{
    float: none !important;
    text-align: center;
  }
  .collapse{
    display: none;
  }
  .logo-container {
    padding: 0;
  }
  .navbar-toggle{
    margin-right: 0;
  }
  .pd0{
    padding:0px;
  }
  .tweet_margin{
    margin-top:30px;
  }
  #parallax input{
    padding:4px;
  }

}

@media (max-width: 320px) {
  .grid-parent{
    margin-bottom:40px;
  }
  .works p{
    padding-left: 0px;
    padding-right: 0px;
  }
  .parallax-title{
    margin: 60px 0 50px
  }
  h1, .h1{
    font-size: 22px;
  }
  h4, .h4{
    font-size: 11px;
  }
  .parallax-title h1{
    font-size: 30px;
  }
  #parallax input{
    padding: 4px;
  }
}

/* === Typography overrides (keep at end of file so Jost wins) === */
body, p, li, input, textarea, select, button { font-family: var(--font-sans) !important; }
h1, h2, h3, h4, h5, h6,
.navbar-brand, .btn, .section-title, .hero-title { font-family: var(--font-heading) !important; }

/* Round-box stack (both cards will share the same width; second comes below the first) */
.round-box { overflow: visible; }               /* allow the teal tiles to bleed */

/* ---- LOGIN CARD ---- */
.login-card { position: relative; }

/* Support tabs (readable grey -> black on hover) */
.support-nav { list-style:none; padding:0; margin:0 0 12px; display:flex; gap:24px; }
.support-nav a { color:#9aa3ad; text-decoration:none; font-weight:500; }
.support-nav a:hover, .support-nav a:focus { color:#000; }

/* Bleeding tiles: wrapper that’s wider than the card */
.field-shell{
  position: relative;
  width: 119%;        /* 120% of the round-box width */
  left: -8%;         /* centers the 120% tile so it bleeds ~10% each side */
  height: 80px;       /* adjust to match your SVG art */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%; /* stretch art to the tile edges */
}

/* per-field art (paths are relative to /css/styles.css) */
.username-shell { background-image: url('../images/Username.svg'); }
.password-shell { background-image: url('../images/Password.svg'); }

/* The real inputs: 80% of the round-box width, shifted right to reveal the icons */
.field-shell > input{
  position: absolute;
  /* make input width equal to 80% of the round-box (parent is 120%) */
  width: calc(80% / 1.2);
  right: 10%;                 /* keep a nice right gutter */
  left: auto;
  top: 10px; bottom: 10px;    /* vertical padding inside the tile */
  padding: 0 14px 0 48px;     /* space on the left so text doesn't overlap the icon area */
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: #000;
  box-sizing: border-box;
}

/* placeholder color */
.field-shell > input::placeholder { color:#fff; }

/* Forgot row + button */
.forgot-row { text-align:center; margin: 1px 0 8px; }
.forgot-row .forgot { color:#9aa3ad; text-decoration:none; }
.forgot-row .forgot:hover { color:#000; }

/* Blue pill button like your navbar button */
.login-submit{
  width: 180px;
  padding: 8px 18px !important;
  font-size: 16px !important;
  line-height: 1.2;
  border-radius: 9999px;
  display: block;
  text-align: center;
  margin: 12px auto 0 !important;
}

/* Mobile safety: remove the bleed on very small screens */
@media (max-width: 480px){
  .field-shell { width:100%; left:0; }
}


/* ===== Registration card ===== */
.registration-card { position: relative; }

/* Big teal pill header (non-clickable) */
.registration-card .registration-btn {
  display: block;
  width: 180px;
  margin: 8px auto 16px;
  padding: 8px 18px;
  text-align: center;
  border-radius: 9999px;
  background: #49aeb8;
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
}
.registration-card .registration-options .registration-btn span {
  color: #fff;
}
/* Options list */
/* Center the Registration list block, but keep labels left-aligned */
.registration-card .registration-options {
  width: 85%;            /* centers the block by narrowing it */
  max-width: 520px;
  margin: 12px auto 12px; /* centers the block */
  text-align: left;      /* left-align its contents */
  padding: 0;
}

.registration-card .registration-options li {
  display: block;        /* full row */
}

.registration-card .registration-options label {
  display: grid;
  grid-template-columns: 18px 1fr; /* radio | text */
  align-items: center;             /* vertical centering */
  gap: 12px;
  width: 100%;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom:10px;
  cursor: pointer;
}
/* Ensure the custom radio doesn't add extra line height */
.registration-card input[type="radio"] {
  display: block;          /* fixes baseline alignment quirks */
  margin: 0;
}
/* Radio look + grey/black behavior */
.registration-card input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #c7ced6;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.registration-card input[type="radio"]::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #49aeb8;
  transform: scale(0);
  transition: transform .12s ease;
}
.registration-card input[type="radio"]:checked::after {
  transform: scale(1);
}
.registration-card .registration-options span {
  color: #9aa3ad;
  transition: color .15s ease;
}
.registration-card input[type="radio"]:checked + span {
  color: #000;
}
.registration-card .registration-options label:hover span {
  color: #000;
}

/* Powered by HLS image */
#registration-card .powered-by img {
  display: block;
  width: 30%;
  height: auto;
  margin: 8px auto 0;   /* centers the image */
}
#registration-card .powered-by {
  text-align: center;
}

/* ===== How it works: one block per row, split 50/50 ===== */
.howitworks { 
  padding: 20px 0; 
  width: 1200px;
}
.articles {
  padding: 40px 0;
}
.hiw-grid {
  display: flex;
  flex-direction: column;   /* one block after another */
  gap: 28px;
  margin-top: 24px;
}

.hiw-block {
  display: flex;            /* split into two parts */
  align-items: center;
  gap: 24px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  position: relative;
}

.hiw-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 150%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: left center;
}
.articles .hiw-block::before {
  height: 115%;
}
/* Four blocks: left, right, left, right */
.hiw-grid > article.hiw-block:nth-of-type(1)::before {
  background-image: url('../images/Element_1.svg');
  background-position: -125px;
}
.articles .hiw-grid > article.hiw-block:nth-of-type(1)::before {
  background-position: 130px -40px;
}

.hiw-grid > article.hiw-block:nth-of-type(2)::before {
  background-image: url('../images/Element_2.svg');
  background-position: calc(100% + 140px);
}
.articles .hiw-grid > article.hiw-block:nth-of-type(2)::before {
  content: none;
}

.hiw-grid > article.hiw-block:nth-of-type(3)::before {
  background-image: url('../images/Element_3.svg');
  background-position: -200px;
  top: 20%;
}

.highlights .hiw-grid > article.hiw-block::before {
  content: none;
}

.hiw-block img {
  flex: 0 0 50%;            /* left half: image */
  max-width: 50%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hiw-copy {
  flex: 1 1 50%;            /* right half: text */
}
.highlights .hiw-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.hiw-copy .hiw-title {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.25;
  color: #3453ff;
}

.hiw-copy .hiw-subtitle {
  color: #49aeb8;
  font-size: 20px;
}

.hiw-copy p {
  margin: 0;
  font-size: 24px;
}
.articles .hiw-grid > article.hiw-block { 
  flex-direction: column !important;  /* override even-row swap on phones */
  align-items: stretch;
  padding: 12px 14px;
  border-radius: 10px;
}
.articles .hiw-block img {
  flex: none;
  width: clamp(120px, 65vw, 240px);
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
}
.articles .hiw-copy h2 {
  font-size: 24px;
}
.articles .hiw-copy p {
  font-size: 20px;
}
.hiw-copy q {
  font-weight: 500;
}
.hiw-copy .author {
  text-align: left;
  margin: 10px 0;
}
.hiw-copy .author p {
  font-weight: 500;
}
.hiw-highlight-text {
  color: #3453ff;
}
.read-btn-container {
  display: flex;
  align-items: center;
  border-radius: 15px;
  border: solid 1px #49aeb8;
  overflow: hidden;
  width: 125px;
  margin-top: 20px;
}
.read-btn-container.all {
  display: block;
  margin: 15px auto 0;
  font-size: 18px;
  width: 150px;
}
.read-btn-container.all .chevron {
  width: 10px;
  height: 10px;
  border-right: 3px solid #49aeb8;
  border-bottom: 3px solid #49aeb8;
}
.read-btn {
  background-color: #49aeb8;
  color: white;
  border: none;
  padding: 5px 10px;
}
.awards-container,
.partners {
  display: flex;
  flex-direction: column;
  padding: 15px 30px;
}
.awards-container.carousel {
  display: none;
}
.partners.carousel .partner {
  height: 200px;
}
.partners .partner,
.awards-container .award {
  border-radius: 10px;
  box-shadow: 0px 0px 5px 5px rgb(141, 145, 157, 0.4);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 10px 0;
}
.awards-container .award img {
  width: 50%;
  border-right: solid 1px rgb(141, 145, 157, 0.4);
}
.awards-container .award p {
  text-align: center;
  font-weight: 500;
  width: 50%;
}
/* Swiper container */
.awards-container.carousel,
.partners.carousel {
  width: 100%;
  padding: 60px 20px;
  overflow: hidden;
}
.swiper {
  width: 100%;
  max-width: 900px;
  padding-top: 50px;
  padding-bottom: 50px;
}
/* Individual slides */
.swiper-slide {
  background: white;
  width: 300px !important;  /* Important: needed for slidesPerView: "auto" */
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
  box-sizing: border-box;
}
.swiper-slide img {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
}
.swiper-slide p {
  text-align: center;
  margin: 0;
}
/* Center slide emphasis */
.swiper-slide-active {
  transform: scale(1.1);
  z-index: 2;
}
/* Mobile: stack image over text */
@media (max-width: 768px) {
  .hiw-block {
    flex-direction: column;
    align-items: stretch;
  }
  .hiw-block img {
    max-width: 100%;
    width: 100%;
  }
}

/* Reusable horizontal divider (matches navbar blue line) */
.blue-divider {
  height: 3px;               /* same thickness as navbar divider */
  background: #49aeb8;       /* same blue */
  border-radius: 1px;        /* slight smoothing like the navbar line */
  width: 100%;
}

.howitworks > .blue-divider {
  display: none;
}

/* Spacing helpers (pick one where you place it) */
.blue-divider--sm { margin: 10px 0; }
.blue-divider--md { margin: 16px 0; }
.blue-divider--lg { margin: 24px 0; }

/* Optional: centered narrow variant instead of full width */
.blue-divider--narrow {
  width: 180px;
  margin-left: auto;
  margin-right: auto;
}

/* Full-width split section: image left (40%), text panel right (60%) */
.numeracy-matters {
  display: flex;
  width: 100%;
}

.numeracy-matters__media {
  flex: 0 0 42%;
}

.numeracy-matters__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* crop nicely if image aspect is tall */
}

/* Right panel */
.numeracy-matters__content {
  flex: 1 1 60%;
  background: #234d54;
  color: #ffffff;
  display: flex;
  align-items: center;     /* vertically center the inner text block */
  padding: 32px 40px;
}

/* Text styles */
.numeracy-matters__inner h2 {
  margin: 0 0 10px;
}

.numeracy-matters__inner p {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

/* Button image */
.numeracy-matters__btn img {
  display: inline-block;
  height: auto;
  max-width: 220px;       /* tweak if your SVG is wider/narrower */
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .numeracy-matters {
    flex-direction: column;
  }
  .numeracy-matters__media,
  .numeracy-matters__content {
    flex: none;
    width: 100%;
  }
  .numeracy-matters__content {
    padding: 24px 20px;
  }
}
/* Full-width gold divider shown AFTER the 48px features margin */
.section-divider {
  display: block;
  width: 100%;          /* full-bleed across the viewport */
  height: 15px;          /* divider thickness */
  margin-left: 50%;
  transform: translateX(-50%); /* prevent horizontal scroll if inside a container */
}
.section-divider--gold { 
  background: #ffd13f;
}
.section-divider--teal { 
  background: #29d8b9;
  height: 5px; 
}
/* NWB Map section with big headings and a large centered image */
.nwb-map {
  background: #ffffff;
  padding: 48px 0;               /* top/bottom breathing room */
  background-image: url('../images/Element_5.svg');
  background-repeat: no-repeat;
  background-size: auto 75%;
  background-position: -100px 60%
}

.nwb-partners {
  padding: 48px 0;
}

.nwb-map__inner,
.nwb-partners__inner {
  max-width: 800px;      /* comfy content width */
  margin: 0 auto;
  text-align: center;
}

.nwb-partners__inner .partners {
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.nwb-partners__inner .partners img {
  margin: 10px;
}

.nwb-map h1 {
  color: #000000;
  line-height: 1.1;
  margin: 0 0 38px;
}

.nwb-map h3 {
  color: #3453ff;
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 38px;
}

.nwb-map img {
  display: block;
  width: 95%;
  max-width: 95%;
  height: auto;
  margin: 0 auto;
}

/* Compact contact block (max 800px), split 25% | 75% */
.contact-compact {
  background: #ffffff;            /* simple white background */
  color: #000;
  padding: 30px 0 20px 0;
}

.contact-compact__inner {
  width: 100%;
  max-width: 800px;               /* requested container width */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 3fr; /* 25% | 75% split */
  gap: 24px;
  align-items: start;
}

.contact-compact__left h3 {
  margin: 0 0 8px;
}

.contact-compact__blurb {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  opacity: .85;
}

.contact-compact__meta p {
  margin: 0 0 8px;
}
.contact-compact-heading {
  color:#29d8b9;
  text-transform: uppercase;
  font-size: 28px;
  font-weight:600;
  text-align:center;
}
/* Reuse existing input styling; ensure full width inside the new container */
.contact-compact__right #contact_form ul,
#request_demo_form ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#request_demo_form label {
  cursor: pointer;
}
.contact-compact__right .dark {
  width: 100%;
  max-width: 100%;
}

.contact-compact__actions {
  text-align: right;
  margin: 0;
}

#request_demo_form .contact-compact__actions {
  margin-top: 10px;
}

/* Mobile stack */
@media (max-width: 768px) {
  .contact-compact__inner {
    grid-template-columns: 1fr;  /* stack */
    padding: 10px 75px;
  }
  .footer-divider {
    display: none;
  }
  .contact-compact__inner .contact-compact__left {
    order: 1
  }
  .contact-compact__inner .contact-compact__left img {
    max-width: 200px;
  }
  .contact-compact__left .contact-compact__meta {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 20px 0;
  }
  .contact-compact__left .contact-compact__meta p:last-of-type {
    text-align: right;
  }
  .contact-compact__left .footer-icons {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .contact-compact__left .terms {
    text-align: right;
  }
  .contact-compact__actions {
    text-align: left;
  }

  #request_demo_form .contact-compact__actions {
    text-align: right;
  }
}
@media (max-width: 599px) {
  h1, h2.title, .h1{
    font-size: 27px;
  }
  .works p{
    padding-left: 20px;
    padding-right: 20px;
  }
  .grid-parent{
    margin-bottom: 0px;
  }
  .contact-section .contact-compact__inner {
    padding: 10px;
  }
}
/* Make the final contact section full #234d54 */
#contact.contact-compact,
#request-demo-modal .modal-body {
  background: #234d54;   /* full-width section background */
  color: #d1d3d4;        /* default text color in this section */
  font-weight:400;
}
#request-demo-modal .modal-dialog {
  max-width: 500px;
  margin: auto;
}
#request-demo-modal .contact-compact-heading {
  font-size: 22px;
}
#request-demo-modal .modal-body .contact-compact__right {
  margin: auto;
}
/* Left column text colors */
#contact.contact-compact h3 { color: #ffffff; }
#contact.contact-compact .contact-compact__blurb,
#contact.contact-compact .contact-compact__meta { color: #d1d3d4; font-weight:400;}

/* Links inside this section (tweak if you prefer white) */
#contact.contact-compact a { color: #d1d3d4;  font-weight:400;}
#contact.contact-compact a:hover { color: #ffd13f; }

/* Form fields: keep inputs readable on dark bg */
#contact.contact-compact .dark,
#request-demo-modal .modal-body .dark {
  background: #ffffff;
  color: #000000;
  border: none;
}
#request-demo-modal .modal-body .dark {
  font-size: 16px;
}
#contact.contact-compact .dark::placeholder,
#request-demo-modal .modal-body .dark::placeholder { 
  color: #6b6b6b;
}

/* Send button — keep your existing style, just ensure it has contrast */
/* Send button: pill style, same dimensions as your pills */
#contact .send-btn,
#request-demo-modal .modal-body .send-btn {
  display: inline-flex;           /* like your other pills */
  align-items: center;
  justify-content: center;
  width: 200px;                   /* match Login/Registration width */
  padding: 10px 15px;
  border: none;
  border-radius: 9999px;          /* pill */
  background: #29d8b9;
  color: #234d54;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
}

#request-demo-modal .modal-body .send-btn {
  width: 100%;
}

/* hover / focus */
#contact .send-btn:hover,
#contact .send-btn:focus-visible,
#request-demo-modal .modal-body .send-btn:hover,
#request-demo-modal .modal-body .send-btn:focus-visible {
  background: #22bfa4;           /* slightly darker on hover */
  outline: 2px solid rgba(0,0,0,0); /* keep from shifting on focus */
}


/* Social icons: horizontal list, SVG images, gold outline on hover/focus */
.so-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 14px;                   /* space between icons */
}

.so-icons li {
  display: inline-flex;
}

.so-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;                 /* icon button size */
  height: 40px;
  border-radius: 10px;          /* square with slightly rounded corners */
  outline: 0;                  /* we’ll manage focus style below */
  transition: outline-color .15s ease, outline-width .15s ease, outline-offset .15s ease;
}

.so-icons a img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Hover + keyboard focus: gold outline */
.so-icons a:hover,
.so-icons a:focus-visible {
  outline: 2px solid #ffd13f;
  outline-offset: 2px;
}

/* Contact form input corners */
#contact .dark,
#request-demo-modal .modal-body .dark,
#contact .contact-compact .dark,
#contact input[type="text"].dark,
#contact input[type="email"].dark,
#contact textarea.dark {
  border-radius: 18px;          /* ← change this value */
}

/* (Optional) nicer focus */
#contact .dark:focus,
#request-demo-modal .modal-body .dark:focus {
  outline: 2px solid #49aeb8;  /* match your brand blue */
  outline-offset: 2px;
}

/* Swap image/text on even rows (ignore the divider <div>s) */
.hiw-grid > article.hiw-block:nth-of-type(even) {
  flex-direction: row-reverse;
}

@media (max-width: 1920px) {
  .howitworks {
    width: 1000px;
  }
}

@media (max-width: 1440px) {
  .howitworks {
    width: 800px;
  }
  .hiw-grid > article.hiw-block:nth-of-type(1)::before {
    background-position: -100px;
  }
  .articles .hiw-grid > article.hiw-block:nth-of-type(1)::before {
    background-position: 35px -45px;
    height: 100%;
  }
  .hiw-grid > article.hiw-block:nth-of-type(2)::before {
    background-position: calc(100% + 100px);
  }

  .hiw-grid > article.hiw-block:nth-of-type(3)::before {
    background-position: -130px;
  }
  .features, .nwb-map {
    background-image: none;
  }
  .features-inner {
    font-size: 18px;
  }
}
@media (max-width: 1200px) {
  .hiw-grid > article.hiw-block:nth-of-type(1)::before,
  .hiw-grid > article.hiw-block:nth-of-type(2)::before,
  .hiw-grid > article.hiw-block:nth-of-type(3)::before   {
    content: none;
  }
}
/* Keep mobile stacked */
@media (max-width: 768px) {
  .hiw-grid > article.hiw-block:nth-of-type(even) {
    flex-direction: column;
  }
}
/* === How it works: mobile tuning (<=768px) === */
@media (max-width: 768px) {
  /* One block per row, stacked image over text, tighter spacing */
  .hiw-grid {
    gap: 16px;
  }
  .hiw-grid > article.hiw-block { 
    flex-direction: column !important;  /* override even-row swap on phones */
    align-items: stretch;
    padding: 12px 14px;
    border-radius: 10px;
  }

  /* Image smaller + centered */
  .hiw-block img {
    flex: none;
    width: clamp(120px, 65vw, 240px);
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
  }

  /* Text container fills width with comfortable line length */
  .hiw-copy {
    width: 100%;
  }

  /* Headings + body text scale down on phones */
  .hiw-copy h2 {
    font-size: clamp(18px, 5.2vw, 22px);
    line-height: 1.25;
    margin: 0 0 6px;
  }
  .hiw-copy p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
  }

  /* Optional: compress dividers between blocks on mobile */
  .howitworks .blue-divider, .section-divider { height: 8px; }

}

@media (max-width: 360px) {
  h1, .h1{
    font-size: 25px;
  }
  h4, .h4{
    font-size: 18px;
  }
  #contact.contact-compact .contact-compact__meta {
    flex-wrap: wrap;
  }
  .contact-compact__left .contact-compact__meta p:last-of-type {
    text-align: left;
    width: 100%;
  }
  .contact-compact__left .footer-icons {
    flex-wrap: wrap;
  }
  .contact-compact__left .terms {
    width: 100%;
    text-align: left;
    margin-top: 10px;
  }
  #jsd-widget {
    right: 20px !important;
    left: auto !important;
  }
}