/* ===== VARIABLES ===== */
:root {
  --primary: #05728a;
  --secondary: #05728a;
  --darker: #051B1F;
  --red: #ee434a;
  --dark: #0A2A30;
  --card: #11363C;
  --gray: #646567;
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Urbanist', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-syne: 'Syne', sans-serif;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans) !important;
  color: var(--gray);
  background: transparent;
  overflow-x: hidden;
}

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.1;
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 3rem;
  line-height: 1.2;
}

span#fanBaseTitle {
  font-size: 24px;
  text-align: center;
  text-transform: capitalize;
}

h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
}

h5,
h6 {
  font-family: var(--font-display);
  font-weight: 500;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-sans);
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}


.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

section#apb-demo {
  padding: 0px;
}

/* ===== ANIMATIONS ===== */
@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

@keyframes river {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

@keyframes spin-slow {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(360deg)
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.5
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1.1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.2);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1.1);
  }
}

@keyframes blobPulse {

  0%,
  100% {
    opacity: 0.15;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes scanRing {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(360deg)
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
  opacity: 0;
}

.delay-2 {
  animation-delay: 0.4s;
  opacity: 0;
}

.delay-3 {
  animation-delay: 0.6s;
  opacity: 0;
}

/* Intersection observer classes */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade-up {
  transition-duration: 1s;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}

.reveal-delay-7 {
  transition-delay: 0.7s;
}

.reveal-delay-8 {
  transition-delay: 0.8s;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgb(5, 114, 138);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 0 12px 0 12px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.2em;
}

/* --- What Drives Centered Section Styles --- */
.what-drives-section-v3 {
  background: #051b1f;
  color: #fff;
  position: relative;
  overflow: hidden;
}


.drives-centered-content {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.drives-main-title {

  margin-bottom: 3.5rem;
  line-height: 1.1;
  color: #fff !important;
}

.drives-text-wrap p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.drives-highlight-box {
  margin: 4rem 0;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: 2.5rem 3.25rem;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  color: var(--secondary);
}

.drives-highlight-box p {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff !important;
  line-height: 1.4;
  margin-bottom: 0;
}

.reveal-word {
  transition: color 0.4s ease, opacity 0.4s ease;
  color: rgba(255, 255, 255, 0.2);
  display: inline;
}

.reveal-word.revealed {
  color: #fff;
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-outline-white {
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-menu {
  padding: 0.5rem;
  color: #fff;
  border-radius: 999px;
  transition: background 0.2s;
}

.btn-menu:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-menu svg {
  width: 24px;
  height: 24px;
}

.mobile-menu-btn {
  display: none;
  color: #fff;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  background: var(--darker);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  animation: fadeIn 0.25s ease;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: #fff;
}

.mobile-menu .btn-primary-full {
  background: var(--primary);
  color: #fff;
  padding: 0.9rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
}

.home #hero {
  position: relative;
  min-height: 100vh;
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  padding: 200px 0 160px;
  overflow: hidden;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  transition: transform 0.1s;
}

.hero-overlay-lr {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5, 27, 31, 0.96) 0%, rgba(5, 27, 31, 0.82) 55%, transparent 100%);
}

.hero-overlay-bt {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--darker) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 900px;
  padding: 3rem 0 8rem;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.8rem;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #05728a;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.btn-demo:hover {
  background: var(--red);
  border-color: transparent;
}

.btn-demo:hover .arrow-icon {
  transform: translateX(4px);
}

.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

/* WAVE SECTION */
.wave-section {
  position: absolute;
  /* Changed from relative */
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  /* Super high for debug */
  height: 220px;
  /* Increased height */
  overflow: hidden;
  pointer-events: none;
  background: rgba(0, 255, 0, 0.1);
  /* Green tint for debug */
}

.wave-section .logo-river {
  pointer-events: auto;
}

#waveCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* LOGOS on top of wave */
.logo-river {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: scroll-logos 30s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

.logos-track:hover {
  animation-play-state: paused;
}

.logo-pill {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, opacity .2s;
  cursor: default;
  height: 60px;
}

.logo-pill:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.logo-img {
  height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  filter: brightness(1.15) contrast(1.1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Stats */
.stats-bar {
  position: relative;
  z-index: 30;
  background: var(--darker);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem 0;
}

.stat-item .stat-value {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.stat-item .stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.45);
}

#testimonials {
  padding: 6rem 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Testimonials Background Animation */
.testimonials-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.light-beam {
  position: absolute;
  top: -100%;
  width: 2px;
  height: 300px;
  background: linear-gradient(to bottom, transparent, rgba(72, 170, 181, 0.2), transparent);
  filter: blur(2px);
  animation: lightBeamMove 10s infinite linear;
  opacity: 0.5;
}

.light-beam:nth-child(1) {
  left: 15%;
  animation-duration: 12s;
  animation-delay: -2s;
}

.light-beam:nth-child(2) {
  left: 50%;
  animation-duration: 15s;
  animation-delay: -7s;
}

.light-beam:nth-child(3) {
  left: 85%;
  animation-duration: 10s;
  animation-delay: -1s;
}

@keyframes lightBeamMove {
  0% {
    top: -100%;
    opacity: 0;
  }

  20% {
    opacity: 0.5;
  }

  80% {
    opacity: 0.5;
  }

  100% {
    top: 200%;
    opacity: 0;
  }
}

/* ===== REALITY SECTION ===== */
.reality-wrap {
  padding: 1rem 0 8rem;
}

.reality-section {
  padding: 8rem 0;
  background: linear-gradient(to bottom, #ffffffa6 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

/* Reality Background Animation */
.reality-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 140, 159, 0.12) 0%, rgba(24, 140, 159, 0) 70%);
  filter: blur(60px);
  animation: realityFloat 20s infinite ease-in-out;
  opacity: 0.6;
}

.glow-orb:nth-child(1) {
  top: -10%;
  left: -10%;
  animation-duration: 25s;
}

.glow-orb:nth-child(2) {
  bottom: -15%;
  right: -5%;
  background: radial-gradient(circle, rgba(72, 170, 181, 0.1) 0%, rgba(72, 170, 181, 0) 70%);
  animation-duration: 30s;
  animation-delay: -5s;
}

.glow-orb:nth-child(3) {
  top: 40%;
  right: 20%;
  width: 300px;
  height: 300px;
  opacity: 0.4;
  animation-duration: 22s;
  animation-delay: -12s;
}

@keyframes realityFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 40px) scale(0.9);
  }
}

.reality-toggle-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.reality-toggle-btn {
  background: rgba(24, 140, 159, 0.05);
  border: 1px solid rgba(24, 140, 159, 0.1);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.reality-toggle-btn:hover {
  background: rgba(24, 140, 159, 0.1);
  transform: translateY(-2px);
}

.toggle-icon {
  position: absolute;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-icon svg {
  width: 22px;
  height: 22px;
}

.icon-list {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

.reality-alt-layout .icon-grid {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

.reality-alt-layout .icon-list {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.reality-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reality-info {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reality-badge {
  background: rgba(24, 140, 159, 0.1);
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.reality-title {
  font-size: 3rem;
  color: #111;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.reality-desc {
  font-size: 18px;
  color: #666;
  font-weight: 400;
  line-height: 1.6;
}

/* Cards Grid */
.reality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reality-card {
  background: #05728a;
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid #eef2f6;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.reality-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(24, 140, 159, 0.15);
}

.reality-card:hover .card-title,
.reality-card:hover .card-text {
  color: #111;
}


.card-header {
  margin-bottom: 2rem;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #f0f7f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-title {
  font-size: 22px;
  font-family: var(--font-display);
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 500;
  transition: color 0.5s;
}

.card-text {
  font-size: 16px;
  color: #e7e7e7;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  transition: color 0.5s;
}

/* Extra decorative elements */
.card-quote {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #e2e8f0;
  width: 20px;
  opacity: 0.5;
}

.card-quote svg {
  width: 100%;
}

.card-bg-num {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-size: 8rem;
  font-weight: 600;
  color: rgba(24, 140, 159, 0.03);
  line-height: 0.8;
  user-select: none;
  pointer-events: none;
  z-index: 1;
  font-family: var(--font-display);
}

/* SIDE-BY-SIDE LAYOUT 2 */
.reality-alt-layout .reality-content-wrapper {
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.reality-alt-layout .reality-info {
  flex: 0 0 40%;
  text-align: left;
  margin: 0;
  max-width: none;
}

.reality-alt-layout .reality-grid {
  flex: 0 0 calc(60% - 4rem);
  /* account for gap */
}

.reality-alt-layout .reality-card {
  aspect-ratio: 1 / 1;
  min-height: auto;
  padding: 2rem;
}

@media (max-width: 1100px) {
  .reality-alt-layout .reality-content-wrapper {
    flex-direction: column;
    gap: 4rem;
  }

  .reality-alt-layout .reality-info {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .reality-grid {
    grid-template-columns: 1fr;
  }
}

.reality-card:hover .card-bg-num {
  color: rgba(24, 140, 159, 0.08);
}


/* ===== WHAT IS MAREZI ===== */
#what-is {
  padding: 8rem 0;
  background: rgba(5, 27, 31, 0.94);
  /* darker teal/black */
  position: relative;
  overflow: hidden;
}

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.what-img-wrap {
  position: relative;
}

.what-img-glow {
  position: absolute;
  inset: -16px;
  background: rgba(24, 140, 159, 0.2);
  border-radius: 9999px;
  filter: blur(48px);
}

.what-img-wrap img {
  position: relative;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);

}

.what-img-wrap:hover img {
  filter: grayscale(0);
}

.what-eyebrow {
  font-size: 16px;
  /* Increased for impact */
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #77c9db;
  margin-bottom: 1.5rem;
}

.what-title {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 2rem;
}

.what-desc {
  font-size: 18px;
  /* Slightly larger */
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: #fff;
}

.reveal-word {
  opacity: 0.15;
  color: #fff;
  transition: opacity 0.4s ease, color 0.4s ease;
  display: inline;
}


.what-desc strong {
  color: inherit;
  /* Allow the reveal to handle strong too */
  font-weight: 500;
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  transition: color 0.2s;
}

.btn-text-link:hover {
  color: #fff;
}

.btn-text-link:hover .arrow-icon {
  transform: translateX(4px);
}

/* ===== CAPABILITIES ===== */
#capabilities {
  background: rgba(5, 27, 31, 0.94);
  /* Semi-transparent dark */
  padding: 2rem 0 6rem;
  overflow: hidden;
}

.caps-title {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 4rem;
}

.caps-track {
  display: flex;
  gap: 2rem;
  padding: 0 1rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.caps-track:hover {
  animation-play-state: paused;
}

.cap-card {
  flex: none;
  width: 380px;
  background: var(--card);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s;
  cursor: pointer;
}

.cap-card:hover {
  border-color: rgba(72, 170, 181, 0.3);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px 100px 24px 24px;
}

.cap-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.cap-icon {
  width: 50px;
  height: 50px;
  color: var(--secondary);
  background: rgb(255 255 255 / 10%);
  padding: 12px;
  border-radius: 100px;
  transition: all 0.4s;
}

.cap-card:hover .cap-icon {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.1);
}

/* Dashicons inside cap-icon (ACF Icon Picker) */
.cap-icon--dash {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cap-icon--dash .dashicons {
  font-size: 26px;
  width: 26px;
  height: 26px;
  color: inherit;
}

/* Media Library / URL image inside cap-icon */
.cap-icon--img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cap-icon--img img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(0.9);
}

/* Make <a class="cap-card"> look like a div card */
a.cap-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.cap-arrow {
  color: var(--secondary);
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.cap-card:hover .cap-arrow {
  transform: translate(4px, -4px);
  color: #fff;
}

.cap-title {
  font-size: 22px;
  color: #fff;
  margin-bottom: 1rem;
  transition: color 0.4s;
}

.cap-card:hover .cap-title {
  color: var(--secondary);
}

.cap-desc {
  color: rgb(255 255 255 / 86%);
  font-size: 16px;
  line-height: 1.7;
  transition: color 0.4s;
}

.cap-card:hover .cap-desc {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== HOW IT WORKS ===== */
#how {
  background: transparent !important;
  padding: 6rem 0;
}

.how-title {
  font-size: 3rem;
  color: #111;
  margin-bottom: 5rem;
  text-align: center;
}

.how-timeline {
  position: relative;
}

.how-line {
  position: absolute;
  left: 150px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e5e7eb;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.how-step {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: center;
}

.how-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.step-circle-wrap {
  position: relative;
}

.step-glow {
  position: absolute;
  inset: 0;
  background: var(--primary);
  border-radius: 9999px;
  opacity: 0.15;
  transform: scale(0.8);
  transition: all 0.6s;
}

.how-step:hover .step-glow {
  transform: scale(1.3) rotate(-12deg);
  opacity: 0.2;
}

.step-img {
  width: 200px;
  height: 200px;
  border-radius: 9999px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
  transition: transform 0.6s;
}

.how-step:hover .step-img {
  transform: scale(1.1) translateY(-10px);
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-content {
  background: rgba(248, 250, 252, 0.8);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(229, 231, 235, 0.5);
  backdrop-filter: blur(8px);
}

.step-badge {
  background: rgba(24, 140, 159, 0.1);
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 0.65rem;
}

.step-title {
  font-size: 1.4rem;
  color: #111;
  margin-bottom: 0.75rem;
}

.step-desc {
  color: #888;
  line-height: 1.75;
  font-size: 1.1rem;
}

/* ===== WHY MAREZI ===== */
#why .waveWrapper {
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -38px;
  height: 120px;
  margin: auto;
  z-index: 21;
  pointer-events: none;
  background-color: transparent;
}

.fan-section {
  background: rgba(5, 27, 31, 0.94);
  /* Semi-transparent dark */
  /* darker teal/black */
  padding: 4rem 0 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.fan-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* What is Marezi Background Effects */
.whatis-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.whatis-bg-effects .glow-orb {
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(72, 170, 181, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  animation: whatisGlowFloat 15s infinite ease-in-out;
}

@keyframes whatisGlowFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }

  50% {
    transform: translate(50px, 50px) scale(1.1);
    opacity: 0.25;
  }
}

.fan-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.fan-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(10 32 30 / 62%) 0%, rgb(8 30 28 / 31%) 50%, rgb(4 22 20 / 57%) 100%);
}

.fan-header {
  position: relative;
  z-index: 50;
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 0;
  pointer-events: none;
}

.fan-title {
  font-size: 3rem;
  color: #fff;
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 60px;
}

.fan-title .gradient-text {
  color: #48aab5;
  font-weight: 500;
}

.fan-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  max-width: 600px;
  margin: 20px auto -34px;
  line-height: 1.5;
  font-weight: 300;
  min-height: calc(1.5em * 3);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.fan-system {
  position: relative;
  width: 100%;
  max-width: 860px;
  height: 460px;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

/* --- Top Active Node Logic --- */
.fan-node-wrapper.is-active-node {
  z-index: 40;
}

.fan-node-box {
  width: 50px;
  height: 50px;
  background: rgba(17, 40, 48, 0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(41, 216, 255, 0.3);
  box-shadow: 0 0 10px rgba(41, 216, 255, 0.12);
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

@keyframes floatIcon {

  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0px);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-5px);
  }
}

.fan-node-wrapper:hover .fan-node-box {
  box-shadow: 0 0 16px rgba(79, 214, 232, 0.4), 0 4px 18px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%) scale(1.1);
}

.fan-top-glow {
  position: absolute;
  inset: -15px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.fan-top-icon {
  color: #fff;
  z-index: 2;
  transition: all 0.3s;
}

.fan-top-icon svg {
  width: 44px;
  height: 44px;
}

.fan-top-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* --- SVG Dashed Lines --- */
.fan-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
  z-index: 5;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Small Inactive Nodes --- */
.fan-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

/* --- Rotating Dial Wheel --- */
.fan-dial-wheel {
  position: absolute;
  top: 450px;
  /* Center of the circle vertically relative to fan-system */
  left: 50%;
  width: 0;
  height: 0;
  z-index: 20;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fan-node-wrapper.node-fading {
  transition: opacity 0.4s ease !important;
}

.fan-node-wrapper.node-instant {
  transition: none !important;
}

.fan-node-box {
  width: 56px;
  height: 56px;
  background: rgba(17, 40, 48, 0.88);
  border: 1px solid rgba(41, 216, 255, 0.38);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(41, 216, 255, 0.15), inset 0 0 10px rgba(41, 216, 255, 0.05);
  position: relative;
}

.fan-node-wrapper:hover .fan-node-box {
  background: rgba(23, 54, 65, 0.96);
  color: #fff;
  border-color: rgba(41, 216, 255, 0.75);
  transform: translate(-50%, -50%) scale(1.18);
  box-shadow: 0 0 28px rgba(41, 216, 255, 0.45), inset 0 0 14px rgba(41, 216, 255, 0.1);
}

.fan-node-icon {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: none;
}

.fan-node-dot {
  display: none;
  /* Removed for now as snippet doesn't have it on inactive nodes */
}

.fan-top-glow {
  position: absolute;
  inset: -15px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  opacity: 1;
  /* Always visible but subtle */
  transform: scale(0.8);
  transition: all 0.4s;
}

/* When a node becomes the active center node */
.fan-node-wrapper.is-active-node .fan-node-box {
  width: 64px;
  height: 64px;
  background: linear-gradient(145deg, #4fd6e8, #27b5d0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.2),
    0 0 24px 8px rgba(79, 214, 232, 0.55),
    0 0 55px 15px rgba(41, 184, 212, 0.28);
  animation: centerPulse 5s ease-in-out infinite;
  transform: translate(-50%, -50%);
}

@keyframes centerPulse {

  0%,
  100% {
    box-shadow: 0 0 24px 8px rgba(79, 214, 232, 0.55), 0 0 55px 15px rgba(41, 184, 212, 0.28);
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    box-shadow: 0 0 36px 14px rgba(79, 214, 232, 0.75), 0 0 75px 22px rgba(41, 184, 212, 0.45);
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.apb-floating-visual img.apb-dashboard-img {
  border-radius: 30px;
}

.fan-node-wrapper.is-active-node .fan-node-icon {
  width: 34px;
  height: 34px;
  color: #fff;
  transform: none !important;
}

.fan-node-wrapper.is-active-node .fan-top-glow {
  display: none;
}

.fan-base-arc {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  max-width: 95vw;
  height: 240px;
  background: #05728a;
  border-radius: 500px 500px 0 0;
  border: none;
  backdrop-filter: blur(14px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 130px 10px;
  gap: 12px;
  box-shadow: none;
  user-select: none;
  animation: arcBreath 8s ease-in-out infinite;
}

@keyframes arcBreath {

  0%,
  100% {
    box-shadow: 0 -8px 40px rgba(5, 114, 138, 0.3), 0 -2px 20px rgba(72, 170, 181, 0.2);
    background: #05728a;
  }

  50% {
    box-shadow: 0 -16px 70px rgba(5, 114, 138, 0.55), 0 -4px 35px rgba(72, 170, 181, 0.4);
    background: #06829c;
  }
}

/* Fan River Overlay (Why section bottom) */
@keyframes fan-river-flow {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.fan-river-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  overflow: hidden;
  pointer-events: none;
  z-index: 6;
}

.fan-river-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  display: flex;
  animation: fan-river-flow 25s linear infinite;
}

.fan-river-track svg {
  width: 50%;
  height: 100%;
  flex-shrink: 0;
}

span#fanBaseTitle,
.fan-sub {
  color: white;
  transition: opacity 0.4s ease;
}

.fade-slide-out {
  opacity: 0;
}

.fade-slide-in {
  opacity: 0;
  animation: fadeInOnly 0.6s ease forwards;
}

@keyframes fadeInOnly {
  to {
    opacity: 1;
  }
}

span#fanBaseTitle {
  display: block;
  height: 2.6em;
  line-height: 1.3;
  text-align: center;
  overflow: hidden;
}

.dome-syncing {
  opacity: 0 !important;
  transform: scale(0.95) !important;
  /* Removed translateY to stabilize */
}

.fan-base-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.5s ease;
  width: 100%;
  max-width: 400px;
}

.fan-base-icon {
  color: #48aab5;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.fan-base-icon svg {
  width: 70px;
  height: 70px;
}

h3#fanBaseTitle {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #fff;
  margin-top: 10px;
  text-transform: uppercase;
  transition: all 0.4s;
  text-shadow: none;
}

.fan-base-title {
  font-size: 2.5rem;
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  font-family: var(--font-display);
}

.fan-base-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== INDUSTRIES WE SERVE ===== */
#industries {
  background: #fff;
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.ind-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(5,114,138,0.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

#industries .container {
  position: relative;
  z-index: 1;
}

/* ---- Split Header ---- */
.ind-header {
  display: block;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 0rem;
}

.ind-header-left {
  text-align: center;
  display: block;
  width: 70%;
  margin: 0px auto;
}

.ind-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ind-eyebrow.ind-visible {
  opacity: 1;
  transform: translateY(0);
}

.ind-eyebrow-dash {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.ind-eyebrow-text {
  font-family: var(--font-syne);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.ind-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: #111;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.ind-title.ind-visible {
  opacity: 1;
  transform: translateY(0);
}

.ind-title-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  font-size: 0.9em;
}

.ind-header-right {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  justify-content: flex-end;
}

.ind-subtitle {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--gray);
  line-height: 1.75;
  max-width: 66%;
  opacity: 0;
  text-align: center;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
  margin: 0px auto;
}

.ind-subtitle.ind-visible {
  opacity: 1;
  transform: translateY(0);
}

.ind-header-accent {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.ind-header-accent.ind-visible {
  opacity: 1;
  transform: translateY(0);
}

.ind-accent-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.ind-accent-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  line-height: 1.5;
}

/* ---- Card Rows ---- */
.ind-row {
  display: grid;
  gap: 1.25rem;
}

.ind-row-1 {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 1.25rem;
}

.ind-row-2 {
  grid-template-columns: repeat(3, 1fr);
  width: calc(75% - 0.94rem);
  margin: 0 auto;
}

/* ---- Card ---- */
.ind-card {
  background: #fff;
  border: 1px solid #eaeff5;
  border-radius: 20px;
  overflow: hidden;
  cursor: default;
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(36px);
  position: relative;
}

.ind-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #48aab5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  border-radius: 20px 20px 0 0;
}

.ind-card.ind-visible {
  opacity: 1;
  transform: translateY(0);
}

.ind-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(5, 114, 138, 0.14);
  border-color: rgba(5, 114, 138, 0.18);
}

.ind-card:hover::before {
  transform: scaleX(1);
}

.ind-card-top {
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(5,114,138,0.04) 0%, rgba(255,255,255,0) 70%);
}

.ind-icon-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(5,114,138,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.35s cubic-bezier(.22,.68,0,1.2);
  flex-shrink: 0;
}

.ind-card:hover .ind-icon-circle {
  background: rgba(5,114,138,0.13);
  transform: scale(1.08) rotate(-3deg);
}

.ind-svg {
  width: 52px;
  height: 52px;
}

.ind-card-bottom {
  padding: 0 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.ind-card-line {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #ee434a);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.ind-card:hover .ind-card-line {
  width: 44px;
}

.ind-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #1a2535;
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.01em;
}

/* ===== TESTIMONIALS ===== */

.test-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.test-side-title {
  font-size: 3rem;
  font-family: var(--font-display);
  color: #111;
  margin-bottom: 1rem;
}

.test-side-title em {
  font-family: var(--font-serif);
  color: #3a9fa8;
  font-style: italic;
}

.test-side-sub {
  color: #888;
  font-size: 20px;
  margin-bottom: 2rem;
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
	text-transform:uppercase;
  border-radius: 999px;
  background: #05728a;
  border: 1px solid #e5e7eb;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-view-more:hover {
  background: var(--red) !important;
  border-color: #d1d5db;
}

.test-cards-wrap {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-card {
  position: absolute;
  width: 100%;
  max-width: 800px;
  background: #fff;
  padding: 3.5rem;
  border-radius: 32px;
  box-shadow: 1px 1px 10px 0px #c1c1c1e6;
  border: 1px solid #f8fafc;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.test-quote {
  font-size: 1.2rem;
  color: #4b5563;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.test-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.test-author-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.test-author-info img {
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: none;
}

.test-author-details {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.test-name {
  font-weight: 600;
  color: #111;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.test-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #188c9f;
  font-weight: 500;
}

.test-quote-icon {
  position: absolute;
  top: 5rem;
  right: 1.5rem;
  width: 100px;
  height: 100px;
  color: rgba(24, 140, 159, 0.05);
  pointer-events: none;
  z-index: 1;
  transform: scale(-1);
}

.test-quote-icon svg {
  width: 100%;
  height: 100%;
}

.test-dots {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 40;
}

.test-dot {
  height: 8px;
  border-radius: 999px;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.test-dot.active {
  width: 32px;
  background: var(--primary);
}

.test-dot:not(.active) {
  width: 8px;
}

.test-dot:hover:not(.active) {
  background: #9ca3af;
}

#trusted {
  background: #ffffff7a;
  /* Removed white */
  border-top: 1px solid rgba(240, 240, 240, 0.1);
  border-bottom: 1px solid rgba(240, 240, 240, 0.1);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}

/* Trusted Section Background Animation */
.trusted-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.scan-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(72, 170, 181, 0.05), transparent);
  animation: scanLineMove 8s infinite linear;
}

@keyframes scanLineMove {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.trusted-header {
  text-align: center;
  margin-bottom: 4rem;
}

.trusted-badge {
  background: #f3f4f6;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.trusted-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #111;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.trusted-sub {
  color: #888;
  font-size: 1rem;
  font-weight: 300;
}

.logos-track-wrap {
  position: relative;
  overflow: hidden;
}

.logos-fade-l {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 200px;
  background: linear-gradient(to right, transparent, transparent);
  z-index: 10;
  pointer-events: none;
}

.logos-fade-r {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 200px;
  background: linear-gradient(to left, transparent, transparent);
  z-index: 10;
  pointer-events: none;
}

.logos-track {
  background: #ffffff82;
  display: flex;
  gap: 1rem;
  align-items: center;
  animation: marquee 35s linear infinite;
  width: max-content;
  padding: 1rem 0;
}

.logo-item {
  flex-shrink: 0;
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
  opacity: 1;
}

.logo-item:hover {
  transform: scale(1.05);
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ===== CX SCROLL ZOOM ===== */
.zoom-section {
  height: 50vh;
  position: relative;
}

.zoom-sticky {
  position: sticky;
  top: 0;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff00 !important;
  background-image:
    linear-gradient(rgba(24, 140, 159, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 140, 159, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.bg-marezi {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.68);
  font-size: clamp(10vw, 14vw, 220px);
  font-weight: 800;
  color: rgb(24 140 159 / 25%) !important;
  opacity: 0;
  font-family: var(--font-display);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.cx-text {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px;
}

.cx-quote-icon {
  margin-bottom: 1.5rem;
  text-align: center;
}

.cx-quote-icon svg {
  opacity: 0.8;
}

.cx-headline {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.3;
  color: #111;
  font-family: var(--font-display);
  font-weight: 500;
}

.cx-deco-line {
  width: 130px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 32px auto 0;
}

.cx-label {
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  font-style: italic;
  font-family: var(--font-serif);
}

/* ===== INSIGHTS ===== */
#insights {
  background: rgb(236 246 247);
  padding: 6rem 0;
}

.insights-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  gap: 2rem;
}

.insights-title {
  font-size: 3rem;
  color: #111;
}

.insights-header .btn-view-more {
  background: #188c9f;
  color: #fff;
  border: 1px solid #e5e7eb;
}

.insights-header .btn-view-more:hover {
  background: #147a8a;
  transform: translateY(-2px);
  box-shadow: none;
}

/* ── Default grid (Insights page & all non-carousel uses) ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
}

.post-card {
  cursor: pointer;
}

/* ── Carousel (front-page insights section only) ── */
.insights-carousel {
  position: relative;      /* anchor for arrow buttons */
}

.ins-track-wrap {
  overflow: hidden;        /* clips off-screen clones */
}

.insights-carousel .posts-grid {
  display: flex;
  gap: 2rem;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.insights-carousel .post-card {
  flex: 0 0 calc((100% - 4rem) / 3);
  min-width: 0;
}

.post-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  height: 270px;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s;
}

.post-card:hover .post-img img {
  transform: scale(1.05);
}

.post-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgb(5 114 138 / 75%);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.post-title {
  font-size: 22px;
  font-weight: 500;
  color: #111;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  transition: color 0.2s;
}

.post-card:hover .post-title {
  color: var(--primary);
}

.post-more {
  font-size: 16px;
  font-weight: 500;
  color: #05728a;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.post-more:hover {
  color: #ee434a;
}

.post-card:hover .post-more {
  gap: 0.6rem;
}

.post-more svg {
  width: 12px;
  height: 12px;
}

/* ── Carousel Prev/Next Buttons ── */
.ins-carousel-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  border: 1.5px solid #e2eef0;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(5,114,138,0.12);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.ins-carousel-btn svg { width: 20px; height: 20px; stroke: #05728a; }
.ins-carousel-btn:hover { background: #05728a; border-color: #05728a; transform: translateY(-50%) scale(1.08); }
.ins-carousel-btn:hover svg { stroke: #fff; }
.ins-prev { left: -23px; }
.ins-next { right: -23px; }

/* Removed Insights footer */

/* ===== FAQ (Homepage Specific) ===== */
.home #faq {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* FAQ Background Animation */
.faq-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.tech-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 170, 181, 0.08) 0%, rgba(72, 170, 181, 0) 70%);
  filter: blur(50px);
  animation: faqOrbFloat 15s infinite ease-in-out;
}

.tech-orb:nth-child(1) {
  top: -10%;
  right: -5%;
  animation-duration: 18s;
}

.tech-orb:nth-child(2) {
  bottom: -10%;
  left: 5%;
  animation-duration: 22s;
  animation-delay: -5s;
}

@keyframes faqOrbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-40px, 30px) scale(1.1);
  }
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-title {
  font-size: 3rem;
  color: #111;
  margin-bottom: 1rem;
}

.faq-sub {
  color: #888;
  font-size: 20px;
}

.faq-list {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 2rem;
  text-align: left;
  background: rgb(245 248 249);
  border: none;
  cursor: pointer;
}

.faq-q-text {
  font-size: 22px;
  font-weight: 500;
  color: #111;
  font-family: var(--font-display);
  transition: color 0.2s;
}

.faq-question:hover .faq-q-text {
  color: var(--primary);
}

.faq-icon {
  color: var(--primary);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #f8fafb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1.5rem;
  transition: all 0.3s;
}

.faq-icon svg {
  width: 20px;
  height: 20px;
}

.faq-icon.open {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  background-color: #fff;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
  max-height: 600px;
  /* Increased for longer extracted content */
}

.faq-answer-text {
  color: #666;
  line-height: 30px;
  padding: 20px 5rem 2rem 2rem;
  font-size: 18px;
}

/* ===== FOOTER ===== */
#footer {
  background: #00252cf5;
  /* Very slightly transparent dark */
  padding: 6rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 8rem;
  background: #1a6672;
  padding: 3rem;
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.contact-title {
  font-size: 3rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.contact-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3.5rem;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.contact-items-row {
  display: flex;
  gap: 3rem;
}

.contact-detail-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgb(4 63 76);
  border-radius: 50%;
  /* Circle icons as per screenshot */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.contact-detail-item:hover .contact-detail-icon {
  background: var(--red);
  transform: translateY(-3px);
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
}

.contact-detail-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-detail-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.contact-detail-value {
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #fff;
}

.hq-item {
  margin-top: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.contact-item svg {
  color: var(--secondary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-form-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 32px;
  box-shadow: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-input {
  width: 100%;
  background: #05728a08;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #111;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(24, 140, 159, 0.05);
}

textarea.form-input {
  resize: none;
  min-height: 140px;
}

.btn-send {
  width: 100%;
  background: #05728a;
  /* Very dark black/teal from screenshot */
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 500;
  padding: 1.25rem;
  border-radius: 100px;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
}

.btn-send:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-send svg {
  width: 18px;
  height: 18px;
}

.form-privacy {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 1rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.loc-card {
  background: rgb(26 102 114);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.loc-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
}

.loc-flag {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.loc-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loc-country {
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}

.loc-phone {
  color: #00f7ff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.loc-address {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand-mark {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 0 8px 0 8px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.2em;
}

.footer-brand-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #c7c7c7;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}

.social-btn:hover {
  background: var(--red);
}

.social-btn svg {
  width: 14px;
  height: 14px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 16px;
  color: #cacaca;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links-noclick span {
  font-size: 16px;
  color: #cacaca;
  cursor: default;
  user-select: none;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 14px;
  color: #ffffffbd;
  flex-wrap: wrap;
}

@keyframes dashMove {
  0% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 10;
  }
}

@keyframes slowRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes floatingShapes {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 2% -3%;
  }
}

/* FAQ Background Animation */
#faq {
  position: relative;
  overflow: hidden;
}

@keyframes waveFlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-2%, 2%) scale(1.05);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes pulseDots {

  0%,
  100% {
    opacity: 0.1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(1.1);
  }
}

.faq-bg-animate {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABnSURBVHja7M5RDYAwDEXRDgmvEocnlrQS2SwUFST9uEfBGWs9c97nbGtDcquqiKhOImLs/UpuzVzWEi1atGjRokWLFi1atGjRokWLFi1atGjRokWLFi1af7Ukz8xWp8z8AAAA//8DAJ4LoEAAlL1nAAAAAElFTkSuQmCC") repeat 0 0;
  animation: bg-scrolling-vertical 4s linear infinite;
  opacity: 0.4;
  /* Adjusted opacity for subtle effect */
}

@keyframes bg-scrolling-vertical {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 50px;
  }
}



/* Footer Background Animation */
#footer {
  position: relative;
  overflow: hidden;
}

.footer-bg-animate {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.15;
  animation: blobFloat 20s infinite ease-in-out, blobPulse 10s infinite ease-in-out;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -200px;
  left: -200px;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: var(--secondary);
  bottom: -200px;
  right: -200px;
  animation-delay: -5s;
}

.blob-3 {
  width: 450px;
  height: 450px;
  background: var(--primary);
  top: -200px;
  right: -200px;
  animation-delay: -10s;
}

.blob-4 {
  width: 550px;
  height: 550px;
  background: var(--secondary);
  bottom: -200px;
  left: -200px;
  animation-delay: -15s;
}

/* Footer wave */
.footer-wave {
  position: absolute;
  bottom: 13px;
  left: 0;
  right: 0;
  opacity: 1;
  pointer-events: none;
}

/* ===== SCROLL TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 5rem;
  right: 1rem;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(24, 140, 159, 0.4);
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s;
}

#scrollTop.visible {
  opacity: 1;
  transform: scale(1);
}

#scrollTop:hover {
  background: var(--red);
}

#scrollTop svg {
  width: 24px;
  height: 24px;
}


/* ===== PRE-FOOTER CONTACT SECTION (Refined) ===== */
.pre-footer-contact {
  padding: 120px 0 80px;
  background: var(--darker);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.pre-footer-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.pre-footer-info .section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.1;
  font-family: var(--font-display);
}

.pre-footer-info .section-subtitle {
  font-size: 1.1rem;
  color: var(--secondary);
  font-style: italic;
  font-family: var(--font-serif);
  margin-bottom: 3rem;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.f-contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.f-icon {
  width: 48px;
  height: 48px;
  background: rgba(24, 140, 159, 0.1);
  border: 1px solid rgba(79, 214, 232, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.f-icon svg {
  width: 22px;
  height: 22px;
}

.f-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.f-text a,
.f-text span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: color 0.3s;
}

.f-text a:hover {
  color: var(--primary);
}

.pre-footer-form-wrap .footer-form-card {
  background: #fff;
  border-radius: 32px;
  padding: 50px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.apb-one-col-desc {
  margin-top: 1.5rem;
  color: #666;
  font-size: 1.15rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.footer-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-contact-form input,
.footer-contact-form select,
.footer-contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: #f8fafc;
  height: 100px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #1e293b;
  font-family: inherit;
  transition: all 0.3s;
}

.footer-contact-form input:focus,
.footer-contact-form select:focus,
.footer-contact-form textarea:focus {
  border-color: var(--primary);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 214, 232, 0.1);
}

.footer-contact-form .btn-primary-full {
  background: var(--darker);
  color: #fff;
  font-weight: 500;
  padding: 16px;
  margin-top: 10px;
}

.footer-contact-form .btn-primary-full:hover {
  background: var(--primary);
}

.footer-locations-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 60px;
}

.footer-locations-row .locations-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===== REFINED CONTACT PAGE SECTIONS ===== */
.contact-hero-new {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: #020b0d;
  /* Slightly darker */
}

.contact-hero-new .hero-bg-visual {
  position: absolute;
  inset: 0;
}

.contact-hero-new .hero-bg-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.contact-hero-new .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5, 26, 30, 0.9) 20%, transparent 100%);
}

.contact-hero-new .hero-title {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.contact-hero-new .hero-decoration {
  width: 120px;
  height: 5px;
  background: var(--primary);
  margin-top: 2.5rem;
  border-radius: 99px;
  box-shadow: 0 0 20px rgba(79, 214, 232, 0.5);
  animation: barSlide 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes barSlide {
  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 120px;
    opacity: 1;
  }
}

.hero-bottom-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 10;
}

.container.hero-container {
  width: 100%;
}

.hero-bottom-shape svg {
  width: 100%;
  height: 100px;
}

/* Section 2: Resilience */
.contact-resilience {
  padding: 80px 0 60px;
  position: relative;
  overflow: visible;
  color: #111;
}

.challenge-tag {
  display: inline-block;
  background: #e1f5f8;
  color: #1a8c9f;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.motion-title {

  text-align: center;
  color: #111;
  line-height: 1.1;
  width: 900px;
  margin: 0px auto 2.5rem;
}


.motion-text {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

/* SECTION 3: PREMIUM INQUIRY */
.contact-premium-inquiry {
  padding: 100px 0;
  background: var(--darker);
}

/* REQUEST A QUOTE PAGE */
.raq-form-section {
  padding: 100px 0;
  background: var(--darker);
}

.premium-inquiry-card {
  background: rgba(16, 45, 50, 0.85);
  /* Branded dark teal */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 214, 232, 0.1);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  padding: 50px;
}

/* Card Map Visual */
.card-map-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(24, 140, 159, 0.15), transparent 60%);
}

.map-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(79, 214, 232, 0.4) 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  opacity: 0.5;
  animation: mapPulse 10s ease-in-out infinite alternate;
}

@keyframes mapPulse {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.02);
  }

  100% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.inquiry-card-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
  z-index: 2;
  align-items: center;
}

/* Left side: Content */
.inquiry-card-left {
  text-align: center;
  max-width: 700px;
}

.inquiry-card-left .card-title {
  font-size: 3rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.inquiry-card-left .card-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 500;
}

.inquiry-card-left .card-desc {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 0;
  text-align: center;
  margin-left: auto;
  margin-right: auto;

}

.card-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.info-group {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  width: calc(50% - 20px);
}

.info-group.full-width {
  width: 100%;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

.info-details {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.info-value {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
}

a.info-value:hover {
  color: var(--primary);
}

/* Right side: White Form Card */
.inquiry-card-right {
  width: 100%;
}

.white-form-card {
  background: #fff;
  border-radius: 32px;
  padding: 50px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.premium-form-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.p-form-item label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 8px;
}

.p-form-item textarea {
  height: 100px;

}

.p-form-item input,
.p-form-item textarea {
  width: 100%;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.p-form-item input:focus,
.p-form-item textarea:focus {
  background: #fff;
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 214, 232, 0.1);
}

.p-form-item.span-2 {
  grid-column: span 2;
}

.p-form-item.span-3 {
  grid-column: span 3;
}

.p-form-item.full-width {
  grid-column: span 6;
}

.premium-interest-grid {

  gap: 12px;
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.p-cb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.p-cb-item input {
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
  margin: 0 !important;
  padding: 0 !important;
}

.p-cb-item span {
  font-size: 0.85rem;
  color: #1e293b;
  font-weight: 500;
}

.btn-premium-send {
  width: 100%;
  background: #05728a;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 18px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 20px;
}

.btn-premium-send:hover {
  background: #ee434a;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(238, 67, 74, 0.3);
}

.btn-premium-send svg {
  width: 20px;
  height: 20px;
}

.form-privacy-note {
  font-size: 0.8rem;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 0;
}

/* Contact Form 7 Specific Overrides */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7-spinner {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 5px;
}

.wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 15px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 0.9rem !important;
  text-align: center;
}

.wpcf7-list-item {
  margin: 0 !important;
  display: block !important;
}

.wpcf7-checkbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.wpcf7-list-item label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0 !important;
}

.wpcf7-list-item label input {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

.wpcf7-list-item-label {
  font-size: 0.85rem;
  color: #1e293b;
  font-weight: 500;
}

.wpcf7-submit,
.white-form-card input[type=submit],
.white-form-card button[type=submit] {
  width: 100%;
  background: #05728a !important;
  color: #fff !important;
  border: none;
  border-radius: 100px;
  padding: 18px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  margin-top: 20px;
}

.wpcf7-submit:hover,
.white-form-card input[type=submit]:hover,
.white-form-card button[type=submit]:hover {
  background: #ee434a !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(238, 67, 74, 0.25);
}

/* Remove extra space from CF7 automatic tags */
.wpcf7-form br,
.wpcf7-form p {
  display: none !important;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  .premium-inquiry-card {
    padding: 60px 40px;
  }

  .inquiry-card-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 640px) {
  .premium-form-grid {
    grid-template-columns: 1fr;
  }

  .p-form-item.full-width,
  .p-form-item.span-2,
  .p-form-item.span-3 {
    grid-column: auto;
  }

  .info-group {
    width: 100%;
  }
}

/* Section 4: Regional refined */
.contact-regional {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
  color: #111;
}

.contact-regional .section-title {
  color: #000;

  margin-bottom: 0.5rem;
  text-align: center;
}

.contact-regional p {
  color: #555;
  font-size: 18px;
  text-align: center;
  margin-bottom: 2rem;
}

.regional-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
  pointer-events: none;
}

.regional-locations .locations-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}


.contact-regional .loc-card {
  background: #1a3e44;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-regional .loc-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.contact-regional .loc-flag {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-regional .loc-country {
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-regional .loc-phone {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-regional .loc-address {
  font-size: 0.85rem;
  color: rgb(255 255 255 / 83%);
  line-height: 1.6;
  margin-bottom: 0;
}

/* New Support Note Styling */
.contact-support-note {
  margin-top: 80px;
  padding: 30px;
  background: rgba(24, 140, 159, 0.05);
  border: 1px dashed rgba(24, 140, 159, 0.2);
  border-radius: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.contact-support-note p {
  margin-bottom: 0;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-support-note strong {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 5px;
}


/* Responsive adjustments */
@media (max-width: 1200px) {
  .pre-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-locations-row .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* tablet: 2 columns */
  .regional-locations .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Override: mobile gets 1 column — placed right after so cascade works */
@media (max-width: 768px) {
  .regional-locations .locations-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

@media (max-width: 480px) {
  .regional-locations .locations-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  .pre-footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .f-contact-item {
    justify-content: center;
  }

  .footer-form-card {
    padding: 30px;
  }

  .footer-contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-hero-new .hero-title {
    font-size: 3.5rem;
  }

  .support-card {
    padding: 40px 20px;
  }

  .contact-resilience {
    padding: 80px 0;
  }
}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {

  .what-grid,
  .case-grid,
  .contact-grid,
  .test-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .regional-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-step {
    grid-template-columns: 1fr;
  }

  .how-line {
    display: none;
  }

  .how-visual {
    display: none;
  }

  .reactor {
    width: 380px;
    height: 380px;
  }

  .core-orb {
    width: 200px;
    height: 200px;
  }

  .sat-btn {
    width: 56px;
    height: 56px;
  }

  .sat-btn svg {
    width: 26px;
    height: 26px;
  }

  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .posts-grid { grid-template-columns: 1fr 1fr; }
  .insights-carousel .post-card { flex: 0 0 calc((100% - 2rem) / 2) !important; }

  .faq-list {
    max-width: 100%;
    padding: 0 1rem;
  }

  /* Industries Tablet */
  .ind-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
  }
  .ind-row-2 {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width: 900px) {
  .ind-row-1 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ind-row-2 {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
}

@media(max-width:768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Industries Mobile */
  .ind-header {
    grid-template-columns: 1fr;
  }
  .ind-row-1,
  .ind-row-2 {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .reality-grid {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    display: flex;
  }

  .nav-actions .btn-outline-white {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .reactor {
    width: 320px;
    height: 320px;
  }

  .core-orb {
    width: 170px;
    height: 170px;
  }

  .core-title {
    font-size: 0.9rem;
  }

  .core-desc {
    font-size: 0.65rem;
  }

  .sat-btn {
    width: 48px;
    height: 48px;
  }

  .sat-label {
    font-size: 0.7rem;
  }

  .posts-grid { grid-template-columns: 1fr; }
  .insights-carousel .post-card { flex: 0 0 100% !important; }
  .ins-prev { left: -16px; }
  .ins-next { right: -16px; }

  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .contact-detail-icon {
    display: none;
  }

  .footer-brand-logo {
    justify-content: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-links-noclick {
    align-items: center;
  }

  .form-row,
  .contact-page-form .form-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .regional-grid {
    grid-template-columns: 1fr;
  }

  .insights-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    margin-bottom: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
    border-radius: 28px;
    text-align: center;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 16px;
    margin-bottom: 2.5rem;
  }

  .contact-items-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .contact-items-list {
    gap: 2rem;
    align-items: center;
  }

  .contact-detail-item {
    align-items: center;
  }

  .contact-detail-content {
    align-items: center;
  }

  .contact-form-card {
    padding: 2rem 1.5rem;
  }

  /* Testimonials Mobile */
  .test-cards-wrap {
    height: 650px;
  }

  .test-card {
    gap: 2rem;
    padding: 2rem;
    text-align: center;
    max-width: 100%;
  }

  .test-quote {
    font-size: 1rem;
  }

  .test-footer {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .test-author-info {
    flex-direction: column;
    gap: 1rem;
  }

  .test-author-info img {
    width: 70px;
    height: 70px;
  }

  .test-quote-icon {
    width: 120px;
    height: 120px;
    top: 1rem;
    right: 1rem;
  }
}

.hero-grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(24, 140, 159, 0.2) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 2;
}

.inquiry-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.3;
  pointer-events: none;
}

/* Radar Animation for Section 5 */
.support-radar {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-radar span {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--primary);
  border-radius: 50%;
  animation: radarPing 4s linear infinite;
  opacity: 0;
}

.support-radar span:nth-child(2) {
  animation-delay: 1.3s;
}

.support-radar span:nth-child(3) {
  animation-delay: 2.6s;
}

@keyframes radarPing {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  20% {
    opacity: 0.4;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@media(max-width:480px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }

  #footer {
    padding: 3rem 0 2rem;
  }

  .contact-grid {
    padding: 1.5rem;
    border-radius: 20px;
    gap: 2rem;
    margin-bottom: 2rem !important;
  }

  .contact-title {
    font-size: 1.6rem;
  }

  .contact-subtitle {
    font-size: 14px;
    margin-bottom: 2rem;
  }

  .contact-items-list {
    gap: 1.5rem;
  }

  .footer-cols {
    gap: 1.5rem;
  }

  .footer-col-title {
    font-size: 0.9rem;
  }

  .footer-brand-desc {
    font-size: 14px;
  }

}

.about-intro-section,
.what-drives-section,
.our-story-section,
.footprint-section,
.apart-section,
.philosophy-section {
  padding: 100px 0;
  position: relative;
}

/* ===== WHAT DRIVES SECTION BACKGROUND ===== */
#what-drives {
  background: rgba(5, 27, 31, 0.94);
  overflow: hidden;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.premium-lead {
  font-size: 2rem;
  line-height: 1.3;
  color: var(--primary);
  font-weight: 500;
}

.drives-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.story-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: flex-start;
}

.inspiration-box {
  background: linear-gradient(135deg, rgba(24, 140, 159, 0.08) 0%, rgba(72, 170, 181, 0.08) 100%);
  border-left: 4px solid var(--primary);
  padding: 3rem;
  border-radius: 0 20px 20px 0;
  backdrop-filter: blur(5px);
}

.spirit-icon {
  width: 50px;
  height: 50px;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.spirit-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.spirit-list li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
  font-weight: 500;
}

.spirit-list li::before {
  content: 'â†’';
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.footprint-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.sector-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.sector-tag:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.map-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(72, 170, 181, 0.2);
  padding: 2.5rem;
  border-radius: 24px;
}

.region-list h4 {
  color: var(--secondary);
  margin-top: 2rem;
  font-size: 1.1rem;
}

.apart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.apart-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.apart-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  transform: translateY(-10px);
}

.apart-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: #fff;
}

.philosophy-box {
  background: radial-gradient(circle at top right, rgba(72, 170, 181, 0.1), transparent),
    radial-gradient(circle at bottom left, rgba(24, 140, 159, 0.1), transparent);
  padding: 5rem;
  border-radius: 40px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.philosophy-highlight {
  margin-top: 3rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  display: grid;
  gap: 2rem;
}

@media (max-width: 991px) {

  .about-intro-grid,
  .drives-grid,
  .story-wrapper,
  .footprint-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .premium-lead {
    font-size: 1.6rem;
  }

  .philosophy-box {
    padding: 3rem 1.5rem;
  }
}

/* ===== REFINED CONTACT HERO BANNER ===== */
.contact-hero-refined {
  position: relative;
  width: 100%;
  min-height: 60vh;
  padding-top: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--darker);
  z-index: 5;
}

.contact-page-refined {
  padding-top: 0;
}

/* Inquiry Card Animations */
.premium-inquiry-card {
  position: relative;
  overflow: hidden;
}

.inquiry-bg-animate {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.inquiry-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.12;
  animation: blobFloat 15s infinite ease-in-out, blobPulse 8s infinite ease-in-out;
}

.ib-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -100px;
  left: -100px;
}

.ib-2 {
  width: 350px;
  height: 350px;
  background: var(--secondary);
  bottom: -150px;
  right: -150px;
  animation-delay: -3s;
}

.ib-3 {
  width: 250px;
  height: 250px;
  background: var(--primary);
  top: -80px;
  right: -80px;
  animation-delay: -6s;
}

.ib-4 {
  width: 320px;
  height: 320px;
  background: var(--secondary);
  bottom: -120px;
  left: -120px;
  animation-delay: -9s;
}

.contact-hero-refined .hero-bg-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.contact-hero-refined .hero-bg-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.9);
  transform: scale(1.04);
  animation: slowZoomBanner 12s ease-out forwards;
}

@keyframes slowZoomBanner {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1.00);
  }
}

.contact-hero-refined .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #000000 0%, #05728a4f 50%, #05728a00 100%);
  z-index: 2;
}

.hero-content-refined {
  position: relative;
  z-index: 10;
  max-width: 100%;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.badge-dash {
  width: 32px;
  height: 2px;
  background: var(--teal, #3ec6c6);
  display: block;
}

.badge-text {
  color: var(--teal, #3ec6c6);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: inherit;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.badge-dash {
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.badge-text {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-content-refined h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
}

/* Breadcrumbs */
.hero-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  font-size: 20px;
  font-weight: 500;
}

.hero-breadcrumbs a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.hero-breadcrumbs a:hover {
  color: var(--primary);
}

.hero-breadcrumbs .br-sep {
  color: rgba(255, 255, 255, 0.3);
}

.hero-breadcrumbs .br-current {
  color: rgba(255, 255, 255, 0.6);
}

/* Inner Page River Wave (same style as front-page hero river) */
.inner-river-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  pointer-events: none;
  z-index: 15;
  overflow: hidden;
}

.inner-river-main {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Floating Orbs */
.orbs {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  z-index: 16;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.6), rgba(24, 140, 159, 0.2));
  border: 1px solid rgba(24, 140, 159, 0.4);
  box-shadow: 0 0 20px rgba(24, 140, 159, 0.3);
  animation: floatOrbBanner var(--dur) ease-in-out infinite alternate,
    driftXBanner var(--drift) linear infinite;
}

.orb:nth-child(1) {
  width: 16px;
  height: 16px;
  left: 10%;
  --dur: 2.2s;
  --drift: 12s;
}

.orb:nth-child(2) {
  width: 10px;
  height: 10px;
  left: 22%;
  --dur: 2.8s;
  --drift: 15s;
  animation-delay: -1s;
}

.orb:nth-child(3) {
  width: 20px;
  height: 20px;
  left: 40%;
  --dur: 2s;
  --drift: 10s;
  animation-delay: -0.5s;
}

.orb:nth-child(4) {
  width: 12px;
  height: 12px;
  left: 58%;
  --dur: 2.5s;
  --drift: 13s;
  animation-delay: -1.5s;
}

.orb:nth-child(5) {
  width: 8px;
  height: 8px;
  left: 75%;
  --dur: 3s;
  --drift: 18s;
  animation-delay: -0.8s;
}

.orb:nth-child(6) {
  width: 14px;
  height: 14px;
  left: 90%;
  --dur: 2.3s;
  --drift: 11s;
  animation-delay: -2s;
}

@keyframes floatOrbBanner {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-15px);
  }
}

@keyframes driftXBanner {
  from {
    margin-left: 0;
  }

  to {
    margin-left: 80px;
  }
}

/* Sparks */
.sparks {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  z-index: 18;
  pointer-events: none;
}

.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px 2px rgba(24, 140, 159, 0.8);
  animation: sparkRiseBanner var(--sd) ease-out infinite;
  opacity: 0;
}

.spark:nth-child(1) {
  left: 5%;
  --sd: 3s;
  animation-delay: 0s;
}

.spark:nth-child(2) {
  left: 18%;
  --sd: 3.5s;
  animation-delay: 0.7s;
}

.spark:nth-child(3) {
  left: 30%;
  --sd: 2.6s;
  animation-delay: 1.2s;
}

.spark:nth-child(4) {
  left: 45%;
  --sd: 3.8s;
  animation-delay: 0.4s;
}

.spark:nth-child(5) {
  left: 55%;
  --sd: 3s;
  animation-delay: 2s;
}

.spark:nth-child(6) {
  left: 68%;
  --sd: 3.2s;
  animation-delay: 1s;
}

.spark:nth-child(7) {
  left: 80%;
  --sd: 2.8s;
  animation-delay: 1.5s;
}

.spark:nth-child(8) {
  left: 92%;
  --sd: 3.6s;
  animation-delay: 0.6s;
}

@keyframes sparkRiseBanner {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(-50px) scale(0.2);
  }
}

@media (max-width: 768px) {
  .hero-content-refined {
    padding-left: 0;
    margin: 0;
  }

  .hero-badge {
    justify-content: flex-start;
  }

  .hero-subtitle {
    margin: 0;
  }
}

h2.section-title.text-white {
  text-align: center;
  color: white;
}

/* ===== ABOUT US: STICKY SCROLL SECTION ===== */
.sticky-scroll-section {
  padding: 3rem 0;
  background: #ffffff36;
  position: relative;
  overflow: visible;
}

.sticky-scroll-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: flex-start;
  width: 100%;
}

/* Left Column Styling */
.sticky-img-column {
  position: sticky;
  top: 15vh;
  height: min-content;
}

.sticky-img-wrap {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(5, 27, 31, 0.15);
  aspect-ratio: 4/5;
}

.main-sticky-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sticky-img-wrap:hover .main-sticky-img {
  transform: scale(1.05);
}

.sticky-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(24, 140, 159, 0.1), transparent 70%);
  pointer-events: none;
}

/* Right Column Styling */
.sticky-content-column {
  padding: 5rem 0;
}

.sticky-content-item {
  margin-bottom: 0;
}

.sticky-section-title {
  color: #111;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* Word Reveal Styles (Light Theme Refined) */
.light-theme-reveal .reveal-word {
  opacity: 0.2;
  /* To match homepage */
  color: #000;
  display: inline;
  transition: opacity 0.3s ease-out;
  font-size: 1.25rem;
  line-height: 1.7;
}

/* Addifico Style Word Reveal (Blur & Color Fade) */
.addifico-reveal-word {
  opacity: 0.15;
  color: #8b9499;
  filter: blur(2px);
  display: inline;
  transition: opacity 0.4s ease, color 0.4s ease, filter 0.4s ease;
}

.addifico-reveal-word.revealed {
  opacity: 1;
  color: #fff;
  filter: blur(0);
}

/* ===== DARK PREMIUM SECTION (WHAT DRIVES) ===== */
.dark-premium-section {
  background: radial-gradient(circle at 100% 0%, #0d151c 0%, #060b0f 50%, #030608 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.dark-premium-section .text-white {
  color: #ffffff;
}

.dark-premium-section .text-secondary {
  color: var(--secondary);
}

.dark-premium-section .text-gray-light {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.dark-section-glow {
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 118, 58, 0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.dark-highlight-card {
  position: relative;
  padding: 3.5rem 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.dark-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--secondary) 0%, rgba(139, 148, 153, 0.2) 100%);
  border-radius: 16px 0 0 16px;
}

.dark-highlight-card p {
  font-size: 1.35rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 2;
}

.dark-highlight-card p:last-child {
  margin-bottom: 0;
}

.quote-icon-top {
  position: absolute;
  top: -24px;
  left: 40px;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 20px rgba(196, 118, 58, 0.25);
  z-index: 3;
}

.quote-icon-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ===== CENTERED DESIGN LAYOUT ===== */
.centered-drives-section {
  padding: 120px 0;
}

.centered-drives-section .section-header {
  margin-bottom: 3rem;
}



.drives-centered-content-v4 {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.drives-main-title {

  margin-bottom: 2rem;
  line-height: 1.1;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.drives-pill-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  border: 1px solid rgba(24, 140, 159, 0.3);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  background: rgba(24, 140, 159, 0.05);
  display: inline-block;
  font-weight: 600;
}

.drives-intro-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.drives-grid-v4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.drives-box-v4 {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 20px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.drives-box-v4::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(72, 170, 181, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.drives-box-v4:hover {
  transform: translateY(-10px);
  border-color: rgba(72, 170, 181, 0.3);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.drives-box-v4:hover::before {
  opacity: 1;
}

.box-count {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--red);
  margin-bottom: 1.5rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  opacity: 0.8;
}

.box-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 1.25rem;
  color: #fff;
}

.box-content {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .drives-grid-v4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .drives-box-v4 {
    padding: 2rem;
  }
}

.premium-lead-centered {
  font-size: 1.5rem !important;
  line-height: 1.6 !important;
  text-align: left;
  /* Alignment changed to left for side-by-side */
  margin-bottom: 2rem !important;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== SIDE-BY-SIDE SPLIT LAYOUT ===== */
.side-by-side-layout {
  padding: 140px 0;
  overflow: hidden;
}

.drives-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}

.drives-text-col .section-title {
  text-align: left !important;
  margin-bottom: 3rem;
}

.drives-description p {
  font-size: 1.15rem;
  margin-bottom: 1.8rem;
}

/* --- Tech Visual Column --- */
.drives-visual-col {
  position: relative;
}

.tech-visual-wrap {
  position: relative;
  width: 100%;
  animation: techFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(72, 170, 181, 0.15));
}

.tech-visual-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  position: relative;
  z-index: 2;
}

.visual-glow-base {
  position: absolute;
  bottom: -40px;
  left: 10%;
  right: 10%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(72, 170, 181, 0.3) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
  opacity: 0.6;
}

@keyframes techFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

/* Responsive side-by-side */
@media (max-width: 1024px) {
  .drives-split-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .drives-text-col .section-title,
  .premium-lead-centered {
    text-align: center !important;
  }
}



.glow-center {
  right: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(196, 118, 58, 0.08) 0%, transparent 60%);
}

.centered-highlight-card {
  padding: 4rem;
  margin-top: 3rem;
  text-align: center;
}

.centered-highlight-card .quote-icon-top.icon-centered {
  left: 50%;
  transform: translateX(-50%);
}

.centered-highlight-card p {
  font-size: 1.5rem;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== ANIMATED GRID BACKGROUND ===== */
.animated-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* Premium Dark Tech Grid Pattern */
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  animation: gridMove 20s linear infinite;
  opacity: 0.8;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

@keyframes gridMove {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(60px);
  }
}

.z-10 {
  position: relative;
  z-index: 10;
}


.light-theme-reveal .reveal-word.revealed {
  opacity: 1;
  color: #000;
}

.reveal-text-container p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
}

.reveal-text-container p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .sticky-scroll-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .sticky-img-column {
    position: relative;
    top: 0;
    order: -1;
  }

  .sticky-content-column {
    padding: 0;
  }
}

/* â”€â”€ PILL TAG â”€â”€ */
.pill {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.pill span {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  padding: 6px 20px;
  font-size: 13px;
  color: #aaa;
}

/* â”€â”€ HEADLINE â”€â”€ */
.headline {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: white;
  line-height: 1.15;
  margin-bottom: 64px;
  letter-spacing: -0.02em;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 1 â€” left text | right image
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.section-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 80px;
}

.s1-left p {
  color: #cbcbcb;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.7;

  margin-bottom: 1.4rem;
}

/* RIGHT: photo card with overlaid stats */
.s1-right {
  position: relative;
}

.photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgb(20 100 115), rgb(5 20 25)) !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 360px;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55) saturate(0.8);
  display: block;
}

/* purple tint overlay */
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.18) 0%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

/* floating stat pill on photo */
.stat-pill {
  position: absolute;
  background: rgba(15, 20, 30, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 222, 128, 0.1);
  border-radius: 12px;
  padding: 10px 16px;
  z-index: 3;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sp-label {
  font-size: 9px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.sp-val {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.sp-sub {
  font-size: 10px;
  color: #4ade80;
  margin-top: 1px;
}

.sp-red {
  color: #f87171;
}

.sp-top {
  top: 20px;
  left: 20px;
}

.sp-bot {
  bottom: 20px;
  right: 20px;
}

.sp-mid {
  bottom: 20px;
  left: 20px;
}

/* mini bar inside pill */
.pill-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 22px;
  margin-top: 6px;
}

.pb {
  flex: 1;
  background: #333;
  border-radius: 2px;
}

.pb.hi {
  background: #a78bfa;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 2 â€” left image | right text
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.section-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

/* LEFT: smart ops dashboard photo with overlaid cards */
.s2-left {
  position: relative;
}

.photo-frame-2 {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgb(20 100 115), rgb(5 20 25)) !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 360px;
}

.photo-frame-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.45) saturate(0.7);
  display: block;
}

.photo-frame-2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 100, 115, 0.6), rgba(5, 20, 25, 0.8));
  pointer-events: none;
}

/* floating overlay cards on photo 2 */
.ov-card {
  position: absolute;
  background: rgba(15, 20, 30, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(74, 222, 128, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  z-index: 3;
  min-width: 130px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ov-label {
  font-size: 9px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.ov-val {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
}

.ov-sub {
  font-size: 10px;
  color: #4ade80;
}

.ov-tl {
  top: 20px;
  left: 20px;
}

.ov-tr {
  top: 20px;
  right: 20px;
}

.ov-bl {
  bottom: 20px;
  left: 20px;
}

/* wave svg inside ov card */
.ov-wave {
  margin-top: 6px;
}

/* connected nodes icon row */
.node-row {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 6px;
}

.node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a78bfa;
}

.node-line {
  flex: 1;
  height: 1px;
  background: rgba(167, 139, 250, 0.4);
}

.node.green {
  background: #4ade80;
}

/* RIGHT text */
.s2-right p {
  color: #cbcbcb;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.7;

}

/* â”€â”€ POP-IN + FLOAT ANIMATIONS â”€â”€ */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(10px);
  }

  70% {
    transform: scale(1.06) translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes floatYrev {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(7px);
  }
}

@keyframes floatX {

  0%,
  100% {
    transform: translateX(0px);
  }

  50% {
    transform: translateX(-5px);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(124, 92, 252, 0.15);
  }

  50% {
    box-shadow: 0 8px 36px rgba(124, 92, 252, 0.42);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* stat pills */
.sp-top {
  animation:
    popIn 0.55s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    floatY 4s 0.8s ease-in-out infinite,
    glowPulse 3s 0.2s ease-in-out infinite;
}

.sp-mid {
  animation:
    popIn 0.55s 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    floatYrev 5s 0.8s ease-in-out infinite,
    glowPulse 3.5s 0.45s ease-in-out infinite;
}

.sp-bot {
  animation:
    popIn 0.55s 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    floatX 4.5s 0.8s ease-in-out infinite,
    glowPulse 4s 0.65s ease-in-out infinite;
}

/* overlay cards */
.ov-tl {
  animation:
    popIn 0.55s 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    floatY 4.2s 0.8s ease-in-out infinite,
    glowPulse 3.2s 0.25s ease-in-out infinite;
}

.ov-tr {
  animation:
    popIn 0.55s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    floatYrev 5.5s 0.8s ease-in-out infinite,
    glowPulse 3.8s 0.5s ease-in-out infinite;
}

.ov-bl {
  animation:
    popIn 0.55s 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    floatX 4.8s 0.8s ease-in-out infinite,
    glowPulse 4.2s 0.7s ease-in-out infinite;
}

/* value numbers */
.sp-val,
.ov-val {
  animation: countUp 0.4s 0.9s ease both;
}

/* hover lift */
.stat-pill:hover,
.ov-card:hover {
  transform: scale(1.07) translateY(-5px) !important;
  box-shadow: 0 14px 44px rgba(124, 92, 252, 0.55) !important;
  border-color: rgba(124, 92, 252, 0.65) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  z-index: 10;
}

@media (max-width: 768px) {

  .section-1,
  .section-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .photo-frame,
  .photo-frame-2 {
    height: 320px;
  }
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 3 - EXPERIENCE AS INFRASTRUCTURE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.section-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 40px 0;
}

.s3-left p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.s3-right {
  position: relative;
}

.photo-frame-3 {
  background: linear-gradient(135deg, rgb(24 140 159), rgb(7 27 33)) !important;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 400px;
}

.photo-frame-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6) saturate(0.9);
  display: block;
}

.photo-frame-3::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(24, 140, 159, 0.25) 100%);
  pointer-events: none;
}

.stat-card {
  position: absolute;
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 12px;
  padding: 10px 16px;
  z-index: 3;
  min-width: 110px;
  color: #fff;
}

.sc-label {
  font-size: 9px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.sc-val {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.sc-sub {
  font-size: 10px;
  color: var(--secondary, #48aab5);
  margin-top: 2px;
}

.stars {
  font-size: 10px;
  color: #fbbf24;
  margin-top: 3px;
  letter-spacing: 2px;
}

.half-star {
  opacity: 0.5;
}

.trend-line {
  margin-top: 5px;
}

.sc-tl {
  top: 20px;
  left: 20px;
}

.sc-br {
  bottom: 20px;
  right: 20px;
}

.sc-ml {
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
}

@keyframes scPopIn {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(10px);
  }

  70% {
    transform: scale(1.06) translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes scFloatY {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes scFloatYrev {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(7px);
  }
}

@keyframes scFloatX {

  0%,
  100% {
    transform: translateX(0px);
  }

  50% {
    transform: translateX(-5px);
  }
}

@keyframes scGlowPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(74, 222, 128, 0.05);
  }

  50% {
    box-shadow: 0 8px 36px rgba(74, 222, 128, 0.15);
  }
}

.sc-tl {
  animation:
    scPopIn 0.55s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    scFloatY 4.5s 0.8s ease-in-out infinite,
    scGlowPulse 3.5s 0.3s ease-in-out infinite;
}

.sc-br {
  animation:
    scPopIn 0.55s 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    scFloatX 5s 0.8s ease-in-out infinite,
    scGlowPulse 4s 0.6s ease-in-out infinite;
}

.sc-ml {
  animation:
    scPopIn 0.55s 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    scFloatYrev 4.2s 0.8s ease-in-out infinite,
    scGlowPulse 3.2s 0.45s ease-in-out infinite;
}

.stat-card:hover {
  transform: scale(1.07) translateY(-5px) !important;
  box-shadow: 0 14px 44px rgba(74, 222, 128, 0.2) !important;
  border-color: rgba(74, 222, 128, 0.6) !important;
  transition: all 0.2s ease;
  z-index: 10;
}

@media (max-width: 768px) {
  .section-3 {
    grid-template-columns: 1fr;
    padding: 20px 0;
    gap: 40px;
  }

  .photo-frame-3 {
    height: 320px;
  }

  .sc-ml {
    left: 14px;
    top: 40%;
  }
}

/* ===== ABOUT US REDESIGN ===== */
.about-page .sticky-scroll-section {
  padding: 100px 0;
}

.about-page .sticky-img-wrap {
  position: relative;
  border-radius: 40px;
}

.about-page .main-sticky-img {
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.about-page .floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 2rem;
  border-radius: 30px;
  color: #fff;
  font-family: var(--font-display);
  z-index: 5;
  animation: float 6s infinite ease-in-out;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  text-align: center;
  min-width: 140px;
}

.about-page .fb-top-left {
  top: 30px;
  left: -40px;
}

.about-page .fb-bottom-right {
  bottom: 50px;
  right: -40px;
}

.about-page .fb-val {
  font-size: 2.2rem;
  font-weight: 500;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-page .fb-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 600;
}

/* OUR STORY REDESIGN */
.about-page .our-story-section {
  padding: 120px 0;
  background: #051B1F;
  /* Theme background */
  color: #fff;
}

.about-page .story-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 5rem;
  align-items: center;
}

.about-page .story-img-wrap {
  position: relative;
}

.about-page .story-main-img {
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.about-page .story-overlay-box {
  position: absolute;
  bottom: -30px;
  right: -20px;
  background: rgba(10, 42, 48, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 24px;
  max-width: 320px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.about-page .story-overlay-box p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* FOOTPRINT SECTORS REDESIGN */
.about-page .footprint-section {
  padding: 100px 0;
}

.about-page .sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.about-page .sector-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-page .sector-card:hover {
  background: rgba(24, 140, 159, 0.15);
  transform: translateY(-12px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-page .sector-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-page .sector-card:hover .sector-icon {
  transform: scale(1.3) rotate(5deg);
}

.about-page .sector-name {
  font-size: 18px;
  color: #ffffff85;
  line-height: 1.5;
  font-weight: 400;
  transition: color 0.4s ease;
}

.about-page .sector-card:hover .sector-name {
  color: #38bdf8;
}

/* WHAT SETS US APART REDESIGN - DARK TEAL THEME */
.about-page .apart-section {
  padding: 120px 0 0;
  background: transparent;
  /* Changed to transparent */
  position: relative;
  overflow: hidden;
}

.about-page .apart-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24, 140, 159, 0.3), transparent);
}

.about-page .apart-section .section-title {
  color: #000000;
  margin-bottom: 1.5rem;
}

.about-page .apart-section p {
  font-size: 18px;
  color: #666;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.about-page .apart-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Changed to 4 columns */
  gap: 1.5rem;
  /* Reduced gap for 4 columns */
  margin-top: 5rem;
}

.about-page .apart-card {
  background: #0A2A30;
  /* Dark Teal box background */
  padding: 2.5rem 2rem;
  /* Adjusted padding for narrower boxes */
  border-radius: 40px;
  border: 1px solid rgba(24, 140, 159, 0.1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  /* Ensure equal heights */
}

.about-page .apart-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(24, 140, 159, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-page .apart-icon {
  width: 56px;
  height: 56px;
  color: var(--primary);
  margin-bottom: 1.5rem;
  /* Reduced but made sure it's applied correctly */
  display: block;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-page .apart-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-page .apart-icon svg {
  width: 100%;
  height: 100%;
}

.about-page .apart-card h3 {
  font-size: 22px;
  /* Slightly smaller for 4 columns */
  color: #fff;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.about-page .apart-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  /* Slightly smaller for better fit */
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-page .apart-card p:last-child {
  margin-bottom: 0;
}

/* Fix for images inside content */
.about-page .apart-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 12px;
}

.about-page .apart-card:hover {
  background: var(--primary);
  transform: translateY(-12px);
  border-color: rgba(24, 140, 159, 0.3);
}

.about-page .apart-card:hover::after {
  opacity: 1;
}

.about-page .apart-card:hover .apart-icon {
  transform: scale(1.1) rotate(-5deg);
  color: #fff;
}

/* PHILOSOPHY REDESIGN */
.about-page .philosophy-section {
  padding: 120px 0;
  text-align: center;
  background: transparent;
  color: #fff;
}

.phil-btn-wrap {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 991px) {
  .about-page .story-grid {
    grid-template-columns: 1fr;
  }

  .about-page .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-page .apart-grid {
    grid-template-columns: 1fr;
  }
}

/* OUR STORY REDESIGN (New Light Design) */
/* OUR STORY REDESIGN V2 (3-Tier Layout) */
.about-page .our-story-section-v2 {
  padding: 100px 0;
  background: #ffffff00;
  color: #1e293b;
}

.about-page .story-header-v2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 4rem;
}

.about-page .story-header-v2 .header-left {
  flex: 1;
}

.about-page .story-header-v2 .header-right {
  flex: 1;
  max-width: 500px;
}

.about-page .story-header-v2 .eyebrow {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.about-page .story-header-v2 h2 {
  line-height: 1.1;
  color: #1e293b;
}

.about-page .story-header-v2 p {
  font-size: 18px;
  line-height: 1.6;
  color: #64748b;
}

.about-page .story-visual-v2 {
  margin-bottom: 80px;
}

.about-page .story-visual-v2 .visual-inner {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.about-page .safari-img-v2 {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  filter: contrast(1.1) brightness(0.95);
}

.about-page .story-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 3rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 40px;
}

.about-page .story-col-v2 .col-header {
  margin-bottom: 1.5rem;
}

.about-page .story-col-v2 .col-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.about-page .story-col-v2 h3 {
  font-size: 22px;
  color: #1e293b;
  font-family: var(--font-display);
}

.about-page .story-col-v2 .col-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.5rem;
}

.about-page .story-list-v2 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-page .story-list-v2 li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.about-page .story-list-v2 li::before {
  content: "â€¢";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1;
}

.about-page .story-callout-v2 {
  background: #f1f5f9;
  padding: 2rem;
  border-radius: 20px;
  border-left: 4px solid var(--primary);
}

.about-page .story-callout-v2 p {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0 !important;
}

@media (max-width: 1024px) {
  .about-page .story-header-v2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .about-page .story-grid-v2 {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-page .safari-img-v2 {
    height: 300px;
  }
}

/* WHAT DRIVES SECTION REFINEMENTS */
#what-drives {
  background: #051B1F !important;
  position: relative;
  overflow: hidden;
}

.whatis-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.glow-orb {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(24, 140, 159, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  animation: pulseOrb 10s infinite ease-in-out;
}

@keyframes pulseOrb {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.animated-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
  opacity: 0.4;
}

/* AFRICA FOOTPRINT REDESIGN */
.about-page .footprint-section {
  background: #051B1F;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.about-page .pill-badge {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: #38bdf8;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.about-page .sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 4rem 0 6rem;
}

.about-page .sector-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 1.5rem;
  border-radius: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-page .sector-card:hover {
  background: rgba(24, 140, 159, 0.15);
  border-color: var(--primary);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-page .sector-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 1.5rem;
  color: #05728a;
  opacity: 0.8;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-page .sector-card:hover .sector-icon {
  transform: scale(1.3) rotate(5deg);
  color: var(--primary);
  opacity: 1;
}

.about-page .sector-name {
  font-size: 20px;
  color: #fff;
  font-weight: 500;
  transition: color 0.4s ease;
}

.about-page .sector-card:hover .sector-name {
  color: #38bdf8;
}



.about-page .rf-title {
  font-size: 37px;
  font-weight: 500;
  color: #ffffff !important;
  margin-bottom: 1.5rem;
}

.about-page .rf-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.about-page .rf-note {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}

.about-page .rf-tags-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.about-page .country-tag {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-page .country-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

@media (max-width: 991px) {
  .about-page .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-page .reality-feature-card {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 2.5rem;
  }

  .about-page .rf-tags-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

p.section-desc.reveal.reveal-delay-2.visible {
  color: white;
  font-weight: 300;
}

/* HUB & SPOKE VISUAL */
.about-page .hub-visual-wrap {
  position: relative;
  padding: 0rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 500px;
  min-width: 100% !important;

  justify-content: space-between;
}

.about-page .hub-nodes {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  z-index: 2;
  flex-wrap: wrap;
}

.about-page .hub-node {
  flex: 1;
  min-width: 100px;
  max-width: 120px;
}

.about-page .node-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.about-page .node-box:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.about-page .node-box .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.about-page .node-box .name {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
}

.about-page .hub-spokes {
  position: absolute;
  top: 50px;
  bottom: 80px;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.about-page .hub-spokes svg {
  width: 100%;
  height: 100%;
}

.about-page .spoke {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: dashMove 20s linear infinite;
}

@keyframes dashMove {
  from {
    stroke-dashoffset: 100;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.about-page .hub-center {
  z-index: 2;
}

.about-page .hub-center-box {
  width: 60px;
  height: 60px;
  background: #7c5cfc;
  /* Hub color from image */
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 30px rgba(124, 92, 252, 0.4);
}

.about-page .hub-center-box svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 768px) {
  .about-page .hub-nodes {
    gap: 0.5rem;
  }

  .about-page .hub-node {
    min-width: 80px;
  }

  .about-page .hub-spokes {
    display: none;
  }
}

.about-page .hub-center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #188c9f;
  width: 100PX;
  height: 100PX;
  border-radius: 100%;
  box-shadow: 0 10px 40px rgba(124, 92, 252, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.about-page .hub-m {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-family: var(--font-display);
}

.about-page .hub-site-title {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.about-page .rf-note li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}


/* NODE BRANDING */
.about-page .node-m {
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  margin-right: -4px;
  font-family: var(--font-display);
}


/* CENTERED REALITY CARD REDESIGN */
.about-page .reality-feature-card.centered-layout {
  flex-direction: column;
  text-align: center;
  padding: 5rem 2rem;
  gap: 3rem;
  display: flex;
  align-items: center;
}

.about-page .rf-header-centered {
  max-width: 850px;
  margin-bottom: 2rem;
}

.about-page .rf-desc-centered {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin: 1.5rem 0;
}

.rf-note-centered {
  background: #ffffff1a;
  color: #bae4eb;
  text-align: center;
  padding: 20px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 300;
  line-height: 27px;
}

.about-page .hub-nodes-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  position: relative;
  z-index: 2;
  flex-wrap: nowrap;
}

.about-page .hub-node {
  flex: 1;
  min-width: 0;
  /* Allow shrinking */
}

.about-page .node-box.flag-node {
  justify-content: center;
  padding: 1rem;
  background: rgb(34 64 70);
  flex-direction: column;
  gap: 0.4rem;
  height: 103%;
}

.about-page .node-flag-icon {
  width: 50px;
  height: 50px;
}

.about-page .node-box .name {
  font-size: 0.75rem;
}

.about-page .node-m-tiny {
  font-size: 0.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  margin-right: -4px;
}

.about-page .hub-spokes-top {
  position: absolute;
  width: 100%;
  height: 400px;
  z-index: 1;
  pointer-events: none;
}

.about-page .hub-spokes-top svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 991px) {
  .about-page .hub-nodes-top {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .about-page .hub-nodes-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-page .hub-spokes-top {
    display: none;
  }
}

/* PHILOSOPHY SECTION REDESIGN */

.about-page .phil-card-wrap {
  background: linear-gradient(135deg, #05728a 0%, rgb(8 34 40) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Background Glow Effect */
.about-page .phil-card-wrap::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle at center, rgba(124, 92, 252, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.about-page .phil-content-centered {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.about-page .phil-title {
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.about-page .phil-desc {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
}

/* Premium Button Styling */
.about-page .btn-primary-purple {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: #7c5cfc;
  /* Purple from hub */
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(124, 92, 252, 0.3);
}

.about-page .btn-primary-purple:hover {
  background: #6a4ae6;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(124, 92, 252, 0.5);
  color: #fff;
}

@media (max-width: 768px) {
  .about-page .phil-card-wrap {
    padding: 4rem 2rem;
  }

  .about-page .phil-title {
    font-size: 2rem;
  }

  .about-page .phil-desc {
    font-size: 1rem;
  }
}

/* ===== OFF-CANVAS MENU ===== */
.off-canvas-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 0.5s;
  overflow: hidden;
}

.off-canvas-menu.active {
  visibility: visible;
  pointer-events: all;
  transition: visibility 0s;
}

.off-canvas-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 20, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.off-canvas-menu.active .off-canvas-overlay {
  opacity: 1;
}



.off-canvas-content::-webkit-scrollbar {
  display: none;
}

.off-canvas-menu.active .off-canvas-content {
  transform: translateX(0);
}

.off-canvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.off-canvas-logo img {
  height: 100px !important;
}

.off-canvas-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.off-canvas-close span {
  display: none;
  /* Hide 'close' text for cleaner look */
}

.off-canvas-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
  border-color: transparent;
}

.off-canvas-close svg {
  width: 22px;
  height: 22px;
}

.off-canvas-body {
  flex: 1;
  overflow-y: none;
}

.off-canvas-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.off-canvas-nav-list li a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  line-height: 1.1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}


.off-canvas-nav-list li a:hover {
  color: var(--primary);
  padding-left: 15px;
}

.off-canvas-nav-list li a:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.menu-arrow {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.2);
  transition: all 0.4s;
}

.off-canvas-nav-list li a:hover .menu-arrow {
  transform: translate(8px, -8px);
  color: var(--primary);
}

/* --- Vertical Dropdown support --- */
.off-canvas-nav-list .menu-item-has-children {
  position: relative;
  display: flex;
  flex-direction: column;
}

.off-canvas-nav-list .menu-item-has-children>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Dropdown Arrow Indicator */
.off-canvas-nav-list .menu-item-has-children>a::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  margin-left: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 4px;
}

.off-canvas-nav-list .menu-item-has-children.open>a::after {
  transform: rotate(-135deg);
  border-color: var(--primary);
  margin-bottom: -4px;
}

.off-canvas-nav-list .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.off-canvas-nav-list li.open>.sub-menu {
  max-height: 800px;
  /* Large enough for content */
  opacity: 1;
  pointer-events: all;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.off-canvas-nav-list .sub-menu li a {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  font-family: var(--font-display);
}

.off-canvas-nav-list .sub-menu li a:hover {
  color: #fff;
  padding-left: 10px;
}

.off-canvas-nav-list .sub-menu li a .menu-arrow {
  font-size: 1rem;
}

.off-canvas-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links-minimal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-links-minimal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.social-links-minimal a:hover {
  color: #fff;
}

/* Hide original mobile menu button if it exists or adjust as needed */
.mobile-menu-btn {
  display: none !important;
}

@media (max-width: 768px) {
  .off-canvas-content {
    max-width: 100%;
    padding: 2rem;
  }
}

/* ---------------------------------------------------------------------------
   APPOINTMENT BOOKING PAGE  (page-appointment-booking.php)
   --------------------------------------------------------------------------- */
.container.apb-container-rel.apb-cta-center {
  background: linear-gradient(135deg, rgb(41 113 125) 0%, rgb(8 34 40) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.apb-section {
  padding: 5rem 0;
  background: transparent;
}

.apb-section-dark {
  padding: 8rem 0;
  background: #f8fafc;
  color: inherit;
}

.apb-section-darker {
  padding: 8rem 0;
  background: var(--darker);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.apb-section-darker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(72, 170, 181, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.apb-split-reverse {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 5rem;
}

.apb-split-title {
  font-family: var(--font-display);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.apb-section-dark .apb-split-title,
.apb-section-darker .apb-split-title {
  color: #fff;
}

.apb-split-title {
  color: #111;
}

.apb-demand-content .apb-split-desc {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.apb-section-dark .apb-split-desc,
.apb-section-darker .apb-split-desc {
  color: rgba(255, 255, 255, 0.75);
}

.apb-split-desc {
  color: var(--gray);
}

.apb-btn-wrap {
  margin-top: 2.5rem;
}

/* Premium Floating Visual */
.apb-floating-visual {
  position: relative;
  padding: 2.5rem;
}

.apb-visual-card {
  position: relative;
  background: transparent;
  border-radius: 2.5rem;
  padding: 0;
  border: none;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  z-index: 1;
}

.apb-dashboard-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.apb-premium-orch-card {
  position: absolute;
  top: 50%;
  right: -5rem;
  transform: translateY(-50%);
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(5, 27, 31, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 5;
  animation: premium-float 6s ease-in-out infinite;
}

@keyframes premium-float {

  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(-55%) translateX(-10px);
  }
}

.apb-orch-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.apb-orch-icon-ring {
  width: 42px;
  height: 42px;
  background: rgba(72, 170, 181, 0.1);
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.apb-orch-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #051b1f;
  line-height: 1.2;
}

.apb-orch-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.apb-orch-body p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.apb-orch-progress-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.apb-orch-progress {
  flex: 1;
  height: 6px;
  background: #f1f5f9;
  border-radius: 3px;
  overflow: hidden;
}

.apb-orch-fill {
  height: 100%;
  width: 84%;
  background: var(--primary);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(72, 170, 181, 0.4);
}

.apb-orch-percent {
  font-weight: 700;
  color: #051b1f;
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .apb-orchestration-card {
    right: 1rem;
    bottom: 1rem;
    width: 280px;
  }
}

@media (max-width: 768px) {
  .apb-split-reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .apb-demand-visual {
    order: -1;
  }

  .apb-orchestration-card {
    width: calc(100% - 2rem);
    position: relative;
    right: auto;
    bottom: auto;
    margin: -2rem auto 0;
  }
}

.apb-section-gray {
  padding: 8rem 0;
  background: #f8fafc;
  color: inherit;
}

.regional-desc-text.text-center {
  text-align: center;
  margin-bottom: 40px;
}

.apb-section-darker h2 {
  color: white !important;
}

/* Live Service Control Section */
.live-service-section {
  background: transparent;
  text-align: center;
}

.live-service-title {
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 2rem;
}

.live-service-desc {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--gray);
}

.live-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.live-service-card {
  background: #188c9f;
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.live-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
  border-color: rgba(24, 140, 159, 0.15);
}

.live-service-icon-wrap {
  width: 52px;
  height: 52px;
  background: #f0f7f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 2rem;
}

.live-service-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2px;
}

.live-service-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  color: #ffffff;
  margin: 0;
  max-width: 240px;
}

@media (max-width: 1024px) {
  .live-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .live-service-grid {
    grid-template-columns: 1fr;
  }
}

/* CX Journey Section */
.cx-journey-section {
  padding: 8rem 0;
  background: #fff;
  overflow: hidden;
}

.cx-journey-main-title {
  text-align: center;
  margin-bottom: 1rem;
}

.cx-journey-sub-title {
  text-align: center;
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 3rem;
}

.cx-journey-long-desc {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
  color: var(--gray);
  line-height: 1.7;
  font-size: 1.05rem;
}

.cx-journey-subtitle-small {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 5rem;
  color: #111;
}

/* Timeline */
.cx-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 6rem;
  padding: 2rem 0;
}

.cx-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
  transform: translateX(-50%);
  transform-origin: top;
  height: 100%;
  /* Default to full height */
}

/* Optional: Keep the drawing animation if reveal is used on parent, 
   but since I added reveal to items, I'll remove this trigger for simplicity. */

.cx-timeline-item {
  position: relative;
  width: 50%;
  padding: 2rem 4rem;
  margin-bottom: 2rem;
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cx-item-left {
  left: 0;
  text-align: right;
}

.cx-item-right {
  left: 50%;
  text-align: left;
}

.cx-timeline-node {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  z-index: 2;
  transform: translateY(-50%) scale(1);
  /* Default visible */
  box-shadow: 0 0 0 4px #fff;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Staggered pop-in for nodes when reveal is active on parent item */
.cx-timeline-item.active .cx-timeline-node {
  animation: nodePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes nodePop {
  0% {
    transform: translateY(-50%) scale(0);
  }

  100% {
    transform: translateY(-50%) scale(1);
  }
}

.cx-item-left .cx-timeline-node {
  right: -22px;
}

.cx-item-right .cx-timeline-node {
  left: -22px;
}

.cx-timeline-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 2rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: all 0.4s ease;
}

.cx-timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.cx-card-ops {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.cx-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.cx-label-customer {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.cx-label-ops {
  background: var(--primary);
  color: #fff;
}

.cx-timeline-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

/* Result Card */
.cx-journey-result-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.cx-journey-result-card {
  background: #051b1f;
  color: #fff;
  padding: 3.5rem 5rem;
  border-radius: 2.5rem;
  text-align: center;
  max-width: 850px;
  box-shadow: 0 30px 60px rgba(5, 27, 31, 0.2);
  transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cx-result-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.cx-journey-result-card p {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .cx-timeline-line {
    left: 20px;
  }

  .cx-timeline-item {
    width: 100%;
    left: 0 !important;
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    text-align: left;
    transform: translateX(30px) !important;
  }

  .cx-timeline.active .cx-timeline-item {
    transform: translateX(0) !important;
  }

  .cx-timeline-node {
    left: 0 !important;
    right: auto !important;
  }
}

/* Comparison table */
.apb-compare {
  display: flex;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.apb-compare-side {
  flex: 1;
  padding: 3rem;
}

.apb-compare-left {
  background: #fff;
}

.apb-compare-right {
  background: #11363c;
  display: flex;
  flex-direction: column;
}

.apb-compare-divider {
  width: 1px;
  background: #e5e7eb;
}

.apb-compare-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.apb-compare-heading svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.apb-compare-heading h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: #111;
  margin: 0;
}

.apb-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.apb-compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.apb-compare-num {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 500;
  color: #9ca3af;
  flex-shrink: 0;
  margin-top: .2rem;
}


.apb-compare-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: .55rem;
}

.apb-img-wrap-reality {
  border-radius: 2.5rem;
  overflow: hidden;
  position: relative;
  height: 600px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.apb-img-wrap-reality img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apb-reality-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Dark mode adjustments for Comparison */
.apb-section-darker .apb-compare {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.apb-section-darker .apb-compare-left {
  background: rgba(255, 255, 255, 0.02);
}

.apb-section-darker .apb-compare-num {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.apb-section-darker .apb-compare-heading h3,
.apb-section-darker .apb-compare-text-dark {
  color: #fff;
}

.apb-section-darker .apb-compare-text {
  color: rgba(255, 255, 255, 0.6);
}

.apb-section-darker .apb-compare-divider {
  background: rgba(255, 255, 255, 0.1);
}

.apb-section-darker .apb-reality-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.apb-section-darker .apb-reality-footer p {
  color: var(--primary);
}

.apb-reality-footer p {
  font-weight: 500;
  color: var(--primary);
  letter-spacing: .04em;
  margin: 0;
}

.apb-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 50px auto;
}

.apb-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 2rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s;
}

.apb-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .09);
}

.apb-card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: transparent;
  transition: background .3s;
}

.apb-card:hover .apb-card-bar {
  background: var(--primary);
}

.apb-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #f9fafb;
  border: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.apb-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #9ca3af;
  fill: none;
  stroke-width: 1.8;
}

.apb-card-tag {
  font-size: .7rem;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .75rem;
}

.apb-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #111;
  margin-bottom: .6rem;
}

.apb-card-text {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Dark mode adjustments for Cards */
.apb-section-darker .apb-card {
  background: var(--card);
  border-color: rgba(255, 255, 255, 0.08);
}

.apb-section-darker .apb-card-title {
  color: #fff;
}

.apb-section-darker .apb-card-text {
  color: rgba(255, 255, 255, 0.6);
}

.apb-section-darker .apb-card-icon {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.apb-section-darker .apb-card-tag {
  color: var(--primary);
  opacity: 0.8;
}

/* 2-col split section */
.apb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.apb-one-col-centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.apb-centered-desc {
  max-width: 800px;
  margin: 2rem auto 0;
}

.apb-grid-bg-light {
  position: relative;
  background-color: transparent;

}

.apb-portal-visual {
  position: relative;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12);
  line-height: 0;
}

.apb-portal-img {
  width: 100%;
  height: auto;
  display: block;
}

.apb-floating-status-card {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 1.5rem;
  width: 240px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.apb-compare-flow-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.flow-arrow {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  opacity: 0.6;
}

/* Flow Summary Section */
.apb-flow-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0;
}

.apb-flow-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.apb-flow-card:hover {
  transform: translateY(-5px);
}

.apb-flow-icon {
  width: 50px;
  height: 50px;
  background: rgba(24, 140, 159, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.apb-flow-icon svg {
  width: 24px;
  height: 24px;
}

.apb-flow-card span {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: #11363C;
  line-height: 1.4;
}

.apb-quote-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Redesigned Reality Section */
.apb-reality-top {
  margin-bottom: 4rem;
}


/* Large Design Arrow */
.page-template-page-self-service-kiosk .apb-design-arrow {
  position: absolute;
  bottom: 10%;
  left: 20%;
  width: 300px;
  height: auto;
  color: #64748b;
  opacity: 0.6;
  z-index: 2;
  transform: rotate(-10deg);
  pointer-events: none;
}

/* CX Journey Cards */
.page-template-page-self-service-kiosk .apb-cx-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.page-template-page-self-service-kiosk .apb-cx-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  height: 100%;
}

.page-template-page-self-service-kiosk .apb-cx-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--primary);
}

.page-template-page-self-service-kiosk .apb-cx-icon {
  width: 3rem;
  height: 3rem;
  color: var(--secondary);
  margin-bottom: 2rem;
}

.page-template-page-self-service-kiosk .apb-cx-icon svg {
  width: 100%;
  height: 100%;
}

.page-template-page-self-service-kiosk .apb-cx-title {
  font-size: 1.4rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 2rem;
}

.page-template-page-self-service-kiosk .apb-cx-block {
  margin-top: 1.5rem;
}

.page-template-page-self-service-kiosk .apb-cx-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.page-template-page-self-service-kiosk .apb-cx-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

.page-template-page-self-service-kiosk .apb-cx-sep {
  height: 1px;
  background: #f1f5f9;
  margin: 1.5rem 0;
}

/* Kiosk Capabilities Styles */
.page-template-page-self-service-kiosk .apb-kiosk-caps-section {
  padding: 8rem 0;
  background: #fff;
}

.page-template-page-self-service-kiosk .apb-kiosk-caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.page-template-page-self-service-kiosk .apb-kiosk-cap-card {
  background: #11363C;
  padding: 3.5rem 2.5rem;
  border-radius: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  backdrop-filter: blur(10px);
}

.page-template-page-self-service-kiosk .apb-kiosk-cap-card:hover {
  background: #11363C;
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(24, 140, 159, 0.5);
}

.page-template-page-self-service-kiosk .apb-kiosk-cap-icon {
  width: 4.5rem;
  height: 4.5rem;
  background: rgba(24, 140, 159, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(24, 140, 159, 0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(24, 140, 159, 0.3);
}

.page-template-page-self-service-kiosk .apb-kiosk-cap-card:hover .apb-kiosk-cap-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.page-template-page-self-service-kiosk .apb-kiosk-cap-icon svg {
  width: 28px;
  height: 28px;
}

.page-template-page-self-service-kiosk .apb-kiosk-cap-title {
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-template-page-self-service-kiosk .apb-kiosk-cap-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Service Entry Styles */
.page-template-page-self-service-kiosk .apb-service-entry-section {
  padding: 8rem 0;
  background: transparent;
  overflow: hidden;
}

.page-template-page-self-service-kiosk .apb-check-list {
  list-style: none;
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-template-page-self-service-kiosk .apb-check-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: #334155;
  font-weight: 500;
}

.page-template-page-self-service-kiosk .apb-check-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(72, 170, 181, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-template-page-self-service-kiosk .apb-check-icon svg {
  width: 12px;
  height: 12px;
}

.page-template-page-self-service-kiosk .apb-entry-highlight-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin-top: 3rem;
  border-left: 4px solid var(--primary);
}

.page-template-page-self-service-kiosk .apb-entry-highlight-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1e293b;
  font-weight: 500;
  margin: 0;
}

.page-template-page-self-service-kiosk .apb-entry-frame {
  position: relative;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.page-template-page-self-service-kiosk .apb-entry-img {
  width: 100%;
  height: auto;
  display: block;
}

.page-template-page-self-service-kiosk .apb-entry-overlay-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: revealUp 0.8s ease-out 1s both;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-template-page-self-service-kiosk .apb-entry-overlay-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(72, 170, 181, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-template-page-self-service-kiosk .apb-entry-overlay-icon svg {
  width: 20px;
  height: 20px;
}

.page-template-page-self-service-kiosk .apb-entry-overlay-text {
  display: flex;
  flex-direction: column;
}

.page-template-page-self-service-kiosk .apb-entry-overlay-text strong {
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.page-template-page-self-service-kiosk .apb-entry-overlay-text span {
  font-size: 0.9rem;
  color: #475569;
}

@media (max-width: 1024px) {

  .page-template-page-self-service-kiosk .apb-cx-journey-grid,
  .page-template-page-self-service-kiosk .apb-kiosk-caps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .page-template-page-self-service-kiosk .apb-cx-journey-grid,
  .page-template-page-self-service-kiosk .apb-kiosk-caps-grid {
    grid-template-columns: 1fr;
  }

  .page-template-page-self-service-kiosk .apb-kiosk-cap-card,
  .page-template-page-self-service-kiosk .apb-entry-highlight-card {
    padding: 2.5rem 1.5rem;
  }
}

.apb-entry-overlay-text span {
  font-size: 0.9rem;
  color: #64748b;
}

.apb-rounded-img {
  border-radius: 2rem !important;
}

.apb-img-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  pointer-events: none;
}

.apb-img-badge-dark {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(43, 44, 46, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.apb-badge-icon-teal {
  width: 38px;
  height: 38px;
  background: rgba(24, 140, 159, 0.2);
  border: 1px solid var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.apb-badge-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.apb-badge-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Reality Mini Grid */
.apb-reality-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.apb-reality-mini-card {
  background: #0c5763;
  border: 1px solid #eef1f4;
  padding: 2rem 1rem;
  border-radius: 1.25rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.apb-reality-mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.apb-mini-icon {
  width: 36px;
  height: 36px;
  background: #188c9f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #ffffff;
}

.apb-mini-icon svg {
  width: 18px;
  height: 18px;
}

.apb-reality-mini-card span {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

/* Highlight Box Redesign */
.apb-highlight-container {
  margin-top: 2rem;
}

section.apb-section.apb-radial-center.apb-journey-section {
  background: rgb(5 27 31);
}

.apb-highlight-inner {
  background: #fff;
  border-left: 5px solid var(--primary);
  border-radius: 1.5rem;
  padding: 4rem;
  display: flex;
  align-items: center;
  gap: 5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
  border-left: 5px solid var(--primary);
}

.apb-highlight-text {
  flex: 1.2;
}

.apb-highlight-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 2rem;
}

.apb-highlight-text p.strong-text {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0;
}

/* Control Card Inset */
.apb-control-card {
  flex: 1;
  background: #f8fafc;
  border-radius: 1.5rem;
  padding: 3rem;
  border-top: 4px solid var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.apb-control-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.apb-control-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.apb-control-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #475569;
}

.apb-control-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1e293b;
  margin: 0;
}

@media (max-width: 1024px) {
  .apb-highlight-inner {
    flex-direction: column;
    padding: 3rem;
    gap: 3rem;
  }

  .apb-highlight-text p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .apb-reality-mini-grid {
    grid-template-columns: 1fr;
  }

  .apb-highlight-inner {
    padding: 2.5rem 1.5rem;
  }
}

/* Journey steps */
.apb-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.apb-step {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 2.5rem;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background .2s;
}

.apb-step:hover {
  background: rgba(255, 255, 255, .09);
}

.apb-step-num {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, .04);
  line-height: 1;
  pointer-events: none;
  transition: color .2s;
}

.apb-step:hover .apb-step-num {
  color: rgba(255, 255, 255, .1);
}

.apb-step-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: rgba(24, 140, 159, .2);
  border: 1px solid rgba(24, 140, 159, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.apb-step-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 1.8;
}

.apb-step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin-bottom: .75rem;
  position: relative;
  z-index: 1;
}

.apb-step p {
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  font-size: 16px;
  flex: 1;
  position: relative;
  z-index: 1;
  margin: 0;
}

.apb-step-cta {
  background: rgba(24, 140, 159, .12);
  border: 1px solid rgba(24, 140, 159, .3);
  padding: 2.5rem;
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.apb-step-cta-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(24, 140, 159, .2);
  border: 1px solid rgba(24, 140, 159, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.apb-step-cta-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 1.8;
}

.apb-step-cta h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: .5rem;
}

.apb-step-cta p {
  color: rgba(72, 170, 181, .9);
  line-height: 1.6;
  margin: 0;
}

/* Environment cards */
.apb-env-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.apb-env-card {
  background: #fff;
  border-radius: 2.5rem;
  border: 1px solid #f0f0f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.apb-env-head {
  padding: 2rem;
  background: #188c9f;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.apb-env-head-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.apb-env-head-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
}

.apb-env-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
}

.apb-env-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.apb-env-label {
  font-size: .7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .6rem;
}

.apb-env-label.muted {
  color: #9ca3af;
}

.apb-env-label.primary {
  color: var(--primary);
}

.apb-env-body p {
  margin: 0;
  line-height: 1.7;
  font-size: .95rem;
}

.apb-env-body>div:last-child {
  margin-top: auto;
}

/* Demo CTA */
.apb-demo-info {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: .5rem 1.25rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 3rem;
}

.apb-demo-info svg {
  width: 16px;
  height: 16px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 1.8;
}

/* FAQ Accordion */
.apb-faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.apb-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
}

.apb-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-sans);
}

.apb-faq-trigger span {
  font-weight: 500;
  color: #111;
  font-size: .95rem;
  padding-right: 1.5rem;
  line-height: 1.5;
}

.apb-faq-trigger svg {
  width: 20px;
  height: 20px;
  stroke: #9ca3af;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform .3s ease;
}

.apb-faq-trigger svg.open {
  transform: rotate(180deg);
}

.apb-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .35s ease;
  opacity: 0;
  border-top: 1px solid #f3f4f6;
}

.apb-faq-body.open {
  max-height: 600px;
  opacity: 1;
}

.apb-faq-body p {
  padding: 1.25rem 1.5rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
  font-size: .95rem;
}

/* Section heading block */
.apb-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 5rem;
}

.apb-env-section h2 {
  color: #000 !important;

}

.apb-section-header h2 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: #000;
  margin-bottom: 1.25rem;
}

.apb-section-header p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray);
  margin: 0;
}

.apb-dark-header h2 {
  color: #fff;
}

.apb-dark-header p {
  color: rgba(255, 255, 255, .55);
}

/* CTA button */
.apb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1.1rem 2.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
	text-transform:uppercase;
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
}

.apb-btn-primary:hover {
  background: var(--red);
  color: #fff;
}

.apb-btn-primary svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.apb-btn-primary-lg {
  font-size: 1.1rem;
  padding: 1.25rem 3rem;
  box-shadow: 0 0 40px rgba(24, 140, 159, .3);
}

/* Dark section text */
.apb-section-dark h2,
.apb-section-dark h3 {
  color: #fff;
}

/* Responsive ï¿½ Appointment Booking */
@media (max-width: 1024px) {
  .apb-split {
    grid-template-columns: 1fr;
  }

  .apb-img-wrap {
    height: 420px;
    order: 2;
  }

  .apb-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .apb-env-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .apb-compare {
    flex-direction: column;
  }

  .apb-compare-divider {
    width: 100%;
    height: 1px;
  }

  .apb-cards-3 {
    grid-template-columns: 1fr;
  }

  .apb-mini-cards {
    grid-template-columns: 1fr;
  }

  .apb-steps-grid {
    grid-template-columns: 1fr;
  }
}


/* -- Appointment Booking ï¿½ additional class-based styles (no inline styles) */



.apb-compare-list-flex {
  flex: 1;
}

.apb-compare-text {
  color: var(--gray);
  font-size: 16px;
}

.apb-compare-text-dark {
  color: #111;
  font-weight: 500;
  font-size: 16px;
}

/* Split section heading + description */
.apb-split-title {
  font-family: var(--font-display);
  color: #111;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.apb-split-desc {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.apb-mini-cards-spaced {
  margin-bottom: 2rem;
}

/* Highlight box text */
.apb-highlight-lead {
  color: var(--gray);
  font-size: 1.05rem;
}

.apb-highlight-strong {
  font-weight: 500;
  color: #111;
}

/* Radial gradient overlays (dark sections) */
.apb-radial-center,
.apb-radial-bottom {
  position: relative;
  overflow: hidden;
}

.apb-radial-bg,
.apb-radial-bg-bottom {
  position: absolute;
  inset: 0;
  pointer-events: none;
}


.apb-container-rel {
  position: relative;
  z-index: 1;
}

.apb-container-narrow {
  max-width: 1000px;
  margin: 0 auto;
}

/* Demo CTA typography */
.apb-cta-center {
  text-align: center;
}

.apb-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.25rem;
}

.apb-cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .65);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* Environment card text */
.apb-env-text-muted {
  color: var(--gray);
}

.apb-env-text-strong {
  color: #111;
  font-weight: 500;
}




/* ===== DARK VIEW ANIMATIONS & STATES ===== */
@keyframes dark-breathing {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(24, 140, 159, 0.1);
  }

  50% {
    box-shadow: 0 0 40px rgba(24, 140, 159, 0.3);
  }
}

.apb-section.dark-view {
  background-color: var(--darker) !important;
  color: #fff !important;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 5;
  animation: dark-breathing 5s infinite ease-in-out;
}

.apb-section.dark-view h2,
.apb-section.dark-view h3,
.apb-section.dark-view .apb-split-title,
.apb-section.dark-view .apb-card-title,
.apb-section.dark-view .apb-env-text-strong {
  color: #fff !important;
}

.apb-section.dark-view p,
.apb-section.dark-view .apb-split-desc,
.apb-section.dark-view .apb-card-text,
.apb-section.dark-view .apb-env-text-muted,
.apb-section.dark-view .apb-faq-body p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.apb-section.dark-view .apb-card,
.apb-section.dark-view .apb-step,
.apb-section.dark-view .apb-env-card,
.apb-section.dark-view .apb-reality-mini-card {
  background: var(--card) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.apb-section.dark-view .apb-compare {
  background: var(--card) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.apb-section.dark-view .apb-compare-side h3 {
  color: #fff !important;
}

.apb-section.dark-view .apb-compare-text-dark {
  color: #eee !important;
}

.apb-section.dark-view .apb-btn-primary {
  box-shadow: 0 0 15px var(--primary);
}

.apb-section.dark-view .apb-faq-item {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.apb-section.dark-view .apb-faq-trigger {
  color: #fff !important;
}

.apb-section.dark-view .apb-faq-trigger svg {
  stroke: #fff !important;
}

/* Individual Section Adjustments in Dark View */
.apb-demand-section.dark-view .apb-floating-visual::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(24, 140, 159, 0.2) 0%, transparent 70%);
  z-index: -1;
}

.apb-legacy-section.dark-view {
  background: linear-gradient(135deg, var(--darker) 0%, #082d33 100%) !important;
}

.apb-reality-section.dark-view .apb-highlight-inner {
  background: rgba(17, 54, 60, 0.8) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* -----------------------------------------------------------------------
   CUSTOMER EXPERIENCE PLATFORM (CXP) STYLES
   ----------------------------------------------------------------------- */

.cxp-section {
  padding: 8rem 0;
  position: relative;
}

.cxp-section-gray {
  background: #f8fafc;
}

.cxp-section-darker {
  background: var(--darker);
  color: #fff;
  overflow: hidden;
}

.cxp-section-header {
  max-width: 800px;
  text-align: center;
  margin: 0 auto 5rem;
}

.cxp-section-header.text-center {
  text-align: center;
}

.cxp-section-header h2 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: #000;
  margin-bottom: 1.5rem;
}

.cxp-section-darker .cxp-section-header h2 {
  color: #fff;
}

.cxp-section-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  font-weight: 300;
}

section.cxp-section.cxp-section-gray.cxp-comparison-section {
  padding: 8rem 0;
  background: var(--darker);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Intro Section */
.cxp-intro-content {
  margin: 0 auto;
  text-align: left;
}

.cxp-intro-lead {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.6;
  color: #334155;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.cxp-intro-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #64748b;
  margin-bottom: 3rem;
}

.cxp-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.cxp-intro-badge svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* Split Layouts for CXP */
.cxp-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.cxp-split-reverse {
  direction: ltr;
}

.cxp-split-reverse>div:first-child {
  order: 2;
}

.cxp-split-title {
  font-family: var(--font-display);

  color: #111;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.cxp-split-desc {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.cxp-img-wrap-reality {
  position: relative;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.cxp-rounded-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.cxp-img-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(5, 27, 31, 0.4));
}

.cxp-img-badge-dark {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #fff;
}

.cxp-badge-icon-teal {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cxp-badge-icon-teal svg {
  width: 24px;
  height: 24px;
}

.cxp-badge-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.cxp-badge-sub {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Reality Mini Grid */
.cxp-reality-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.cxp-reality-mini-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  padding: 2rem 1rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.cxp-reality-mini-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.cxp-mini-icon {
  width: 40px;
  height: 40px;
  background: rgba(24, 140, 159, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary);
}

.cxp-reality-mini-card span {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.4;
}

/* Highlight Box */
.cxp-highlight-container {
  margin-top: 5rem;
}

.cxp-highlight-inner {
  background: #fff;
  border-radius: 2rem;
  padding: 4rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
  border-left: 5px solid var(--primary);
}

.cxp-highlight-text {
  flex: 1.2;
}

.cxp-highlight-text p {
  font-size: 1.35rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 2rem;
}

.cxp-highlight-text p:last-child {
  margin-bottom: 0;
}

.cxp-highlight-text p strong {
  color: #0f172a;
  font-weight: 600;
}

.cxp-control-card {
  flex: 1;
  background: #f8fafc;
  border-radius: 1.5rem;
  padding: 2.5rem;
  border-top: 4px solid var(--primary);
}

.cxp-control-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cxp-control-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.cxp-control-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #64748b;
  text-transform: uppercase;
}

.cxp-control-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
}

/* Comparison Section */
.cxp-compare {
  display: flex;
  background: var(--darker);
  border-radius: 2.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
  margin-bottom: 5rem;
}

.cxp-compare-side {
  flex: 1;
  padding: 5rem 4rem;
  background: rgba(255, 255, 255, 0.02);
}

.cxp-compare-right {
  background: var(--card);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.cxp-compare-heading {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.cxp-compare-heading svg {
  width: 32px;
  height: 32px;
  color: #94a3b8;
}

.cxp-compare-right .cxp-compare-heading svg {
  color: var(--primary);
}

.cxp-compare-heading h3 {
  font-size: 22px;
  color: #fff;
  margin: 0;
  font-weight: 500;
}

.cxp-compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cxp-compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.cxp-compare-num {
  width: 1.6rem;
  height: 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.cxp-compare-dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.6rem;
}

.cxp-compare-text-darker {
  color: #fff;
  font-weight: 500;
}

.cxp-reality-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cxp-reality-footer p {
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 400;
  line-height: 1.6;
}

/* Impact Cards */
.cxp-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.cxp-card {
  background: var(--card);
  padding: 3.5rem 2.5rem;
  border-radius: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.cxp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.cxp-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: transparent;
  transition: background 0.3s;
}

.cxp-card:hover .cxp-card-accent {
  background: var(--primary);
}

.cxp-card-icon-wrap {
  margin-bottom: 2rem;
}

.cxp-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cxp-card:hover .cxp-card-icon {
  background: rgba(24, 140, 159, 0.1);
  color: var(--primary);
  border-color: transparent;
}

.cxp-card-icon svg {
  width: 24px;
  height: 24px;
}

.cxp-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #94a3b8;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.cxp-card:hover .cxp-card-tag {
  color: var(--primary);
}

.cxp-card-title {
  font-size: 22px;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cxp-card-text {
  font-size: 16px;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

/* Capabilities Grid */
.cxp-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cxp-cap-card {
  background: #f8fafc;
  padding: 2.5rem;
  border-radius: 2rem;
  border: 1px solid #f1f5f9;
  transition: all 0.4s ease;
}

.cxp-cap-card:hover {
  background: #fff;
  border-color: rgba(24, 140, 159, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.cxp-cap-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(24, 140, 159, 0.08);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.cxp-cap-card:hover .cxp-cap-icon {
  background: var(--primary);
  color: #fff;
}

.cxp-cap-icon svg {
  width: 28px;
  height: 28px;
}

.cxp-cap-title {
  font-size: 1.35rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

.cxp-cap-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* Architecture Section */
.cxp-architecture-section {
  padding: 10rem 0;
  position: relative;
}

.cxp-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(24, 140, 159, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cxp-architecture-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  color: var(--primary);
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  margin-bottom: 2.5rem;
}

.cxp-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

.cxp-gradient-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 5rem;
}

.cxp-gradient-title .gradient-text {
  background: linear-gradient(to right, #188c9f, #48aab5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.cxp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.cxp-benefit-card {
  background: #11363c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 2.5rem;
  display: flex;
  gap: 1.75rem;
  transition: all 0.3s ease;
}

.cxp-benefit-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.cxp-benefit-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(24, 140, 159, 0.1);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  transition: all 0.3s;
}

.cxp-benefit-card:hover .cxp-benefit-icon {
  background: var(--primary);
  color: #fff;
}

.cxp-benefit-icon svg {
  width: 28px;
  height: 28px;
}

.cxp-benefit-title {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.cxp-benefit-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}


/* Industries Grid */
.cxp-industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.cxp-industry-item {
  background: #fff;
  border: 1px solid #f1f5f9;
  padding: 2.5rem 1.5rem;
  border-radius: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.cxp-industry-item:hover {
  background: rgba(24, 140, 159, 0.05);
  border-color: rgba(24, 140, 159, 0.2);
}

.cxp-industry-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  margin: 0 auto 1.5rem;
  transition: all 0.3s;
}

.cxp-industry-item:hover .cxp-industry-icon {
  background: var(--primary);
  color: #fff;
}

.cxp-industry-icon svg {
  width: 24px;
  height: 24px;
}

.cxp-industry-label {
  display: block;
  font-weight: 500;
  color: #1e293b;
  font-size: 1rem;
}

/* CTA Section */
.cxp-cta-section {
  padding: 10rem 0;
  background: var(--darker);
  position: relative;
  overflow: hidden;
}

.cxp-cta-glow {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(24, 140, 159, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cxp-cta-card {
  max-width: 900px;
  margin: 0 auto;
}

.cxp-cta-title {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 2rem;
}

.cxp-cta-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cxp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary);
  color: #fff;
  padding: 1.25rem 3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(24, 140, 159, 0.3);
  transition: all 0.3s;
}

.cxp-btn-primary:hover {
  background: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(24, 140, 159, 0.4);
}

.cxp-btn-primary svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.cxp-btn-primary:hover svg {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .cxp-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cxp-highlight-inner {
    flex-direction: column;
    padding: 3rem;
    gap: 3rem;
  }
}

/* CXP Dark Mode States */
.cxp-section.dark-view {
  background-color: var(--darker) !important;
  color: #fff !important;
}

.cxp-section.dark-view h2,
.cxp-section.dark-view h3,
.cxp-section.dark-view .cxp-split-title,
.cxp-section.dark-view .cxp-card-title,
.cxp-section.dark-view .cxp-cap-title {
  color: #fff !important;
}

.cxp-section.dark-view p,
.cxp-section.dark-view .cxp-split-desc,
.cxp-section.dark-view .cxp-card-text,
.cxp-section.dark-view .cxp-cap-desc {
  color: rgba(255, 255, 255, 0.7) !important;
}

.cxp-section.dark-view .cxp-card,
.cxp-section.dark-view .cxp-cap-card,
.cxp-section.dark-view .cxp-reality-mini-card,
.cxp-section.dark-view .cxp-compare,
.cxp-section.dark-view .cxp-highlight-inner {
  background: var(--card) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

.cxp-section.dark-view .cxp-compare-right,
.cxp-section.dark-view .cxp-control-card {
  background: rgba(255, 255, 255, 0.03) !important;
}

.cxp-section.dark-view .cxp-intro-badge {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--primary);
}

.cxp-section.dark-view .cxp-mini-icon {
  background: rgba(24, 140, 159, 0.2);
}

@media (max-width: 1024px) {
  .cxp-compare {
    flex-direction: column;
  }

  .cxp-compare-right {
    border-left: none;
    border-top: 1px solid #e2e8f0;
  }

  .cxp-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cxp-industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .cxp-cards-3 {
    grid-template-columns: 1fr;
  }

  .cxp-capabilities-grid {
    grid-template-columns: 1fr;
  }

  .cxp-benefits-grid {
    grid-template-columns: 1fr;
  }

  .cxp-industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cxp-compare-side {
    padding: 2.5rem;
  }
}

/* Additional Dark View Support for FAQ Matching */
.apb-faq-section.dark-view .faq-header .faq-title {
  color: #fff !important;
}

.apb-faq-section.dark-view .faq-header .faq-sub {
  color: rgba(255, 255, 255, 0.6) !important;
}

.apb-faq-section.dark-view .faq-item {
  background: var(--card) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.apb-faq-section.dark-view .faq-question {
  background: transparent !important;
  color: #fff !important;
}

.apb-faq-section.dark-view .faq-q-text {
  color: #fff !important;
}

.apb-faq-section.dark-view .faq-icon {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.apb-faq-section.dark-view .faq-answer-text {
  color: rgba(255, 255, 255, 0.7) !important;
}

.apb-faq-section.dark-view .faq-item:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}



/* --- What Drives Centered Section Styles --- */
.what-drives-section-v3 {
  background: #051b1f;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.bg-drives-marezi {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(10rem, 30vw, 40rem);
  color: rgba(24, 140, 159, 0.05);
  pointer-events: none;
  z-index: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.1s ease-out, transform 0.1s ease-out;
}

.drives-centered-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.drives-main-title {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.drives-text-wrap p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.drives-highlight-box {
  border-left: 3px solid var(--primary);
  padding-left: 2rem;
  margin: 3rem 0;
}

.drives-highlight-box p {
  font-size: 16px;
  font-weight: 400;
  color: #05728a !important;
  line-height: 1.4;
  margin-bottom: 0;
}

.reveal-word {
  transition: color 0.4s ease, opacity 0.4s ease;
  color: rgba(255, 255, 255, 0.2);
}

.reveal-word.revealed {
  color: #fff;
  opacity: 1;
}

/* --- CX Journey v2 Section Styles --- */
.cx-journey-section-v2 {
  background: #051b1f;
  color: #fff;
  padding: 10rem 0;
  text-align: center;
}

.cx-journey-v2-header {
  margin-bottom: 6rem;
}

.cx-v2-main-title {
  font-family: var(--font-display);

  margin-bottom: 2rem;
  line-height: 1.1;
  color: #fff !important;
}

.cx-v2-desc {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.cx-v2-group {
  margin-bottom: 8rem;
}

.cx-v2-group.reveal.reveal-delay-1.visible {
  margin-bottom: 0px !important;
}

.cx-v2-group-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4rem;
  text-transform: none;
  color: #fff !important;
  letter-spacing: 0.05em;
}

.cx-v2-group-title span {
  position: relative;
  display: inline-block;
  padding-bottom: 0.6rem;
}

.cx-v2-group-title span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #fff;
}

.cx-v2-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1.5rem;
}

.cx-v2-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 4rem 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cx-v2-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  background: rgba(24, 140, 159, 0.05);
  box-shadow: 0 20px 50px rgba(24, 140, 159, 0.15);
}

.cx-v2-card-num {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border: 1px solid rgba(24, 140, 159, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 0, 0, 0.2);
}

.cx-v2-card-icon {
  width: 44px;
  height: 44px;
  color: var(--primary);
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cx-v2-card-icon svg {
  width: 100%;
  height: 100%;
}

.cx-v2-card-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 1.25rem;
  color: #fff !important;
}

.cx-v2-card-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.cx-v2-arrow {
  width: 32px;
  color: var(--primary);
  opacity: 0.4;
  display: flex;
  align-items: center;
}

.cx-v2-arrow svg {
  width: 100%;
}

.cx-v2-result-wrap {
  margin-top: 2rem;
}

.cx-v2-result-box {
  display: inline-block;
  background: rgba(24, 140, 159, 0.08);
  border: 1px solid rgba(24, 140, 159, 0.2);
  padding: 1.25rem 3.5rem;
  border-radius: 999px;
  color: var(--primary);
}

.cx-v2-result-box p {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.cx-v2-result-box strong {
  font-weight: 600;
  text-transform: none;
}

@media (max-width: 991px) {
  .cx-journey-section-v2 {
    padding: 6rem 0;
  }

  .cx-v2-grid {
    flex-direction: column;
    gap: 2.5rem;
  }

  .cx-v2-arrow {
    transform: rotate(90deg);
  }

  .cx-v2-group {
    margin-bottom: 5rem;
  }

  .cx-v2-card {
    width: 100%;
    max-width: 400px;
  }
}

/* --- Visibility for Managers Section --- */
.visibility-section {
  background: #051b1f;
  color: #fff;
  padding: 0rem 0 8rem;
  overflow: hidden;
}

.visibility-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.visibility-title {
  font-family: var(--font-display);

  margin-bottom: 1.5rem;
  color: #fff !important;
}

.visibility-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  margin-bottom: 2rem;
  text-transform: none;
  letter-spacing: 0.05em;
}

.visibility-leaders-gain {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

.visibility-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.visibility-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  padding: 3.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.visibility-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.vis-card-head {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
}

.vis-icon-wrap {
  width: 54px;
  height: 54px;
  background: rgba(24, 140, 159, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.vis-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.vis-title-group h4 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 1.25rem;
  color: #fff !important;
}

.vis-title-group p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  line-height: 1.6;
}

.vis-chart-container {
  height: 140px;
  display: flex;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
}

.vis-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  height: 100%;
  width: 100%;
}

.vis-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px 6px 0 0;
  transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Resource Allocation card specific */
.card-medium {
  display: flex;
  flex-direction: column;
}

.card-medium h4 {
  font-size: 22px;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  color: #fff !important;
}

.card-medium p {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 3.5rem;
}

.vis-progress-ring-wrap {
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding-bottom: 1rem;
}

.vis-progress-ring {
  position: relative;
  width: 140px;
  height: 140px;
}

.vis-progress-ring svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 3.5;
}

.ring-fill {
  fill: none;
  stroke: #ff7e33;
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dasharray 2s ease-out;
}

.vis-ring-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.vis-ring-percent {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.vis-ring-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.2rem;
}

/* Full width card */
.card-full {
  grid-column: span 2;
  padding: 3.5rem;
}

.vis-card-flex {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.vis-icon-wrap.icon-large {
  width: 70px;
  height: 70px;
  background: rgba(24, 140, 159, 0.2);
  box-shadow: 0 0 30px rgba(24, 140, 159, 0.15);
}

.vis-text-content h4 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #fff !important;
}

.vis-text-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  max-width: 850px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .visibility-section {
    padding: 6rem 0;
  }

  .visibility-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .card-full {
    grid-column: span 1;
  }

  .vis-card-head,
  .vis-card-flex {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    align-items: center;
  }

  .vis-text-content p {
    margin: 0 auto;
  }
}

/* --- Environments Control Section --- */
.environments-control-section {
  padding: 10rem 0;
}

.env-control-title {
  font-size: 3rem !important;
  text-align: center;
  line-height: 1.1 !important;
  margin-bottom: 2rem;
  color: #111 !important;
}

.env-control-desc {
  text-align: center;
  font-size: 1.15rem;
  color: var(--gray);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.env-control-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 5rem auto 0;
}

.env-control-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.env-control-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: var(--primary);
}

.env-card-header {
  background: var(--primary);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #fff;
}

.env-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.env-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.env-card-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff !important;
}

.env-card-body {
  padding: 3.5rem 2.5rem;
  flex: 1;
}

.env-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.env-card-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 2.5rem;
}

.env-card-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .env-control-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    padding: 0 1.5rem;
  }
}

.cx-design h2 {
  color: #fff !important;
}

/* --- Environments Section --- */
.apb-env-section {
  padding: 120px 0;
  background-color: transparent;
}

.apb-env-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 5rem;
}

.apb-env-card {
  background: #fff;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apb-env-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.env-card-top {
  padding: 2rem;
  background: #188c9f;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.env-icon-circle {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #188c9f;
  flex-shrink: 0;
}

.env-icon-circle svg {
  width: 20px;
  height: 20px;
}

.env-card-top h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  color: #fff !important;
}

.env-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.env-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 0.75rem;
}

.env-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

@media (max-width: 768px) {
  .apb-env-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PREMIUM SHARED COMPONENTS ===== */

/* CTA Box */
.apb-cta-box {
  background: linear-gradient(135deg, rgb(41 113 125) 0%, rgb(8 34 40) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.apb-cta-box>div {
  position: relative;
  z-index: 2;
}

.apb-cta-title {
  margin-bottom: 2rem;
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 500;
}

.apb-cta-desc {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 18px;
  line-height: 1.6;
}

.apb-demo-info {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  margin-bottom: 3.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.apb-demo-info svg {
  width: 18px;
  stroke: currentColor;
}

/* Industry Cards */
.apb-industry-grid {
  margin-top: 5rem;
  margin-bottom: 7rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1200px) {
  .apb-industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .apb-industry-grid {
    grid-template-columns: 1fr;
  }
}

.apb-industry-card {
  background: #0A2A30;
  padding: 3.5rem 2.5rem;
  border-radius: 2rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.apb-industry-card:hover {
  transform: translateY(-10px);
  border-color: rgba(79, 214, 232, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.apb-industry-card .industry-watermark {
  position: absolute;
  right: -20px;
  bottom: -20px;
  opacity: 0.05;
  color: #fff;
  transform: rotate(-15deg);
  transition: all 0.6s ease;
}

.apb-industry-card:hover .industry-watermark {
  opacity: 0.08;
  transform: rotate(-10deg) scale(1.1);
}

.apb-industry-card h4 {
  color: #fff !important;
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  font-weight: 500;
  font-family: var(--font-display);
}

.apb-industry-card p {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* --- Refined Light-Mode Box Layout for Industry Cards --- */
.apb-industry-box {
  background: #ffffff;
  border-radius: 2.5rem;
  /* Smoother, larger radius */
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #eef2f3;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.apb-industry-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border-color: rgba(24, 140, 159, 0.2);
}

.apb-industry-box .box-header {
  padding: 2rem;
  background: #188c9f;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.apb-industry-box .box-icon-circle {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.apb-industry-box .box-icon-circle svg {
  width: 24px;
  height: 24px;
}

.apb-industry-box h4 {
  margin: 0 !important;
  color: #ffffff !important;
  /* Dark text for header */
  font-size: 22PX !important;
  font-family: var(--font-display);
  font-weight: 500;
}

.apb-industry-box .box-body {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.apb-industry-box .apb-card-label-mini {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #48aab5;
  /* Teal label color */
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.apb-industry-box .apb-card-desc-mini {
  color: #52616b !important;
  /* Professional grey text */
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .apb-industry-box {
    border-radius: 30px;
  }

  .apb-industry-box .box-header {
    padding: 1.5rem 2rem;
  }

  .apb-industry-box .box-body {
    padding: 2rem;
  }
}

.apb-cta-box {
  padding: 4rem 2rem;
  border-radius: 30px;
}

/* --- Digital Signage Page Styles --- */
.digital-signage-intro .apb-split-desc.italic-serif {
  margin-bottom: 2.5rem;
  color: var(--primary);
  font-weight: 500;
}

.apb-section.signage-grid-section {
  position: relative;
  overflow: hidden;
}

.reality-bg-effects {
  opacity: 0.4;
}

.signage-container-rel {
  position: relative;
  z-index: 2;
}

.signage-subtitle-p {
  margin-top: 1rem;
  color: #666;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
}

.apb-benefit-grid {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.apb-benefit-card {
  background: var(--primary);
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(24, 140, 159, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.apb-benefit-check {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.apb-benefit-check svg {
  width: 20px;
}

.apb-benefit-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}

.apb-signage-footer-text {
  max-width: 850px;
  margin: 5rem auto 0;
  color: #666;
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 400;
  opacity: 0.9;
}

/* ===== ADVANCED D3 AFRICA MAP ===== */
.africa-map-section-container {
  width: 100%;
  max-width: 500px;
  margin: 6.5rem auto 0;
  background: transparent;
  position: relative;
}

#map-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

#map {
  background: transparent;
  display: block;
  overflow: visible;
}

.country {
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 0.7;
  stroke-linejoin: round;
  transition: all 0.3s ease;
}

.country.inactive {
  fill: rgba(0, 0, 0, 0.1);
}

.country.active {
  fill: var(--primary);
  /* Integrated Theme Color */
  cursor: pointer;
}

.country.active:hover {
  fill: #068aa6;
  filter: brightness(1.1);
}

@keyframes dotPulse {

  0%,
  100% {
    r: 8;
    opacity: 0.3;
  }

  50% {
    r: 14;
    opacity: 0.6;
  }
}

.dot-pulse {
  fill: #ee434a;
  animation: dotPulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

.dot-inner {
  fill: #ee434a;
  cursor: pointer;
  transition: r 0.2s ease;
}

.marker-group {
  cursor: pointer;
}

.marker-group:hover .dot-inner {
  fill: #ffffff;
  r: 6;
}

.map-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  fill: #ffffff;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  opacity: 0.9;
}

/* Redesigned Popup (Tooltip) */
#popup {
  position: absolute;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 10px 14px;
  width: auto;
  min-width: 160px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  display: none;
  z-index: 100;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: opacity 0.3s ease;
}

#popup.show {
  display: block;
}

.popup-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup-flag {
  display: flex;
  border-radius: 2px;
  overflow: hidden;
  height: 12px;
  width: 24px;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#popup h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}

#psub,
#pdesc {
  display: none;
}

/* Featured Card Correction */
.reality-feature-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  @keyframes maraPatternScroll {
    from {
      background-position: 0 0;
    }

    to {
      background-position: 400px 400px;
    }

    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    animation: maraPatternScroll 60s linear infinite;
  }

  @keyframes maraPatternScroll {
    from {
      background-position: 0 0;
    }

    to {
      background-position: 400px 400px;
    }
  }

  /* ====================================================================
   RESPONSIVE — Wide Screen / Laptop / Tablet
   ==================================================================== */

  /* ---- Hero logos responsive ---- */
  @media (max-width: 768px) {
    .hero-logo-item img {
      height: 28px;
    }

    .hero-logos-track {
      gap: 2rem;
    }
  }

  /* ---- Zoom / Marezi text section ---- */
  @media (min-width: 1600px) {
    .zoom-section {
      height: 60vh;
    }

    .zoom-sticky {
      height: 60vh;
    }

    .bg-marezi {
      font-size: 200px;
    }
  }

  @media (max-width: 1024px) {
    .zoom-section {
      height: 45vh;
    }

    .zoom-sticky {
      height: 45vh;
    }

    .bg-marezi {
      font-size: 16vw;
    }

    .cx-headline {
      font-size: clamp(2rem, 4.5vw, 3.2rem);
    }
  }

  @media (max-width: 768px) {
    .zoom-section {
      height: 40vh;
    }

    .zoom-sticky {
      height: 40vh;
    }

    .bg-marezi {
      font-size: 20vw;
    }

    .cx-headline {
      font-size: 2rem;
    }

    .cx-quote-icon svg {
      width: 72px;
      height: 72px;
    }
  }

  /* ---- Why Choose / Fan section responsive ---- */
  .fan-section {
    min-height: 640px;
  }

  /* Wide screen: more breathing room */
  @media (min-width: 1600px) {
    .fan-title {
      font-size: 3.6rem;
    }

    .fan-sub {
      font-size: 20px;
      max-width: 700px;
    }

    .fan-system {
      max-width: 980px;
      height: 520px;
    }
  }

  /* Laptop 1024–1400px: comfortable fit */
  @media (max-width: 1400px) {
    .fan-system {
      max-width: 820px;
    }
  }

  /* Tablet 768–1024px: scale the fan diagram down, keep layout intact */
  @media (max-width: 1024px) {
    .fan-title {
      font-size: 2.4rem;
    }

    .fan-sub {
      font-size: 16px;
    }

    .fan-section {
      padding: 3rem 0 0;
    }

    #fanSystem {
      transform: scale(0.78);
      transform-origin: center top;
      /* compensate height so section doesn't leave empty gap */
      margin-bottom: -100px;
    }

    .fan-base-arc {
      width: 420px;
      height: 240px;
    }
  }

  /* Mobile ≤ 768px: scale down further */
  @media (max-width: 768px) {
    .fan-title {
      font-size: 1.9rem;
      margin-bottom: 30px;
    }

    .fan-sub {
      font-size: 14px;
      margin-bottom: 0;
    }

    .fan-section {
      padding: 2.5rem 0 0;
    }

    #fanSystem {
      transform: scale(0.58);
      transform-origin: center top;
      margin-bottom: -190px;
    }

    .fan-base-arc {
      width: 340px;
      height: 200px;
      padding: 0 60px 10px;
    }

    .dome-label {
      font-size: 13px;
    }
  }

  /* Small mobile ≤ 480px */
  @media (max-width: 480px) {
    #fanSystem {
      transform: scale(0.45);
      transform-origin: center top;
      margin-bottom: -250px;
    }

    .fan-title {
      font-size: 1.6rem;
    }
  }

  /* ---- Fan river overlay on tablet ---- */
  @media (max-width: 768px) {
    .fan-river-overlay {
      height: 80px;
    }
  }

  /* ---- General container/padding fixes ---- */
  @media (max-width: 1024px) {
    .fan-header {
      padding: 0 1.5rem;
    }
  }

  @media (max-width: 768px) {
    .fan-header {
      padding: 0 1rem;
    }
  }

/* ============================================================
   SINGLE POST PAGE — REDESIGNED HERO BANNER + CONTENT LAYOUT
   ============================================================ */

/* ---- Hero Banner ---- */
.single-post-hero {
  position: relative;
  width: 100%;
  min-height: 72vh;
  padding-top: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--darker);
  z-index: 5;
}

.sph-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sph-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.8);
  transform: scale(1.04);
  animation: slowZoomBanner 14s ease-out forwards;
}

.sph-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(5,27,31,0.97) 0%, rgba(5,114,138,0.28) 55%, rgba(5,27,31,0.6) 100%);
}

.sph-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--darker) 0%, transparent 55%);
}

.sph-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

/* Category Pill */
.sph-category {
  display: inline-flex;
  margin-bottom: 1.2rem;
}

.sph-category a {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35em 1em;
  border-radius: 100px;
  transition: background 0.25s;
}

.sph-category a:hover {
  background: #3ab0bf;
}

/* Title */
.sph-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.6rem;
  max-width: 680px;
}

/* Meta Row */
.sph-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.sph-author {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  transition: color 0.2s;
}

.sph-author:hover {
  color: var(--primary);
}

.sph-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(72,197,212,0.5);
}

.sph-meta-sep {
  color: rgba(255,255,255,0.3);
  font-size: 1.1em;
}

.sph-date {
  color: rgba(255,255,255,0.6);
}

.sph-read-time {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.55);
}

.sph-read-time svg {
  stroke: var(--primary);
  flex-shrink: 0;
}

/* Right: Featured Image Card */
.sph-image-card {
  position: relative;
}

.sph-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(72,197,212,0.18), 0 32px 64px rgba(0,0,0,0.55), 0 0 80px rgba(5,114,138,0.18);
  transform: translateY(-8px);
  transition: transform 0.5s ease;
}

.sph-image-frame:hover {
  transform: translateY(-14px);
}

.sph-image-frame img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.sph-image-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #48c5d4, transparent);
}

/* ---- POST BODY ---- */
.single-post-body {
  background: var(--darker);
  padding: 4rem 0 6rem;
}

.spb-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

/* ---- Article Prose ---- */
.spb-content {
  min-width: 0;
}

.spb-featured-img-fallback {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.spb-featured-img-fallback img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.spb-prose {
  color: rgba(255,255,255,0.82);
  font-family: var(--font-sans);
  font-size: 1.08rem;
  line-height: 1.85;
}

.spb-prose h2,
.spb-prose h3,
.spb-prose h4 {
  color: #fff;
  margin: 2.4rem 0 1rem;
  font-family: var(--font-display);
}

.spb-prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.spb-prose h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
.spb-prose h4 { font-size: 1.15rem; }

.spb-prose p {
  margin-bottom: 1.5rem;
}

.spb-prose a {
  color: #48c5d4;
  border-bottom: 1px solid rgba(72,197,212,0.35);
  transition: color 0.2s, border-color 0.2s;
}

.spb-prose a:hover {
  color: #fff;
  border-color: #fff;
}

.spb-prose ul,
.spb-prose ol {
  margin: 1.2rem 0 1.8rem 1.5rem;
}

.spb-prose li {
  margin-bottom: 0.5rem;
}

.spb-prose blockquote {
  border-left: 3px solid var(--primary);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: rgba(5,114,138,0.08);
  border-radius: 0 8px 8px 0;
  color: rgba(255,255,255,0.75);
  font-style: italic;
}

.spb-prose img {
  border-radius: 10px;
  margin: 2rem 0;
  max-width: 100%;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.spb-prose code {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 0.15em 0.45em;
  font-size: 0.9em;
  color: #48c5d4;
}

.spb-prose pre {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}

/* Tags */
.spb-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.spb-tags-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 0.25rem;
}

.spb-tag {
  display: inline-block;
  background: rgba(5,114,138,0.15);
  border: 1px solid rgba(72,197,212,0.2);
  color: #48c5d4;
  font-size: 0.82rem;
  padding: 0.3em 0.85em;
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s;
}

.spb-tag:hover {
  background: rgba(5,114,138,0.3);
  border-color: #48c5d4;
}

/* Author Card */
.spb-author-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.8rem;
  margin-top: 2.5rem;
}

.spb-ac-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(72,197,212,0.4);
  flex-shrink: 0;
}

.spb-ac-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.spb-ac-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.spb-ac-name:hover { color: var(--primary); }

.spb-ac-bio {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Post Navigation */
.spb-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.spb-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.spb-nav-item:hover {
  background: rgba(5,114,138,0.12);
  border-color: rgba(72,197,212,0.3);
  transform: translateY(-2px);
}

.spb-nav-next { text-align: right; }

.spb-nav-dir {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.spb-nav-next .spb-nav-dir { justify-content: flex-end; }

.spb-nav-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Comments */
.spb-comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}

/* ---- Sidebar ---- */
.spb-sidebar {
  position: sticky;
  top: 100px;
}

.sps-widget {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sps-widget-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(72,197,212,0.15);
}

/* Reading Meta */
.sps-info-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sps-info-row:last-child { border-bottom: none; }

.sps-info-row svg { color: var(--primary); flex-shrink: 0; }

.sps-info-row a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.sps-info-row a:hover { color: var(--primary); }

/* Share Buttons */
.sps-share-btns {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sps-share-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  text-decoration: none;
}

.sps-share-btn:hover { transform: translateX(3px); opacity: 0.85; }

.sps-share-x {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}

.sps-share-li {
  background: #0a66c2;
  color: #fff;
}

.sps-share-copy {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

/* Related Posts */
.sps-related-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sps-related-item {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.6rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.sps-related-item:hover { background: rgba(255,255,255,0.05); }

.sps-ri-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.sps-ri-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sps-ri-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.sps-ri-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.sps-related-item:hover .sps-ri-title { color: var(--primary); }

.sps-ri-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   SINGLE POST RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .sph-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sph-image-card { display: none; }

  .spb-container {
    grid-template-columns: 1fr;
  }

  .spb-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .sps-widget { margin-bottom: 0; }
}

@media (max-width: 768px) {
  .single-post-hero {
    min-height: 60vh;
    padding-top: 70px;
  }

  .sph-container {
    padding-bottom: 6rem;
  }

  .sph-title {
    font-size: clamp(1.7rem, 6vw, 2.4rem);
  }

  .spb-post-nav {
    grid-template-columns: 1fr;
  }

  .spb-sidebar {
    grid-template-columns: 1fr;
  }

  .spb-author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ===== Contact Form 7 - Footer Form Styling ===== */

/* Overall form layout */
.contact-form-card .wpcf7-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
}

/* 2-column grid row */
.contact-form-card .wpcf7-form .cf7-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.25rem !important;
}

/* Span wrappers fill full width */
.contact-form-card .wpcf7-form .cf7-row span,
.contact-form-card .wpcf7-form > span,
.contact-form-card .wpcf7-form .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
}

/* p tags inside cf7 footer form should be visible (override global hide) */
.contact-form-card .wpcf7-form p,
.contact-form-card .wpcf7-form br {
  display: block !important;
}
.contact-form-card .wpcf7-form br {
  display: none !important;
}
.contact-form-card .wpcf7-form .cf7-privacy {
  display: block !important;
}

/* Input fields styling */
.contact-form-card .wpcf7-form input[type="text"],
.contact-form-card .wpcf7-form input[type="email"],
.contact-form-card .wpcf7-form input[type="tel"],
.contact-form-card .wpcf7-form textarea {
  width: 100% !important;
  background: rgba(5, 114, 138, 0.03) !important;
  border: 1px solid #eef2f6 !important;
  border-radius: 12px !important;
  padding: 1.1rem 1.25rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
  color: #111 !important;
  transition: all 0.3s ease !important;
  outline: none !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.contact-form-card .wpcf7-form input[type="text"]:focus,
.contact-form-card .wpcf7-form input[type="email"]:focus,
.contact-form-card .wpcf7-form input[type="tel"]:focus,
.contact-form-card .wpcf7-form textarea:focus {
  background: #fff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 10px 20px rgba(24, 140, 159, 0.08) !important;
}

/* Textarea */
.contact-form-card .wpcf7-form textarea {
  resize: none !important;
  min-height: 140px !important;
}

/* Submit button */
.contact-form-card .wpcf7-form input[type="submit"],
.contact-form-card .wpcf7-form .wpcf7-submit {
  width: 100% !important;
  background: #05728a !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  padding: 1.25rem !important;
  border-radius: 100px !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  display: block !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
  margin-top: 0.5rem !important;
  box-shadow: none !important;
}

.contact-form-card .wpcf7-form input[type="submit"]:hover,
.contact-form-card .wpcf7-form .wpcf7-submit:hover {
  background: var(--red, #ee434a) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Privacy note */
.contact-form-card .wpcf7-form .cf7-privacy {
  font-size: 0.75rem !important;
  color: #94a3b8 !important;
  text-align: center !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
}

/* Validation error */
.contact-form-card .wpcf7-not-valid-tip {
  font-size: 0.75rem !important;
  color: #e53935 !important;
  margin-top: 0.25rem !important;
  display: block !important;
}

/* Response message */
.contact-form-card .wpcf7-response-output {
  border-radius: 12px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.85rem !important;
  margin-top: 1rem !important;
}

/* Mobile - single column */
@media (max-width: 640px) {
  .contact-form-card .wpcf7-form .cf7-row {
    grid-template-columns: 1fr !important;
  }
}

/* If CF7 autop wraps cf7-row children in <p>, make p transparent to grid */
.contact-form-card .wpcf7-form .cf7-row > p {
  display: contents !important;
}

/* ===== End CF7 Footer Form ===== */

/* ===== Contact Page White Form Card - Single Column Layout ===== */
.white-form-card .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.white-form-card .wpcf7-form .cf7-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.white-form-card .wpcf7-form .cf7-row span,
.white-form-card .wpcf7-form > span {
  display: block;
  width: 100%;
}

.white-form-card .wpcf7-form input[type="text"],
.white-form-card .wpcf7-form input[type="email"],
.white-form-card .wpcf7-form input[type="tel"],
.white-form-card .wpcf7-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #c8d0d8;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #333;
  transition: border-color 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.white-form-card .wpcf7-form input[type="text"]:focus,
.white-form-card .wpcf7-form input[type="email"]:focus,
.white-form-card .wpcf7-form input[type="tel"]:focus,
.white-form-card .wpcf7-form textarea:focus {
  border-color: var(--primary);
  box-shadow: none;
}

.white-form-card .wpcf7-form textarea {
  resize: none;
  min-height: 120px;
}

.white-form-card .wpcf7-form input[type="submit"] {
  width: 100%;
  background: #05728a;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 100px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.white-form-card .wpcf7-form input[type="submit"]:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===== CONTACT PAGE — COMPLETE RESPONSIVE ===== */

/* ── Tablet landscape: ≤ 1024px ── */
@media (max-width: 1024px) {
  .contact-resilience {
    padding: 60px 0 40px;
  }

  .motion-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 2.4rem !important;
  }

  .contact-premium-inquiry {
    padding: 80px 0;
  }

  .premium-inquiry-card {
    padding: 60px 30px !important;
  }

  .white-form-card {
    padding: 30px !important;
  }

  .contact-regional {
    padding: 40px 0 60px;
  }

  .regional-locations .locations-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

/* ── Tablet portrait: ≤ 768px ── */
@media (max-width: 768px) {
  /* Hero */
  .contact-hero-refined {
    min-height: 42vh !important;
    padding-top: 70px !important;
  }

  .hero-content-refined h1 {
    font-size: 3rem !important;
  }

  .hero-breadcrumbs {
    font-size: 16px !important;
    font-weight: 500 !important;
    margin-top: 15px !important;
    gap: 10px !important;
  }

  .inner-river-overlay {
    height: 100px !important;
  }

  /* h2 */
  .contact-page-refined h2 {
    font-size: 2.5rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
  }

  /* Resilience section */
  .contact-resilience {
    padding: 50px 0 30px;
  }

  .motion-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }

  .motion-text {
    font-size: 16px !important;
    max-width: 100% !important;
  }

  /* Premium inquiry */
  .contact-premium-inquiry {
    padding: 60px 0;
  }

  .premium-inquiry-card {
    padding: 60px 20px !important;
  }

  .inquiry-card-left .card-title {
    font-size: 2.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 2rem !important;
  }

  /* White form card */
  .white-form-card {
    padding: 20px !important;
    border-radius: 32px !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5) !important;
  }

  /* CF7 checkbox single column */
  .wpcf7-checkbox {
    grid-template-columns: 1fr !important;
  }

  /* Regional section */
  .contact-regional {
    padding: 30px 0 50px;
  }

  .contact-regional p {
    font-size: 16px !important;
    margin: 22px !important;
  }

  .regional-locations .locations-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .contact-regional .loc-card {
    padding: 1.25rem 1rem !important;
  }

  .contact-support-note {
    margin-top: 50px !important;
    padding: 20px !important;
  }
}

/* ── Mobile: ≤ 480px ── */
@media (max-width: 480px) {
  .contact-hero-refined {
    min-height: 38vh !important;
    padding-top: 60px !important;
  }

  .hero-content-refined h1 {
    font-size: 2.5rem !important;
  }

  .inner-river-overlay {
    height: 80px !important;
  }

  .motion-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

  .motion-text {
    font-size: 15px !important;
  }

  .premium-inquiry-card {
    padding: 40px 16px !important;
    border-radius: 20px !important;
  }

  .inquiry-card-left .card-title {
    font-size: 2rem !important;
  }

  .white-form-card {
    padding: 20px 14px !important;
    border-radius: 20px !important;
  }

  .regional-locations .locations-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .contact-regional .loc-flag {
    width: 52px !important;
    height: 52px !important;
  }

  .contact-support-note {
    margin-top: 40px !important;
    padding: 16px !important;
  }
}

/* ===== END CONTACT PAGE — COMPLETE RESPONSIVE ===== */
/* ===== End Contact Page White Form Card ===== */
