/* =========================================================
   BASE / GLOBAL
   ========================================================= */
html {
  scroll-behavior: smooth;
}

body,
#contactOverlay .popup__head {
  background: #0e1e29 url("https://www.stronde.com/wp-content/uploads/2025/08/pattern-1-1.png");
  color: #fff;
  font-family: "Source Sans 3", Sans-serif;
}

.text-secondary {
  color: #ced4d7 !important;
}

.bg-primary {
  background-color: #1a82cc !important;
}

.text-dark {
  color: #0e1e29 !important;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
/* Headings */
h1,
h2,
h3,
h4,
h5 {
  color: #fff;
  line-height: 1.2;
  font-family: "Source Sans 3", Sans-serif;
}
h1.elementor-heading-title.elementor-size-default,
h1 {
  font-weight: 700;
  font-size: 72px;
  line-height: 1.1;
  letter-spacing: -0.09375rem;
  color: #fff;
}

h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 1%;
}

h3 span {
  font-weight: 400;
  font-size: 18px;
}
.card h3 {
  font-family: Cabin;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.5px;
  font-family: "Cabin", Sans-serif;
}

.gradient-text {
  background: linear-gradient(90deg, #0085d1 0%, #00f4f4 100%);
  background: linear-gradient(90deg, color(display-p3 0.098 0.514 0.796) 0%, color(display-p3 0.341 0.941 0.949) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  position: relative;
}

.gradient-text::before {
  content: "";
  position: absolute;
  top: 0;
  right: -9px;
  width: 40px;
  height: 39px;
  background: url(/wp-content/uploads/2025/08/ai.png) no-repeat;
  background-size: cover;
  background-position: top;
}

h2 .gradient-text::before {
  top: -5px;
  right: -15px;
  width: 35px;
  height: 33px;
}
.content-section h2 {
  font-family: "Cabin", Sans-serif !important;
  font-weight: 700 !important;
  font-size: 21px;
  line-height: 100%;
  letter-spacing: -0.5px;
  text-align: center;
  vertical-align: middle;
  background-image: linear-gradient(90deg, #0085d1 0%, #0085d1 0%, #0fade8 10%, #12b7ff 60%, #43e9f5 72%, #00f4f4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
  margin-bottom: 15px;
}

#hero {
  min-height: 90vh;
}

.content-section .btn-primary:hover {
  background: #fff;
  color: #0e1e29;
}

.content-section h3 {
  font-family: "Cabin", Sans-serif !important;
  font-weight: 700 !important;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  color: #fff !important;
}

.content-section h3.text-light {
  font-size: 28px;
  font-family: "Source Sans 3", Sans-serif !important;
  font-weight: 300 !important;
}

.content-section h3.text-light span {
  font-weight: 600;
  font-size: inherit;
}

.content-section .text-left h2,
.content-section .text-left h3,
.content-section .text-left p {
  text-align: left;
}

/* ==========================================================
  WHATS INCLUDED SECTION
*/

.card.bg-dark {
  background-color: transparent !important;
  background: linear-gradient(180deg, rgba(0, 132, 210, 0.22) 0%, rgba(0, 132, 210, 0) 100%) !important;
  border: 0;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.2s ease;
  margin-bottom: 15px;
}

.card.bg-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px; /* border thickness */
  background: linear-gradient(90deg, #0085d1 0%, #12b7ff 48%, #00f4f4 100%);
  /* carve out the middle so only a 1px ring shows */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.card.bg-dark:hover {
  border-color: transparent; /* avoid double border under the overlay */
  box-shadow: 0 8px 24px rgba(0, 245, 245, 0.08), 0 2px 8px rgba(0, 133, 209, 0.2);
}

.card.bg-dark:hover::before {
  opacity: 1; /* show the gradient ring */
}

.card.bg-dark .elementor-widget-text-editor {
  color: #ced4d7 !important;
}

.card.bg-dark h5 {
  font-weight: 600;
  color: #fff !important;
}
.card.bg-dark .card-body {
  padding: 15px;
}
.card.bg-dark img {
  width: 90%;
}

/* who it's for */
.services p,
.elementor-widget-text-editor {
  color: #ced4d7 !important;
}

/* =========================================================
   BUTTONS / ALERTS / FORMS
   ========================================================= */
.btn {
  border-radius: 8px;
  font-family: "Cabin", Sans-serif;
  font-weight: 600;
}
.btn:focus,
.btn:active:focus,
.btn:focus-visible,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-check:focus + .btn,
.btn-check:checked + .btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* iOS tap highlight */
button,
.btn {
  -webkit-tap-highlight-color: transparent;
}

/* Firefox inner focus */
button::-moz-focus-inner {
  border: 0;
}
.btn-primary {
  color: #fff;
  background-color: #1a82cc;
  border-color: #1a82cc;
  height: 54px;
  font-size: 15px;
  padding-left: 10px;
  padding-right: 10px;
}
.btn-primary:hover {
  background-color: #0e1e29;
  border-color: #0e1e29;
}

#hero .btn {
  width: 100%;
}

.alert {
  border-radius: 10px;
  padding: 16px;
}

.alert-info {
  /*color: #0e1e29;
  background-color: #f2faff;
  border-color: #f2faff;*/
  background-color: #e8f4ff; /* brighter blue */
  border-left: 4px solid #1a82cc; /* accent stripe */
  color: #0a3d62; /* darker text for readability */
  font-size: 0.95rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  padding: 12px 12px;
}

.form-label {
  color: #0e1e29;
}
.form-control {
  background: #e9ecef;
  padding: 15px;
  border-color: #e9ecef;
  border-radius: 8px;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
  background-image: none;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
/* Header*/
.main-header {
  color: #fff;
  background: rgba(8, 16, 24, 0.4);
  -webkit-backdrop-filter: blur(104px);
  backdrop-filter: blur(104px);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.main-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  height: 1px;
  width: var(--progress, 30%); /* JS updates this */
  background: linear-gradient(90deg, #2aa0ff, #74c1ff);
  transition: width 0.18s ease-out;
  pointer-events: none;
}
.main-header.header-down {
  box-shadow: none;
}

.navbar-button a {
  font-size: 14px;
  padding: 9px 15px;
  border-radius: 8px;
  min-width: 144px;
}

.custom-navbar-menu li a,
.custom-navbar-menu li a:visited {
  color: #9d9d9c;
  transition: all 0.5s ease;
  font-weight: 400;
}
.custom-navbar-menu li a:hover {
  color: #fff;
  opacity: 1;
  font-weight: 600;
}

/* active state (anchor OR aria-current) */
.main-header .custom-navbar-menu a.is-active,
.main-header .custom-navbar-menu a:visited,
.main-header .custom-navbar-menu a[aria-current="true"] {
  font-weight: 600;
  color: #fff;
}

.navbar-toggle {
  width: 25px;
  height: 25px;
  background: url("/wp-content/uploads/2025/08/menu-03.svg") no-repeat center top;
}

.navbar-toggle.buttonActive {
  background: url("/wp-content/uploads/2025/08/x-close.png") no-repeat center top;
}

.navbar-logo.menu-logo img {
  height: 40px;
}

.navbar-button a {
  background: #fff;
  border: 1px solid #838383;
  color: #0e1e29;
}
.navbar-inner .navbar-button a:hover {
  border-color: transparent;
  box-shadow: 0px 4px 14px 0px #00000040;
}

/* =========================================================
   HERO (BG / DECORATION)
   ========================================================= */
#hero {
  background: url("https://www.stronde.com/wp-content/uploads/2025/08/Intersect.png") no-repeat 100% 4%;
  position: relative;
  min-height: 100vh;
}

#hero:after {
  content: "";
  position: absolute;
  top: 70%;
  width: 93px;
  height: 190px;
  left: 0;
  background: url(" https://www.stronde.com/wp-content/uploads/2025/08/Intersect-1.png") no-repeat;
  background-size: 100%;
  z-index: -1;
}

.hero-card {
  position: relative;
  z-index: 0 !important;
  height: 89vh !important;
  background: radial-gradient(circle, rgba(0, 244, 244, 0.6) 0%, rgba(0, 133, 209, 0) 63%);
}

#included,
#faqs {
  scroll-margin-top: 84px;
  min-height: 400px;
  overflow-x: clip; 
}

#how {
  scroll-margin-top: 54px;
  min-height: 400px;
}

/* =========================================================
   CARDS
   ========================================================= */
.card {
  border-radius: 24px !important;
}

/* =========================================================
   FOOTER
   ========================================================= */
/*footer */
footer {
  background: transparent;
}

.copyright-footer .copywrite {
  color: #fff;
}
.copyright-footer .terms-privacy a,
.copyright-footer .terms-privacy a:visited {
  color: #fff;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.copyright-footer .terms-privacy a:hover {
  color: #fff;
  opacity: 0.8;
}

/* =========================================================
   POPUP: OVERLAY / BOX / INNER / CLOSE / PROGRESS
   ========================================================= */
#openPopup {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.ms-step-label {
  font-size: 15px;
  color: #0e1e29;
}
.text-white .ms-step-label {
  color: #fff;
}

/* Popup overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 0;
}

/* Popup box */
.popup {
  background: #fff;
  max-width: 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
  flex-direction: column;
  display: flex;
}

.popup h3 {
  font-family: Cabin;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: -0.5px;
  vertical-align: middle;
}

.popup-inner {
  width: 100%;
  position: relative;
  z-index: 11;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  max-width: none;
  margin: 0;
}

.popup-inner::-webkit-scrollbar {
  display: none;
}

/* Limit the actual form width */
#contactOverlay .popup-inner .wpcf7,
#contactOverlay .popup-inner form,
#contactOverlay .popup-inner #ai-ms-form {
  width: 100%;
}
.cf7-step {
  max-width: 655px;
  margin: 0 auto;
}
.cf7-step.cf7-step--schedule {
  max-width: none;
}

/* Optional: on very small screens, top-align if content is tall */
@media (max-width: 640px) {
  #contactOverlay .popup-inner {
    /* align-items: flex-start;*/
    display: block;
  }
}

.popup-container {
  margin-top: 30px;
}

/* Close button */
.close {
  padding: 0;
  margin: 0 auto;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
  z-index: 99;
}

#contactOverlay .close img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  pointer-events: none;
  /* keep clicks on the button */
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* one place to control widths */
#contactOverlay {
  --iframe-max: 1100px; /* how wide you want the booking frame */
  --panel-max: 1200px; /* optional: outer panel width on desktop */
}

/* Keep the original narrow width ONLY for steps 1–2 */
#contactOverlay .cf7-step:not(.cf7-step--schedule) .wpcf7,
#contactOverlay .cf7-step:not(.cf7-step--schedule) form,
#contactOverlay .cf7-step:not(.cf7-step--schedule) #ai-ms-form {
  max-width: 655px; /* your current form width */
  margin-inline: auto;
}

/* Remove the cap for Step 3 (schedule) */
#contactOverlay .cf7-step--schedule .wpcf7,
#contactOverlay .cf7-step--schedule form,
#contactOverlay .cf7-step--schedule #ai-ms-form {
  max-width: none; /* <-- this unlocks width for the iframe */
  padding: 0; /* avoid inner padding squeezing the frame */
}

/* Center & widen ONLY the iframe area */
#contactOverlay .cf7-step--schedule .ms-iframe-wrap {
  width: 100%;
  max-width: var(--iframe-max);
  margin-inline: auto;
}

/* Make sure the iframe itself fills that wrapper */
#contactOverlay .cf7-step--schedule iframe {
  display: block;
  width: 100%;
  height: 100%;
}
/* Popup layout header */
#contactOverlay .popup__head {
  padding: 12px 16px;
  position: relative;
}

#contactOverlay .popup__head h2 {
  color: #fff;
  font-size: 49px;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 0;
  margin-top: 15px;
}

/* Progress in header */
#contactOverlay .ms-progress {
  margin-top: 10px;
}

#contactOverlay .ms-progress__bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

#contactOverlay .ms-progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: #1a82cc;
  transition: width 0.3s ease;
}

#contactOverlay .ms-progress__steps {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-top: 0.4rem;
  opacity: 0.85;
}

#contactOverlay .ms-progress__steps .is-active {
  font-weight: 600;
  opacity: 1;
}

/* =========================================================
   MULTI-STEP FORM (CF7) + MESSAGES / SPINNERS
   ========================================================= */
/* Steps visibility */
.cf7-step {
  display: none;
}

.cf7-step.is-current {
  display: block;
}

/* Form contrast */
.ms-form br {
  display: none;
}

.ms-form label {
  display: block;
  font-weight: 400;
  margin: 0.6rem 0 0.35rem;
  color: #0e1e29;
}

.ms-form input[type="text"],
.ms-form input[type="email"],
.ms-form textarea,
.ms-form select {
  outline: none;
  border: 1px solid #f8f8f8;
  background: #f8f8f8;
  padding: 21px 24px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Source Sans 3", Sans-serif;
  width: 100%;
}

.ms-form input::placeholder,
.ms-form textarea::placeholder {
  color: #838383;
}

.ms-form input:focus,
.ms-form textarea:focus,
.ms-form select:focus {
  box-shadow: 0 0 0 3px rgba(0, 133, 209, 0.25);
}

/* Helper text + errors + nav */
.ms-intro {
  margin: 0.25rem 0 0.75rem;
  color: #334155;
}

.ms-required-note {
  margin: 0.6rem 0 0.25rem;
  font-size: 13px;
  color: #838383;
}

.ms-required-note span,
label span,
.text-danger {
  color: #ff2e52 !important;
}

/* Step-1 inline error */
#contactOverlay .ms-error {
  min-height: 18px;
  margin-top: 0.5rem;
  line-height: 1.2;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.18s ease, visibility 0.18s linear;
  color: #ff2e52 !important;
}

#contactOverlay .ms-error.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Show CF7 messages in popup */
form.wpcf7-form .wpcf7-response-output {
  display: none;
}

#contactOverlay form.wpcf7-form .wpcf7-response-output {
  display: none !important;
  margin-top: 10px;
  color: #e11d48;
  border: none;
  padding: 0;
}

/* Scope to your popup container */
#contactOverlay .wpcf7-not-valid-tip {
  /*display: none !important;*/
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ff2e52;
  font-size: 14px;
  margin-top: 4px;
}
/* Bootstrap “exclamation-circle” icon */
#contactOverlay .wpcf7-not-valid-tip::before {
  font-family: "bootstrap-icons";
  content: "\F333";
  font-size: 1rem;
  color: #ff2e52;
  line-height: 1;
}

input.wpcf7-not-valid {
  background: #f8f8f8 !important;
  border-color: #ff2e52 !important;
}

#heroEmailErr {
  display: flex;
  align-items: center;
}

.wpcf7 .wpcf7-response-output {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, max-height 0.35s ease, visibility 0.35s linear;
}

/* Shown state */
.wpcf7 .wpcf7-response-output.is-visible {
  opacity: 1;
  visibility: visible;
  max-height: 160px;
  /* enough room for text */
}

/* Fade-out state (optional explicit class) */
.wpcf7 .wpcf7-response-output.is-fadeout {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
}

form.wpcf7-form .wpcf7-submit.disabled {
  pointer-events: none;
  opacity: 0.7;
  color: #838383 !important;
}

form.wpcf7-form .wpcf7-spinner {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none !important;
}

form.wpcf7-form .wpcf7-spinner:before {
  display: none !important;
}

form.wpcf7-form .spinner-loading {
  visibility: visible;
  background: transparent;
  opacity: 1;
}

form.wpcf7-form .spinner-success {
  visibility: visible;
  background: transparent;
  opacity: 1;
}

form.wpcf7-form .span-animation {
  width: 24px;
  height: 24px;
  position: relative;
  left: -65px;
  border-radius: 80px !important;
  display: block;
}

form.wpcf7-form .spinner-success .span-animation {
  left: -50px;
}

form.wpcf7-form .wpcf7-spinner.subscribe .span-animation {
  left: 0;
}

/* Step 3 iframe */
.cf7-step--schedule .ms-iframe-wrap {
  height: calc(90vh - 220px);
}

.cf7-step--schedule iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}
body.talkSrtategy-popup-open {
  overflow: hidden;
}
/* =========================================================
Logo slider - this is dublicate, but the working version is in elementor page css
=========================================================== */

.logo-strip {
  padding: 5px 0;
}

/* Hide overflow + side fades */
.logo-strip__viewport {
  position: relative;
  overflow: hidden;
}

.logo-strip__viewport::before,
.logo-strip__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to right, var(--ai-bg, #0e1e29), transparent);
}
.logo-strip__viewport::after {
  right: 0;
  left: auto;
  transform: scaleX(-1);
}

/* Track: horizontal flow */
.logo-strip__track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  padding: 10px 0;
  width: max-content;
  animation: scroll-left 35s linear infinite;
}

/* Pause animation when user hovers */
.logo-strip__viewport:hover .logo-strip__track {
  animation-play-state: paused;
}

/* Make Elementor Image widgets behave like logos */
.logo-strip__track img {
  display: block;
  height: clamp(18px, 3.2vw, 28px); /* responsive height */
  width: auto;
  opacity: 0.86;
  transition: opacity 0.2s ease;
}
.logo-strip__track img:hover {
  opacity: 1;
}

/* Seamless loop: we animate the width of one full sequence (duplicated by JS) */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* -50% after duplication */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .logo-strip__track {
    animation: none;
  }
}

/* Slightly slower on small screens */
@media (max-width: 576px) {
  .logo-strip__track {
    animation-duration: 42s;
  }
}

/* ======================================================

STICKY CTA
===========================================================*/

/*Persistent button */
/* Sticky bar */
#mobileCta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 5px 10px;
  
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
#mobileCta.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* ensure it never shows on desktop even if JS toggles */
@media (min-width: 768px) {
  #mobileCta {
    display: none !important;
  }
}

body.overlay-open #mobileCta {
  transform: translateY(110%);
  opacity: 0;
}

/* ======================================================
How it works
======================================================= */

.howitworks {
  --c-accent: #1a82cc;
  --c-rail: #e5e5f3;
  --c-text: #e9f1f6;
}

.howitworks h4 {
  font-family: "Cabin";
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0;
}

.hiw-grid {
  display: grid;
  grid-template-columns: minmax(280px, 580px) 1fr;
  gap: 10px;
  align-items: start;
}

.hiw-visual {
  align-self: center;
} /* optional: also center the image column */

/* Reserve a box for the images and limit them */
.hiw-visual {
  position: relative;
  width: 100%;
  max-width: 1100px;
  /*max-height: min(60vh, 520px);*/
  aspect-ratio: 16 / 11;
  margin-inline: auto;
  overflow: hidden;
}

/* Fit images inside the box */
.hiw-visual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: contain;
}
.hiw-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 38px;
  margin-top: 50px;
}

/* The rail container (no border) */
.hiw-rail {
  position: absolute;
  left: 49px;
  top: 15px;
  bottom: 25px;
  width: 2px;
  border-radius: 4px;
  overflow: hidden;
  z-index: 0;
}

/* Dashed track behind the fill */
.hiw-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  /* tweak dash/gap/colors as you like */
  --dash: 4px; /* dash length */
  --gap: 4px; /* gap length */
  --dash-color: rgba(255, 255, 255, 0.9);
  background: repeating-linear-gradient(to bottom, var(--dash-color) 0 calc(var(--dash)), transparent calc(var(--dash)) calc(var(--dash) + var(--gap)));
  z-index: 0; /* behind the fill */
}

/* Solid progress bar that covers the dashes */
.hiw-rail__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: auto;
  width: 100%;
  height: 70%;
  background: #1a82cc;
  z-index: 1; /* above the dashed track */
  transition: height 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hiw-step {
  position: relative;
  padding-bottom: 18px;
}
.hiw-step:last-child {
  padding-bottom: 0;
}

.hiw-step__header {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.hiw-step__num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-rail);
  color: #0b2230;
  font-weight: 700;
}
.hiw-step.is-active .hiw-step__num {
  background: var(--c-accent);
  color: #00131f;
}

.hiw-step__panel {
  color: #ced4d7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
  padding-left: 36px;
  font-size: 20px;
  line-height: 1.4;
}
.hiw-step.is-active .hiw-step__panel {
  opacity: 1;
  max-height: 390px;
  margin-top: 8px;
}

/* Right visual */
.hiw-visual {
  position: relative;
  min-height: 470px;
}
.hiw-visual__img {
  position: absolute;
  inset: 0;
  object-fit: contain;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.hiw-visual__img.is-active {
  opacity: 1;
  transform: none;
}

.hiw-step__header .hiw-step__title {
  transition: color 0.2s ease;
}
.hiw-step__header:hover .hiw-step__title,
.hiw-step__header:focus-visible .hiw-step__title {
  color: #0085d1;
}

/* Mobile: tap-to-expand, hide rail/progress & stack columns */
@media (max-width: 991px) {
  .howitworks h4 {
    font-size: 20px;
  }
  .hiw-step__panel {
    font-size: 16px;
  }
  .hiw-grid {
    grid-template-columns: 1fr;
  }
  .hiw-rail {
    display: none;
  }
  .hiw-steps {
    padding-left: 0;
    margin-top: 0;
  }
  .hiw-step__panel {
    padding-left: 0;
  }

  .hiw-panel-copy {
    margin-bottom: 10px;
  }
  .hiw-step__num,
  .hiw-step.is-active .hiw-step__num {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-size: 14px;
  }

  .hiw-visual {
    max-width: 700px;
    max-height: min(50vh, 420px);
    aspect-ratio: auto;
    min-height: 300px;
  }
  .hiw-visual__img {
    position: absolute;
    inset: 0;
    width: 100%; /*height: 280px!important;*/
    object-fit: contain;
  }
}

/* Respect user setting */
@media (prefers-reduced-motion: reduce) {
  .hiw-rail__fill,
  .hiw-step__panel,
  .hiw-visual__img {
    transition: none;
  }
}

/* =========================================================
USE CASES
* ==========================================================*/

.card.usecase {
  flex: 0 0 450px;
  scroll-snap-align: start;
  color: #0e1e29;
  text-align: left;
  font-size: 20px;
  border-top: 5px solid #1a82cc;
  position: relative;
  cursor: pointer;
}

.card.usecase a:link,
.card.usecase a:visited {
  color: #1a82cc;
}

.card.usecase h5 {
  font-size: 24px;
  color: #0e1e29;
  font-weight: 600;
  margin-bottom: 15px;
}

.card.usecase .card-body {
  padding: 22px;
}
.card.usecase .card-footer {
  text-align: center;
  color: #0e1e29;
  font-size: 14px;
}
.logos .col-xs-4 {
  flex: 0 0 33.333%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.usecases-wrapper .card.usecase .card-body {
  display: flex;
  flex-direction: column;
  gap: 8px; /* tweak spacing to taste */
  flex: 1 1 auto;
}

.card.usecase .logos {
  border-top: 2px solid #f8f8f8;
  padding: 20px 15px 0;
  margin-top: 15px;
  text-align: center;
  margin-top: auto;
}
.logos img {
  width: auto;
  max-width: 100%;
}
.usecases-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 10px;
}

.uc-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #1a82cc;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  backdrop-filter: blur(6px);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.uc-btn:hover {
  background: #1a82cc;
}
.uc-btn[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

/* base transition */
.card.usecase {
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden; /* safari/jank guard */
}

/* lift on hover + keyboard focus */
.card.usecase:hover,
.card.usecase:focus-within {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 14px 28px rgba(0, 133, 209, 0.16), 0 6px 12px rgba(0, 0, 0, 0.12);
  z-index: 1; /* float above neighbors in the scroller */
}

/* slight press on click */
.card.usecase:active {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 8px 18px rgba(0, 133, 209, 0.15), 0 4px 8px rgba(0, 0, 0, 0.12);
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .card.usecase {
    transition: none;
  }
}

.fullwidth img {
  width: 100% !important;
}

/* ========================================================
FAQ
=========================================================== */

/* ====== FAQ / Accordion (scoped) ====== */
.faqs .e-n-accordion {
  display: grid;
  gap: 14px;
}

.faqs .e-n-accordion-item-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important; /* pushes icon to the right */
  gap: 18px;
  padding: 22px 24px !important;
  border-radius: inherit;
  outline: none;
}

/* each item "card" */
.faqs .e-n-accordion-item {
  position: relative;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07) !important;
  overflow: clip;
  border: 0;
}

/* summary row */
.faqs .e-n-accordion-item-title {
  gap: 18px;
  padding: 22px 24px !important;
  border-radius: inherit;
  outline: none;
}

/* title text */
.faqs .e-n-accordion-item-title-text {
  font-family: "Cabin", system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  line-height: 1.25 !important;
  color: #fff !important;
  margin: 0 !important;
}

/* plus/minus circle */
.faqs .e-n-accordion-item-title-icon {
  flex: 0 0 auto !important;
  color: #fff !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  background: transparent !important;
  border: 0 !important;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease !important;
}
.faqs .e-n-accordion-item:hover .e-n-accordion-item-title-icon {
  border-color: transparent !important;
}
.faqs .e-n-accordion-item-title-icon svg {
  width: 14px !important;
  height: 14px !important;
  fill: #fff !important;
}

.elementor-widget-n-accordion .e-n-accordion-item-title {
  border: 0 !important;
}

.e-opened svg,
.e-closed svg {
  fill: #fff !important;
}

.faqs .e-n-accordion-item > [role="region"] {
  padding: 10px 24px 20px 24px !important;
  color: #c9d3d9 !important;
  font-size: clamp(15px, 1.6vw, 18px) !important;
  line-height: 1.65 !important;
  font-size: 20px !important;
  border: 0 !important;
}

/* open state background lift */
.faqs .e-n-accordion-item[open] {
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 24px rgba(0, 245, 245, 0.05), 0 1px 0 rgba(255, 255, 255, 0.08) inset !important;
}

/* focus ring for keyboard users */
.faqs .e-n-accordion-item-title:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 245, 245, 0.25);
}

#faqs {
  position: relative;
}
#faqs::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 133px;
  height: 234px;
  aspect-ratio: 1 / 1;
  background: url("https://www.stronde.com/wp-content/uploads/2025/09/bg_faq.png") no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* compact on mobile */
@media (max-width: 767px) {
  .faqs .e-n-accordion {
    gap: 10px;
  }
  .faqs .e-n-accordion-item-title {
    padding: 18px 18px !important;
  }
  .faqs .e-n-accordion-item > [role="region"] {
    padding: 0 18px 16px 18px !important;
  }
  .faqs .e-n-accordion-item-title-icon {
    width: 34px !important;
    height: 34px !important;
  }

  .faqs .e-n-accordion-item-title-text {
    font-size: 19px !important;
  }
}

/* =========================================================
   MISC ELEMENTS
   ========================================================= */

#meetingIframe {
  width: 100%;
  height: calc(100vh - 78px);
  overflow: hidden;
  display: block;
}
#hero .card {
  padding: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.ai-message {
  max-height: 120px;
}

/* ========================================================
Bot background
=========================================================== */

#bot-form {
  position: relative;
  padding-top: 300px;
}

#bot-form::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 300px;
  height: 475px;
  background: url(https://www.stronde.com/wp-content/uploads/2025/09/ai-shine_bg.png) no-repeat center / cover;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 991px) {
  #bot-form {
    padding-top: 200px;
  }
  #bot-form::before {
    min-height: 300px;
    background-size: 100%;
    top: -100px;
    background-size: 250%;
  }
}

/* =========================================================
   MEDIA QUERIES
   ========================================================= */

@media (max-width: 640px) {
  .cf7-step--schedule .ms-iframe-wrap {
    /*height: calc(90vh - 240px);*/
    height: 100vh;
  }

  .popup-overlay .popup {
    max-height: none;
  }
  .popup-overlay .popup .close {
    right: 10px;
    top: 24px;
    position: absolute;
  }
}

@media (max-width: 768px) {
  .close {
    right: 12px;
  }
  #contactOverlay {
    align-items: stretch;
    justify-content: flex-start;
    padding: 0; /* remove extra padding */
  }

  #contactOverlay .popup {
    width: 100%;
    height: 100vh; /* full viewport */
    max-width: none;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column; /* header + inner stacked */
  }

  #contactOverlay .popup__head {
    flex-shrink: 0; /* header stays at natural height */
  }

  #contactOverlay .popup-inner {
    width: 100% !important;
    height: 100% !important; /* fill parent */
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    flex: 1 1 auto; /* stretch inside .popup */
    scroll-behavior: auto; /* add this */
    overscroll-behavior: contain;
    overflow-anchor: none;
    padding: 16px;
    position: relative;
  }
}

@media (max-width: 1025px) {
  h1 {
    font-size: 52px;
  }
  #contactOverlay .popup__head h2 {
    font-size: 45px;
  }
  .navbar-button a {
    padding: 9px 14px;
    font-size: 14px;
  }
  .btn {
    font-size: 14px;
  }
  .gradient-text::before {
    right: -15px;
    width: 30px;
    height: 30px;
  }
  h3 {
    font-size: 20px;
  }
}
@media (min-width: 992px) {
  #contactOverlay .popup-inner {
    max-width: var(--panel-max);
    margin-inline: auto;
  }
}

@media (max-width: 991px) {
  #hero {
    min-height: 78vh !important;
    margin-bottom: 80px;
  }

  /* Elementor containers inside the hero — remove spacing quirks */
  #hero .e-con-inner,
  #hero .elementor-container,
  #hero > .elementor-container {
    min-height: inherit;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr auto; /* title/content takes space, form sits at bottom */
    gap: 0 !important;
  }
  h1 {
    font-size: 53px;
    line-height: 53px;
    margin-bottom: 10px !important;
  }

  h3 {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .logo-strip__viewport::before,
  .logo-strip__viewport::after {
    background: none;
  }

  .text-secondary {
    line-height: 1.1;
  }

  .content-section h2 {
    font-size: 16px !important;
    text-align: left;
    background-image: linear-gradient(90deg, #0085d1 0%, #0fade8 0%, #12b7ff 0%, #43e9f5 72%, #00f4f4 100%);
  }
  .content-section h3 {
    font-size: 24px !important;
    text-align: left;
    line-height: 1.2;
  }

   .content-section  .included h2,   .content-section .included h3 { text-align:center}
  .main-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }
  .main-header::after {
    display: none;
  }

  /* active state (anchor OR aria-current) */
  .main-header .custom-navbar-menu a.is-active,
  .main-header .custom-navbar-menu a[aria-current="true"] {
    font-weight: 600;
    color: #161616;
  }

  .mobile-menu {
    height: 100vh;
  }

  div.popup {
    height: 99%;
  }

  .gradient-text::before {
    right: -11px;
  }

  #hero {
    font-size: 17px;
    position: relative;
    overflow: hidden;
    background-size: 12%;
    background-position: right 20%;
  }
  #hero:after {
    background: radial-gradient(circle, rgba(0, 244, 244, 0.4) 0%, rgba(0, 133, 209, 0) 70%);
    width: 380px;
    height: 380px;
    position: absolute;
    left: 50%;
    top: 0;
  }
  .hero-card {
    background: none;
    padding: 0;
    height: auto !important;
  }
  .hero-card .card,
  .bottom-form .card {
    background: 0;
    padding: 0;
    color: #838383;
    border: 0;
  }
  .hero-card .card-body,
  .bottom-form .card-body {
    padding: 0;
  }

  #hero .card,
  .bottom-form .card {
    padding: 0;
  }
  .hero-card .card .form-label,
  .bottom-form .card .form-label {
    color: #fff;
  }
  .hero-card .progress,
  .hero-card .card .steps,
  .hero-card .card .alert,
  .bottom-form .card .alert,
  .bottom-form .card .steps,
  .bottom-form .progress {
    display: none !important;
  }
  .hero-card .card .form-control,
  .bottom-form .card .form-control {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    height: 48px;
  }
  .hero-card .card .btn,
  .bottom-form .card .btn {
    width: 100%;
    height: 48px;
  }

  .mobile-menu.active {
    visibility: visible;
    background: #fff;
  }
  .custom-navbar-menu li a,
  .custom-navbar-menu li a:visited,
  .main-header .custom-navbar-menu a:visited {
    color: #838383;
  }

  .navbar-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    background: #1a82cc;
    border-color: #1a82cc;
    color: #fff;
    border-radius: 8px;
  }
  .navbar-button a img {
    mix-blend-mode: screen;
  }

  .hero-card::before {
    width: 420px;
    height: 420px;
  }

  .popup-overlay {
    position: absolute;
  }

  #contactOverlay .popup-inner {
    width: 90%;
    margin: 0 auto;
    position: relative;
  }

  #contactOverlay .popup-inner .btn {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 93% !important;
  }
  .ai-message {
    max-height: 160px;
  }

  #ai-ms-form {
    width: 90%;
  }

  #contactOverlay .popup__head {
    background: #fff;
    background-image: none;
  }

  #contactOverlay .popup__head h2 {
    font-size: 25px;
  }

  .popup {
    max-width: none;
    width: 100%;
    padding-top: 25px;
  }

  .popup h3 {
    font-size: 24px;
    color: #0e1e29;
  }

  #contactOverlay .popup__head {
    padding: 12px 0;
  }

  /* overlay must be fixed to cover viewport */
  .popup-overlay,
  #contactOverlay.popup-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important; /* dynamic viewport for mobile chrome */
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  /* popup fills overlay */
  #contactOverlay .popup {
    width: 100% !important;
    height: 100dvh !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* header stays at top, content scrolls */
  #contactOverlay .popup__head {
    flex-shrink: 0;
  }

  /* inner takes remaining height, no 90% width */
  #contactOverlay .popup-inner {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    padding: 16px !important;
  }

  .usecases-nav {
    right: 8px;
  }
  .faqs .e-n-accordion-item > [role="region"] {
    font-size: 16px;
    line-height: 1.3;
  }
  #faqs::after {
    display: none;
  }

  .card.usecase {
    flex: 0 0 310px;
    font-size: 16px;
    height: 295px;
    transition:none;
  }
  .card.usecase:hover,
.card.usecase:focus-within,.card.usecase:active {
  transform: none;
}

  .card.usecase .card-body ,  .card.bg-dark .card-body{
    padding: 15px;
  }

  .card.usecase h5, .card.bg-dark h5{font-size:18px;}
  .card.bg-dark {font-size: 15px;}
}
