/* Logo marquee for tech stack */
.logo-marquee {
  width: 100%;
  overflow: hidden;
  display: block;
  padding: 18px 0;
}

/* Soft fade at edges: use mask-image when supported, otherwise fallback to pseudo-elements */
.logo-marquee {
  /* left/right fade: opaque in the middle, transparent at edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  position: relative;
}

/* Fallback overlays for browsers that ignore mask-image */
.logo-marquee::before,
.logo-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10%;
  pointer-events: none;
  z-index: 2;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.logo-track {
  display: flex;
  gap: 24px;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.customer-logo img {
  height: 90px;
  display: block;
  opacity: 0.95;
}

.logo-item img {
  height: 70px;
  background: #faf5f0;
  display: block;
  padding: 0 30px;
  opacity: 0.95;
  border-radius: 12px;
  border: 1px solid rgb(24 43 24 / 6%);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation when user hovers for accessibility */
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 720px) {
  .logo-item img {
    height: 56px;
  }

  .logo-track {
    gap: 28px;
    animation-duration: 22s;
  }
}

/* Slim hero message card */
.hero-card-slim {
  background: linear-gradient(180deg, #fffbef, #fdf4e4);
  border-radius: 14px;
  padding: 18px 20px;
  color: #fff;
  min-height: 300px;
  width: 90%;
  border: 1px solid rgba(230, 244, 230, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  display: none;
  animation: fadeInchat 0.2s ease-in-out;
}

@keyframes fadeInchat {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pure CSS vertical rotator (no JS) */
@keyframes pureRot {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  10% {
    transform: translateY(0);
    opacity: 1;
  }
  40% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-30%);
    opacity: 0;
  }
  50.1% {
    transform: translateY(100%);
    opacity: 0;
  }
  60% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.pure-rotator {
  display: inline-block;
  vertical-align: baseline;
  overflow: hidden;
  line-height: 1;
  height: 1.1em; /* adjust to match font-size */
}

.pure-rotator .rotor {
  display: block;
  animation: rotorAnim 6s infinite;
}

.pure-rotator .rotor span {
  display: block;
  line-height: 1.1em;
}

@keyframes rotorAnim {
  0% { transform: translateY(0); }
  45% { transform: translateY(0); }
  50% { transform: translateY(-100%); }
  95% { transform: translateY(-100%); }
  100% { transform: translateY(-100%); }
}

/* Word carousel (CSS-only list rotator) - two items */
.wordCarousel {
  font-size: 1em; /* inherit */
  display: inline-block;
}
.wordCarousel > div {
  overflow: hidden;
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  height: 1.1em; /* match line-height of surrounding text */
}
.wordCarousel .flip2 {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wordCarousel .flip2 li {
  height: 1.1em;
  margin: 0;
  padding: 0 6px;
  display: block;
  line-height: 1.1em;
  white-space: nowrap;
}

/* two-item flip: visible item stays, then moves up at 50% */
.flip2 {
  display: block;
  transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1.2);
  animation: flip2 6s cubic-bezier(0.23, 1, 0.32, 1.2) infinite;
}

@keyframes flip2 {
  0% { margin-top: 0; }
  45% { margin-top: 0; }
  50% { margin-top: -1.1em; }
  95% { margin-top: -1.1em; }
  100% { margin-top: -1.1em; }
}

.hero-card-slim::before {
  content: '';
  position: absolute;
  bottom: -12px;
  right: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 12px;
  max-width: 380px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0 0 8px 8px;
}

.hero-card-slim::After {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 12px;
  max-width: 300px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0 0 8px 8px;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.hero-card-badge {
  background: #e6f4e6;
  color: #0b0b0b;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600
}

.hero-card-meta {
  color: #9aa6a0;
  font-size: 0.85rem
}

.hero-card-body {
  padding: 6px 0
}

.hero-card-footer {
  display: flex;
  justify-content: flex-end
}

.hero-card-action {
  background: transparent;
  border: 1px solid rgba(230, 244, 230, 0.12);
  color: #e6f4e6;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer
}

/* typing and qa styles */
.hero-split-typing {
  font-weight: 700;
  color: #9aa6a0
}

.hero-split-question {
  font-size: 1.02rem;
  color: #e6f4e6;
  font-weight: 500
}

.hero-split-answer {
  color: #c7c7c7;
  font-size: 1rem
}

/* enter animation for the message card content */
.answer-bubble-animate {
  opacity: 0;
  transform: translateY(8px);
  animation: cardEnter 420ms cubic-bezier(.2, .9, .3, 1) forwards
}

@keyframes cardEnter {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* hover lift without box-shadow (subtle scale + color shift) */


nav a.active {
  color: #e6f4e6;
  font-weight: bold;
  /* border-bottom: 2px solid #e6f4e6; */
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  gap: 20px;
  position: relative;
}

.navbar a {
  text-decoration: none;
  color: #303030 !important;
  font-size: 0.875em;
  padding: 6px 8px;
  display: flex;
}

.navbar a:hover {
  color: #05a520 !important;
  font-weight: 600;
}

.dropdown:hover .what-we-do {
  color: #05a520 !important;
  font-weight: 600;
}

.what-we-do {
  cursor: pointer;
}

.what-we-do svg {
  fill: #5c5c5c;
}

.Resources {
  cursor: pointer;
}

.Resources svg {
  fill: #5c5c5c;
}

.dropdown:hover .Resources {
  color: #05a520 !important;
  font-weight: 600;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
}

.mega-menu {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 15px;
  min-width: 250px;
  z-index: 100;
}

.dropdown:hover .mega-menu {
  display: grid;
}


.menu-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-group h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #333;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.menu-link:hover {
  background: #f1fff8;
  color: #635bff;
}

.menu-link:hover .icon svg path {
  background: #f5f7ff;
  fill: #05a520;
}

.menu-link:hover .icon svg {
  background: #f5f7ff;
  fill: #05a520;
}

.icon {
  font-size: 18px;
  display: flex;
  justify-content: center;
}

.icon svg {
  fill: #3d3d3d;
}

/* Responsive */
@media (max-width: 768px) {
  .mangobytes_logo {
    display: none !important;
  }

  .mangobytes_icon {
    display: inline-block !important;
  }

  .landing_screen_CTA {
    display: none !important;
  }

  .mega-menu {
    position: static;
    transform: none;
    min-width: 100%;
    box-shadow: none;
    padding: 10px;
    grid-template-columns: 1fr;
  }
}

.mangobytes_icon {
  display: none;
}

/* Mobile navigation behavior for header navbar */
@media (max-width: 980px) {

  .site-header .nav {
    position: relative;
  }

  .mega-menu {
    top: 35px;
  }

  .navbar {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    display: none;
    border-radius: 10px;
    position: absolute;
    top: 60px;
    width: 300px;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 12px 10px;
    flex-direction: column;
    gap: 8px;
    z-index: 60;
  }

  .navbar.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    margin-right: 0;
  }
}


.case-study-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem !important;
  margin-top: 3rem !important;
}

@media (max-width: 1024px) {
  .case-study-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .case-study-cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

iframe.casestudy-video-iframe {
  width: 700px !important;
  height: 400px !important;
}


.case-card {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  background: #ffffff;
  border-radius: 20px;
  color: #fff;
  width: 100%;
  overflow: hidden;
  display: gr;
  flex-direction: column;
  cursor: pointer;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover,
.case-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(18, 44, 34, 0.18);
}

.case-card:focus-visible {
  outline: 3px solid rgba(26, 159, 75, 0.7);
  outline-offset: 4px;
}

.case-card-media {
  overflow: hidden;
  width: 100%;
  padding: 10px !important;
  padding-bottom: 0 !important;
  border-radius: 18px;
}

.case-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag_group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.tags {
  color: #FF9800;
  padding: 2px 14px;
  border: 1px solid #b7b3b3;
  border-radius: 30px;
  font-size: 14px;
  margin: 2px 4px;
}

.highlight-on-hover {
  transition: background 0.3s, color 0.3s;
}

.case-card:hover .highlight-on-hover,
.case-card:focus-visible .highlight-on-hover {
  background: #e6f4e6;
  color: #181818;
  border-radius: 4px;
  padding: 2px 4px;
}

.case-card-img {
  width: 100%;
  height: 200px !important;
  object-fit: cover;
  border-radius: 10px;
}

.case-card-content {
  padding: 1rem;
  margin-right: auto;
}

.case-card-title {
  font-size: 1.2rem;
  margin: 5px;
  color: #252525;
  font-weight: 600;
}

.case-card-desc {
  font-size: 1rem;
  color: #5f5f5f;
}

.case-study-modal {
  position: fixed;
  inset: 0;
  background: rgba(13, 24, 16, 0.72);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(16px, 3vw, 36px);
  z-index: 11000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.case-study-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.case-study-modal-backdrop {
  position: absolute;
  inset: 0;
}

.case-study-modal-dialog {
  position: relative;
  width: min(1100px, 96vw);
  max-height: calc(100vh - 60px);
  background: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.case-study-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.case-study-modal-close:hover,
.case-study-modal-close:focus-visible {
  background: rgba(0, 0, 0, 0.8);
}

.case-study-modal-slide {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  box-shadow: 0 24px 48px rgba(12, 38, 24, 0.25);
}

.case-study-modal-slide img {
  display: block;
  height: 100%;
}

.case-study-modal-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  color: #ffffff;
}

.case-study-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.case-study-nav:hover,
.case-study-nav:focus-visible {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-2px);
}

.case-study-nav[disabled] {
  opacity: 0.35;
  cursor: default;
  transform: none;
  pointer-events: none;
}

.case-study-nav svg {
  fill: currentColor;
}

.case-study-modal-counter {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fefefe;
}

@media (max-width: 980px) {
  .case-study-modal-slide img {
    height: unset;
    width: 100%;
  }

  .case-study-cards {
    flex-direction: column;
    gap: 2rem;
  }

  .case-study-modal-close {
    top: 8px;
    right: 8px;
  }

  .case-study-modal-controls {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .case-study-modal-slide {
    border-radius: 12px;
  }

  .case-study-nav {
    width: 44px;
    height: 44px;
  }
}

.security-feature-card {
  transition: transform 0.25s cubic-bezier(.4, 1.4, .6, 1), box-shadow 0.25s cubic-bezier(.4, 1.4, .6, 1);
}

.security-feature-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(60, 60, 120, 0.12);
  z-index: 2;
}

/* Chat loading bubble for solutions chat */
.loading-bubble {
  color: #888;
  background: #ffffff;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-typing {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
}

.chat-typing .dot {
  width: 6px;
  height: 6px;
  margin: 0 1px;
  border-radius: 50%;
  background: #bbb;
  opacity: 0.7;
  animation: chatTypingBlink 1.2s infinite both;
}

.chat-typing .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chatTypingBlink {

  0%,
  80%,
  100% {
    opacity: 0.7;
  }

  40% {
    opacity: 1;
  }
}

/* Chat bubble animation for hero-split Q&A */

.answer-bubble-animate {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInBubble 0.5s cubic-bezier(.4, 1.4, .6, 1) forwards;
}

@keyframes fadeInBubble {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Auto-switching white tabs for hero Q&A section */
.auto-tabs-bar {
  display: flex;
  gap: 18px;
  margin-bottom: 35px;
  background: #e0fce1;
  border-radius: 50px;
  padding: 5px;
}

.auto-tab {
  background: none;
  color: #222c3a;
  border: none;
  padding: 5px 10px;
  font-size: 0.875em;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: color 0.2s, border-bottom 0.2s, background 0.2s;
}

.auto-tab.active {
  color: #ffffff;
  background: #1a9f4b;
  font-weight: 400;
  z-index: 2;
}

/* Security/Data Protection Section */
.security-section {
  padding: 64px 0 48px 0;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}

.security-container {
  max-width: 1200px;
  margin: 0 auto;
}

.security-header-row {
  margin-bottom: 32px;
}

.security-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0;
  line-height: 1.08;
}

.security-features-row {
  /* Use a responsive grid so cards are equal width and stretch to same height */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  align-items: stretch;
  margin-top: 32px;
}

.security-cta-col {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 32px;
}

.security-cta {
  background: #111;
  color: #fff;
  font-size: 1.15em;
  font-weight: 600;
  border-radius: 8px;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: background 0.18s;
}

.security-cta:hover {
  background: #222c3a;
}

.security-cta-icon {
  font-size: 1.2em;
  margin-left: 4px;
}

.security-feature-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.security-feature-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 24px 32px 32px 32px;
  margin-bottom: 0;
  min-height: 260px;
  /* ensure cards stretch to fill the grid cell and keep consistent sizing */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.security-feature-label {
  background: #e6f4e6;
  color: #222c3a;
  font-size: 1.05em;
  font-weight: 500;
  border-radius: 7px;
  padding: 6px 18px;
  margin-bottom: 8px;
  display: inline-block;
}

.security-feature-desc {
  color: #222c3a;
  font-size: 1.25em;
  line-height: 1.5;
  margin-bottom: 12px;
}

.security-feature-icon {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

@media (max-width: 1360px) {
  .hero-butterfly {
    right: -30px !important;
    top: 40px !important;
    width: 240px !important;
  }
}

@media (max-width: 1024px) {
  .testimonial-carousel {
    max-width: 100% !important;
  }
}

@media (max-width: 900px) {
  .scroll-visuals {
    display: none;
  }

  .hidden-on-mobile {
    display: none !important;
  }

  .security-features-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-photo-wrap {
    max-width: 300px !important;
  }

  .security-cta-col {
    padding-top: 0;
    margin-bottom: 18px;
    align-items: stretch;
  }
}

/* Mobile stacked cards for Agents By Role */
@media (max-width: 720px) {
  iframe.casestudy-video-iframe {
    width: 500px !important;
    height: 300px !important;
  }

  #stack-cards .container {
    padding-left: 0;
    padding-right: 0;
  }

  .stack-section {
    margin-bottom: 80px;
    margin-top: 50px;
    overflow: hidden;
  }

  /* Wrapper becomes a fixed-height stacking context */
  #stack-cards .stack-wrapper {
    position: relative;
    height: 420px;
    display: block;
    margin: 0 auto 24px;
    touch-action: pan-y;
  }

  /* stack-card base style for mobile */
  #stack-cards .stack-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    max-width: 480px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(8, 10, 12, 0.08);
    transition: transform 420ms cubic-bezier(.2, .9, .3, 1), opacity 420ms ease, box-shadow 420ms ease;
    will-change: transform, opacity;
    cursor: pointer;
    background-clip: padding-box;
    padding: 18px;
  }

  /* inactive cards sit behind and are smaller/faded */
  #stack-cards .stack-card.inactive {
    pointer-events: none;
    opacity: 0.85;
    filter: none;
  }

  .profile-quote {
    font-size: 14px !important;
  }

  /* active card visual prominence */
  #stack-cards .stack-card.active {
    pointer-events: auto;
    opacity: 1 !important;
    transform: translate(-50%, -52%) scale(1);
    box-shadow: 0 18px 48px rgba(8, 10, 12, 0.14);
  }

  /* small tweaks for inner profile card content on mobile */
  #stack-cards .profile-card {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-direction: column;
  }

  #stack-cards .profile-photo-wrap {
    max-width: 86px;
  }

  #stack-cards .profile-photo {
    border-radius: 12px;
  }

  /* ensure page flows below the stack-wrapper */
  #stack-cards .container+* {
    margin-top: 8px;
  }
}

.btn-black {
  background: #111;
  color: #fff;
  border: none;
}

.btn-black:hover {
  background: #222c3a;
}

/* Centered play overlay for testimonial videos */
.video-testimonial {
  position: relative;
}

.video-play-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(235, 150, 40, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: transform 140ms ease, background 140ms ease, opacity 160ms ease;
  box-shadow: 0 8px 22px rgba(8, 10, 12, 0.45);
}

.video-play-center:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(249, 142, 10, 0.45);

}

.video-play-center svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: #fff;
}

/* hide overlay while playing */
.video-testimonial.playing .video-play-center {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.96);
}

@media (max-width: 640px) {
  .video-play-center {
    width: 56px;
    height: 56px;
  }

  .video-play-center svg {
    width: 22px;
    height: 22px;
  }
}

/* Testimonial Section */
.testimonial-section {
  background: #fff;
  min-height: 80vh;
}

.testimonial-arrows {
  margin-bottom: 40px;
}

.testimonial-carousel {
  margin: 30px 0 0px;
}

/* Default: grid layout for tablet & mobile */
.testimonial-track {
  display: grid;
  gap: 20px;
  padding: 18px 12px;
  align-items: start;
  justify-items: stretch;
}



.testimonial-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.testimonial-card {
  /* background: linear-gradient(180deg, rgb(211 255 213), rgb(255 235 207), rgb(255 255 255)); */
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07), 0 1.5px 6px rgba(0, 0, 0, 0.04);
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 18px;


  position: relative;
  transition: opacity 0.5s, transform 0.5s, box-shadow 0.5s;
  opacity: 0.35;
  transform: scale(0.92);
  filter: blur(1px);
  z-index: 1;
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1.04);
  filter: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14), 0 2px 12px rgba(0, 128, 64, 0.10);
  z-index: 2;
}



@media (min-width: 800px) {
  .testimonial-card {
    min-width: 582px !important;
  }
}

@media (min-width: 100px) {
  .testimonial-container {
    flex-direction: row;
  }

  .testimonial-track {
    display: flex;
    gap: 28px;
    padding: 60px 44px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    width: 100%;
    box-sizing: border-box;
    box-sizing: border-box;
    scroll-padding-left: 24px;
    align-items: stretch;
  }

  .testimonial-track::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 460px;
    /* card width on desktop */
    min-width: 280px;
    max-width: 90%;
    scroll-snap-align: center;
    margin-right: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }
}

.testimonial-logo {
  background: #f1f5f9;
  color: #222c3a;
  font-weight: 700;
  font-size: 1.1em;
  border-radius: 10px;
  padding: 7px 18px;
  display: inline-block;
  margin-bottom: 62px;
}

.testimonial-text {
  color: #222c3a;
  font-size: 1.18em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1 1 auto;
}

.testimonial-author {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 16px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: #f1f5f9;
}

.testimonial-name {
  font-weight: 700;
  color: #222c3a;
  font-size: 1.05em;
}

.testimonial-role {
  color: #64748b;
  font-size: 0.98em;
}

/* Image testimonial specific styles */
.image-testimonial {
  position: relative;
  cursor: pointer;
  outline: none;
}

.image-testimonial img {
  display: block;
  border-radius: 8px;
  height: 100%;
}

.image-testimonial .feedback-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* collapsed state: show ~20% of the card height to act as a teaser */
  max-height: 20%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(245, 237, 237, 0.3), rgba(245, 237, 237, 0.8), rgba(255, 255, 255, 0.8), rgb(247, 236, 223));
  color: #000000;
  padding: 14px 16px;
  border-radius: 8px;
  transform: translateY(0px);
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease, max-height 260ms cubic-bezier(.2, .9, .3, 1);
  pointer-events: none;
}



.image-testimonial .feedback-text {
  margin: auto !important;
  font-size: 1rem;
  font-weight: 500;
}

.image-testimonial .feedback-author {
  font-size: 0.86rem;
  opacity: 0.9;
}

/* Make sure keyboard focus is visible */
.image-testimonial:focus {
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.12);
  border-radius: 8px;
}

.image-testimonial.show-feedback .feedback-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  /* expanded state: allow overlay to grow and reveal full testimonial */
  max-height: 1200px;
}

.feedback-text {
  padding-top: 10px;
}

/* Show 1.5 cards at a time on desktop */
@media (min-width: 980px) {
  .testimonial-carousel {
    max-width: calc(100% - 200px);
  }


  .image-testimonial:hover .feedback-overlay,
  .image-testimonial:focus .feedback-overlay,
  .image-testimonial.show-feedback .feedback-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    /* expanded state: allow overlay to grow and reveal full testimonial */
    max-height: 1200px;
  }

  .image-testimonial .feedback-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 20%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(245, 237, 237, 0.3), rgba(245, 237, 237, 0.8), rgba(255, 255, 255, 0.8), rgb(247, 236, 223));
    color: #000000;
    padding: 14px 16px;
    border-radius: 8px;
    transform: translateY(0px);
    opacity: 1;
    transition: opacity 220ms ease, transform 220ms ease, max-height 260ms cubic-bezier(.2, .9, .3, 1);
    pointer-events: none;
  }

  .testimonial-track {
    min-width: 100%;
  }

}

/* Feedback toggle (arrow) styling */
.image-testimonial {
  position: relative;
}

.feedback-toggle {
  position: absolute;
  left: 50%;
  top: 80%;
  transform: translate(-50%, -50%);
  z-index: 8;
  width: 44px;
  height: 30px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff7e6, #f7dca8);
  border: 1px solid rgba(24, 43, 24, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(8, 10, 12, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, top 180ms ease;
}

.feedback-toggle svg {
  display: block;
  fill: #5a4b2a;
}

.feedback-toggle:hover {
  transform: translate(-50%, -50%) scale(1.03);
}

.image-testimonial.show-feedback .feedback-toggle svg {
  transform: rotate(180deg);
}

.feedback-overlay .feedback-text {
  margin: 0;
  color: #0b0b0b;
  font-size: 1rem;
  line-height: 1.5;
}

/* Slight lift when overlay is expanded */
.image-testimonial.show-feedback,
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 40px rgba(10, 30, 20, 0.12);
  z-index: 6;
}

/* Show the feedback-toggle only on small screens (under 980px). On desktop hover controls expansion. */
@media (min-width: 980px) {
  .feedback-toggle {
    display: none !important;
  }
}

/* When overlay is fully visible (expanded), move the toggle arrow to the top of the card */
.image-testimonial.show-feedback .feedback-toggle {
  top: -15px;
  transform: translate(-50%, 0);
}

.image-testimonial.show-feedback .feedback-toggle {
  max-height: 20% !important;
}

/* Solutions Chat Tabs & Animated Q&A (duplicated hero split section) */
.solutions-chat-tabs {
  display: flex;
  gap: 18px;
  background: #e0fce1;
  border-radius: 50px;
  padding: 5px;
  justify-content: center;
  width: 100%;
}

.solutions-tab-btn {
  background: none;
  color: #222c3a;
  border: none;
  padding: 5px 20px;
  font-size: 1em;
  font-weight: 500;
  border-radius: 50px;
  width: 100%;
  cursor: pointer;
  transition: color 0.2s, border-bottom 0.2s, background 0.2s;
}

.solutions-tab-btn.active {
  background: #1a9f4b;
  color: #fff;
  font-weight: 500;
  z-index: 2;
  position: relative;
  transition: box-shadow 0.2s;
}

.solutions-chat-window {
  height: 420px;
  overflow: hidden;
  position: relative;
  border-radius: 20px 20px 0 0;
  padding: 24px 18px 18px 18px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, #e1f7e2, #f3fff6);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 16px 0px;
  width: 100%;
  border-bottom: none;
}

#solutions-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.solutions-chat-bubble {
  align-self: flex-end;
  background: #b9edbd;
  color: #222c3a;
  border-radius: 16px 16px 4px 16px;
  padding: 13px 18px;
  font-size: 0.874em;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  max-width: 320px;
  opacity: 0;
  transform: translateY(20px);
  animation: chatBubbleIn 0.7s cubic-bezier(0.77, 0, 0.18, 2) forwards;
}

.solutions-chat-bubble.answer {
  align-self: flex-start;
  background: #ffffff;
  box-shadow: none;
  color: #282828;
  border-radius: 16px 16px 16px 4px;
  margin-top: 6px;
}

@keyframes chatBubbleIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Split Q&A Animation */
.hero-split-message-card {
  position: relative;
  overflow: hidden;
}

.hero-split-nav {
  top: 0;
  left: 0;
  z-index: 999;
  padding: 5px 15px;
  width: 100%;
  background: #d4f6d5;
  height: 50px;
  position: absolute;
}

.hero-split-nav-logo {
  height: 30px;
  top: 10px;
  position: absolute;
}

.hero-split-qa {
  animation: heroSplitFadeSlide 1.2s cubic-bezier(0.77, 0, 0.18, 2);
}

@keyframes heroSplitFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Split Q&A Styles */
.hero-split-qa {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  min-width: 100%;
}

.hero-split-question {
  background: #ffebd0;
  color: #282828;
  font-size: 0.875em;
  border-radius: 1em 1em 0.3em 1em;
  padding: 1.1em 1.5em;
  margin-bottom: 0.2em;
  align-self: flex-end;
  max-width: 90%;
}

.hero-split-answer {
  background: #fff;
  color: #282828;
  font-size: 0.875em;
  font-weight: 400;
  border-radius: 1em 1em 1em 0.3em;
  padding: 1em 1.4em;
  align-self: flex-start;
  max-width: 90%;
}

.hero-split-typing {
  background: #ffebd0;
  color: #282828;
  font-size: 1em;
  border-radius: 1em 1em 0.3em 1em;
  padding: 0.6em 1.2em;
  margin-bottom: 0.2em;
  align-self: flex-end;
  max-width: 90%;
}

/* Our Story hero background */
.ag-hero {

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* keep existing layout but allow background to fill */
  min-height: 360px;
  /* fallback hero height; content can override */
}

/* optional overlay to improve text contrast */
.ag-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.4 !important;
  pointer-events: none;
}

/* Hero Split Section Styles */
.hero-split {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.solutions-chat-bg {
  width: 100%;
  margin-top: 20px;
  border-radius: 20px 20px 0 0;
}

/* Decorative gradient border (green -> yellow) around the chat card */
.solutions-chat-bg {
  position: relative;
  padding: 17px;
  /* space for the decorative border */
}


.solutions-chat-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(135deg, #fff2ca 0%, #fff2d2 20%, transparent 40%, transparent 100%);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  box-shadow: 0 0 0 3px rgb(255 216 166 / 20%) inset;
  pointer-events: none;
}

.solutions-chat-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 24px;
  padding: 3px;
  /* visual thickness hint for older UAs */
  /* create a soft green -> yellow gradient stroke using background-clip */
  background: linear-gradient(316deg, #fff2ca 0%, #fff2d2 20%, transparent 40%, transparent 100%);
  /* -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); */
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Ensure inner chat window sits above the decorative border */
.solutions-chat-bg>.solutions-chat-window {
  position: relative;
  z-index: 1;
  border-radius: 16px;
}

.hero-split-inner {
  display: flex;
  width: 100vw;
  align-items: center;
  max-width: 100vw;
  min-height: 60vh;
}

.hero-split-container {
  height: 100%;
  width: 100%;
  margin: 20px;
  background-color: #fff;
}

.problem-section {
  flex-direction: column;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 60px 0;
}

.hero-split-left {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 380px;
}

.hero-split-title {
  font-size: 3vw;
  font-weight: 700;
  margin: 0 0 0.5em 0;
  color: #434343;
  line-height: 1.1;
}

.hero-split-sub {
  font-size: 1.5vw;
  color: #aaa;
  font-style: italic;
  margin-bottom: 2.5em;
}

.hero-split-btn {
  margin-top: 1.5em;
  font-size: 1.1em;
  padding: 0.8em 2.2em;
}

.hero-split-right {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  width: 100%;
  flex-direction: column;
  position: relative;
}

.hero-split-message-card {
  background: -webkit-linear-gradient(90deg, hsl(36.55deg 54.78% 99.73%) 0%, hsl(134deg 56.88% 94.89%) 100%);
  padding: 50px 40px;
  border-radius: 28px;
  color: #4d4d4d;
  border-radius: 1.4rem;
  width: 100%;
  max-width: 580px;
  font-size: 0.875em;
  min-height: 350px;
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  transition: box-shadow 0.3s, background 0.3s;
}

.hero-split-message {
  display: block;
  color: #fff;
  font-size: 1.1em;
  font-weight: 400;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .hero-split-inner {
    flex-direction: column;
    margin: 40px 0;
  }

  .hero-split-inner .platform-head {
    width: 100% !important;
    text-align: center;
    margin: 0;
    align-items: center;
  }

  .platform-head {
    margin-top: 0px !important;
  }

  .blog-section {
    padding-top: 0 !important;
  }

  .testimonial-container {
    margin-bottom: 0 !important;
  }

  .hero-split-inner .hero-split-btn {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .hero-split-inner .hero-card-slim::before {
    bottom: 0px;
  }


  .hero-split-inner .hero-card-slim::after {
    bottom: -12px;
  }

  .hero-split-left,
  .hero-split-right {
    min-width: 0;
    width: 100%;
    padding: 5vw 0;
  }

  .hero-split {
    padding: 10px !important;
    margin: 0 !important;
  }

  .hero-split-message-card {
    width: 100%;
  }
}


.sparkle path {
  color: hsl(0 0% calc((var(--active, 0) * 70%) + var(--base)));
  transform-box: fill-box;
  transform-origin: center;
  fill: #fff;
  stroke: #fcf6d7;
  animation-delay: calc((var(--transition) * 1.5) + (var(--delay) * 1s));
  animation-duration: 0.6s;
  transition: color var(--transition);
}

.sparkle {
  padding-right: 5px;
}

.sparkle path:nth-of-type(1) {
  --scale: 0.5;
  --delay: 0.1;
  --base: 40%;
}

.sparkle path:nth-of-type(2) {
  --scale: 1.5;
  --delay: 0.2;
  --base: 20%;
}

.sparkle path:nth-of-type(3) {
  --scale: 2.5;
  --delay: 0.35;
  --base: 30%;
}



/* Sparkly Button Styles */
.sparkles {
  --clr: 110;
  --shadows: 0%;
  --shadowl: 0%;
  border: none;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 99vw;
  background: linear-gradient(0deg, hsla(var(--clr), 100%, 70%) 0%, hsla(var(--clr), 100%, 65%) 5%, hsla(var(--clr), 80%, 35%) 15%, hsl(110deg 80.69% 44.28%) 25%, hsl(106.34deg 95.29% 34.59%) 50%, hsl(110deg 100% 36.85%) 90%);
  background-size: 200% 300%;
  background-size: 200% 300%;
  background-position: 0% 0%;
  box-shadow: inset 0 0 2px hsla(var(--clr), 20%, 10%);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  cursor: pointer;
  place-items: center;
  padding: 2px;
  position: relative;
  overflow: hidden;
  transform: translate(0px);

  transition: all 0.5s cubic-bezier(0.77, 0, 0.18, 1);

  box-shadow: 0 -0.5em 0.5em transparent, 0 0.5em 0.5em transparent, 0 0.5em 0.5em transparent, 0 0.3em 0.3em transparent,
    0 0.15em 0.3em -0.2em hsla(var(--clr), 0%, 0%, 0.1),
    0 0.35em 0.75em hsla(var(--clr)-50, 0%, 0%, 0.15);
}

.sparkles::before,
.sparkles::after {
  --gradientPos: 50% 100%;
  content: " ";
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  transition: inherit;
  border-radius: 99vw;
}

.sparkles:before {
  inset: 0;
  position: absolute;
  transform: translate3d(0, 0, 0.01px);
  border-radius: inherit;

  background-image: var(--glitter), var(--glitter),
    linear-gradient(180deg, black 0%, white 80%);
  background-size: 300px 138px, 280px 130px, 200% 200%;
  background-blend-mode: multiply, multiply, overlay;
  background-position: 0px 0px, 0px 0px, var(--gradientPos);
  background-repeat: repeat;

  mix-blend-mode: color-dodge;
  filter: brightness(2) contrast(.75);
  animation: bubble 20s linear infinite;
  animation-play-state: paused;
  opacity: 0.5;
  box-shadow: inset 0 -8px 10px -7px hsla(var(--clr), 70%, 80%, 0.75);
}

.sparkles:after {
  background-image: radial-gradient(ellipse at center 70%,
      hsla(var(--clr), 100%, 99%, 0.8) 5%,
      hsla(var(--clr), 90%, 80%, 1) 20%,
      transparent 50%,
      transparent 200%),
    linear-gradient(90deg,
      hsla(var(--clr), 80%, 10%, 1) -10%,
      transparent 25%,
      transparent 75%,
      hsla(var(--clr), 80%, 10%, 1) 110%);
  box-shadow: inset 0 0.25em 0.75em rgba(0, 0, 0, 1),
    inset 0 -0.05em 0.2em rgba(255, 255, 255, 0.4),
    inset 0 -1px 3px hsla(var(--clr), 80%, 50%, 0.35);
  background-blend-mode: darken;
  background-repeat: no-repeat;
  background-size: 180% 80%, cover;
  background-position: center 220%;
  mix-blend-mode: hard-light;
  filter: blur(5px);
  opacity: 0;
}

.sparkles:hover,
.sparkles.over {
  --shadows: 90%;
  --shadowl: 80%;
  background-position: 200% 50%;

  transition: all 0.2s cubic-bezier(0.17, 0.84, 0.44, 1);

  box-shadow: 0 -0.2em 1.5em hsla(var(--clr), 90%, 50%, 0.3),
    0 0.5em 2em hsla(var(--clr), 90%, 70%, 0.3),
    0 0.25em 0.3em -0.2em hsla(var(--clr), 0%, 0%, 0.1),
    0 0.35em 0.75em hsla(var(--clr), 0%, 0%, 0.1),
    0 0.25em 0.5em -0.3em hsl(var(--clr), 30%, 99%, 0.1),
    0 0.25em 0.5em hsla(var(--clr), 20%, 30%, 0.35),
    inset 0 -2px 5px -2px rgba(68, 220, 59, 0.2);
}

.sparkles.over {
  transition-duration: 2s;
}

.sparkles:hover:before,
.sparkles.over:before {
  --gradientPos: 50% 50%;
  animation-play-state: running;
  filter: brightness(2) contrast(1);
  box-shadow: inset 0 -5px 10px -4px hsla(var(--clr), 70%, 80%, 0.3);
  opacity: .8;
}


.sparkles span {
  grid-column: 1;
  grid-row: 1;
  background-image: linear-gradient(hsl(calc(var(--clr) - 43), 27%, 85%) 0%,
      hsl(calc(var(--clr) - 60), 22%, 80%) 19%,
      hsl(calc(var(--clr) - 50), 20%, 75%) 30%,
      hsl(calc(var(--clr) - 52), 36%, 98%) 43%,
      hsl(var(--clr), 70%, 70%, 1) 51%,
      hsl(var(--clr), 50%, 85%, 1) 52%,
      rgb(255, 255, 255) 100%);
  background-size: 1em 3.45em;
  color: rgb(255, 255, 255);
  -webkit-background-clip: text;
  background-clip: text;
  transition-timing-function: inherit;
  transition-duration: inherit;
  transition-delay: 0s;
  padding: 0.45em 1em;
  transform: translateY(0);
  z-index: 10;
}

.sparkles:hover span,
.sparkles:active span,
.sparkles.over span {
  background-position-y: -100%;
}

.sparkles:active {
  transform: translateY(0.075em);
  box-shadow: 0 -0.2em 1.5em hsla(var(--clr), 90%, 50%, 0.4),
    0 0.5em 2em hsla(var(--clr), 90%, 70%, 0.65),
    0 0.15em 0.3em -0.2em hsla(var(--clr), 0%, 0%, 1),
    0 0.25em 0.75em hsla(var(--clr), 0%, 0%, 0.2),
    0 0.25em 0.5em -0.3em hsl(var(--clr), 30%, 99%, 0.2),
    0 0.25em 0.5em hsla(var(--clr), 20%, 30%, 0.45),
    inset 0 -2px 5px -2px rgba(255, 255, 255, 0.65);
  transition-duration: 0.1s;
}

.sparkles:active:before,
.sparkles:active:after {
  opacity: 1;
  filter: brightness(3) contrast(.75);
  animation-duration: 8s;
}

.sparkles:active:after {
  filter: brightness(1.35) contrast(.8) blur(5px);
}

:root {
  --glitter: url("./Assets/Pixie_Dust.webp");
}

@keyframes bubble {
  0% {
    background-position: 0px 340px, 0px 130px, var(--gradientPos);
  }

  100% {
    background-position: 0px 0px, 0px 0px, var(--gradientPos);
  }
}

/* Icon rotation for demo button */
@keyframes spin-360 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Apply rotation to an inline image inside the button when hovered/active/over */
.sparkles img {
  display: inline-block;
  transition: transform 600ms linear;
  will-change: transform;
}

.sparkles:hover img,
.sparkles.over img,
.sparkles:active img,
.sparkles:focus img {
  animation: spin-360 1.5s linear infinite;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

  .sparkles:hover img,
  .sparkles.over img,
  .sparkles:active img,
  .sparkles:focus img {
    animation: none !important;
    transform: none !important;
  }
}

:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --primary: #16a34a;
  /* green */
  --primary-600: #15803d;
  /* darker green */
  --accent: #f59e0b;
  /* yellow */
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --radius: 14px;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: #fff;
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%) !important;
  margin: 0 auto
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700
}

.brand-text {
  letter-spacing: .2px
}

.brand-mark {
  width: 28px;
  height: 28px
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: auto
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.875rem;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--line)
}

.nav-links a.active {
  color: var(--primary);
  background: #e8f5e9;
  font-weight: 700;
}

.nav-cta {
  display: flex;
  gap: 10px;
  font-size: 0.875rem;
  margin-left: 8px
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text)
}

/* FAQ Chat-style (light theme) */
.faq-chat-dark {
  padding: 32px 24px;
  color: #222c3a;
  margin-bottom: 32px;
}

.faq-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.faq-msg.user {
  justify-content: flex-end;
}

.faq-msg.bot {
  justify-content: flex-start;
}

.faq-avatar {
  width: 32px;
  height: 32px;
  background: #e2e8f0;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-bubble {
  background: #f8fafc;
  color: #222c3a;
  border-radius: 12px;
  padding: 14px 18px;
  max-width: 420px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  font-size: 1rem;
}

.faq-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 18px;
}

.faq-typing .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  opacity: 0.7;
  animation: faq-dot-blink 1.2s infinite;
}

.faq-typing .dot:nth-child(2) {
  animation-delay: 0.3s;
}

.faq-typing .dot:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes faq-dot-blink {

  0%,
  80%,
  100% {
    opacity: 0.7;
  }

  40% {
    opacity: 0.2;
  }
}

/* FAQ followup buttons */
.faq-followups {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.faq-followup {
  background: #f8fafc;
  color: #16a34a;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.faq-followup:hover {
  background: #16a34a;
  color: #fff;
}

.faq-log {
  min-height: 60px;
  margin-top: 18px;
}

/* End FAQ Chat-style */


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 9999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600
}

.btn-primary {
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

.video-testimonial {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--primary-600);
  border-color: var(--primary-600)
}

.btn-ghost {
  background: #fff;
  color: var(--text)
}

.btn-ghost:hover {
  background: #f0fdf4
}

.hero {
  position: relative;
  padding: 72px 0 40px
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center
}

.eyebrow {
  font-size: 2.2rem;
  line-height: 2.2;
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  letter-spacing: .3px
}

.hero h1 {
  line-height: 1.4;
  margin: 10px 0 14px
}

.hero h2 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 10px 0 14px
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 50ch
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 26px
}

.trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted)
}

.trust .logos {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.trust .logos span {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 10px;
  color: #1e293b;
  box-shadow: var(--shadow)
}

.hero-visual .mock-window {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden
}

.window-bar {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: #f0fdf4
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bbf7d0
}

.mock-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0
}

.panel {
  padding: 18px;
  border-bottom: 1px solid var(--line)
}

.panel-title {
  font-weight: 600;
  margin-bottom: 12px
}

.kpis {
  display: flex;
  gap: 16px
}

.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  flex: 1;
  min-width: 0;
  box-shadow: var(--shadow)
}

.kpi-value {
  font-weight: 800;
  font-size: 20px
}

.kpi-label {
  font-size: 12px;
  color: var(--muted)
}

.chart {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 96px;
  margin-top: 12px
}

.bar {
  width: 22px;
  background: linear-gradient(180deg, var(--primary), #86efac);
  border-radius: 6px;
  height: var(--h)
}

.code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 16px;
  border-top: 1px solid var(--line)
}

.code pre {
  margin: 0;
  overflow: auto
}

/* AI Chat Interface Styles */
.chat-interface {
  display: flex;
  flex-direction: column;
  height: 340px
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px
}

.chat-info {
  flex: 1
}

.chat-name {
  font-weight: 600;
  font-size: 14px
}

.chat-status {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 80%
}

.user-message {
  align-self: flex-end
}

.ai-message {
  align-self: flex-start
}

.message-content {
  background: #f1f5f9;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4
}

.user-message .message-content {
  background: var(--primary);
  color: #fff
}

.ai-message .message-content {
  background: #f8fafc;
  border: 1px solid var(--line)
}

.message-time {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  text-align: right
}

.user-message .message-time {
  text-align: right
}

.ai-message .message-time {
  text-align: left
}

.chat-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #fff
}

.input-placeholder {
  flex: 1;
  color: var(--muted);
  font-size: 13px;
  padding: 12px 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid var(--line)
}

.input-placeholder:focus {
  outline: none;
  border-color: #cacaca
}

.send-button {
  position: absolute;
  right: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease
}

.send-button:hover {
  background: var(--primary-600)
}

.chat-stats {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border-top: 1px solid var(--line)
}

.stat-item {
  flex: 1;
  text-align: center
}

.stat-value {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary)
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 34px;
}

.features {
  padding: 20px 0 8px
}


.platform {
  padding: 30px 0 8px
}

.platform-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  margin: 0px 80px 0 0;
}

.platform-kicker {
  font-size: 34px;
  font-weight: 800;
  color: #cecece;
  line-height: normal;
  opacity: .9;
  margin: 20px 0 2px 0;
}

.platform-title {
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
  text-align: left;
  color: #0b0b0b;
  font-weight: 900;
  letter-spacing: -0.5px
}

.platform-grid {
  display: grid !important;
  align-content: start;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 52px;
}

.platform-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 12px;
  padding: 20px;
}

.platform-icon {
  width: 56px;
  height: 56px
}

.platform-icon svg {
  width: 100%;
  height: 100%
}

.platform-item-title {
  font-size: 20px;
  margin: 0
}

.platform-item-desc {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7
}

/* Platform card motion on hover */
.platform-grid .platform-item {
  transition: transform 0.25s cubic-bezier(.4, 1, .4, 1), box-shadow 0.25s cubic-bezier(.4, 1, .4, 1);
}

.platform-grid .platform-item:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 12px 32px rgba(22, 163, 74, 0.12), 0 2px 12px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

@media (max-width: 550px) {
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  iframe.casestudy-video-iframe {
    width: 100% !important;
    height: 250px !important;
  }

  .platform-head {
    text-align: center;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(2, 6, 23, .12)
}

.feature .icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #fef9c3;
  border-radius: 10px;
  margin-bottom: 10px
}

.feature h3 {
  margin: 4px 0 6px
}

.feature p {
  color: var(--muted);
  margin: 0
}

.how {
  padding: 4px 0 8px
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow)
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px
}

.step h3 {
  margin: 6px 0
}

.step p {
  margin: 0;
  color: var(--muted)
}

.scroll-section {
  padding: 0
}

.scroll-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 24px
}

.scroll-left {
  display: flex;
  margin-left: 30px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0
}

.scroll-item {
  border-radius: 0;
  padding: 18px;
  box-shadow: none;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: flex-end;
}

.faq-msg.user {
  justify-content: flex-start;
}

.faq-msg.user .faq-bubble {
  background: #1f2937;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, .12)
}

.solution-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #fef9c3;
  border-radius: 10px;
  margin-bottom: 10px
}

.solution-icon svg {
  width: 22px;
  height: 22px;
  display: block
}

.scroll-cta {
  margin-top: 12px
}

.scroll-right {
  position: relative
}

.sticky {
  position: sticky;
  top: 0
}

.device-bar {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: #fff3f2
}

.device-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fbd5d5
}

.scroll-visuals {
  position: relative
}

.scroll-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  max-width: 400px;
  transform: scale(.98);
  display: none;
  transition: opacity .35s ease, transform .35s ease
}

.scroll-visual.is-active {
  opacity: 1;
  transform: none;
  display: flex;
}

.scroll-visual img {
  width: 100%;
  object-fit: contain;
  display: block
}

/* inline media for stacked mobile layout */
.scroll-media-inline {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 12px
}


.columns {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.col {
  padding: 18px;
  border-right: 1px solid var(--line)
}

.col:last-child {
  border-right: 0
}

.title {
  height: 10px;
  border-radius: 9999px;
  margin-bottom: 10px;
  width: 40%
}

.chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px
}

.chip-red {
  background: #fee2e2;
  color: #991b1b
}

.chip-orange {
  background: #ffedd5;
  color: #9a3412
}

.task {
  height: 12px;
  background: #e2e8f0;
  border-radius: 8px;
  margin: 8px 0
}

/* plan visuals */
.calendar {
  padding: 18px
}

.week {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 12px
}

.day {
  height: 36px;
  background: #fff;
  border: 1px dashed #e2e8f0;
  border-radius: 10px
}

.day.active {
  border-color: #fecaca;
  background: #fff1f2
}

.events {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.event {
  height: 12px;
  border-radius: 9999px
}

.e-red {
  background: #ef4444
}

.e-orange {
  background: #f97316
}

.e-amber {
  background: #f59e0b
}

/* team visuals */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr
}

.panel {
  padding: 18px;
  border-right: 1px solid var(--line)
}

.panel:last-child {
  border-right: 0
}

.label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px
}

.item {
  height: 12px;
  background: #e2e8f0;
  border-radius: 8px;
  margin: 8px 0
}

.testimonials {
  padding: 20px 0
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow)
}

.quote blockquote {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.5
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 10px
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line)
}

.person {
  font-weight: 600
}

.role {
  font-size: 12px;
  color: var(--muted)
}

.cta {
  background: linear-gradient(180deg, #ffffff, #f0fdf4);
  padding: 80px 0;
  height: 80vh;
  display: flex;
  align-items: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px
}

.cta .cta-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px
}

/* Impact heading style for pricing */
.impact-heading {
  line-height: 1.55;
  margin: 0;
  text-align: center;
  font-size: 52px;
}

.strike-muted {
  position: relative;
  color: #9ca3af
}

.impact-heading .strike-muted::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  background: rgba(156, 163, 175, 0.4);
  transform: translateY(-50%);
  mix-blend-mode: multiply;
  border-radius: 8px
}

.CTA-desc {
  font-size: 24px;
  color: #627186;
}

.hero-content {
  margin: 0 30px;
}

@media (max-width: 780px) {
  .impact-heading {
    font-size: 32px;
  }


  .CTA-desc {
    font-size: 20px;
  }
}

.grad-brilliance {
  background: linear-gradient(90deg, #22c55e, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800
}

.site-footer {
  background: #fff;
  color: #176a3a;
  padding: 0;
  margin-top: 0;
  border-top: 1px solid #e2e8f0;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 48px 0 48px;
}

.footer-logo-col {
  flex: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;

}

.footer-logo {
  width: 160px;
  height: auto;
}

.footer-email-subscribe {
  align-items: flex-start !important;
  flex-direction: column;
  max-width: 300px;
}

@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 32px 20px 0 20px;
  }

  .footer-logo-col {
    align-items: center;
  }

  .footer-info-col,
  .footer-contact-col,
  .footer-email-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.footer-info-col,
.footer-contact-col,
.footer-email-col {
  flex: 1;
  margin-top: 10px;
  color: #176a3a;
  font-size: 1.1rem;

  /* Hover & focus states for footer links */
  .footer-info-col a:hover {
    color: #00d9ff;
    /* neon blue or any highlight color */
    text-decoration: underline;
  }

  .footer-info-col a:focus-visible,
  .footer-contact-col a:focus-visible,
  .footer-email-col a:focus-visible {
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.12);
    border-radius: 4px;
  }
}

.footer-info-col h3,
.footer-contact-col h3,
.footer-email-col h3 {
  color: #929292;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 26px;
}

.footer-info-col a,
.footer-contact-col a,
.footer-email-col a {
  margin: 0;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 10px;
  color: #efefef;
  text-decoration: none;
}

.footer-bg {
  background: radial-gradient(ellipse at bottom, #053311 0%, #021507 100%);
  color: #fff;
  padding: 30px 20px 10px 20px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* Stars effect */
.footer-bg::after {
  content: "";
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent url("https://www.transparenttextures.com/patterns/stardust.png") repeat;
  opacity: 0.4;
}




.footer-divider {
  border: none;
  border-top: 1px solid #e2e8f01f;
  margin: 80px 0 0 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px 24px 48px;
  font-size: 0.875rem;
  color: #aaaaaa;
}

.footer-social {
  display: flex;
  gap: 6px;
}

.footer-social img {
  opacity: 0.8;
}

/* Footer subscribe form styles (dark input + orange gradient CTA) */
.footer-email-subscribe {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-email-input {
  background: #ffffff1a;
  color: #d1d5db;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  font-size: 0.864em;
  width: 100%;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.footer-email-input::placeholder {
  color: #9ca3af;
}

.footer-email-button {
  background: linear-gradient(90deg, #ffb300, #ff7a18);
  color: white;
  display: block;
  border: none;
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(255, 122, 24, 0.18);
}

.footer-email-button:hover {
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .testimonial-card {
    padding: 6px;
  }

  .testimonial-author {
    padding: 20px;
  }

  .feedback-overlay .feedback-text {
    font-size: 14px;
  }

  .platform-title {
    font-size: 24px;
    min-width: unset !important;
  }

  .hero-subtitle {
    font-size: 24px !important;
  }

  .platform-head {
    margin: 0;
  }

  .footer-email-subscribe {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-email-input {
    min-width: 100%;
  }

  .footer-email-button {
    width: 100%;
  }
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #176a3a;
  color: #fff;
  transition: box-shadow 0.2s;
}

.footer-social-icon:hover {
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
  background: #15803d;
}

.footer-social-icon svg circle {
  fill: #176a3a;
}

.footer-social-icon svg path {
  stroke: #fff;
}

/* FAQ Section Styles */
.faq-section {
  margin: 40px auto 40px auto;
  max-width: 900px;
}

.footer-social img:hover {
  opacity: 1;

}

.faq-card {
  background: #ffffff;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
  padding: 32px 32px 16px 32px;
}

.faq-item {
  background: none;

  border-radius: 0;
  margin-bottom: 0;
  padding: 0;
}


/* Our Story section */
.our-story {
  padding: 64px 0;
  background: linear-gradient(180deg, #ffffff, #f2f7eb);
}

.our-story .story-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

/* two column layout for story: image left, content right */
.story-grid.two-col {
  grid-template-columns: 48% 52%;
  gap: 36px;
  align-items: center;
}

.story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card img:first-child {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.visual-card .brand-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 56px;
  height: auto;
}

.story-copy.text-left {
  text-align: left;
  margin-left: 25px;
  margin-bottom: auto;
}

.story-copy .story-points {
  margin-top: 6px;
}

@media (max-width: 880px) {
  .story-grid.two-col {
    grid-template-columns: 1fr;
  }

  .visual-card .brand-badge {
    position: static;
    margin-top: 12px;
  }
}

.story-copy {
  text-align: center;
}

.story-copy .eyebrow {
  color: #11a84f;
  font-weight: 700;
  text-align: center;

  margin: 0 0 0px 0;
}

.story-title {
  margin: 0 0 12px 0;
  font-size: 32px;
  line-height: 1.05;
  color: #121417;
  font-weight: 800;
}

.story-lead {
  color: #374151;
  max-width: 56ch;
  margin-bottom: 18px;
}

.story-points {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.story-points li {
  margin: auto;
  max-width: 800px;
  color: #374151;
  font-size: 18px;
}

.story-cta .btn.btn-primary {
  border-radius: 9999px;
  padding: 10px 18px;
  background: #11a84f;
  color: #fff;
  display: inline-block;
  text-decoration: none;
}

.visual-card {
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: center;
  margin: 10px 20px 50px 20px;
  justify-content: center;
}

/* Make the visual card image fill the card and apply asymmetric rounding
   top-left and bottom-right rounded, top-right and bottom-left square */
.story-visual .visual-card {
  position: relative;
  padding: 0;
  /* image will fill the card */
  border-radius: 0;
  /* we control corner rounding on the image itself */
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 36px;
  /* large rounded at top-left */
  border-bottom-right-radius: 36px;
  /* large rounded at bottom-right */
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
}

/* Brand badge positioned in the top-right corner of the visual card */
.visual-card .brand-badge {
  position: absolute;
  top: -42px;
  right: -26px;
  width: 70px;
  height: 96px;
  padding: 8px;
  border-radius: 12px;
  box-shadow: none;
}

.testimonial-section {
  margin-top: 100px;
}

@media (max-width: 980px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .impact-heading {
    font-size: 28px;
  }

  .story-visual {
    order: -1;
    margin-bottom: 18px;
  }
}

.faq-item.open {
  background: none;
}

.faq-question {
  display: flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1a2a32;
  padding: 18px 0 0 0;
}

.faq-icon {
  font-size: 1.5rem;
  margin-right: 18px;
  color: #1a2a32;
  cursor: pointer;
  user-select: none;
}

.faq-title {
  flex: 1;
  font-size: 18px;
}

.faq-answer {
  font-size: 1rem;
  color: #1a2a32;
  margin: 12px 0 0 36px;
  line-height: 1.6;
}

.faq-card hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 18px 0;
}

.faq-item .faq-answer {
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Chat-style FAQ (dark) */
.faq-first-answer {
  min-width: 100%;
}

.faq-followup-answer {
  min-width: 100%;
}

.faq-chat-dark {
  color: #e5e7eb;
  border-radius: 18px;
  padding: 24px;
}

.faq-followups {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 0px 0 6px 0
}

.faq-followup {
  text-align: left;
  background: #fef9e9;
  color: #303030;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
  padding: 18px;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s, border-color .2s
}

.faq-followup:hover {
  background: #fef9e9;
  color: #303030;
  border-color: rgba(209, 110, 39, 0.2)
}

.faq-log {
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  margin-left: auto;
  color: #0b1220;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px
}

.faq-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px
}

.faq-msg.user {
  justify-content: flex-start
}

.faq-msg.user .faq-bubble {
  background: #1f2937;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, .12)
}

.faq-avatar {
  width: 28px;
  height: 28px;
  margin-top: 14px;
  box-shadow: 0 16px 36px rgba(2, 6, 23, .18);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #fff;
  font-size: 14px
}

.faq-bubble {
  margin-top: 14px;
  background: #0e1726;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, .10);
  padding: 10px 12px;
  border-radius: 12px;
  max-width: 80%
}

.faq-typing {
  margin-top: 14px;
  display: flex;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  padding: 10px 12px;
  margin-left: auto;
}

.faq-typing .dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #9ca3af;
  animation: faqBlink 1.2s infinite ease-in-out;
  margin-left: auto;
}

.faq-typing .dot:nth-child(2) {
  animation-delay: .2s
}

.faq-typing .dot:nth-child(3) {
  animation-delay: .4s
}

@keyframes faqBlink {

  0%,
  80%,
  100% {
    opacity: .25
  }

  40% {
    opacity: 1
  }
}

.faq-icon.faq-plus {
  display: inline-block;
}

.faq-item.open .faq-icon.faq-plus {
  transform: rotate(90deg);
}

.faq-icon.faq-close {
  transform: rotate(0deg);
}

.faq-item.open .faq-icon.faq-close {
  display: inline-block;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px 300px at 20% 20%, rgba(22, 163, 74, .12), transparent 60%), radial-gradient(600px 300px at 80% 30%, rgba(245, 158, 11, .14), transparent 60%)
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.reveal {
  opacity: 1;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease !important;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Case study full-bleed image */
.case-study {
  padding: 0;
  margin: 50px 0
}

.case-study img {
  display: block;
  width: 100%;
  height: auto;
}

/* Audience (Roles/Processes/Verticals) */
.audience {
  margin-top: 50px;
  padding: 80px 0px;
  background: transparent;
  position: relative;
  overflow: hidden
}

.audience::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .5;
  pointer-events: none
}

/* Solutions Vertical (dark) */
.solutions-vertical {
  position: relative;
  padding: 90px 0 110px;
}

.solutions-vertical .container {
  position: relative;
  z-index: 1
}

.sv-timeline {
  position: absolute;
  left: 0;
  right: 0;
  top: 60px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(148, 163, 184, .25) 0, rgba(148, 163, 184, .25) 2px, transparent 2px, transparent 10px);
}

.sv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px
}

/* New row-based layout for verticals (desktop: two-column rows, mobile: stacked) */
.sv-grid.sv-rows {
  display: block;
}

.sv-row1 {
  display: grid;
  grid-template-columns: 1fr 400px !important;
}

.sv-row {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 28px;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 13px rgba(14, 23, 40, 0.08);
}

.sv-media {
  width: 100%;
  max-width: 420px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 18px;
  border-radius: 14px;
  /* subtle card background for the image area */
  background: linear-gradient(180deg, rgb(211 255 213), rgb(255 235 207), rgb(255 255 255));
  overflow: visible;
  box-shadow: inset 0 2px 2px rgba(14, 23, 40, 0.03);
}

.sv-media .Verticals-img {
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(22, 28, 45, 0.10);
  position: relative;
  z-index: 2;
  display: block;
  max-width: 420px;
}

.sv-media::before {
  /* soft gradient halo behind the image */
  content: '';
  position: absolute;
  inset: 6px;
  z-index: 1;
  border-radius: 12px;
  background: radial-gradient(closest-side at 30% 30%, rgba(58, 123, 213, 0.12), transparent 40%), radial-gradient(closest-side at 70% 70%, rgba(34, 197, 94, 0.08), transparent 45%);
  filter: blur(14px);
  pointer-events: none;
}

.sv-row .sv-content {
  max-width: 560px;
}

/* Highlight specific words inside verticals when hovering the whole card */
.sv-row .highlight-on-hover {
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  border-radius: 6px;
}

.sv-row:hover {
  transform: translateY(-6px);
  box-shadow: 0 7px 15px rgba(14, 23, 40, 0.13);
}

.sv-row:hover .highlight-on-hover {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.12), rgba(245, 158, 11, 0.12));
  color: #0b0b0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 28, 45, 0.06);
}

.gradient-highlight {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.12), rgba(245, 158, 11, 0.12));
  color: #0b0b0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 28, 45, 0.06);
}



/* Alternating subtle tints and decorative blob */
.sv-row--alt-1 {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.sv-row--alt-2 {
  background: linear-gradient(180deg, #fbfff6 0%, #ffffff 100%);
}

.sv-row::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 160px;
  border-radius: 80px;
  filter: blur(28px);
  opacity: 0.14;
  z-index: 0;
}

.sv-row:nth-child(odd)::before {
  background: radial-gradient(circle at 20% 30%, rgba(58, 123, 213, 0.12), transparent 40%);
  left: -30px;
  top: -10px;
}

.sv-row:nth-child(even)::before {
  background: radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.12), transparent 40%);

}

.menu-link a:hover .s0 {
  /* legacy selector: keep as fallback but lower priority */
  stroke: #05a520 !important;
}

/* Pixie-specific: when the Pixie menu link is hovered, tint the logo stroke */
a.menu-link[href*="#pixie"]:hover .s0,
.menu-link a[href*="#pixie"]:hover .s0 {
  stroke: #05a520 !important;
}

.sv-row .sv-media,
.sv-row .sv-content {
  position: relative;
  z-index: 1;
}

.sv-content {
  padding: 16px 26px;
}

.sv-row--reverse {
  direction: ltr;
  /* ensure consistent ordering */
}

.sv-row--reverse .sv-media {
  order: 2;
}

.sv-row--reverse .sv-content {
  order: 1;
}

/* For reversed rows place the media to the right on larger viewports */
@media (min-width: 900px) {
  .sv-row--reverse .sv-media {
    justify-content: flex-end;
  }
}

.sv-row--reverse-md .sv-media {
  order: 1;
}

.sv-row--reverse-md .sv-content {
  order: 2;
}

/* Responsive: stack on small screens */
@media (max-width: 880px) {
  .sv-row {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .sv-row1 {
    grid-template-columns: 1fr !important;
    order: 2;
  }

  .sv-content {
    max-width: 100% !important;
  }

  .sv-row .sv-media,
  .sv-row .sv-content {
    order: initial
  }

  .sv-content {
    padding: 0 12px;
  }
}

.sv-col {
  min-height: 400px;
  padding: 0 10%;
  transition: min-height .25s ease;
  border-right: 1px solid #e3e3e3;
}

.sv-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #d0ffd7;
  color: #0f172a;
  font-weight: 600;
  margin-bottom: 18px;
}

.sv-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #d0ffd7;
  color: #0f172a;
  font-weight: 600;
  margin-bottom: 18px;
}

.sv-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  color: #0f172a
}

.sv-sub {
  margin: 0 0 22px;
  font-size: 18px;
  color: #616a7a;

}

.Verticals-img {
  width: 100%;
  height: auto;
}

.sv-card {
  overflow: hidden;
  background: #0f172a;
  border-radius: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.sv-card-list {
  display: grid;
  gap: 10px
}

.sv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #fff;
  background: #111827;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 10px;
}

.sv-dot {
  width: 14px;
  height: 14px;
  border-radius: 7px;
  display: inline-block
}

.sv-pink {
  background: #f472b6
}

.sv-blue {
  background: #60a5fa
}

.sv-card-header {
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 10px
}

.sv-card-files {
  display: grid;
  gap: 8px
}

.sv-file {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: #111827;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 10px
}

.sv-file.active {
  outline: 2px solid #3b82f6
}

.sv-file.disabled {
  opacity: .5
}

.sv-file-icon {
  font-size: 12px
}

.sv-file-name {
  color: #cbd5e1;
  font-size: 14px
}

.sv-chat {
  display: grid;
  gap: 12px
}

.sv-deploy {
  align-self: start;
  background: #111827;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, .25);
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer
}

.sv-bubble {
  background: #0b1220;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, .2);
  padding: 12px 14px;
  border-radius: 12px;
  max-width: 340px
}

.sv-bubble.right {
  justify-self: end;
  background: #0e1726
}

/* Hover/active motion and step color */
.sv-col:hover {
  min-height: 460px;
}

.sv-col:hover .sv-card {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(2, 6, 23, .18);
}

.sv-col:hover .sv-step {
  background: var(--primary);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .sv-col {
    transition: none;
  }

  .sv-card {
    transition: none;
  }
}

@media (max-width: 900px) {
  .sv-grid {
    grid-template-columns: 1fr;
  }

  .bonus-tab-nav {
    margin-top: 50px !important;
  }

  .solutions-vertical {
    padding-top: 80px !important;
  }

  .sv-timeline {
    display: none
  }
}

.audience::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 20% 20%, rgba(22, 163, 74, .10), transparent 60%), radial-gradient(600px 300px at 80% 80%, rgba(245, 158, 11, .12), transparent 60%);
  pointer-events: none
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.audience>.container {
  position: relative;
  z-index: 1
}

.audience-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 18px
}

.pill {
  display: inline-block;
  background: #e6f9f4;
  color: #0f766e;
  border: 1px solid #99f6e4;
  padding: 6px 10px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2px
}

.audience-head h2 {
  margin: 6px 0 0
}

.audience-head .sub {
  color: var(--muted);
  margin: 0
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.aud-card {
  border-radius: var(--radius);
  padding: 18px;
}

.aud-card h3 {
  margin: 0 0 10px
}

.aud-card ul {
  margin: 0;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.aud-card li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9999px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, .08)
}

.aud-icon {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, #60a5fa, #34d399)
}

.aud-card.processes .aud-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a)
}

.aud-card.verticals .aud-icon {
  background: linear-gradient(135deg, #f59e0b, #f97316)
}

.question-sec {
  display: none !important;
  margin: auto;
}

@media (max-width: 750px) {
  .audience-grid {
    grid-template-columns: 1fr
  }
}

.question-card {
  max-width: 400px;
  border: 1px solid #7c7b7b;
  padding: 10px 24px;
  border-radius: 57px;
  margin: 10px 0;
}

@media (max-width: 920px) {
  .problem-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    display: none !important;
  }

  .question-sec {
    display: block !important;
  }

}

@media (max-width: 980px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: 10px;
    order: 4;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .testimonial-grid {
    grid-template-columns: 1fr
  }

  .steps {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .links-col {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* Mobile stacked layout for the scroll section */
@media (max-width: 900px) {
  .scroll-grid {
    grid-template-columns: 1fr;
  }

  .sticky {
    position: relative;
    height: auto;
    height: unset !important;
  }

  .scroll-item {
    justify-content: flex-start !important;
    align-items: flex-start;
    min-height: unset !important;
  }

  .scroll-visuals {
    display: none !important;
    margin: 50px 30px 0 30px;
  }

  .scroll-visual {
    position: relative;
    opacity: 1;
    transform: none;
  }

  .scroll-media-inline {
    display: block
  }
}

/* Tablet/Web: enable pinned 100vh scrollytelling */
@media (min-width: 750px) {
  .scroll-grid {
    min-height: 100vh
  }

  .scroll-item {
    min-height: 68vh;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }

  .sticky {
    position: sticky;
    top: 15vh;
    height: 80vh
  }

  .device {
    display: flex;
    align-items: center;
    justify-content: center
  }

  .scroll-visuals {
    min-height: 65vh;
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr
  }

  .links-col {
    grid-template-columns: 1fr
  }
}

/* Problem section */
.problem {
  padding: 40px 0
}

.problem-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-bottom: 18px
}

.problem-head h2 {
  margin: 0
}

.problem-sub {
  font-family: "Comic Sans MS", "Comic Neue", cursive;
  font-size: 20px;
  color: var(--muted);
  margin: 0
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 50px
}

.problem-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.bubble {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 12px 24px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, .08);
  max-width: 560px;
  transform: rotate(var(--rot, 0deg));
  transition: transform .2s ease
}

.tilt-left {
  --rot: -3deg
}

.tilt-right {
  --rot: 3deg
}

.problem-center {
  display: flex;
  align-items: center;
  justify-content: center
}

.center-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
}


.center-circle img {
  width: 102%;
  height: 102%;
  object-fit: cover;
  display: block
}

@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr
  }

  .problem-col {
    align-items: center
  }
}

/* Responsive improvements for the Problem section ("When work becomes the problem") */
@media (max-width: 1200px) {
  .problem-grid {
    grid-template-columns: 1fr 300px 1fr;
    /* keep center visual visible on larger tablets */
    gap: 18px;
  }

  .center-circle {
    width: 220px;
    height: 220px;
    border-width: 3px;
  }
}

@media (max-width: 760px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta {
    height: unset !important;
  }

  .problem-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
    margin: 28px 20px;
    width: 100%;
  }
}

.platform-item-mobile-only {
  display: none !important;
}

@media (max-width: 900px) {
  .problem {
    padding: 28px 12px;
  }

  .platform-item-mobile-only {
    display: block !important;
  }

  .platform-grid {
    grid-template-columns: 1fr !important;
    padding: 0px;
    margin: 0px;
  }

  .scroll-left {
    margin-left: unset !important;
  }

  .scroll-visuals {
    display: none !important;
  }

  .problem-col {
    text-align: center;
  }


  .center-circle {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px auto;
    border-width: 2px;
  }
}

@media (max-width: 480px) {
  .bubble {
    padding: 10px 18px;
    max-width: calc(100% - 36px);
  }

  .blog-carousel .blog-card {
    width: 230px !important;
  }

  .carousel-track {
    padding: 28px 10px 38px !important;
  }

  .carousel {
    width: 98% !important;
  }

  .problem-head h2 {
    font-size: 1.4rem;
  }
}

/* Mobile bubble rotator: show only two bubbles stacked on small screens */
@media (max-width: 920px) {
  .problem-grid .bubble {
    display: none;
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    transition: opacity 300ms ease, transform 300ms ease;
  }

  .problem-grid .bubble.bubble-visible {
    display: block;
    opacity: 1;
    transform: translateY(0) rotate(var(--rot, 0deg)) scale(1);
  }

  /* Layout should show one on top and one below (use order) */
  .problem-col.left .bubble {
    margin-bottom: 12px;
  }
}

/* Stacked cards scroll section */
.stack-section {
  padding-top: 40px;
}

.stack-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stack-card {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  min-height: 400px;
  transform-origin: top center;
  transition: transform .25s ease, opacity .25s ease;
  will-change: transform, opacity;
  margin-bottom: 100px;
}

/* progressive sticky offsets to create layered look */
.stack-card:nth-child(1) {
  top: 100px;
  z-index: 2
}

.stack-card:nth-child(2) {
  top: 120px;
  z-index: 3
}

.stack-card:nth-child(3) {
  top: 140px;
  z-index: 4
}

.stack-card:nth-child(4) {
  top: 160px;
  z-index: 5
}

.stack-card:nth-child(5) {
  top: 180px;
  z-index: 6
}

.stack-card:nth-child(6) {
  top: 200px;
  z-index: 7
}

.stack-card:nth-child(7) {
  top: 220px;
  z-index: 8
}

.stack-card:nth-child(8) {
  top: 240px;
  z-index: 9
}

.stack-card h3 {
  margin: 0 0 8px;
}

.stack-card p {
  margin: 0;
  color: var(--muted);
}

/* Profile card variant (first stack card) */
.stack-card.profile {
  background: linear-gradient(180deg, #fff3e2 0%, #fff7ea 55%, #fffdf7 100%);
  border: 0;
  padding: 0;
  overflow: hidden;
}

.profile-card {
  display: grid;
  grid-template-columns: 420px 1fr;
  align-items: center;
  min-height: 500px;
  gap: 24px;
}

.profile-media {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.profile-photo-wrap {
  width: 100%;
  max-width: 380px;
}

.profile-sparkle {
  position: absolute;
  left: -32px;
  bottom: -18px;
  width: 120%;
  max-width: 520px;
  opacity: .85;
  filter: drop-shadow(0 4px 16px rgba(245, 158, 11, .25));
  z-index: 0;
  pointer-events: none;
}

.profile-photo {
  position: relative;
  z-index: 1;
  bottom: 0;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
}

.profile-inprofile-name .profile-name {
  margin: 0 0 8px 0;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  color: #0b0b0b;
}

.profile-info {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding: 50px;
  min-height: 100%;
}

.profile-title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #334155;
}

.profile-name {
  font-size: 24px;
}

.profile-quote {
  font-size: 28px;
  font-style: italic;
  color: #3f444c;
  margin-bottom: auto !important;
}

@media (max-width: 1000px) {
  .stack-card {
    min-height: 400px;
  }

  .profile-card {
    grid-template-columns: 240px 1fr;
    padding: 0px 28px;
    min-height: 400px;
  }

  .profile-quote {
    font-size: 16px;
  }

  .profile-name {
    font-size: 16px
  }

  .profile-title {
    font-size: 18px
  }
}

@media (max-width: 720px) {
  .profile-photo-wrap {
    max-width: 200px !important;
  }

  .profile-media {
    justify-content: center !important;
  }

  .profile-card {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .profile-info {
    padding: 0 8px 12px
  }

  .profile-name {
    font-size: 16px;
  }

  .stack-dots {
    margin-top: 90px !important;
  }

  .profile-title {
    font-size: 12px;
  }
}



/* ...blog code... */
.blog-section {
  padding: 40px 0;
  text-align: center;
}

.blog-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.blog-subtitle {
  color: #6b7280;
  margin-bottom: 32px;
}

.blog-grid {
  display: grid;
  gap: 32px;
  justify-content: center;
  margin-bottom: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  /* ensure items align to top so cards stretch uniformly */
}

/* Make blog cards fill the grid cell and keep equal heights */
.blog-grid>.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.blog-card-link {
  text-decoration: none;
}

/* Push meta/content to the bottom so cards keep even height */
.blog-card .blog-meta {
  margin-top: auto;
}

/* Responsive breakpoints: 3 cols desktop -> 2 cols tablet -> 1 col mobile */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
  }

  .blog-card img {
    height: 180px;
    /* slightly shorter on small screens */
  }
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  width: 320px;
  text-align: left;
  transition: box-shadow 0.2s;
}

.blog-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-meta {
  padding: 18px 20px 16px 20px;
}

.blog-category {
  color: #16b636;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.blog-heading {

  font-size: 1.15rem;
  font-weight: 600;
  color: #0b0b0b;
  margin: 0px 0 20px 0;
}

.blog-info {
  color: #6b7280;
  font-size: 0.95rem;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.blog-pagination .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  display: inline-block;
}

.blog-pagination .dot.active {
  background: #e99518;
}

/* Blog carousel styles */
.blog-carousel-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* Demo carousel - reuse blog carousel layout but responsive (3/2/1 cards) */
.demo-carousel-wrapper {
  position: relative;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.demo-carousel {
  width: 100%!important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.demo-carousel::-webkit-scrollbar {
  display: none;
}

.demo-carousel .carousel-track {
  display: flex;
  gap: 24px;
  padding: 20px 18px 34px;
  scroll-snap-type: x mandatory;
  align-items: stretch;
}

.demo-carousel .demo-card {
  flex: 0 0 32%;
  max-width: 32%;
  scroll-snap-align: center;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .demo-carousel .demo-card {
    flex: 0 0 48%;
    max-width: 48%;
  }
}

@media (max-width: 720px) {
  .demo-carousel-wrapper {
    gap: 8px;
  }

  .demo-carousel {
    width: calc(100% - 40px);
  }

  .demo-carousel .demo-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Bottom controls styling: make the duplicated buttons sit inline below the carousel */
.demo-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.carousel-btn.bottom {
  position: static !important;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  background: #fff;
}


/* ensure side absolute arrows remain in place while bottom ones are inline */


.carousel {
  width: calc(100% - 100px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* firefox */
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-track {

  display: flex;
  gap: 24px;
  padding: 28px 24px 38px;
  scroll-snap-type: x mandatory;
}

.blog-carousel .blog-card {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: center;
}

.carousel-btn {
  background: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  z-index: 60;
  font-size: 20px;
  pointer-events: auto;
}

.carousel-btn.prev {
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-btn.next {
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-btn:focus {
  outline: 2px solid #414141;
}

.blog-pagination {
  margin-top: 18px;
}

.blog-pagination .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e6e6e6;
  display: inline-block;
  margin: 0 6px;
}

.blog-pagination .dot.active {
  background: #6be04a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

@media (max-width: 720px) {
  .blog-carousel-wrapper {
    gap: 8px;
  }

  .blog-carousel .blog-card {
    width: 300px;
  }
}

.landing-page-container {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-new:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(Assets/noise.svg);
  opacity: .2;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-size: 200px 200px;
}

.platform-title-small {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0b0b0b;
}

.hero-new {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(-10deg, #fff5e6, #fff4eb 25%, #ecfaeb 50%, #f0fff3 75%, #fffdfa);
  overflow: hidden;
  padding-top: 32px;
}

.hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: radial-gradient(ellipse 60% 40% at 30% 30%, #dffbe7 0%, #fff 70%),
              radial-gradient(ellipse 60% 40% at 80% 40%, #fffbe7 0%, #fff 70%); */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.hero-butterfly {
  position: absolute;
  right: 30px;
  mix-blend-mode: multiply;
  top: 120px;
  width: 300px;
  max-width: 40vw;
  z-index: 2;
  pointer-events: none;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-title-accent {
  background: linear-gradient(90deg, #16a34a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.hero-desc {

  font-size: 1.8rem;
  color: #627186;
  margin-bottom: 32px;
}

.hero-actions {
  margin-top: 18px;
  margin-bottom: 18px;
}

.hero-btn {
  background: #1ac057;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 14px 38px;
  box-shadow: 0 2px 16px rgba(22, 163, 74, 0.10);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.hero-btn:hover {
  background: #15803d;
  box-shadow: 0 4px 24px rgba(22, 163, 74, 0.18);
}

.hero-sparkle {
  position: absolute;
  left: 0;
  mix-blend-mode: multiply;
  bottom: 100px;
  transform: scaleX(-1);
  width: 500px;
  max-width: 40vw;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 980px) {
  .hero-butterfly {
    right: 0px;
    top: 80px;
    width: 140px;
  }

  .hero-sparkle {
    width: 220px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero h2 {
    font-size: 2rem !important;
  }

  .hero-desc {
    font-size: 1.2rem !important;
  }

}

/* MIA hero feature section */
.mia-hero {
  padding: 56px 0 0 56px;
  background: #fff;
}

.mia-wrap {
  display: flex;
  gap: 80px;
  align-items: center;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.mia-left {
  flex: 1 1 56%;
}

.mia-right {
  flex: 0 0 44%;
  display: flex;
  justify-content: center;
}

.mia-eyebrow {
  color: #0b6b3a;
  font-weight: 600;
  margin-bottom: 10px;
}

.mia-title {
  font-size: 2.2rem;
  margin: 6px 0 16px;
  line-height: 1.05;
}

.mia-lead {
  color: #555;
  font-size: 1rem;
  max-width: 620px;
  margin-bottom: 22px;
}

.btn-secondary {
  background: transparent;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 11px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.mia-image-card {
  width: 360px;
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(26, 38, 34, 0.08);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mia-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Split impact hero (two background images with overlay and centered text) */
.split-impact-hero {
  padding: 0;
}

.split-hero {
  position: relative;
  width: 100%;
  height: 420px;
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

.split-side {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background-size: cover;
  background-position: center;
}

.split-left {
  left: 0;
  background-image: url("./Assets/CSR_bg.webp");
}

.split-right {
  right: 0;
  background-image: url("./Assets/Csr-pic-2.webp");
}

.split-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(88, 88, 88, 0.55) 0%, rgb(133 143 142 / 55%) 50%, rgba(81, 81, 81, 0.55) 100%);
  mix-blend-mode: multiply;
}

.split-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  z-index: 3;
  color: #fff;
}

.split-title {
  font-family: 'Inter', serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.02;
  margin: 0 0 12px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}

.split-desc {
  max-width: 900px;
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 960px) {
  .split-hero {
    height: 360px;
  }

  .split-title {
    font-size: 34px;
  }

  .split-desc {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .split-hero {
    height: 300px;
    border-radius: 10px;
  }

  .split-side {
    width: 100%;
    height: 100%;
    left: 0;
  }

  .split-right {
    display: none;
  }

  .hero-desc {
    font-size: 1rem !important;
  }

  .hero h2 {
    font-size: 1.4rem !important;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .split-overlay {
    background: rgba(4, 20, 18, 0.6);
  }

  .split-title {
    font-size: 26px;
  }
}

@media (max-width: 960px) {
  .mia-wrap {
    flex-direction: column-reverse;
    align-items: flex-start !important;
    gap: 30px;
  }

  .mia-right {
    margin-bottom: 18px;
  }

  .mia-image-card {
    width: 280px;
    height: 280px;
  }

  .mia-left {
    width: 100%;
  }
}

/* Mission gallery grid (image cards layout) */
.mission-section {
  padding: 100px 0;
  background: transparent;
}

.mission-row {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 36px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mission-text {
  padding-right: 10px;
}

.mission-heading {
  font-size: 32px;
  margin: 0 0 16px;
  color: #111;
}

.mission-lead {
  font-size: 18px;
  color: #424242;
  line-height: 1.6;
  margin: 0;
}

.mission-images {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stack {
  position: relative;
  width: 320px;
  height: 320px;
  display: block;
}

.stack .layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
  transform-origin: center;
}

.stack .main {
  z-index: 3;
  background: #fff;
}

.stack .layer-1 {
  z-index: 2;
  transform: translateX(80px) scale(0.75);
  opacity: 0.6;
  filter: blur(0.4px);
}

.stack .layer-2 {
  z-index: 1;
  transform: translateX(160px) scale(0.50);
  opacity: 0.38;
  filter: blur(0.6px);
}

/* make the stack slightly larger on wide screens for visual balance */
@media (min-width: 1100px) {
  .stack {
    width: 360px;
    height: 360px;
  }
}

@media (max-width: 960px) {
  .stack {
    width: 240px;
    height: 240px;
    margin: none;
  }

  .mission-images {
    justify-content: flex-start;
  }

  .mission-text {
    text-align: left;
  }
}

/* slider fade state */
.stack {
  transition: opacity 380ms ease, transform 280ms ease;
}

.stack.is-fade {
  opacity: 0.16;
}

@media (max-width: 960px) {
  .mission-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mission-images {
    margin-top: 15px;
  }

  .mission-images .img-lg {
    grid-row: 1 / 2;
    min-height: 220px;
  }
}




/* Our Culture section */
.our-culture {
  padding: 30px 0;
}

.our-culture .section-heading {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #111;
}

.our-culture p {
  font-size: 18px;
  color: #424242;
  line-height: 1.6;
  max-width: 800px;
}

/* Culture Simple Grid (requested pattern) */
.culture-simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.culture-box {
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(17, 24, 39, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.culture-box.highlight {
  padding: 28px;
  background: linear-gradient(to right, #efa15080, #b6eca9bf);
  align-items: center;
}



.culture-box img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .culture-simple-grid {
    grid-template-columns: 1fr;
  }

  .culture-box img {
    height: 220px;
  }
}

/* Culture Cards Grid Styles (previous variant, retained for reference in case used elsewhere) */
.culture-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 60px 0;
}

.culture-card {
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  min-height: 300px;
}

.culture-card--light {
  background: linear-gradient(135deg, #fef7e0 0%, #fdf4e4 100%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.culture-card--dark {
  position: relative;
  background: #1a1a1a;
  min-height: 400px;
}

.culture-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.culture-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: #111;
}

.culture-card--light .culture-title {
  color: #111;
}

.culture-card--dark .culture-title {
  color: #fff;
}

.culture-description {
  font-size: 16px;
  line-height: 1.6;
  color: #424242;
  margin: 0;
}

.culture-card--light .culture-description {
  color: #424242;
}

.culture-card--dark .culture-description {
  color: #e0e0e0;
}

.culture-image-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.culture-image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px dashed rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  animation: float 3s ease-in-out infinite;
}

.icon-shield {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.icon-gear {
  top: 25%;
  right: 15%;
  animation-delay: 0.5s;
}

.icon-cloud {
  top: 45%;
  left: 20%;
  animation-delay: 1s;
}

.icon-search {
  top: 60%;
  right: 25%;
  animation-delay: 1.5s;
}

.icon-docs {
  top: 30%;
  left: 50%;
  animation-delay: 2s;
}

.icon-folder {
  top: 70%;
  left: 30%;
  animation-delay: 2.5s;
}

.icon-building {
  top: 20%;
  left: 70%;
  animation-delay: 0.8s;
}

.icon-fingerprint {
  top: 80%;
  right: 20%;
  animation-delay: 1.8s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.culture-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 40px;
  color: white;
}

/* Culture Cards Responsive Design */
@media (max-width: 1024px) {
  .culture-cards-grid {
    gap: 25px;
    margin: 50px 0;
  }

  .culture-card--light {
    padding: 30px;
  }

  .culture-card-content {
    padding: 30px;
  }

  .floating-icon {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  .culture-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
  }

  .culture-card--light {
    padding: 25px;
    min-height: 250px;
  }

  .culture-card--dark {
    min-height: 350px;
  }

  .culture-card-content {
    padding: 25px;
  }

  .culture-title {
    font-size: 20px;
  }

  .culture-description {
    font-size: 14px;
  }

  .floating-icon {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  #stack-cards .profile-photo {
    width: 140px;
    height: auto;
  }

  .culture-cards-grid {
    gap: 15px;
    margin: 30px 0;
  }

  .culture-card--light {
    padding: 20px;
    min-height: 200px;
  }

  .culture-card--dark {
    min-height: 300px;
  }

  .culture-card-content {
    padding: 20px;
  }

  .culture-title {
    font-size: 18px;
  }

  .culture-description {
    font-size: 13px;
  }

  .floating-icon {
    width: 16px;
    height: 16px;
    font-size: 8px;
  }
}

.culture-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;

}

#bonus-features {
  scroll-margin-top: 100px;
}

#pixie {
  scroll-margin-top: 130px;
}

#ai-studio {
  scroll-margin-top: 100px;
}

#ai-agents {
  scroll-margin-top: 100px;
}

#ai-analytics {
  scroll-margin-top: 100px;
}

/* Agents by Processes styles */
.agents-head {
  margin-bottom: 40px;
}

.agents-by-processes {
  --process-item-height: 70px;
}

.agents-by-processes {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(235, 255, 235, 0.926), rgba(255, 246, 228, 0.871), rgb(255 255 255));
}

.agents-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 14px;
  align-items: start;
}

.process-sidebar {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 12px 12px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-item {
  height: var(--process-item-height);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 6px;
  color: #4b4b4b;
  cursor: pointer;
  position: relative;
}

.process-item .icon {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  background: #f7fff7;
  border-radius: 10px;
  color: #00C853;
}

.process-item .title {
  font-weight: 400;
  width: 100%;
  height: unset !important;
  border-radius: unset !important;
  margin-bottom: unset !important;
  white-space: normal;
  word-break: break-word;
}

.process-item:hover {
  background: rgba(230, 255, 235, 0.8);
}

.process-item.active {
  background: linear-gradient(90deg, rgb(217 246 206) 0%, rgb(252 249 234) 100%);
  box-shadow: 0 3px 10px rgba(0, 200, 83, 0.10);
  transform: scale(1.12);
  border: 1px solid #b5e1b7;
}



.process-item.active .title {
  color: #050505;
  font-weight: 600;
  font-size: 15px;
}

.process-content {
  background: transparent;
  height: 100%;
}

.process-panel {
  background: #fff;
  height: 100%;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.04);
}

.panel-heading {
  font-size: 18px;
  margin: 0 0 18px;
}

.tasks-and-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.tasks-list {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.task-item {
  cursor: pointer;
  border: 1px solid #f2f2f2;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  transition: background 220ms ease, transform 160ms ease;
}

.task-item .task-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.task-item:hover {
  background: rgba(249, 249, 249, 0.8);
  transform: translateY(-2px);
}

.tasks-and-preview .active:hover {
  background: linear-gradient(90deg, rgba(244, 255, 240, 1) 0%, rgba(255, 252, 240, 1) 100%) !important;
}

.task-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}

.task-icon {
  width: 20px;
  height: 20px;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-family: 'Material Symbols Outlined';
  font-size: 20px;
  line-height: 1;
  display: inline-block;
}

.task-icon-wrap .material-symbols-outlined {
  color: #181818;
}

.task-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.task-meta p {
  font-size: 15px;
  color: #0b0b0b;
  font-weight: 500;
  margin: 0;
}

.task-meta .task-desc {
  font-size: 13px;
  color: #6b6b6b;
  display: none;
}

.task-item.task-active .task-meta .task-desc {
  display: flex;
}

/* small countdown label centered in the ring */
/* task-progress bar removed — using circular progress only */
.task-active {
  background: linear-gradient(90deg, rgba(244, 255, 240, 1) 0%, rgba(255, 252, 240, 1) 100%);
  box-shadow: 0 8px 20px rgba(0, 200, 83, 0.05);
}

.task-preview {
  background: linear-gradient(90deg, rgba(244, 255, 240, 1) 0%, rgba(255, 252, 240, 1) 100%);
  border-radius: 12px;
}

.preview-card {
  border-radius: 14px;
  padding: 14px;
  position: relative;
  min-height: 260px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.preview-header .tag {
  background: #e8fff0;
  color: #007b33;
  padding: 6px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
}

.preview-body img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 12px;
}

.preview-bubble {
  position: absolute;
  right: 20px;
  top: -18px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  font-size: 13px;
}

/* circular progress ring */
.progress-ring {
  position: absolute;
  width: 44px;
  height: 44px;
  transform: rotate(-90deg);
}

.progress-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 3s linear;
}

.progress-active .progress-path {
  stroke-dashoffset: 0;
}

/* Preview metrics: Time & Cost horizontal progress bars */
.preview-metrics {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  align-items: flex-start;
  flex-direction: column;
}

.metric-card {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
  flex: 1;
  width: 100%;
}

/* Responsive: make the process list a two-column grid on small screens */
@media (max-width: 980px) {
  .process-item.active .title {
    font-size: 16px;
  }

  .process-item .title {
    font-size: 16px;
  }

  .process-item.active::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    border-top: 9px solid #00C853;
  }

  .process-item.active::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 80%;
    height: 0;
    border-bottom: 2px solid #00C853;
  }

  .agents-footer-note {
    font-size: 0.9rem;
  }

  .agents-grid {
    background: #fff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .process-sidebar {
    width: 100%;
    padding: 8px 6px;
    box-shadow: none;
  }

  .process-content {
    order: 1;
  }

  .task-icon-wrap {
    height: 24px;
  }

  .task-item {
    padding: 6px 12px;
  }

  .task-active {
    display: flex !important;
  }

  .progress-ring {
    top: -5px;
    right: -5px;
    height: 36px;
    width: 36px;
  }

  /* Two-column grid for process-list to make better use of horizontal space */
  .process-list {
    display: flex;
    gap: 10px;
    align-items: start;
    padding: 12px 4px;
    width: 100%;
    flex-direction: row;
    overflow: auto;
    -webkit-overflow-scrolling: auto;
    scroll-snap-type: none;
  }

  .process-list::-webkit-scrollbar {
    display: none;
  }

  .process-panel {
    box-shadow: none;
  }

  /* Make each process item fill its grid cell and be touch-friendly */
  .process-item {
    width: 100%;
    min-width: 125px;
    padding: 14px 8px 10px 12px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
    background: #fff;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
  }

  /* Avoid large scaling on active items in tight grid */
  .process-item.active {
    transform: none;
  }

  .tasks-list {
    width: unset !important;
    flex-direction: row !important;
  }

  .process-item .title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .progress-ring {
    right: -5px !important;
  }
}

/* Tasks list: switch to horizontal carousel on small screens */
.tasks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 6px 4px;
  width: 100%;
}

.tasks-list::-webkit-scrollbar {
  display: none;
}

.tasks-list .task-item {
  scroll-snap-align: center;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
  padding: 12px;
}

.metric-title {
  font-size: 13px;
  color: #333;
  font-weight: 700;
  margin-bottom: 8px;
}

.metric-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.segmented-bar {
  position: relative;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

/* base segments (show the tick grid for the whole track) */
.segmented-bar .segments {
  position: absolute;
  inset: 0;
  /* repeating ticks: 8px tick, 6px gap -> adjust to taste */
  background-image: repeating-linear-gradient(90deg, #f2f2f2 0 5px, transparent 5px 9px);
  opacity: 1;
  mix-blend-mode: normal;
}

/* muted (secondary/delta) track uses a slightly different, paler ticks */
.segmented-bar .segments.muted {
  background-image: repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.03) 0 5px,
      transparent 5px 9px);
}

/* filled portion — same tick spacing so stripes line up when bar-fill grows */
.segmented-bar .bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 999px;
  transition: width 600ms cubic-bezier(.2, .9, .25, 1), box-shadow 300ms ease;
  overflow: hidden;
  /* create clipped ticks in the fill so the left portion looks pink stripes */
  background-image: repeating-linear-gradient(90deg, 0 5px, transparent 5px 9px);
}

/* primary (pink) filled stripes — the visible color for filled ticks */
.primary-seg .bar-fill {
  background-color: transparent;
  background-blend-mode: normal;
}

/* Use a pseudo-element layering trick so the colored ticks sit above the subtle white pattern */
.primary-seg .bar-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, #ffa14a 0 5px, transparent 5px 9px);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255, 90, 168, 0.06);
}

/* delta (green) fill uses the same tick spacing but green color */
.delta-seg .bar-fill.delta {
  background-color: transparent;
}

.delta-seg .bar-fill.delta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, #40cd61 0 5px, transparent 5px 9px);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(57, 161, 74, 0.06);
}

.metric-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
  min-width: 112px;
}

.metric-value.main {
  color: #ffa14a;
  font-weight: 700;
  font-size: 18px;
}

.metric-delta {
  color: #35ab50;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 1px;
}

.metric-delta.up {
  color: #35ab50;
}

/* Legend above metrics: red = without Pixie, green = with Pixie */
.preview-legend {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.legend-item {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #4b4b4b;
}

.legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

.legend-swatch.with {
  background: linear-gradient(90deg, #4de771, #69b36b);
  box-shadow: 0 2px 6px rgba(46, 143, 68, 0.12);
}

.legend-swatch.with::after {
  content: '';
}

.legend-swatch.without {
  background: linear-gradient(90deg, #ffa14a, #ffbc7c);
  box-shadow: 0 2px 6px rgba(255, 107, 95, 0.12);
}

.legend-label {
  font-weight: 600;
}

@media (max-width: 900px) {
  .preview-metrics {
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .tasks-list::-webkit-scrollbar {
    display: none;
  }

  .tasks-list .task-item {
    flex-direction: row;
    min-width: 220px;
    flex: 0 0 260px;
    /* card width in carousel */
  }

  .agents-grid {
    grid-template-columns: 1fr;
  }

  .tasks-and-preview {
    grid-template-columns: 1fr;
  }

  .process-item.active {
    transform: scale(1);
  }
}

.culture-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.culture-overlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.culture-overlay h3 {
  margin: 0 0 6px 0;
  font-size: 1.15rem;
}

.culture-overlay p {
  margin: 0;
  font-size: 0.95rem;
}

.culture-card--green {
  background: linear-gradient(to right, #ffa548ad, #ffc677bf, #ffa548ad);
  /* lime-like color similar to attachment */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.culture-green {
  text-align: center;
  color: #0b0b0b;
}

.culture-green .icon {
  margin: 0 auto 12px;
}

.culture-green h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.culture-green p {
  margin: 0;
  color: #08210a;
  font-size: 1.25rem;
}

.culture-card--small {
  padding: 20px;
}

.culture-green svg {
  width: 100px;
}

@media (min-width: 1000px) {
  .culture-card--photo:first-child {
    grid-row: 1 / span 2;
  }

  .culture-card--photo:last-child {
    grid-row: 2 / span 1;
  }
}

@media (max-width: 720px) {
  .culture-grid {
    grid-template-columns: 1fr;
  }

  .faq-log {
    width: 95%;
  }

  .culture-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

/* Backdrop gradient for overlay text on photo cards */
.culture-card--backdrop .culture-overlay {
  color: #0b0b0b;
  text-shadow: none;
  padding: 14px 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgb(255 255 255 / 56%) 0%, rgb(255 255 255 / 74%) 40%, rgb(255 255 255 / 67%) 100%);
  max-width: 76%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 720px) {
  .culture-card--backdrop .culture-overlay {
    max-width: none;
    padding: 12px;
  }
}


/* Alternative content styles for other tabs */
.web-projects,
.sql-challenges,
.debug-exercises,
.ide-features,
.rewards-system,
.referral-benefits,
.forum-topics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.project-item,
.challenge-item,
.debug-item,
.feature-item,
.reward-item,
.benefit-item,
.topic-item {
  background: #334155;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #475569;
}

.project-item h4,
.challenge-item h4,
.debug-item h4,
.feature-item h4,
.reward-item h4,
.benefit-item h4,
.topic-item h4 {
  font-size: 14px;
  margin: 0 0 5px 0;
  color: #f1f5f9;
}

.project-item p,
.challenge-item p,
.debug-item p,
.feature-item p,
.reward-item p,
.benefit-item p,
.topic-item p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

/* Responsive design */
@media (max-width: 900px) {
  .bonus-tabs {
    grid-template-columns: 1fr !important;
  }

  .bonus-tab-nav {
    position: relative !important;
    top: 0 !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }


}

/* Agents footer: short description + CTA */
.agents-footer {
  margin-top: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.agents-footer-note {
  margin: 0;
  color: #555;
  text-align: center;
  font-size: 1.2rem;
}

.agents-explore-btn {
  padding: 5px 18px;
  border-radius: 999px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .agents-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .agents-explore-btn {
    width: 100%;
    text-align: center;
  }

  .bonus-tab-btn {
    width: auto !important;
    text-align: center;
    border-radius: 25px;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  .bonus-tab-nav {
    flex-direction: column;
    align-items: center;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .screen-sidebar {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
  }

  .screen-main {
    margin-left: 0;
  }
}



/* Bonus Features Section
.bonus-features {
  padding-bottom: 40px;
}

.bonus-tabs {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: start;
}

.bonus-tab-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  position: sticky;
  top: 100px;
}

.bonus-tab-btn {
  padding: 10px 14px;
  border: none;
  background: none;
  color: var(--muted);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
  text-align: left;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* upcoming fill overlay */
/* .bonus-tab-btn .tab-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: -990;
  width: 0%;
  background: #e8fbe8;
  transition: width 5s linear;
} */

/* keep the label above the fill */
/* .bonus-tab-btn {
  position: relative;
}

.bonus-tab-btn span,
.bonus-tab-btn {
  position: relative;
  z-index: 1;
}

.bonus-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f0fdf4;
}

.bonus-tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.bonus-tab-content {
  position: relative;
}

.bonus-tab-panel {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.bonus-tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bonus-content-grid {
  display: block;
}

.bonus-visual {
  display: flex;
  justify-content: center;
}

.laptop-mockup {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.laptop-screen {
  background: #1e293b;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.laptop-screen::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 8px;
  background: #475569;
  border-radius: 0 0 8px 8px;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #475569;
}

.screen-logo {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 14px;
}

.screen-icons {
  display: flex;
  gap: 12px;
}

.screen-icons span {
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
}

.screen-sidebar {
  position: absolute;
  left: 20px;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-icon {
  width: 35px;
  height: 35px;
  background: #475569;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  font-size: 18px;
}

.screen-main {
  margin-left: 70px;
  color: #e2e8f0;
}

.screen-title {
  font-size: 24px;
  margin: 0 0 10px 0;
  color: #f1f5f9;
}

/* Content Sections Styles */
.content-sections-wrapper {
  padding: 0;
  background: transparent;
}

.content-section {
  padding: 60px 40px;
  margin: 30px 30px;
  border-radius: 20px;
  max-width: 1200px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.content-section-1 {
  background: linear-gradient(135deg, #fef7e0 0%, #fdf4e4 100%);
}

.content-section-2 {
  background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e9 100%);
}

.content-section-3 {
  background: linear-gradient(135deg, #fffbf0 0%, #fff8e1 100%);
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.content-section-2 .content-wrapper {
  grid-template-columns: 65% 35%;
}

.content-images {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.image-stack {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: 340px;
}

.image-stack img {
  position: absolute;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  width: 260px;
  height: 260px;
}

.image-stack img:first-child {
  top: -10px;
  z-index: 2;
  left: -60px;
  rotate: -10deg;
}

.image-stack img:last-child {
  bottom: 0;
  right: 20px;
  z-index: 1;
  opacity: 0.9;
  rotate: 6deg;
}

.content-text {
  padding: 20px 0;
}

.content-icon {
  margin-bottom: 16px;
}

.content-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: #111;
}

.highlight-orange {
  color: #FF9800;
}

.highlight-green {
  color: #11a84f;
}

.highlight-yellow {
  color: #FFC107;
}

.content-description {
  font-size: 18px;
  line-height: 1.6;
  color: #424242;
  margin: 0 0 16px 0;
}

.content-description:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-section {
    margin: 25px 30px;
    padding: 50px 30px;
  }

  .content-wrapper {
    gap: 40px;
  }

  .image-stack {
    max-width: 300px;
    height: 240px;
  }

  .image-stack img {
    height: 180px !important;
    width: 160px !important;
  }

  .image-stack img:last-child {
    height: 180px !important;
    width: 160px !important;
  }

  .image-stack img:first-child {
    left: 0px !important;
  }
}

@media (max-width: 768px) {
  .content-section {
    margin: 20px 20px;
    padding: 40px 30px;
    max-width: none;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .content-section-2 .content-wrapper {
    grid-template-columns: 1fr;
  }

  .content-section-2 .content-text {
    order: 2;
  }

  .content-section-2 .content-images {
    order: 1;
  }

  .content-title {
    font-size: 28px;
  }

  .content-description {
    font-size: 16px;
  }

  .image-stack {
    max-width: 300px;
    height: 150px;
    margin: 0 auto;
  }

  .image-stack img {
    height: 150px;
  }

  .image-stack img:last-child {
    height: 150px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .content-section {
    margin: 15px 15px;
    padding: 30px 20px;
  }

  .content-wrapper {
    gap: 30px;
  }

  .content-title {
    font-size: 24px;
  }

  .content-description {
    font-size: 15px;
  }

  .image-stack {
    max-width: 180px;
    height: 140px;
  }

  .image-stack img {
    height: 180px;
  }

  .image-stack img:first-child {
    left: -40px;
    height: 130px;
    width: 160px !important;
    top: 20px;
  }


  .image-stack img:last-child {
    height: 130px;
    right: -20px;
    width: 160px !important;
    top: 40px;
  }
}

/* Small-screen override: increase process item height so titles can wrap without changing overall equality */
@media (max-width: 720px) {
  .agents-by-processes {
    --process-item-height: 72px;
  }
}

.privacy_policy {
  color: #dcdcdc;
  text-decoration: underline;
}

/* Demo Videos Showcase Section */
.demo-videos-section {
  padding: 40px 0;
  background: #ffffff;
}

.demo-video-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
}

.demo-video-card:hover .demo-video-play-button {
  transform: translateY(-50%) scale(1.1);
}

.demo-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.demo-video-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.demo-video-thumbnail {
  position: relative;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.demo-video-thumbnail:hover {
  transform: translateY(-4px);
  border-radius: 16px 16px 0 0;
}

.demo-video-play-button {
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  position: absolute;
  top: 50%;
  right: 40%;
  transform: translateY(-50%);
  z-index: 3;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.demo-video-play-button:hover {
  transform: translateY(-50%) scale(1.1);
}

.demo-video-play-button:focus-visible {
  outline: 3px solid rgba(249, 142, 10, 0.6);
  outline-offset: 4px;
}

.demo-video-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.demo-video-thumbnail:hover .demo-video-visual img {
  opacity: 0.6;
}


/* Responsive styles for demo videos */
@media (max-width: 1024px) {
  .demo-videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .demo-video-thumbnail {
    min-height: 200px;
  }

  .demo-video-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
  }

  .demo-videos-section {
    padding-bottom: 10px;
  }
}

@media (max-width: 720px) {
  .demo-videos-section {
    padding: 30px 0;
  }

  .demo-videos-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .demo-video-thumbnail {
    min-height: 200px;
  }

  .demo-video-play-button {
    right: 50%;
  }

  .demo-video-play-button svg {
    width: 50px;
    height: 50px;
  }

}

/* Webinar-specific styles (prefixed with .webinar- to avoid collisions) */
.webinar-page {
  max-width: 1100px;
  margin: 36px auto;
  padding: 0 20px;
}

.webinar-columns {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.webinar-left {
  width: 360px;
  background: #e7f3e9;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  box-sizing: border-box;
}

.webinar-left h2 {
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
}

.webinar-form-placeholder {
  height: 560px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.00));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9fb3bf;
  border: 2px dashed rgba(255, 255, 255, 0.04);
}

.webinar-left .note {
  font-size: 12px;
  color: #9fb3bf;
  margin-top: 12px;
}

.webinar-right {
  flex: 1;
}

.webinar-title {
  font-size: 30px;
  line-height: 1.05;
  margin: 0 0 18px 0;
  font-weight: 700;
}

.webinar-banner {
  margin-bottom: 18px;
}

.webinar-banner img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  border-radius: 8px;
  display: block;
}

.webinar-meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
}

.webinar-description p {
  color: #222;
  line-height: 1.7;
  margin: 0 0 12px 0;
}

/* Responsive adjustments for webinar layout */
@media (max-width:900px) {
  .webinar-columns {
    flex-direction: column;
  }

  .webinar-left {
    width: 100%;
    order: 2;
  }

  .webinar-right {
    order: 1;
  }

  .webinar-form-placeholder {
    height: 320px;
  }
}

/* Webinar details card styles */
.webinar-details {
  display: flex;
  gap: 54px;
  align-items: flex-start;
  margin-top: 22px;
}

.webinar-details-left {
  flex: 1;
}

.webinar-details-left h2 {
  font-size: 22px;
  margin: 0 0 12px 0;
}

.webinar-details-left p {
  color: #333;
  line-height: 1.7;
  margin: 0 0 12px 0;
}

.webinar-details-right {
  width: 320px;
}

.webinar-card {
  background: #fff;
  border: 1px solid #edf1f4;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(20, 32, 40, 0.04);
}

.webinar-register-btn {
  display: block;
  width: 100%;
  background: #03cd00;
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
}

.webinar-register-btn:hover {
  background: #03b701;
}

.webinar-card hr {
  border: none;
  border-top: 1px solid #f1f3f5;
  margin: 12px 0;
}

.webinar-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.webinar-info-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  color: #444;
  font-size: 14px;
}

.webinar-info-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

@media (max-width:900px) {
  .webinar-details {
    flex-direction: column;
  }

  .webinar-details-right {
    width: 100%;
  }
}
/* Animated text wrapper for footer CTA */
.animated-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  vertical-align: bottom;
  overflow: hidden;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  margin-right: 0.2em;
  margin-left: 0.2em;
}

#animated-text {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#animated-text.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

#animated-text.fade-in {
  opacity: 0;
  transform: translateY(-10px);
}

/* Ensure strike style is consistent */
.impact-heading .strike-muted {
  text-decoration: none;
  padding: 0 4px;
}

/* Strikethrough animation */
.impact-heading .strike-muted::after {
  transition: width 0.4s ease-out;
  width: 100%;
}

.impact-heading .strike-muted.strike-animate-start::after {
  width: 0%;
}