@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

/* May need to remove at some point 
  this hides the authentication email/button in the header. 
*/
.top-navbar__right .dynamic_buttons li:nth-child(5) {
  display: none;
} 
/* =============================
   GLOBAL STYLES & VARIABLES
   ============================= */


:root {
  /* Primary Brand Colors */
  --primary-color: #1a3fa6;
  --secondary-color: #3ec6e0;
  --accent-color: #3ec6e0;
  
  /* Background Colors */
  --background-light: #f4f4f4;
  --background-white: #f4f4f4;
  --background-card: #fff;
  --background-dilayer: #e9e9e9;
  
  /* Text Colors */
  --text-primary: #222;
  --text-white: #fff;
  --text-muted: #616161;
  
  /* Border Colors */
  --border-light: #e0e0e0;
  --border-medium: #ccc;
  --border-card: #e0e0e0;
  
  /* Interactive Colors */
  --button-primary: var(--primary-color);
  --button-secondary: var(--background-light);
  --hover-background: #e0e0e0;
  
  /* Shadow Colors */
  --shadow-light: rgba(0,0,0,0.0); /* No shadow */
  --shadow-medium: rgba(0,0,0,0.0); /* No shadow */
  
  /* Font Families */
  --font-body: 'Inter', 'Arial', sans-serif;
  --font-title: 'Inter', 'Arial', sans-serif;
}

html { font-size: 16px; line-height: 1.3;}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--background-white);
  color: var(--text-primary);
}
section { background: var(--background-white); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-title); font-weight: 900 !important; color: var(--primary-color); margin: 0;}

/* =============================
   TYPOGRAPHY
   ============================= */
h1 { font-size: 3rem;  letter-spacing: -0.01em;}
h2 { font-size: 2rem;  letter-spacing: -0.01em;}
h3 { font-size: 1.25rem;}
h4, .large, .p.large, .text-large { font-size: 1.125rem; }
p, li, td, th, label, input, select, textarea { font-size: 1rem; margin: 0;}
.small, p.small, .text-small { font-size: 0.875rem; }
li {margin-bottom: 8px;}
blockquote, .quote { font-size: 2rem; font-style: italic; }
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 700px) {
  h1, h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
  p, li, td, th, label, input, select, textarea { font-size: 0.875rem; }
  .small, p.small, .text-small { font-size: 0.75rem; }
}

strong {font-weight: 900;}
.centered {text-align:center; margin: 8px auto;}

/* =============================
   GLOBAL LAYOUT
   ============================= */
.main-container {
  padding: 48px
}
.section-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .main-container { padding: 24px 16px; }
}

.title-desc {
  max-width: 800px;
  margin: 0px auto 24px;
  text-align: center;
  width: 100%;
}
.section-twocol {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 96px;
}
.section-text {
  max-width:500px; 
  width:100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-image {
  width: 100%;
  max-width:600px;
  max-height: 400px;
}
.section-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}
@media screen and (max-width: 1024px) {
  .section-image, .section-image img {
    height: auto;
  }
  .section-twocol {
    gap: 16px;
  }
}
@media screen and (max-width: 768px) {
  .section-twocol {
    flex-direction: column;
  }
  .section-text {
    max-width: 100%;
    width: 100%;
  }
  .section-image img {
    max-width: 100%;
    height: auto;
  }
}

/* PAGE HERO SECTION */
.page-hero {text-align: center;}
.page-hero .section-content {
  display:flex;
  flex-direction:column;
  gap: 24px;
}
.page-hero .page-cat {
  font-size:1.125rem;
  color: var(--text-muted);
}
.page-hero p {max-width: 800px; width: 100%;margin:0 auto; font-size: 1.25rem;}
.page-hero img {
  margin: 0 auto;
  max-width: 1200px;
  width:100%;
}
.page-hero .cta-buttons {
  justify-content: center;
}
/* =============================
   GLOBAL COMPONENTS
   ============================= */
.card {
  text-align: left;
  padding: 16px;
  background: var(--background-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex:1;
}
.card-title {
  display: flex;
  align-items: center;
}
.card-title > div p {color:var(--primary-color);}
.card-title > div h3 {color:var(--text-primary)}
.card-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}
.card-image {
  max-width: 100%;
  width: 100%;
}
.card > li {
  margin-bottom: 8px;
}
/* =============================
   NAVIGATION & HEADER
   ============================= */
   #topheader {
  background: var(--background-white);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 48px;
  position: sticky;
  top: 0;
  z-index: 2000; /* Add this line - highest z-index */
  width: 100%;
  box-sizing: border-box;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}
.logo {
  font-size: 2.2em;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 0.25em;
}
.logo img, .logo svg {
  height: 40px;
  width: auto;
  vertical-align: middle;
}
nav a {
  margin: 0 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1em;
}
nav .contact-btn {
  background: var(--button-primary);
  color: var(--text-white);
  padding: 6px 16px;
  border-radius: 4px;
}

/* =============================
   NAVIGATION & HEADER (RESPONSIVE)
   ============================= */
.top-navbar--container.container-fluid {
  display: flex;
  justify-content: space-between;
  padding: 0;
}
.dynamic_buttons {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*dropdown styles*/
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: var(--background-card);
  min-width: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 8px;
  z-index: 10;
  margin-top: 0;
  list-style: none;
  padding: 8px 0;
  flex-direction: column;
  gap: 8px;
}
.dropdown-content li {
  padding: 0;
}
.dropdown-content a img {
  width: 48px;
}
.dropdown-content a {
  color: var(--text-primary);
  padding: 4px;
  text-decoration: none;
  display: flex;
  font-size: 1em;
  border: 1px solid var(--border-card);
  align-items: center;
  background: var(--background-light);
  border-radius: 8px;
}
.dropdown-content a:last-child {
  border-bottom: none;
}
.dropdown-content a:hover {
  background: var(--hover-background);
  color: var(--text-primary);
}
.dropdown:hover > .dropdown-content {
  display: flex;
}
.dropdown > a {
  cursor: pointer;
}

/* Hamburger styles */
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
}
.nav-toggle-label span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* Hamburger to X animation */
.nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}
.nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 900px) {
  #topheader {
    padding: 10px 0px;
  }
  .top-navbar--container.container-fluid {
    display: flex;
    justify-content: space-between;
    padding: 0;
    flex-direction: column;
  }
  .nav-toggle-label {
    display: flex;
    position: absolute;
    right: 24px;
    top: 13px;
    z-index: 1100;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
  }
  .top-navbar__left {
    justify-content: start;
  }
  .top-navbar__right .dynamic_buttons {
    display: none;
    flex-direction: column;
    background: var(--background-white);
    position: relative;
    width: 93%;
    z-index: 1001;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 24px 20px;
    margin: 24px auto;
    gap: 24px;
    height: 100vh;
  }

  .nav-toggle:checked ~ .nav-toggle-label + .dynamic_buttons,
  .nav-toggle:checked + .nav-toggle-label + .dynamic_buttons {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 72px 24px 0 24px;
    gap: 0;
    width: 100%;
  }
  .dropdown,
  .nav-list > li,
  .nav-list > li > a,
  .dropdown > a {
    width: 100%;
    box-sizing: border-box;
  }
  .dynamic_buttons, .dynamic_buttons li {
    max-width: 100%;
    width: 100%;
  }
  .dynamic_buttons .btn {
    width: -moz-available;
    width: -webkit-fill-available;
  }
  .dropdown-content {
    position: static;
    box-shadow: none;
    background: none;
    min-width: 0;
    border-radius: 8px;
    margin-top: 0;
    width: 100%;
    padding: 8px 0;
    display: flex;
    justify-content: start;
  }
  .dropdown img {display: none;}
  .dropdown-content a {
    padding: 8px 0 8px 48px;
    border: none;
    background: none;
    border-radius: 0px;
    justify-content: start;
  }
  
}

/* =============================
   GLOBAL BUTTON STYLING
   ============================= */
.cta-buttons {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width:100%;
}
@media screen and (max-width: 700px) {
  .cta-buttons {
    flex-direction: column;
    gap: 8px;
  }
}
.btn {
  display: inline-flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 300;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border 0.15s;
}
.btn-primary {
  background: var(--button-primary);
  color: var(--text-white);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-color);
  color: var(--text-white);
}
.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--hover-background);
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-tertiary {
  color: var(--primary-color);
  text-decoration: none;
  gap: 10px;
  cursor: pointer;
  transition: color 0.15s;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  color: #0d2a6b;
  text-decoration: underline;
}
.btn-arrow-right {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

/* =============================
   FOOTER STYLES
   ============================= */
footer {
  background: var(--primary-color);
  color: var(--text-white);
  padding: 30px 10% 10px 10%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links h4, .footer-links h5 {
  color: #fff;
  margin-bottom: 8px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}
.footer-brand a {
  font-size: inherit;
  color: inherit;
}
.footer-bottom {
  border-top: 1px solid var(--secondary-color);
  padding-top: 10px;
  text-align: center;
  color: #c7d3f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =============================
   FOOTER BADGE STYLING
   ============================= */
.badge-soc2 {
  height: 120px;
  display: block;
}

/* =============================
   FOOTER CTA BAR STYLING
   ============================= */
.footer-cta {
  margin: 0 auto 32px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  display: flex;
  background: var(--background-card);
  padding: 24px;
  border: 1px solid var(--border-card);
  border-radius: 16px;
}
.footer-cta .cta-buttons {
  width: fit-content;
}
.footer-cta-text h4 {
  margin: 0;
}
.footer-cta h5, .footer-cta p {
  margin: 0;
  padding:0;
}
.footer-cta p {color: var(--text-primary);}
.footer-cta-text {
  max-width: 60%;
  width: 100%;
}
@media screen and (max-width: 700px) {
  .footer-cta .cta-buttons {
    width:100%;
  }
}
/* =============================
   FOOTER MAIN LAYOUT
   ============================= */
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 20px;
}
.footer-brand {
  min-width: 280px;
  max-width: 100%;
}
.footer-logo {
  height: 34px;
}
.footer-links {
  display: flex;
  gap: 40px;
}
.footer-links div {
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links h4, .footer-links h5 {
  color: #fff;
  margin-bottom: 8px;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.footer-social a img {
  height: 22px;
  width: 22px;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.footer-social a img:hover {
  opacity: 1;
}
.footer-badge {
  margin-bottom: 24px;
}
.footer-bottom {
  border-top: 1px solid var(--secondary-color);
  padding-top: 10px;
  text-align: center;
  color: #c7d3f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* =============================
   RESPONSIVE ADJUSTMENTS FOR FOOTER AND CTA
   ============================= */
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px;
    gap: 10px;
  }
  .footer-cta-text {
    max-width: 100%;
    width: 100%;
  }
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
  }
  .footer-badge {margin-bottom: 16px;}
  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }
}

/* =============================
   SECTION-SPECIFIC STYLES
   ============================= */

/* HERO SECTION */
.hero {
  background: var(--background-white);
  padding: 64px 0 32px 0;
}
.hero-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  gap: 48px;
  padding: 0 48px;
}
.hero-text {
  max-width: 650px;
  width:100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap:16px;
}
.hero-text p {
  font-size: 1.15rem;
  color: var(--text-primary);
}
.hero-img {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 0;
}
.hero-img img {
  max-width: 500px;
  width: 100%;
  border-radius: 16px;
  background: none;
  object-fit: contain;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    padding: 0 16px;
  }
  .hero-img {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-text p {
    font-size: 1rem;
  }
}

/* MARQUEE SECTION */
.brands {
  text-align: center;
  background: var(--background-white);
  padding: 56px 0;
}

.brand-logos {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: transparent;
  overflow: hidden;
  height: 80px;
  display: flex;
  align-items: center;
}

.brand-logos.marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  margin-top: 32px;
}

.marquee-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 60s linear infinite; /* Changed from 15s to 60s */
  align-items: center;
}

.marquee-inner img {
  height: 40px;
  margin: 0 2rem;
  opacity: 0.7;
  filter: grayscale(1);
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.marquee-inner img:hover {
  opacity: 1;
}

@keyframes marquee {
  0% {
      transform: translateX(0%);
  }
  100% {
      transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.brand-logos.marquee:hover .marquee-inner {
  animation-play-state: paused;
}

@media (max-width: 700px) {
  .marquee-inner img {
    height: 28px;
    margin: 0 1rem;
  }
  .brand-logos.marquee {
    margin-top:24px;
  }
  .brand-logos {
    height: 60px;
  }
}

/* CHALLENGES SECTION */
.challenge-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  width: 550px;
}
.challenge-list h2 {
  margin-bottom: 18px;
  text-align: left;
}
.challenge-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.challenge-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.challenge-icon {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  margin-top: 2px;
}
.challenge-icon-img {
  width: 25px;
  height: 25px;
  display: block;
}

.challenge-desc {
  display: block;
  margin-left: 0;
  margin-top: 2px;
}

@media screen and (max-width: 1024px) {
  .challenge-list {
    width: 100%;
    max-width: 100%;
  }
}

/* SOLUTIONS SECTION */
.solutions {
  background: var(--background-white);
  text-align: center;
}
.di-layer h2 {margin: 24px auto 0;}
.di-layer {
  padding: 24px;
  background: var(--background-dilayer);
  border-radius: 12px;
}
.solution-cards {
  display: flex;
  gap: 16px;
}
.solution-cards .card-top {
  min-height:250px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (max-width: 820px) {
  .solution-cards {
    flex-wrap: wrap;
  }
  .solutions-cards .card {
    min-width:32%;
  }
}
@media screen and (max-width: 700px) {
  .solution-cards {
    flex-direction: column;
    gap:8px;
  }
  .solution-cards .card-top {
    min-height:0px;
  }
}
@media screen and (max-width: 460px) {
  .di-layer {
    padding: 16px;
  }
}
.powered-by {text-align: center;}
/* DATA ADVANTAGE SECTION */
.compliance-badges {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.compliance-badges img {
  height: 40px;
  width: auto;
  opacity: 0.95;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  transition: box-shadow 0.2s;
}
.compliance-badges img:hover {
  box-shadow: none;
  opacity: 1;
}

/* =============================
   TABBED CASE STUDIES
   ============================= */
.case-studies 
.tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--primary-color);
}
.tabs .tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 32px;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
  width:100%;
}
.tabs .tab.active {
  background: var(--border-light);
  border-bottom: 3px solid var(--primary-color);
}
.tabs button {
  font-size: 20px;
  font-family: var(--font-title);
  font-weight: 900;
  color: var(--primary-color);
}
.tab-content {
  display: none;
}
.tab-content.active, .tab-content[style*="block"] {
  display: block !important;
}
@media screen and (max-width: 700px) {
  .tabs button {
    font-size: 1rem;
  }
}

/* =============================
   SOLUTIONS OVERVIEW PAGE-SPECIFIC STYLES
   ============================= */
.sol-overview-section .section-text > div ul {
  margin: 0;
}
.sol-overview-section .btn {
  width: 100%;
}
@media screen and (max-width: 700px) {
  .sol-overview-section .card-icon {
    margin-left: -10px;
  }
  .sol-overview-section .btn {
    width: auto;
  }
}

/* =============================
   Marketing Execution Specific Styles
   ============================= */

/* Consumer Journey Carousel Styles */
.journey-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 16px 0;
}
.carousel-arrow {
  background: var(--background-card);
  border: 1px solid var(--border-card);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5em;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, border 0.15s;
  outline: none;
}
.carousel-arrow:hover, .carousel-arrow:focus {
  background: var(--hover-background);
  border-color: var(--primary-color);
}
.journey-steps {
  display: flex;
  width: 340px;
  min-height: 220px;
  position: relative;
  justify-content: center;
}
.journey-step {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  max-width: 340px;
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 24px 18px 18px 18px;
  text-align: center;
  transition: opacity 0.3s;
  z-index: 1;
}
.journey-step.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.journey-icon img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-card);
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dots .dot.active {
  background: var(--primary-color);
}
@media (max-width: 700px) {
  .journey-steps {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
  }
  .journey-step {
    max-width: 95vw;
    min-width: 0;
  }
  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.1em;
  }
}

/* Consumer Journey Full Carousel Styles */
.journey-carousel-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 32px 0 16px 0;
  width: 100%;
  position: relative;
}
.carousel-row {
  display: flex;
  align-items: center;
  position: relative; /* For absolute positioning of arrows if needed */
  width: 100%;
}

/* Arrow Styling */
.carousel-arrow {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 44px; /* Increased size */
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px; /* Larger arrow character */
    color: var(--primary-color, #007bff);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 20; /* Ensure arrows are above cards */
    flex-shrink: 0; /* Prevent arrows from shrinking */
}

.carousel-arrow:hover {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.carousel-arrow.left {
    margin-right: 10px; /* Space between arrow and carousel */
}

.carousel-arrow.right {
    margin-left: 10px; /* Space between arrow and carousel */
}

/* Hide arrows on smaller screens if dots are preferred, or adjust as needed */
@media (max-width: 768px) {
    .carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    .carousel-arrow.left {
        margin-right: 5px;
    }
    .carousel-arrow.right {
        margin-left: 5px;
    }
    /* If you want to hide arrows and only show dots on mobile: */
    /*
    .carousel-arrow {
        display: none;
    }
    */
}

/* Ensure the steps container takes up the available space */
.journey-steps-full {
    flex-grow: 1; /* Allows this container to take available space in .carousel-row */
    min-width: 0; /* Important for flex children that scroll */

    justify-content: flex-start; /* CRITICAL: Aligns items to the start of the container */
    position: relative; /* Establishes a positioning context for offsetLeft of children */

    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}

.journey-steps-full::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.journey-step-full {
    box-sizing: border-box;
    flex: 0 0 280px;  /* Do not grow, do not shrink, base width 280px */
    width: 280px;
    min-width: 280px; /* Important to prevent shrinking */
    
    background-color: #ffffff; /* Card background color */
    border: 1px solid #e0e0e0; /* Light border */
    border-radius: 12px; /* Rounded corners */
    padding: 20px; /* Adjusted padding */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 0.6; /* Non-active cards are more transparent */
    transform: scale(0.95); /* Non-active cards are slightly smaller */
}

.journey-step-full.active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--primary-color, #007bff); /* Highlight active card */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10; /* Ensure active card is on top if any overlap during transition */
}

/* Styling for elements inside the card using your class names */

.journey-step-full .journey-arrow {
    width: 48px; /* Size of the arrow inside the card */
    height: 48px;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
    position:absolute;
    top: 40%;
    right: -36px;
}

.journey-step-full.active .journey-arrow {
    opacity: 1; /* Show arrow only on active card */
}


/* Desktop adjustments for the carousel container and cards */
@media (min-width: 900px) {
    .journey-steps-full {
        /* Add padding to the sides of the scrollable area itself if desired,
           but the main width comes from flex-grow in .carousel-row */
        padding-left: 30px;  /* Example: creates space before the first card */
        padding-right: 30px; /* Example: creates space after the last card if it scrolls fully */
        gap: 2rem; /* Wider gap on desktop */
    }
    .journey-step-full {
        flex-basis: 300px; /* Wider cards on desktop */
        width: 300px;
        min-width: 300px;
        padding: 24px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .journey-steps-full {
        padding: 0.5rem 10px; /* Less padding on mobile */
        gap: 1rem;
    }
    .journey-step-full {
        flex-basis: calc(100vw - 60px); /* Card takes most of viewport width */
        width: calc(100vw - 60px);     /* Adjust 60px based on desired side margins */
        min-width: 250px;              /* Minimum card width */
        padding: 16px;
    }
}

/* Consumer Journey Section */
.consumer-journey .section-content {
    /* Ensure section content can be wide enough for the desktop carousel */
    max-width: 1200px; /* Adjust as needed, should be able to fit arrows + ~3 cards */
    margin: 0 auto;
}

.journey-carousel-full {
    width: 100%;
    position: relative; /* For potential absolute positioning of dots if needed */
}

.carousel-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.carousel-arrow {
    flex-shrink: 0; /* Prevent arrows from shrinking */
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color, #007bff);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    z-index: 30; /* High z-index to be above cards */
}

.carousel-arrow:hover {
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.carousel-arrow.left {
    margin-right: 12px; /* Space between arrow and steps container */
}

.carousel-arrow.right {
    margin-left: 12px; /* Space between arrow and steps container */
}

.journey-steps-full { /* This is the scrollable viewport for cards */
    flex-grow: 1; /* Takes up space between arrows */
    display: flex; /* Children (cards) align in a row */
    gap: 1.5rem;   /* Space between cards */
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 1rem 0; /* Vertical padding for the track, can add horizontal if cards shouldn't touch edges */
    position: relative; /* For offsetLeft calculations of children */

    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}
.journey-steps-full::-webkit-scrollbar { display: none; }

.journey-step-full {
    flex: 0 0 280px; /* Base width for cards */
    width: 280px;
    min-width: 280px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: transform 0.35s ease, opacity 0.35s ease, border-color 0.35s ease;
    opacity: 0.5;
    transform: scale(0.92);
}

.journey-step-full.active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--primary-color, #007bff);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    z-index: 10;
}


/* Styles for content within cards (icon, label, title, desc, inner arrow) */
.journey-step-full .journey-step-label { 
	color: var(--text-muted); 
}


/* Desktop adjustments */
@media (min-width: 992px) { /* Adjusted breakpoint for wider view */
    .journey-steps-full {
        /* Add padding inside the scrollable area if you want space before the first/after last card */
        /* e.g., padding-left: calc(50% - 140px - 0.75rem); to "center" first card if container is full width */
        /* For now, relying on scroll logic to center */
        gap: 2rem;
    }
    .journey-step-full {
        flex-basis: 300px;
        width: 300px;
        min-width: 300px;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .carousel-arrow.left { margin-right: 8px; }
    .carousel-arrow.right { margin-left: 8px; }

    .journey-steps-full {
        padding: 0.5rem 0; /* No horizontal padding, cards will go edge to edge of this container */
        gap: 1rem;
         /* Snap scrolling for mobile can be nice */
        scroll-snap-type: x mandatory;
    }
    .journey-step-full {
        flex-basis: calc(100% - 30px); /* Card takes most of viewport width within its container */
        width: calc(100% - 30px);
        min-width: 260px;
        scroll-snap-align: center; /* Snap to center */
        opacity: 0.65; /* Slightly more visible non-active cards on mobile if they peek */
        transform: scale(1); /* No scaling for non-active on mobile to save space */
    }
    .journey-step-full.active {
        opacity: 1;
    }
}


/* ==============================
   Retail Execution page specific styles
   ============================= */
.retail-features .solution-cards {flex-wrap: wrap;}
.retail-features .solution-cards .card {
  min-width: 22%;
}
.retail-features .solution-cards .card .card-top {
  min-height: auto;
  
}
.psjourney .solution-cards {
  flex-wrap:wrap;
  gap: 48px 16px;
}
.psjourney .stepper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  max-width:32%;
}
.psjourney img {max-width: 100%; width: 100%;}
.psjourney .stepper .small {
  margin: 0 auto;
  color: var(--text-muted);
}

@media screen and (max-width: 830px) {
  .psjourney .solution-cards {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
  }
  .psjourney .stepper {
    max-width: 48%;
  }
}

@media screen and (max-width: 400px) {
  .psjourney .solution-cards {
    flex-direction: column;
    gap: 16px;
  }
  .psjourney .stepper {
    max-width: 100%;
  }
  .psjourney .small {
    font-size: 1rem;
  }
}

/* ==============================
   DATA AND INSIGHTS PAGE-SPECIFIC STYLES
   ============================= */
.aipowered-features {
  min-width: 20%;
}
.aipowered-features .card-top {min-height:auto;
}
.security .solution-cards {
  justify-content: center;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.security .card {
  background: none;
  border: none;
  padding: 0;
  text-align: center;
  align-items: center;
  min-width: 120px;
  max-width: 186px;
  width: 100%;
}
.security .card img {
  max-width: 145px;
}

.security .card a {
  color: inherit;
  text-decoration: underline;
  max-height: 144px;
}

.security h5 {text-align: center; color: var(--text-muted);}

/* ==============================
   ABOUT GOCXM PAGE-SPECIFIC STYLES
   ============================= */
.go-intro .go-issue {
  padding: 0 0 0 16px;
  border-left: 1px solid var(--primary-color);
}

.go-different h2 {
  font-size: 3rem;
}
.go-different h3 {
  font-size: 2rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 8px;
}
@media (max-width: 1024px) {

  .go-different h2 {
    font-size: 2.5rem;
  }
  .go-different h3 {
    font-size: 1.5rem;
  }
}
@media (max-width: 700px) {
  .go-different h2 {
    font-size: 2rem;
  }
  .go-different h3 {
    font-size: 1.5rem;
  }
  .go-different h3 {
    margin-bottom: 8px;
  }
}
.go-different .section-twocol {
  justify-content: space-between;
}
.go-different .section-text {
  max-width: 450px;
}
.section-points {
  max-width: 550px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.go-pillars .solution-cards {
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
}
.go-pillars .card {
  min-width: 28%;
  max-width: 28%;
}
.go-pillars .card .card-top {
  min-height: auto;
}
.go-trust .blurb-soc2 img {
  max-width: 120px;
  width: 100%;
}
.go-trust .blurb-soc2 {
  display:flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.go-trust h3 {color: var(--text-primary);}


.team-bio h5 {color: var(--text-muted);}

.team-bio .solution-cards {
  flex-wrap: wrap;
}
.team-bio .card {
  min-width: 22%;
  max-width: 29%;
}

.team-bio .card-icon {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: #DEF2FF;
}
.team-bio .solution-cards {
  flex-wrap: wrap;
  flex-direction: row;
}
.team-bio .card {
  min-width: 22%;
  max-width: 29%;
}
@media screen and (max-width: 860px) {
  .go-pillars .card {max-width: 44%;}
  .team-bio .card {
    max-width: 40%;
    min-width: 40%;
  }
}
@media screen and (max-width: 640px) {
  .go-pillars .card, .team-bio .card {
    max-width: 100%;
    min-width: 40%;
  }
}
@media screen and (max-width: 460px) {
  .go-trust .blurb-soc2 {
    flex-direction: column;
    align-items: center;
  }
  .go-pillars .card, .team-bio .card {
    max-width: 100%;
    min-width: 50%;
  }
}

/* ==============================
   PRIVACY PAGE STYLES
   ============================= */

.privacy-policy-content {
  margin: 16px auto;
}

.privacy-policy-content h2 {
  margin-top: 24px;
}
.privacy-policy-content h3 {
  margin-top: 24px;
  color: var(--text-primary);
}

/* ==============================
   ACCESSIBILITY PAGE STYLES
   ============================= */
.accessibility-content p {
  margin: 16px auto;
}

.accessibility-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.required-asterisk {
  color: #e00;
  font-weight: bold;
  margin-left: 2px;
}

/* ==============================
   CONTACT PAGE STYLES
   ============================= */
.contact-form {
  padding:48px 64px;
}
.contact-form label {
  font-size: 18px;
  font-weight: 900;
}
.contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 4px auto;
  width: 100%;
  justify-content: space-between;
}
.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 45%;
}
.form-row.submit-row {
  justify-content: center;
}
.submit-row .btn {
  border: none;
}
.contact-form .small {color: var(--text-muted);}
@media screen and (max-width: 700px) {
  .contact-form {
    padding: 16px 24px;
  }
}

@media screen and (max-width: 640px) {
  .contact-form .form-group {
    width: 100%;
  }
  .contact-form .form-row {
    gap: 8px;
    margin: 8px auto;
  }
}

@media screen and (max-width: 400px) {
  .contact-form {
    padding: 16px;
  }
  .submit-row .btn {width: 100%;}
}

/* Remove the conflicting #header rule since your element is #topheader */
/* #header {position: sticky; top:0; z-index: 2000;} */ /* Remove or comment out this line */

/* Ensure Consumer Journey cards have lower z-index */
.consumer-journey {
  position: relative;
  z-index: 1;
}

.journey-carousel-full {
  position: relative;
  z-index: 1;
}

.journey-steps-full {
  position: relative;
  z-index: 1;
}

.journey-step-full {
  position: relative;
  z-index: 1;
}

.journey-step-full.active {
  z-index: 2; /* Slightly higher than other cards but still below header */
}

/* Ensure carousel arrows don't interfere with header */
.carousel-arrow {
  z-index: 5; /* Higher than cards but lower than header */
}

/* Form validation error styling */
.contact-form .form-group input.error,
.contact-form .form-group select.error,
.contact-form .form-group textarea.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.1rem rgba(220, 53, 69, 0.25);
}

.contact-form .form-group input.error:focus,
.contact-form .form-group select.error:focus,
.contact-form .form-group textarea.error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}