/* ==========================================================================
   BUILDNEX.AI — SOLUTION PAGE STYLESHEET
   Dedicated styles for solution.html (no @media queries — handled separately)
   ========================================================================== */

/* --------------------------------------------------
   SECTION 1: HERO
   -------------------------------------------------- */
.sol2-hero {
  position: relative;
  width: 100%;
  min-height: 82vh;
  background: url('../assets/images/bg_solution.webp') center center / cover no-repeat;
  padding: 130px 24px 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.sol2-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-color: #262626;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1;
  opacity: 0.65;
}

.sol2-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1260px;
  margin: 0 auto;
}

.sol2-hero-text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.doc-mgmt-section {
  padding: 40px 24px 60px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  overflow: visible;
  scroll-margin-top: 100px;
}

.doc-mgmt-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.doc-mgmt-text {
  flex: 1;
  max-width: 580px;
}

.doc-mgmt-kicker {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1450db;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
  text-transform: uppercase;
}

.doc-mgmt-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.doc-mgmt-desc {
  font-size: 1.12rem;
  color: #475569;
  line-height: 1.7;
  font-weight: 400;
}

.doc-mgmt-media {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
}

.doc-mgmt-img {
  width: 100%;
  max-width: 540px;
  max-height: 480px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 15px 35px rgba(15, 23, 42, 0.08));
  box-sizing: border-box;
  margin-top: 68px;
}

@media (max-width: 991px) {
  .doc-mgmt-section {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  .doc-mgmt-container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .doc-mgmt-text {
    max-width: 100%;
    margin-top: 40px;
  }

  .doc-mgmt-desc {
    margin: 0 auto;
  }

  .doc-mgmt-media {
    justify-content: center;
  }

  .doc-mgmt-img {
    margin-top: 0;
  }
}

/* ============================================================
   PAPERWORK HASSLES & SMART DOCUMENT MANAGEMENT (MATCHING UI)
   ============================================================ */
.pw-section {
  padding: 25px 24px 60px;
  background: #FFFFFF;
  font-family: 'Inter', sans-serif;
  overflow: visible;
  scroll-margin-top: 100px;
}

.pw-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.pw-row {
  display: flex;
  align-items: center;
  gap: 70px;
}

.pw-row-reverse {
  flex-direction: row-reverse;
}

.pw-text {
  flex: 1;
}

.pw-media {
  flex: 1.1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  box-sizing: border-box;
}

.pw-img {
  width: 100%;
  max-width: 480px;
  max-height: 480px;
  height: auto;
  display: block;
  object-position: center;
  box-sizing: border-box;
}

.pw-row-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #1E293B;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.6px;
}

.pw-blue-accent {
  color: #3B82F6;
}

.pw-row-intro {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 28px;
}

.pw-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pw-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
}

.pw-check-icon {
  color: #3B82F6;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.pw-list strong {
  color: #0F172A;
  font-weight: 700;
}

@media (max-width: 991px) {

  .pw-row,
  .pw-row-reverse {
    flex-direction: column;
    gap: 40px;
  }

  .pw-container {
    gap: 60px;
  }

  .pw-text {
    width: 100%;
  }

  .pw-media {
    width: 100%;
    padding: 16px 0;
  }

  .pw-img {
    max-width: 520px;
  }
}


.sys-comp-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 55px;
}

.sys-comp-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.sys-comp-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.sys-comp-subtitle {
  font-size: 1.1rem;
  color: #64748B;
  line-height: 1.6;
}

.sys-comp-rows {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1280px;
  margin: 0 auto;
}

.sys-row-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid #E2E8F0;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 50px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.sys-row-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.sys-card-existing {
  border-left: 6px solid #EF4444;
}

.sys-card-proposed {
  border-left: 6px solid #10B981;
}

.sys-row-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sys-row-content {
  flex: 1.2;
  display: flex;
  flex-direction: column;
}

.sys-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 16px;
}

.sys-badge-existing {
  background: #FEE2E2;
  color: #991B1B;
}

.sys-badge-proposed {
  background: #D1FAE5;
  color: #065F46;
}

.sys-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
  line-height: 1.25;
}

.sys-card-desc {
  font-size: 1.05rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 24px;
}

.sys-img-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #F1F5F9;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E2E8F0;
}

.sys-img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 8px;
}

.sys-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sys-points-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.55;
}

.sys-icon-negative {
  color: #EF4444;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.sys-icon-positive {
  color: #10B981;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 991px) {
  .sys-row-card {
    flex-direction: column;
    padding: 28px;
    gap: 30px;
  }

  .sys-row-content {
    width: 100%;
  }
}

.sol2-hero-h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.sol2-hero-h1-accent {
  color: #FFFFFF;
}

.sol2-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto 32px;
}

.sol2-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sol2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.sol2-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.5);
}

.sol2-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.sol2-btn-outline:hover {
  border-color: #00E676;
  color: #00E676;
  transform: translateY(-2px);
}

/* Transformation Visual */
.sol2-transform-visual {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}

.sol2-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sol2-panel-header {
  margin-bottom: 18px;
}

.sol2-panel-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 50px;
}

.sol2-tag-legacy {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.sol2-tag-smart {
  background: rgba(0, 230, 118, 0.15);
  color: #00E676;
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.sol2-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sol2-panel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.sol2-panel-traditional .sol2-panel-list li i {
  color: #EF4444;
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.sol2-panel-intelligent .sol2-panel-list li i {
  color: #00E676;
  font-size: 14px;
  width: 18px;
  text-align: center;
}

/* Center Visual */
.sol2-center-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol2-center-img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.sol2-arrow-connector {
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #00E676);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  z-index: 3;
  animation: pulseArrow 2s ease-in-out infinite;
}

@keyframes pulseArrow {

  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }

  50% {
    transform: translateY(-50%) scale(1.15);
  }
}

/* Business Impact Card */
.sol2-impact-card {
  max-width: 400px;
  margin: 0 auto;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sol2-impact-header {
  margin-bottom: 16px;
}

.sol2-impact-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #00E676;
  background: rgba(0, 230, 118, 0.2);
  padding: 5px 14px;
  border-radius: 50px;
}

.sol2-impact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sol2-impact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.sol2-impact-list li strong {
  color: #00E676;
}

.sol2-impact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 230, 118, 0.15);
  color: #00E676;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* --------------------------------------------------
   SECTION 2: OUR SOLUTIONS — 4 PILLAR CARDS
   -------------------------------------------------- */
.sol2-solutions-section {
  padding: 10px 25px;
  background: var(--bg);
}

.sol2-section-header {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 70px;
}

.sol2-section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.sol2-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.sol2-section-sub {
  font-size: 1.05rem;
  color: var(--text3);
  line-height: 1.65;
}

/* Alternating Rows */
.sol2-alternating-rows {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1260px;
  margin: 0 auto;
}

.sol2-alt-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Alternate even rows to be Text Right, Image Left if default is Image Right.
Wait, default is Text Left, Image Right. So even rows will be Image Left, Text Right. */
.sol2-alt-row:nth-child(even) {
  flex-direction: row-reverse;
}

.sol2-alt-text {
  flex: 1;
}

.sol2-alt-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.sol2-alt-desc {
  font-size: 1.05rem;
  color: var(--text3);
  line-height: 1.7;
  margin-bottom: 30px;
}

.sol2-alt-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sol2-alt-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sol2-alt-features i {
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 4px;
}

.sol2-alt-features span {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.6;
}

.sol2-alt-media {
  flex: 1.1;
  display: flex;
  justify-content: center;
}

/* .sol2-alt-img-bg {
  background: #E8FCD0;
  padding: 40px;
  border-radius: 12px;
  width: 100%;
} */

.sol2-alt-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

/* --------------------------------------------------
   SECTION 3: ONE CONNECTED PLATFORM
   -------------------------------------------------- */
.sol2-platform-section {
  padding: 100px 24px;
  background: var(--navy);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.sol2-platform-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.sol2-platform-container {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sol2-platform-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 20px 0 40px;
}

/* Layer Stack Diagram */
.sol2-layer-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sol2-layer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sol2-layer:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.sol2-layer i {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.sol2-layer-5 {
  background: linear-gradient(135deg, #2563EB, #3B82F6);
}

.sol2-layer-4 {
  background: linear-gradient(135deg, #1d4ed8, #2563EB);
}

.sol2-layer-3 {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
}

.sol2-layer-2 {
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
}

.sol2-layer-1 {
  background: linear-gradient(135deg, #172554, #1e3a8a);
}

.sol2-platform-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol2-platform-img {
  width: 100%;
  max-width: 550px;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------
   SECTION 4: HOW IT WORKS
   -------------------------------------------------- */
.sol2-how-section {
  padding: 0px 24px;
  background: var(--bg2);
}

.sol2-how-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.sol2-flow-step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 0 16px;
}

.sol2-flow-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #3B82F6);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
  transition: transform 0.3s ease;
}

.sol2-flow-step:hover .sol2-flow-icon {
  transform: scale(1.1);
}

.sol2-flow-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.sol2-flow-desc {
  font-size: 0.88rem;
  color: var(--text3);
  line-height: 1.6;
}

.sol2-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
  color: var(--blue);
  font-size: 20px;
  opacity: 0.5;
}

/* --------------------------------------------------
   SECTION 5: ENTERPRISE READY
   -------------------------------------------------- */
.sol2-enterprise-section {
  padding: 100px 24px;
  background: var(--bg);
}

.sol2-enterprise-container {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sol2-enterprise-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin: 20px 0 36px;
}

.sol2-enterprise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sol2-enterprise-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sol2-ent-check {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.sol2-enterprise-list li strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.sol2-enterprise-list li p {
  font-size: 0.88rem;
  color: var(--text3);
  line-height: 1.6;
  margin: 0;
}

.sol2-enterprise-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol2-enterprise-img {
  width: 100%;
  max-width: 550px;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

/* --------------------------------------------------
   SECTION 6: CTA STATS BANNER
   -------------------------------------------------- */
.sol2-cta-section {
  padding: 0;
  background: linear-gradient(135deg, #0a3d5c 0%, #0d4f6e 30%, #0F172A 100%);
}

.sol2-cta-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 50px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.sol2-cta-left {
  flex: 1;
  min-width: 260px;
}

.sol2-cta-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 8px;
}

.sol2-cta-subtitle {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.sol2-cta-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.sol2-stat {
  text-align: center;
  min-width: 80px;
}

.sol2-stat-icon {
  font-size: 18px;
  color: #00E676;
  margin-bottom: 6px;
}

.sol2-stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.sol2-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.sol2-cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sol2-cta-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #00E676;
  color: #041E0F;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 230, 118, 0.35);
  white-space: nowrap;
}

.sol2-cta-demo-btn:hover {
  background: #00C853;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 230, 118, 0.5);
}

.sol2-cta-contact-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
  white-space: nowrap;
}

.sol2-cta-contact-link:hover {
  color: #00E676;
}

.sol2-cta-contact-link i {
  margin-left: 4px;
  transition: transform 0.25s ease;
}

.sol2-cta-contact-link:hover i {
  transform: translateX(4px);
}

/* --------------------------------------------------
   DARK MODE SUPPORT
   -------------------------------------------------- */
body.dark-mode .sol2-solutions-section {
  background: #0B1120;
}

body.dark-mode .sol2-section-title {
  color: #F8FAFC;
}

body.dark-mode .sol2-section-sub {
  color: #94A3B8;
}

body.dark-mode .sol2-pillar-card {
  background: #141E34;
  border-color: #334155;
}

body.dark-mode .sol2-pillar-title {
  color: #F8FAFC;
}

body.dark-mode .sol2-pillar-desc {
  color: #94A3B8;
}

body.dark-mode strong,
body.dark-mode b,
body.dark-mode .sol2-feat-row>div strong {
  color: #FFFFFF !important;
}

body.dark-mode .sol2-feat-row>div span {
  color: #94A3B8;
}

body.dark-mode .sol2-feat-row>i {
  background: rgba(37, 99, 235, 0.15);
}

body.dark-mode .sol2-pillar-features {
  border-top-color: #334155;
}

body.dark-mode .sol2-pillar-img-wrap {
  border-color: #334155;
}

body.dark-mode .sol2-pillar-num {
  color: rgba(37, 99, 235, 0.1);
}

body.dark-mode .sol2-platform-section {
  background: #070C1E;
}

body.dark-mode .sol2-how-section {
  background: #0B1120;
}

body.dark-mode .sol2-flow-title {
  color: #F8FAFC;
}

body.dark-mode .sol2-flow-desc {
  color: #94A3B8;
}

body.dark-mode .sol2-enterprise-section {
  background: #0F172A;
}

body.dark-mode .sol2-enterprise-title {
  color: #F8FAFC;
}

body.dark-mode .sol2-enterprise-list li strong {
  color: #F8FAFC;
}

body.dark-mode .sol2-enterprise-list li p {
  color: #94A3B8;
}

body.dark-mode .sol2-ent-check {
  background: rgba(37, 99, 235, 0.15);
}

body.dark-mode .sol2-enterprise-img {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

body.dark-mode .sol2-cta-section {
  background: linear-gradient(135deg, #050a14 0%, #0B1120 100%);
}

/* Scroll Reveal Animation */
.sol2-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.sol2-reveal.sol2-in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animation Delays */
.sol2-delay-1 {
  transition-delay: 0.1s;
}

.sol2-delay-2 {
  transition-delay: 0.2s;
}

.sol2-delay-3 {
  transition-delay: 0.3s;
}

.sol2-delay-4 {
  transition-delay: 0.4s;
}

/* ==========================================================================
   SOLUTIONS & SERVICE PAGES RESPONSIVE OVERRIDES
   ========================================================================== */
/* Ultra-Wide Monitors & 4K Displays (1400px+) */
@media (min-width: 1400px) {

  .doc-mgmt-container,
  .pw-container {
    max-width: 1340px;
  }

  .doc-mgmt-section {
    padding: 17px 32px 10px;
    scroll-margin-top: 100px;
  }

  .pw-section {
    padding: 17px 32px 17px;
    scroll-margin-top: 100px;
  }

  .pw-media {
    padding: 24px 0;
  }

  .pw-img {
    max-width: 500px;
    max-height: 500px;
  }
}

/* Large Desktop Displays (1200px – 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
  .doc-mgmt-section {
    padding: 15px 24px 10px;
    scroll-margin-top: 100px;
  }

  .pw-section {
    padding: 20px 24px 70px;
    scroll-margin-top: 100px;
  }

  .pw-row {
    gap: 60px;
  }

  .pw-img {
    max-width: 460px;
    max-height: 460px;
  }
}

/* Small Desktop & Laptops (992px – 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .doc-mgmt-section {
    padding: 4px 24px 2px;
    scroll-margin-top: 100px;
  }

  .pw-section {
    padding: 2px 24px 2px;
    scroll-margin-top: 100px;
  }

  .pw-row {
    gap: 50px;
  }

  .pw-img {
    max-width: 440px;
    max-height: 440px;
  }
}

/* Tablets & iPads (768px – 991px) */
@media (max-width: 992px) {

  .sol2-section-title,
  .doc-mgmt-title,
  .sol2-hero-h1 {
    font-size: clamp(24px, 4.5vw, 36px) !important;
    line-height: 1.25 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .sol2-how-flow {
    flex-direction: column !important;
    align-items: center !important;
    gap: 28px !important;
    padding: 0 16px !important;
  }

  .sol2-flow-step {
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .sol2-flow-arrow {
    transform: rotate(90deg) !important;
    padding: 0 !important;
    margin: -10px 0 !important;
  }

  .sol2-alt-row {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .sol2-alt-row.reverse {
    flex-direction: column !important;
  }

  .sol2-alt-text,
  .sol2-alt-media {
    max-width: 100% !important;
    width: 100% !important;
  }

  .sol2-platform-container {
    flex-direction: column !important;
    gap: 40px !important;
  }

  .doc-mgmt-section {
    padding: 20px 20px 40px;
    scroll-margin-top: 100px;
    overflow: visible;
  }

  .pw-section {
    padding: 90px 20px 55px;
    scroll-margin-top: 100px;
    overflow: visible;
  }

  .pw-container {
    gap: 50px;
  }

  .pw-row,
  .pw-row-reverse {
    flex-direction: column !important;
    gap: 36px;
    text-align: left;
  }

  .pw-text {
    width: 100% !important;
  }

  .pw-media {
    width: 100% !important;
    justify-content: center;
    padding: 16px 0;
  }

  .pw-img {
    max-width: 420px;
    max-height: 420px;
    margin: 0 auto;
  }
}

/* Mobile Landscape & Small Tablets (576px – 767px) */
@media (max-width: 767px) {
  .doc-mgmt-section {
    padding: 15px 20px 35px;
    scroll-margin-top: 90px;
    overflow: visible;
  }

  .doc-mgmt-title {
    font-size: clamp(1.85rem, 5.5vw, 2.3rem);
  }

  .doc-mgmt-media {
    padding: 16px 0;
  }

  .pw-section {
    padding: 85px 18px 45px;
    scroll-margin-top: 90px;
    overflow: visible;
  }

  .pw-container {
    gap: 40px;
  }

  .pw-row-title {
    font-size: clamp(1.65rem, 5vw, 2.1rem);
    margin-bottom: 16px;
  }

  .pw-row-intro {
    font-size: 1.02rem;
    margin-bottom: 20px;
  }

  .pw-media {
    padding: 16px 0;
  }

  .pw-img {
    max-width: 380px;
    max-height: 380px;
  }

  .pw-list {
    gap: 16px;
  }

  .pw-list li {
    font-size: 0.98rem;
  }
}

/* Mobile Phones (480px – 575px) */
@media (max-width: 576px) {

  .sol2-section-title,
  .doc-mgmt-title,
  .sol2-hero-h1 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .sol2-flow-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 22px !important;
    margin-bottom: 14px !important;
  }

  .sol2-flow-title {
    font-size: 1.05rem !important;
  }

  .sol2-flow-desc {
    font-size: 0.85rem !important;
  }

  .sol2-flow-arrow {
    display: none !important;
  }

  .sol2-alt-features {
    grid-template-columns: 1fr !important;
  }

  .sol2-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .sol2-btn-primary,
  .sol2-btn-outline {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .doc-mgmt-section {
    padding: 15px 16px 30px;
    scroll-margin-top: 90px;
    overflow: visible;
  }

  .doc-mgmt-media {
    padding: 12px 0;
  }

  .doc-mgmt-img {
    max-width: 100%;
    max-height: 360px;
  }

  .pw-section {
    padding: 80px 16px 40px;
    scroll-margin-top: 90px;
    overflow: visible;
  }

  .pw-media {
    padding: 14px 0;
  }

  .pw-img {
    max-width: 340px;
    max-height: 350px;
  }

  .pw-list li {
    font-size: 0.95rem;
    gap: 10px;
  }

  .pw-check-icon {
    font-size: 1.05rem;
  }
}

/* Extra Small Mobile Devices (320px – 479px) */
@media (max-width: 479px) {
  .doc-mgmt-section {
    padding: 27px 12px 5px;
    scroll-margin-top: 85px;
    overflow: visible;
  }

  .doc-mgmt-kicker {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .doc-mgmt-title {
    font-size: 1.6rem;
    margin-bottom: 14px;
  }

  .doc-mgmt-desc {
    font-size: 0.98rem;
  }

  .pw-section {
    padding: 4px 12px 35px;
    scroll-margin-top: 85px;
    overflow: visible;
  }

  .pw-row-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .pw-row-intro {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .pw-media {
    padding: 10px 0;
  }

  .pw-img {
    max-width: 300px;
    max-height: 320px;
  }

  .pw-list {
    gap: 14px;
  }

  .pw-list li {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* ============================================================
   AI CAPABILITIES (ai-assistant.html styles)
   ============================================================ */
.ai-dark-bg {
  background-color: #0B1121;
  color: #F8FAFC;
}

.ai-hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/images/bg_ai.png') center center/cover no-repeat;
  overflow: hidden;
  padding-top: 80px;
}

.ai-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: #262626;
  opacity: 0.65;
  z-index: 1;
}

.ai-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.ai-hero-tag {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93C5FD;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(8px);
}

.ai-hero-title {
  font-size: clamp(2.5rem, 5vw, 2.2rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ai-hero-title-accent {
  background-color: #ffffff;
  -webkit-background-clip: text;
  background-clip: text;
}

.ai-hero-desc {
  font-size: 1.25rem;
  color: #CBD5E1;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* AI Features Section */
.ai-features-section {
  padding: 120px 24px;
  background: #0B1121;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Abstract background shapes */
.ai-bg-shape-1 {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.ai-bg-shape-2 {
  position: absolute;
  bottom: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  z-index: 0;
}

.ai-features-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
  position: relative;
  z-index: 2;
}

.ai-feature-card {
  display: flex;
  align-items: center;
  gap: 70px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  padding: 48px;
  backdrop-filter: blur(16px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.ai-feature-card:nth-child(even) {
  flex-direction: row-reverse;
}

.ai-feature-content {
  flex: 1.1;
}

.ai-feature-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 32px;
  line-height: 1.2;
}

.ai-comparison-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-problem,
.ai-solution {
  padding: 28px;
  border-radius: 20px;
  position: relative;
}

.ai-problem {
  background: rgba(239, 68, 68, 0.03);
  border-left: 4px solid #EF4444;
  border-top: 1px solid rgba(239, 68, 68, 0.1);
  border-right: 1px solid rgba(239, 68, 68, 0.1);
  border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.ai-solution {
  background: rgba(16, 185, 129, 0.05);
  border-left: 4px solid #10B981;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  border-right: 1px solid rgba(16, 185, 129, 0.15);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.05);
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.ai-badge-problem {
  color: #FCA5A5;
}

.ai-badge-solution {
  color: #6EE7B7;
}

.ai-text {
  color: #94A3B8;
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 0;
}

.ai-solution .ai-text {
  color: #E2E8F0;
}

.ai-feature-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.ai-image-wrap {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.ai-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 17, 33, 0.9) 0%, transparent 60%);
  pointer-events: none;
}

.ai-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.ai-feature-card:hover .ai-image {
  transform: scale(1.06);
}

.floating-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #FFFFFF;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  animation: float 5s ease-in-out infinite;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-feature-card:nth-child(even) .floating-icon {
  right: auto;
  left: -20px;
  animation: float-reverse 5s ease-in-out infinite;
}

.icon-blue {
  background: linear-gradient(135deg, #2563EB, #60A5FA);
}

.icon-green {
  background: linear-gradient(135deg, #059669, #34D399);
}

.icon-purple {
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
}

.icon-orange {
  background: linear-gradient(135deg, #EA580C, #FBBF24);
}

.icon-cyan {
  background: linear-gradient(135deg, #0891B2, #22D3EE);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(4deg);
  }
}

@keyframes float-reverse {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(-4deg);
  }
}

@media (max-width: 991px) {
  .ai-hero-section {
    min-height: 60vh;
    padding: 100px 24px 60px;
  }

  .ai-feature-card,
  .ai-feature-card:nth-child(even) {
    flex-direction: column;
    gap: 50px;
    padding: 30px 20px;
  }

  .floating-icon,
  .ai-feature-card:nth-child(even) .floating-icon {
    bottom: -20px;
    right: 20px;
    left: auto;
  }
}

/* ============================================================
   AI CAPABILITIES (ai-assistant.html clean styles)
   ============================================================ */
.ai-clean-section {
  padding: 80px 24px;
  background: #FFFFFF;
  font-family: 'Inter', sans-serif;
}

.ai-clean-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.ai-clean-row {
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
  border-bottom: 1px solid #E2E8F0;
}

.ai-clean-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ai-clean-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1E3A8A;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.ai-clean-intro {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}

.ai-clean-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.6;
}

.ai-clean-list i {
  color: #3B82F6;
  font-size: 1rem;
  margin-top: 5px;
}

.ai-clean-list strong {
  color: #0F172A;
  font-weight: 700;
}

.ai-clean-closing {
  font-size: 1.1rem;
  color: #475569;
  margin-top: 10px;
}

.ai-clean-closing strong {
  color: #0F172A;
  font-weight: 700;
}

/* ============================================================
   Remote Supervision — GLASSMORPHISM HERO
   ============================================================ */
.rv-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/images/remote_inspection_1.png') center center/cover no-repeat;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.rv-hero-overlay {
  position: absolute;
  inset: 0;
  background: #262626;
  z-index: 1;
  opacity: 0.65;
}

/* Animated floating orbs */
.rv-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 2;
  opacity: 0.4;
  animation: rv-float 12s ease-in-out infinite;
}

.rv-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, transparent 70%);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.rv-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
  bottom: 5%;
  right: -3%;
  animation-delay: -4s;
}

.rv-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

@keyframes rv-float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  33% {
    transform: translateY(-30px) scale(1.05);
  }

  66% {
    transform: translateY(15px) scale(0.95);
  }
}

.rv-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 880px;
  animation: rv-fadeUp 1s ease-out;
}

@keyframes rv-fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px;
  color: #93C5FD;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.rv-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.08;
  margin-bottom: 28px;
  letter-spacing: -1.5px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.rv-hero-accent {
  background: #ffffff;
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rv-gradient-shift 4s ease infinite;
}

@keyframes rv-gradient-shift {
  0% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }

  100% {
    background-position: 0% center;
  }
}

.rv-hero-subtitle {
  font-size: 1.2rem;
  color: #CBD5E1;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
  font-weight: 400;
}

/* ============================================================
   Remote Supervision — STATS BAR (Glassmorphism)
   ============================================================ */
.rv-stats-bar {
  position: relative;
  z-index: 10;
  margin-top: -50px;
  padding: 0 24px;
  margin-bottom: 40px;
}

.rv-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 36px 48px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(59, 130, 246, 0.08);
}

.rv-stat-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rv-stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #FFFFFF;
  display: inline;
  line-height: 1;
}

.rv-stat-suffix {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #60A5FA;
  display: inline;
  margin-left: 2px;
}

.rv-stat-label {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: 0.3px;
}

.rv-stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   Remote Supervision — CAPABILITIES SECTION (Light Theme)
   ============================================================ */
.rv-capabilities {
  position: relative;
  padding: 9px 24px 9px;
  background: #FFFFFF;
  overflow: hidden;
}

.rv-cap-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.rv-cap-header {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 10px;
}

.rv-cap-tag {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 50px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.rv-cap-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}

.rv-cap-subtitle {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.65;
}

/* Light Glass Cards */
.rv-cap-grid {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rv-glass-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 15px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.4s ease;
}

.rv-glass-card:hover {
  transform: translateY(-5px);
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.rv-glass-card:nth-child(even) {
  flex-direction: row-reverse;
}

.rv-card-media {
  flex: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.rv-card-img {
  width: 100%;
  max-width: 480px;
  max-height: 360px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 10px 25px rgba(15, 23, 42, 0.08));
  transition: transform 0.6s ease;
}

.rv-glass-card:hover .rv-card-img {
  transform: scale(1.03);
}

.rv-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.rv-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  position: relative;
  padding-left: 18px;
  border-left: 4px solid #2563EB;
}

.rv-card-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 22px;
}

.rv-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rv-card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  color: #334155;
  font-weight: 500;
}

.rv-card-list i {
  color: #2563EB;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.rv-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background-color: #C81E1E;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(200, 30, 30, 0.25);
}

.rv-demo-btn:hover {
  background-color: #9B1C1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 30, 30, 0.35);
  color: #FFFFFF;
}

@media (max-width: 991px) {
  .rv-hero {
    min-height: 70vh;
    padding: 120px 24px 60px;
  }

  .rv-hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .rv-hero-subtitle {
    font-size: 1.05rem;
  }

  .rv-stats-bar {
    margin-top: -30px;
  }

  .rv-stats-inner {
    flex-wrap: wrap;
    gap: 24px;
    padding: 28px 24px;
  }

  .rv-stat-item {
    flex: 0 0 45%;
  }

  .rv-stat-divider {
    display: none;
  }

  .rv-stat-number {
    font-size: 2.2rem;
  }

  .rv-glass-card,
  .rv-glass-card:nth-child(even) {
    flex-direction: column;
    padding: 32px 24px;
    gap: 28px;
  }

  .rv-card-media {
    flex: none;
    width: 100%;
  }

  .rv-card-img {
    max-height: 260px;
  }

  .rv-cap-header {
    margin-bottom: 50px;
  }
}

@media (max-width: 600px) {
  .rv-hero {
    min-height: 60vh;
    padding: 100px 16px 50px;
  }

  .rv-hero-badge {
    font-size: 0.75rem;
    padding: 8px 18px;
  }

  .rv-stats-inner {
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;
  }

  .rv-stat-item {
    flex: none;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
  }

  .rv-stat-number {
    font-size: 1.8rem;
  }

  .rv-stat-label {
    text-align: left;
  }

  .rv-glass-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .rv-card-title {
    font-size: 1.35rem;
  }

  .rv-card-desc {
    font-size: 0.95rem;
  }

  .rv-cap-title {
    font-size: 1.8rem;
  }

  .rv-orb-1,
  .rv-orb-2,
  .rv-orb-3 {
    display: none;
  }
}

/* ============================================================
   RV — WHY REMOTE SUPERVISION QUOTE BANNER (Light Theme)
   ============================================================ */
.rv-why-section {
  padding: 20px 24px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
  overflow: hidden;
}

.rv-why-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.rv-why-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.rv-why-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 50px;
  color: #2563EB;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.rv-why-quote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #0F172A;
  line-height: 1.4;
  margin: 0 0 28px;
  padding: 0;
  border: none;
  font-style: italic;
}

.rv-why-desc {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

/* ============================================================
   RV — LIVE SUPERVISION FLOW PIPELINE & BENEFITS
   ============================================================ */
.rv-flow-section {
  padding: 20px 24px;
  background: #FFFFFF;
}

.rv-flow-header {
  text-align: center;
  margin-bottom: 0px;
}

.rv-flow-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  margin-top: 10px;
}

.rv-flow-pipeline {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.rv-flow-node {
  text-align: center;
  width: 220px;
}

.rv-flow-node-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.rv-icon-blue {
  background: linear-gradient(135deg, #2563EB, #60A5FA);
}

.rv-icon-green {
  background: linear-gradient(135deg, #059669, #34D399);
}

.rv-icon-purple {
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
}

.rv-icon-amber {
  background: linear-gradient(135deg, #D97706, #FBBF24);
}

.rv-flow-node-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0F172A;
  margin-bottom: 8px;
}

.rv-flow-node-sub {
  font-size: 0.95rem;
  color: #64748B;
}

.rv-flow-connector {
  color: #CBD5E1;
  font-size: 28px;
}

.rv-benefits-section {
  padding: 20px 24px;
  background: #F8FAFC;
}

.rv-benefits-header {
  text-align: center;
  margin-bottom: 60px;
}

.rv-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.rv-benefit-item {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  border: 1px solid #E2E8F0;
  transition: transform 0.3s ease;
}

.rv-benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.rv-benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.rv-benefit-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
}

.rv-benefit-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

.rv-impact-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 32px 40px;
  border-radius: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.rv-impact-icon {
  color: #10B981;
  font-size: 36px;
}

.rv-impact-text {
  font-size: 1.1rem;
  line-height: 1.6;
}

.rv-impact-text strong {
  color: #10B981;
}

/* ============================================================
   AI CAPABILITIES GRID (ai-assistant.html - Light Mode Default)
   ============================================================ */
.ai-cards-section {
  padding: 20px 24px;
  background: #FAFAF9;
  color: #0F172A;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ai-cards-container {
  max-width: 1280px;
  margin: 0 auto;
}

.ai-cards-header {
  text-align: center;
  margin-bottom: 30px;
}

.ai-cards-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  transition: all 0.3s ease;
}

.ai-cards-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.ai-cards-subtitle {
  font-size: 1.1rem;
  color: #64748B;
  max-width: 700px;
  margin: 0 auto;
  transition: color 0.3s ease;
}

.ai-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 15px;
}

.ai-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.ai-card:hover {
  transform: translateY(-5px);
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.ai-card-media {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

.ai-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ai-card:hover .ai-card-img {
  transform: scale(1.05);
}

.ai-card-body {
  display: flex;
  flex-direction: column;
}

.ai-card-kicker-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ai-card-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.ai-card-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2563EB;
  transition: color 0.3s ease;
}

.ai-card-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.ai-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.ai-card-list i {
  color: #2563EB;
  margin-top: 4px;
}

.ai-card-list strong {
  color: #0F172A;
  transition: color 0.3s ease;
}

/* ============================================================
   AI CAPABILITIES GRID (Dark Mode Overrides)
   ============================================================ */
body.dark-mode .ai-cards-section {
  background: #0B1121 !important;
  color: #F8FAFC !important;
}

body.dark-mode .ai-cards-tag {
  background: rgba(59, 130, 246, 0.15) !important;
  color: #60A5FA !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
}

body.dark-mode .ai-cards-title {
  color: #FFFFFF !important;
}

body.dark-mode .ai-cards-subtitle {
  color: #94A3B8 !important;
}

body.dark-mode .ai-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

body.dark-mode .ai-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .ai-card-icon-box {
  background: rgba(59, 130, 246, 0.2) !important;
  color: #60A5FA !important;
}

body.dark-mode .ai-card-kicker {
  color: #94A3B8 !important;
}

body.dark-mode .ai-card-heading {
  color: #FFFFFF !important;
}

body.dark-mode .ai-card-list li {
  color: #CBD5E1 !important;
}

body.dark-mode .ai-card-list strong {
  color: #F8FAFC !important;
}

/* ============================================================
   Remote Supervisior (Dark Mode Overrides)
   ============================================================ */
body.dark-mode .rv-capabilities {
  background: #0B1120 !important;
}

body.dark-mode .rv-cap-title {
  color: #F8FAFC !important;
}

body.dark-mode .rv-cap-subtitle {
  color: #94A3B8 !important;
}

body.dark-mode .rv-glass-card {
  background: #141E34 !important;
  border-color: #334155 !important;
  box-shadow: none !important;
}

body.dark-mode .rv-glass-card:hover {
  background: #1E293B !important;
  border-color: #475569 !important;
}

body.dark-mode .rv-card-title {
  color: #F8FAFC !important;
}

body.dark-mode .rv-card-desc {
  color: #94A3B8 !important;
}

body.dark-mode .rv-card-list li {
  color: #CBD5E1 !important;
}

body.dark-mode .rv-why-section {
  background: #070C1E !important;
  border-color: #1E293B !important;
}

body.dark-mode .rv-why-quote {
  color: #F8FAFC !important;
}

body.dark-mode .rv-why-desc {
  color: #94A3B8 !important;
}

body.dark-mode .rv-flow-node-label {
  color: #F8FAFC !important;
}

body.dark-mode .rv-flow-node-sub {
  color: #94A3B8 !important;
}

body.dark-mode .rv-benefits-section {
  background: #0B1120 !important;
}

body.dark-mode .rv-benefit-item {
  background: #141E34 !important;
  border-color: #334155 !important;
}

body.dark-mode .rv-benefit-title {
  color: #F8FAFC !important;
}

body.dark-mode .rv-benefit-desc {
  color: #94A3B8 !important;
}

@media (max-width: 991px) {
  .ai-cards-grid {
    grid-template-columns: 1fr;
  }

  .rv-flow-pipeline {
    flex-direction: column;
  }

  .rv-flow-connector {
    transform: rotate(90deg);
  }

  .rv-impact-bar {
    flex-direction: column;
    text-align: center;
  }
}

/* Dark mode styles for pw-row text */
body.dark-mode .pw-row-title {
  color: #FFFFFF !important;
}

body.dark-mode .pw-row-intro {
  color: #CBD5E1 !important;
}

body.dark-mode .pw-list li {
  color: #CBD5E1 !important;
}

body.dark-mode .pw-list strong {
  color: #F8FAFC !important;
}

/* ========================================================================================
   TEMPLATE DESIGNER FEATURE CARD SECTION (MATCHING UI REFERENCE)
   ============================================================ */
.td-section {
  padding: 15px 20px 4px;
  background: #f8fafc;
  font-family: 'Inter', sans-serif;
  overflow: visible;
  scroll-margin-top: 90px;
}

.td-container {
  max-width: 1280px;
  margin: 0 auto;
}

.td-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 17px 0;
  display: flex;
  align-items: flex-start;
  gap: 42px;
  transition: all 0.3s ease;
}

.td-content {
  flex: 1.1;
}

.td-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 80, 219, 0.08);
  color: #1450db;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: -0.1px;
}

.td-kicker-badge i {
  font-size: 0.85rem;
}

.td-title {
  font-size: clamp(2.1rem, 3.8vw, 2.6rem);
  font-weight: 800;
  color: #1e293b;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}

.td-desc {
  font-size: 1.08rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 400;
}

.td-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(20, 80, 219, 0.05), rgba(59, 130, 246, 0.08));
  border-left: 4px solid #1450db;
  padding: 16px 20px;
  border-radius: 0 14px 14px 0;
  margin: 24px 0 32px;
}

.td-highlight-icon {
  color: #1450db;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.td-highlight span {
  font-size: 1.05rem;
  color: #0f172a;
}

.td-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.td-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.td-btn-primary {
  background: linear-gradient(135deg, #1450db 0%, #0d3eb3 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(20, 80, 219, 0.28);
}

.td-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(20, 80, 219, 0.38);
  color: #ffffff !important;
}

.td-btn-secondary {
  background: transparent;
  color: #1450db !important;
  border: 1.5px solid rgba(20, 80, 219, 0.4);
}

.td-btn-secondary:hover {
  background: rgba(20, 80, 219, 0.06);
  border-color: #1450db;
  transform: translateY(-2px);
}

/* Right Media Column */
.td-media-column {
  flex: 1.2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.td-media-wrap {
  position: relative;
  /* background-image:
    linear-gradient(to right, rgba(20, 80, 219, 0.16) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(20, 80, 219, 0.16) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  border-radius: 24px;
  border: 1.5px solid rgba(20, 80, 219, 0.25);
  padding: 32px 36px; */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(20, 80, 219, 0.03);
}

.td-img {
  width: 90%;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
}

.td-media-wrap:hover .td-img {
  transform: scale(1.015);
}

/* Floating Badge (Ref UI inspiration) */
.td-float-badge {
  position: relative;
  padding: 8px 18px;
  background: #eef2ff;
  border-radius: 50px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 5;
  transition: all 0.3s ease;
}

.td-float-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.14);
}

.td-float-badge i {
  color: #2563eb;
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.td-badge-inline-text,
.td-float-badge p,
.td-float-badge span {
  margin: 0;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
}

.td-badge-inline-text strong,
.td-float-badge strong {
  color: #2563eb;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-right: 4px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .td-card {
    flex-direction: column;
    padding: 0px 20px;
    gap: 0px;
  }

  .td-content {
    width: 100%;
  }

  .td-media-column {
    width: 100%;
    align-items: center;
  }

  .td-img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .td-section {
    padding: 30px 16px 20px;
  }

  .td-flip-card-inner {
    height: 125px;
    min-height: 125px;
  }

  .td-fc-pills {
    gap: 8px;
  }

  .td-fc-pill {
    font-size: 0.85rem;
    padding: 7px 10px;
    gap: 6px;
  }

  .td-float-badge {
    padding: 8px 14px;
    border-radius: 16px;
    gap: 8px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .td-section {
    padding: 20px 12px 16px;
  }

  .td-flip-card-inner {
    height: 135px;
    min-height: 135px;
  }

  .td-fc-pills {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .td-fc-pill {
    font-size: 0.78rem;
    padding: 6px 8px;
    gap: 5px;
  }
}

/* Dark Mode Support */
body.dark-mode .td-section {
  background: transparent;
}

body.dark-mode .td-card {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

body.dark-mode .td-title {
  color: #f8fafc !important;
}

body.dark-mode .td-desc {
  color: #94a3b8 !important;
}

body.dark-mode .td-highlight {
  background: rgba(20, 80, 219, 0.15);
  border-left-color: #3b82f6;
}

body.dark-mode .td-highlight span {
  color: #f1f5f9 !important;
}

body.dark-mode .td-btn-secondary {
  color: #60a5fa !important;
  border-color: rgba(96, 165, 250, 0.4);
}

body.dark-mode .td-btn-secondary:hover {
  background: rgba(96, 165, 250, 0.1);
  border-color: #60a5fa;
}

/* body.dark-mode .td-media-wrap {
  background-color: #0f172a;
  border-color: #334155;
} */

body.dark-mode .td-float-badge {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 12px rgba(59, 130, 246, 0.15);
}

body.dark-mode .td-float-badge i {
  color: #60a5fa !important;
}

body.dark-mode .td-float-badge strong,
body.dark-mode .td-badge-inline-text strong {
  color: #93c5fd !important;
}

body.dark-mode .td-float-badge p,
body.dark-mode .td-float-badge span,
body.dark-mode .td-badge-inline-text {
  color: #e2e8f0 !important;
}

body.dark-mode .td-img {
  border-color: #334155;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

/* ─────────────────────────────────────────────────────
   3D FLIP CARD FOR TEMPLATE DESIGNER (AI FEATURES & KEY BENEFITS)
───────────────────────────────────────────────────── */
.td-flip-card {
  perspective: 1000px;
  width: 100%;
  margin: 14px 0 16px;
}

.td-flip-card-inner {
  position: relative;
  width: 100%;
  height: 140px;
  min-height: 140px;
  text-align: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.td-flip-card:hover .td-flip-card-inner,
.td-flip-card.td-flipped .td-flip-card-inner {
  transform: rotateY(180deg);
}

.td-flip-card-front,
.td-flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  padding: 16px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Front Face - AI Features */
.td-flip-card-front {
  background: #f8faff;
  border: 1.2px solid #dbeafe;
  box-shadow: 0 4px 15px rgba(20, 80, 219, 0.04);
  z-index: 2;
}

/* Back Face - Key Benefits */
.td-flip-card-back {
  background: #f0fdf4;
  border: 1.2px solid #bbf7d0;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.05);
  transform: rotateY(180deg);
  z-index: 1;
}

.td-fc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.td-fc-title-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
}

.td-fc-icon {
  font-size: 1.1rem;
  color: #1450db;
}

.td-fc-icon-green {
  font-size: 1.1rem;
  color: #10b981;
}

.td-fc-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.1px;
}

.td-fc-hint {
  font-size: 0.68rem;
  font-weight: 600;
  color: #1450db;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(20, 80, 219, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.td-fc-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.td-fc-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.td-fc-pill i {
  color: #1450db;
  font-size: 1rem;
}

.td-fc-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.td-fc-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.td-fc-benefit-item i {
  color: #10b981;
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.td-fc-benefit-item span {
  flex: 1;
  font-size: 0.85rem;
}

.td-fc-benefit-item strong {
  color: #0f172a;
  font-weight: 700;
  margin-right: 3px;
}

/* Dark mode flip card styles */
body.dark-mode .td-flip-card-front {
  background: #061122;
  border-color: rgba(37, 99, 235, 0.2);
}

body.dark-mode .td-flip-card-back {
  background: #061e1a;
  border-color: rgba(16, 185, 129, 0.3);
}

body.dark-mode .td-fc-title {
  color: #f8fafc !important;
}

body.dark-mode .td-fc-pill {
  background: #0a192f;
  border-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

body.dark-mode .td-fc-benefit-item {
  color: #cbd5e1;
}

body.dark-mode .td-fc-benefit-item strong {
  color: #f8fafc;
}

body.dark-mode .td-fc-hint {
  background: #1e293b;
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
}

/* ============================================================
   ENTERPRISE PROJECT MANAGEMENT SECTION (SMART DECISIONS PAGE)
   ============================================================ */
.epm-section {
  padding: 110px 24px 12px;
  background: #fafaf9;
  font-family: 'Inter', sans-serif;
  overflow: visible;
  scroll-margin-top: 100px;
}

.epm-container {
  max-width: 1280px;
  margin: 0 auto;
}

.epm-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 48px;
  transition: all 0.3s ease;
}

.epm-content {
  flex: 1.1;
}

.epm-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 80, 219, 0.08);
  color: #1450db;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: -0.1px;
}

.epm-kicker-badge i {
  font-size: 0.85rem;
}

.epm-title {
  font-size: clamp(2.2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #1e293b;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}

.epm-blue-text {
  color: #2563eb;
}

.epm-desc {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 32px;
  font-weight: 400;
}

.epm-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.epm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.epm-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.epm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
  color: #ffffff !important;
}

.epm-btn-secondary {
  background: #ffffff;
  color: #2563eb !important;
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.epm-btn-secondary i {
  font-size: 1.1rem;
  color: #2563eb;
}

.epm-btn-secondary:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: #2563eb;
  transform: translateY(-2px);
}

/* Right Media Column */
.epm-media-column {
  flex: 1.2;
  position: relative;
}

.epm-media-wrap {
  /* position: relative;
  background-color: #f2f6ff;
  background-image: 
    linear-gradient(to right, rgba(37, 99, 235, 0.16) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.16) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  border-radius: 24px;
  border: 1.5px solid rgba(37, 99, 235, 0.25);
  padding: 32px 36px; */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(37, 99, 235, 0.03);
}

.epm-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
}

.epm-media-wrap:hover .epm-img {
  transform: scale(1.015);
}

/* Responsive styles for EPM Section */
@media (max-width: 1024px) {
  .epm-card {
    flex-direction: column;
    padding: 36px 28px;
    gap: 36px;
  }

  .epm-content {
    width: 100%;
  }

  .epm-media-column {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .epm-section {
    padding: 95px 16px 40px;
  }

  .epm-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .epm-actions {
    flex-direction: column;
    width: 100%;
  }

  .epm-btn {
    width: 100%;
  }

  .epm-media-wrap {
    padding: 14px;
  }
}

/* Dark Mode Support for EPM Section */
body.dark-mode .epm-section {
  background: #0b1120;
}

body.dark-mode .epm-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

body.dark-mode .epm-title {
  color: #f8fafc !important;
}

body.dark-mode .epm-desc {
  color: #94a3b8 !important;
}

body.dark-mode .epm-btn-secondary {
  background: #1e293b;
  color: #60a5fa !important;
  border-color: rgba(96, 165, 250, 0.4);
}

body.dark-mode .epm-btn-secondary i {
  color: #60a5fa;
}

body.dark-mode .epm-btn-secondary:hover {
  background: rgba(96, 165, 250, 0.1);
  border-color: #60a5fa;
}

body.dark-mode .epm-media-wrap {
  background-color: #0f172a;
  background-image:
    linear-gradient(to right, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
  border-color: #334155;
}

/* ============================================================
   ENTERPRISE PROJECT MANAGEMENT CORE BENEFITS GRID
   ============================================================ */
.epm-benefits-section {
  padding: 70px 24px 80px;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
}

.epm-benefits-container {
  max-width: 1280px;
  margin: 0 auto;
}

.epm-benefits-header {
  text-align: center;
  margin-bottom: 50px;
}

.epm-benefits-main-title {
  font-size: clamp(2.2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.epm-benefits-sub-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: -0.3px;
  margin: 0;
}

.epm-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.epm-benefit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.epm-benefit-card:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
}

.epm-card-featured {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  border: 1.5px solid #2563eb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.epm-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 22px;
}

.epm-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.epm-card-desc {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
  .epm-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .epm-benefits-section {
    padding: 50px 16px 60px;
  }

  .epm-benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .epm-benefit-card {
    padding: 24px 20px;
  }
}

/* Dark Mode Support */
body.dark-mode .epm-benefits-section {
  background: #0b1120;
}

body.dark-mode .epm-benefits-main-title {
  color: #f8fafc !important;
}

body.dark-mode .epm-benefits-sub-title {
  color: #60a5fa !important;
}

body.dark-mode .epm-benefit-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

body.dark-mode .epm-benefit-card:hover {
  border-color: #60a5fa;
  box-shadow: 0 16px 36px rgba(96, 165, 250, 0.2);
}

body.dark-mode .epm-card-featured {
  background: linear-gradient(180deg, #1e293b 0%, rgba(37, 99, 235, 0.15) 100%);
  border-color: #3b82f6;
}

body.dark-mode .epm-card-icon {
  background: #0f172a;
  border-color: #334155;
  color: #60a5fa;
}

body.dark-mode .epm-card-title {
  color: #f8fafc !important;
}

body.dark-mode .epm-card-desc {
  color: #94a3b8 !important;
}

/* ============================================================
   PROJECT MANAGEMENT INTELLIGENCE (TABBED SHOWCASE SECTION)
   ============================================================ */
.pms-tab-section {
  padding: 5px 24px 15px;
  background: #f8fafc;
  font-family: 'Inter', sans-serif;
}

.pms-tab-container {
  max-width: 1280px;
  margin: 0 auto;
}

.pms-tab-header {
  text-align: center;
  margin-bottom: 32px;
}

.pms-tab-kicker {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1450db;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.pms-tab-main-title {
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.8px;
  margin: 0;
}

/* Top Center Tab Buttons */
.pms-tabs-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.pms-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  padding: 12px 26px;
  border-radius: 40px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.pms-tab-btn i {
  font-size: 1.05rem;
  color: #64748b;
  transition: color 0.25s ease;
}

.pms-tab-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.pms-tab-btn:hover i {
  color: #2563eb;
}

.pms-tab-btn.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: #2563eb;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.32);
}

.pms-tab-btn.active i {
  color: #ffffff !important;
}

/* Tab Panels */
.pms-tab-content-container {
  position: relative;
}

.pms-tab-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pms-tab-panel.active {
  display: block;
  opacity: 1;
}

.pms-panel-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 44px;
  display: flex;
  align-items: flex-start;
  gap: 46px;
}

/* Media Column Left */
.pms-media-col {
  flex: 1.8;
}

.pms-media-wrap {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.pms-img {
  width: 100%;
  max-width: 960px;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Content Column Right */
.pms-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pms-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.pms-panel-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}

.pms-panel-desc {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .pms-panel-card {
    flex-direction: column;
    padding: 32px 24px;
    gap: 32px;
  }

  .pms-media-col,
  .pms-content-col {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .pms-tab-section {
    padding: 40px 16px;
  }

  .pms-tabs-wrapper {
    flex-direction: column;
    width: 100%;
  }

  .pms-tab-btn {
    width: 100%;
    justify-content: center;
  }

  .pms-panel-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
}

/* Dark Mode Support */
body.dark-mode .pms-tab-section {
  background: #0b1120;
}

body.dark-mode .pms-tab-main-title {
  color: #f8fafc !important;
}

body.dark-mode .pms-tab-btn {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

body.dark-mode .pms-tab-btn i {
  color: #94a3b8;
}

body.dark-mode .pms-panel-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

body.dark-mode .pms-media-wrap {
  background: transparent;
  border: none;
}

body.dark-mode .pms-panel-title {
  color: #f8fafc !important;
}

body.dark-mode .pms-panel-desc {
  color: #94a3b8 !important;
}

/* ============================================================
   REALTIME VISIBILITY & DIGITAL WORKFLOWS SPACING FIX
   ============================================================ */
#realtime-visibility.doc-mgmt-section {
  padding-top: 40px;
  padding-bottom: 0;
}

#realtime-visibility .doc-mgmt-container {
  margin-top: 20px;
  margin-bottom: 16px;
}

#digital-workflows.doc-mgmt-section {
  padding-top: 20px;
  padding-bottom: 0px !important;
}

#digital-workflows .doc-mgmt-container {
  margin-top: 10px;
  margin-bottom: 0px !important;
}

#template-designer.td-section {
  padding-top: 0px !important;
}

#template-designer .td-card {
  padding-top: 0px !important;
}

/* ============================================================
   CHALLENGES / OLD WAY OF WORKING
   ============================================================ */
.rv-challenges-section {
  padding: 20px 24px 20px;
  background-color: #F8FAFC;
}

.rv-challenges-container {
  max-width: 1280px;
  margin: 0 auto;
}

.rv-challenges-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
}

.rv-challenges-tag {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.2px;
  color: #1450db;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 14px;
}

body.dark-mode .rv-challenges-tag {
  color: #60a5fa !important;
  background: transparent !important;
}

.rv-challenges-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

body.dark-mode .rv-challenges-title {
  color: #f8fafc !important;
}

.rv-challenges-subtitle {
  font-size: 1.12rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 0;
}

body.dark-mode .rv-challenges-subtitle {
  color: #94a3b8 !important;
}

.rv-challenges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Clean icon-grid items (no card borders, matching reference) */
.rv-challenge-item {
  text-align: center;
  padding: 4px 16px 16px;
  transition: transform 0.3s ease;
}

.rv-challenge-item:hover {
  transform: translateY(-4px);
}

.rv-challenge-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.rv-challenge-icon-wrap svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.rv-challenge-item:hover .rv-challenge-icon-wrap {
  border-color: #2563EB;
  color: #2563EB;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.rv-challenge-item:hover .rv-challenge-icon-wrap svg {
  transform: scale(1.08);
}

.rv-challenge-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 10px;
  line-height: 1.3;
}

.rv-challenge-text {
  font-size: 0.92rem;
  color: #64748B;
  line-height: 1.65;
  max-width: 240px;
  margin: 0 auto;
}

/* Dark Mode Overrides for Challenges */
body.dark-mode .rv-challenges-section {
  background-color: #0B1120;
}

body.dark-mode .rv-challenges-title,
body.dark-mode .rv-challenge-label {
  color: #F8FAFC;
}

body.dark-mode .rv-challenges-subtitle,
body.dark-mode .rv-challenge-text {
  color: #94A3B8;
}

body.dark-mode .rv-challenge-icon-wrap {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.dark-mode .rv-challenge-item:hover .rv-challenge-icon-wrap {
  border-color: #60A5FA;
  color: #60A5FA;
  background: rgba(59, 130, 246, 0.12);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}


/* ============================================================
   RV FEATURES SECTION (LIVE VISIBILITY)
   ============================================================ */
.rv-features-section {
  padding: 16px 24px;
  background-color: #FFFFFF;
}

.rv-features-container {
  max-width: 1280px;
  margin: 0 auto;
}

.rv-features-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 28px;
}

.rv-features-tag {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.2px;
  color: #1450db;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 14px;
}

body.dark-mode .rv-features-tag {
  color: #60a5fa !important;
  background: transparent !important;
}

.rv-features-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 2.7vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

body.dark-mode .rv-features-title {
  color: #f8fafc !important;
}

.rv-features-subtitle {
  font-size: 1.12rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 0;
}

body.dark-mode .rv-features-subtitle {
  color: #94a3b8 !important;
}

.rv-features-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 90px;
}

.rv-features-row:last-child {
  margin-bottom: 0;
}

.rv-features-row.reverse {
  flex-direction: row-reverse;
}

.rv-features-text {
  flex: 1;
}

.rv-features-media {
  flex: 1.1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rv-features-img {
  width: 100%;
  max-width: 540px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rv-features-img:hover {
  transform: translateY(-5px);
}

.rv-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 16px;
  margin: 0;
}

.rv-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease;
}

.rv-feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 3px;
  transition: all 0.2s ease;
}

.rv-feature-item:hover .rv-feature-check {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: scale(1.1);
}

.rv-feature-content {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
}

.rv-feature-content strong {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0F172A;
  margin-right: 4px;
}

@media (max-width: 991px) {

  .rv-features-row,
  .rv-features-row.reverse {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 70px;
  }
}

/* Dark Mode */
body.dark-mode .rv-features-section {
  background-color: #0F172A;
}

body.dark-mode .rv-features-title {
  color: #F8FAFC;
}

body.dark-mode .rv-features-subtitle {
  color: #94A3B8;
}

body.dark-mode .rv-feature-check {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
  color: #60a5fa;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

body.dark-mode .rv-feature-item:hover .rv-feature-check {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #ffffff;
}

body.dark-mode .rv-feature-content {
  color: #94A3B8;
}

body.dark-mode .rv-feature-content strong {
  color: #F8FAFC;
}

body.dark-mode .rv-features-img {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .rv-feature-icon {
  background: rgba(37, 99, 235, 0.15);
}

.rv-challenges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Laptop */
@media (max-width: 1200px) {
  .rv-challenges-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .rv-challenges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .rv-challenges-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   MANUAL TEMPLATE DESIGNER SECTION
   ============================================================ */
.template-section {
  padding: 30px 24px 0px !important;
  background: #ffffff !important;
  scroll-margin-top: 100px;
}

.template-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  min-height: auto !important;
}

@media (max-width: 992px) {
  .template-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.template-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 580px;
  width: 100%;
}

/* Previous clean unboxed layout for left feature items */
.template-content .feature-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  min-height: auto !important;
  height: auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.template-content .feature-item:hover {
  transform: translateX(3px);
}

.template-content .feature-icon-box {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: #eff6ff !important;
  color: #2563eb !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
  transition: all 0.3s ease !important;
}

.template-content .feature-item.active .feature-icon-box,
.template-content .feature-item:hover .feature-icon-box {
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

.template-content .feature-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.template-content .feature-item-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.template-content .feature-item.active .feature-item-title {
  color: #2563eb !important;
}

.template-content .feature-item-desc {
  font-size: 0.95rem !important;
  color: #475569 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Fixed compact right carousel frame with reduced vertical height */
.template-carousel-wrap {
  width: 100%;
  max-width: 640px;
  min-width: 0;
}

.template-carousel-box {
  position: relative !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  height: 370px !important;
  max-height: 370px !important;
  border: none !important;
  box-shadow: none !important;
}

.template-carousel-box .hero-carousel-track {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 370px !important;
  max-height: 370px !important;
  overflow: hidden !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.template-carousel-box .hero-carousel-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 10px 20px 70px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.template-carousel-box .hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Border allowed ONLY on the graphic image cards */
.template-carousel-box .hero-app-img {
  max-height: 230px !important;
  max-width: 86% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 14px !important;
  border: 2px solid #0f172a !important;
  margin: 0 auto !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

/* Caption cleanly pinned INSIDE bottom of carousel frame */
.template-carousel-box .hero-slide-caption {
  position: absolute !important;
  bottom: 10px !important;
  left: 16px !important;
  right: 16px !important;
  top: auto !important;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  height: 56px !important;
  background: #0f172a !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 8px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  z-index: 10 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  overflow: hidden !important;
}

.template-carousel-box .hero-slide-caption .slide-tag {
  background: #2563eb !important;
  color: #ffffff !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.template-carousel-box .hero-slide-caption p {
  font-size: 0.84rem !important;
  line-height: 1.4 !important;
  color: #f8fafc !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dark mode styling for template section */
body.dark-mode .template-section {
  background: #091322 !important;
}

body.dark-mode .template-content .feature-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.dark-mode .template-content .feature-item-title {
  color: #f8fafc !important;
}

body.dark-mode .template-content .feature-item.active .feature-item-title {
  color: #60a5fa !important;
}

body.dark-mode .template-content .feature-item-desc {
  color: #94a3b8 !important;
}

body.dark-mode .template-content .feature-icon-box {
  background: rgba(37, 99, 235, 0.2) !important;
  color: #60a5fa !important;
}

body.dark-mode .template-content .feature-item.active .feature-icon-box,
body.dark-mode .template-content .feature-item:hover .feature-icon-box {
  background: #2563eb !important;
  color: #ffffff !important;
}

.feature-icon-box {
  width: 40px;
  height: 40px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.feature-item-desc {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 991px) {
  .template-container {
    flex-direction: column;
    gap: 40px;
  }

  .template-content,
  .template-carousel-wrap {
    max-width: 100%;
  }
}

body.dark-mode .template-section {
  background: #020c1b;
}

body.dark-mode .template-carousel-box {
  background: #0a192f;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

body.dark-mode .feature-item-title {
  color: #f8fafc;
}

body.dark-mode .feature-item-desc {
  color: #94a3b8;
}

body.dark-mode .feature-icon-box {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
}

/* ============================================================
   CAROUSEL SLIDE CAPTION & TAG ALIGNMENT FIX
   ============================================================ */
.hero-slide-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px 16px;
  color: #ffffff;
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-slide-caption .slide-tag {
  background: #2563eb;
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-top: 1px;
}

.hero-slide-caption p {
  flex: 1;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  color: #f8fafc;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .hero-slide-caption {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 12px;
    gap: 10px;
  }

  .hero-slide-caption .slide-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .hero-slide-caption p {
    font-size: 0.82rem;
    line-height: 1.38;
  }
}

/* ============================================================
   TEMPLATE CAROUSEL UNIFIED SLIDE IMAGE DIMENSIONS & ALIGNMENT
   ============================================================ */
.template-carousel-box .hero-carousel-track {
  min-height: 440px;
  max-height: 440px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.template-carousel-box .hero-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px 20px 84px;
  box-sizing: border-box;
}

.template-carousel-box .hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .template-carousel-box .hero-carousel-track {
    min-height: 380px;
    max-height: 420px;
  }

  .template-carousel-box .hero-carousel-slide {
    padding: 10px 15px 65px;
  }
}

@media (max-width: 480px) {
  .template-carousel-box .hero-carousel-track {
    min-height: 350px;
    max-height: 390px;
  }

  .template-carousel-box .hero-carousel-slide {
    padding: 8px 10px 70px;
  }
}

/* ============================================================
   FROM PROJECT TO FIELD EXECUTION (3-STEP INTERACTIVE WORKFLOW)
   ============================================================ */
.exec-flow-section {
  padding: 36px 24px 30px;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  scroll-margin-top: 80px;
  position: relative;
}

.exec-flow-container {
  max-width: 1240px;
  margin: 0 auto;
}

.exec-flow-header {
  text-align: center;
  margin-bottom: 18px;
}

.exec-flow-header .dms-kicker {
  font-size: 0.88rem;
  padding: 14px 14px;
  margin-bottom: 4px;
}

.exec-flow-header .dms-main-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.25;
}

.exec-flow-header .dms-main-desc {
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 780px;
  margin: 0 auto;
}

/* Timeline Step Bar - Exact Start at Node 01 center & End at Node 03 center */
.exec-timeline-wrap {
  position: relative;
  max-width: 840px;
  margin: 0 auto 22px;
  padding: 0;
}

.exec-timeline-track {
  position: absolute;
  top: 20px;
  /* Exactly center of 40px circle */
  left: 16.666%;
  /* Exact center of first node (1/3 of container / 2) */
  right: 16.666%;
  /* Exact center of third node */
  height: 3.5px;
  background: #e2e8f0;
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
}

.exec-timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1450db, #2563eb);
  border-radius: 4px;
}

.exec-timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  width: 100%;
}

.exec-step-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 8px;
  outline: none;
  transition: all 0.25s ease;
  text-align: center;
}

.exec-step-node:focus-visible {
  outline: 2px solid #1450db;
  border-radius: 12px;
}

.exec-node-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #cbd5e1;
  color: #64748b;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 3;
}

.exec-step-node:hover .exec-node-circle {
  border-color: #93c5fd;
  color: #1450db;
  transform: translateY(-2px);
}

.exec-step-node.active .exec-node-circle {
  background: #1450db;
  border-color: #1450db;
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(20, 80, 219, 0.15), 0 6px 16px rgba(20, 80, 219, 0.3);
  transform: scale(1.1);
}

.exec-step-node.completed .exec-node-circle {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.2);
}

.exec-node-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  line-height: 1.25;
  transition: color 0.25s ease;
}

.exec-step-node.active .exec-node-label {
  color: #1450db;
  font-weight: 800;
}

.exec-node-sub {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 2px;
  display: block;
}

/* Two Column Grid */
.exec-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 28px;
  align-items: stretch;
}

/* Left Step Cards Display: Only Active Card is Visible */
.exec-left-cards {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.exec-card {
  display: none;
  /* Only active card is visible */
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 10px 30px -5px rgba(20, 80, 219, 0.07), 0 0 0 1px rgba(20, 80, 219, 0.04);
  position: relative;
  overflow: hidden;
  text-align: left;
  height: 100%;
}

.exec-card.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: execCardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes execCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.exec-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.exec-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: #1450db;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.exec-card-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1450db;
  letter-spacing: 0.5px;
}

.exec-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.exec-card-tagline {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1450db;
  margin-bottom: 12px;
  line-height: 1.4;
}

.exec-card-desc {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Feature List Inside Active Card */
.exec-card .health-cmd-subhead {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 10px;
  margin-bottom: 12px;
}

.exec-card .health-cmd-bullet-list {
  margin-bottom: 0;
  gap: 12px;
  display: flex;
  flex-direction: column;
}

.exec-card .health-cmd-bullet-list li {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #475569;
}

.exec-card .health-cmd-bullet-list li strong {
  font-size: 0.98rem;
  color: #0f172a;
  font-weight: 700;
}

.exec-card .rv-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
  list-style: none;
  padding-left: 16px;
}

.exec-card .rv-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.exec-card .rv-feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.exec-card .rv-feature-item:hover .rv-feature-check {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: scale(1.1);
}

.exec-card .rv-feature-content {
  font-size: 0.96rem;
  line-height: 1.5;
  color: #475569;
}

.exec-card .rv-feature-content strong {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0F172A;
  margin-right: 4px;
}

body.dark-mode .exec-card .rv-feature-check {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
  color: #60a5fa;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

body.dark-mode .exec-card .rv-feature-item:hover .rv-feature-check {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #ffffff;
}

body.dark-mode .exec-card .rv-feature-content {
  color: #94A3B8;
}

body.dark-mode .exec-card .rv-feature-content strong {
  color: #F8FAFC;
}

.exec-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.exec-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f8faff;
  border: 1px solid #e0e7ff;
  border-radius: 10px;
  padding: 8px 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.exec-feature-item:hover {
  transform: translateX(3px);
  border-color: #93c5fd;
}

.exec-feat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef2ff;
  color: #1450db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.exec-feat-text {
  display: flex;
  flex-direction: column;
}

.exec-feat-text strong {
  font-size: 0.85rem;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 1px;
}

.exec-feat-text span {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

/* Card Footer: Timer & Next Action */
.exec-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.exec-stage-timer-wrap {
  flex: 1;
  min-width: 150px;
}

.exec-timer-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}

.exec-countdown {
  color: #1450db;
  font-weight: 700;
}

.exec-timer-track {
  width: 100%;
  height: 3.5px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.exec-timer-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #1450db, #3b82f6);
  border-radius: 4px;
  transition: width 0.1s linear;
}

.exec-next-stage-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  color: #1450db;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.exec-next-stage-btn:hover {
  background: #1450db;
  color: #ffffff;
  border-color: #1450db;
  transform: translateX(2px);
}

/* Right Screen Showcase Carousel */
.exec-screen-box {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px -8px rgba(15, 23, 42, 0.1);
  padding: 12px 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.exec-screen-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 8px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 8px;
}

.exec-topbar-dots {
  display: flex;
  gap: 5px;
}

.exec-topbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.exec-topbar-dot.red {
  background: #ef4444;
}

.exec-topbar-dot.yellow {
  background: #f59e0b;
}

.exec-topbar-dot.green {
  background: #10b981;
}

.exec-topbar-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  padding: 3px 12px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.exec-topbar-title i {
  color: #1450db;
}

.exec-carousel-viewport {
  position: relative;
  min-height: 295px;
  max-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f8fafc;
}

.exec-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
  transform: scale(0.98);
}

.exec-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.exec-slide-img {
  max-width: 95%;
  max-height: 215px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
  margin-bottom: 10px;
}

.exec-slide-caption {
  width: 100%;
  max-width: 95%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border-radius: 10px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.exec-caption-badge {
  background: #1450db;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

.exec-caption-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1.35;
  margin: 0;
}

/* Nav Controls */
.exec-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #cbd5e1;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.exec-nav-btn:hover {
  background: #1450db;
  color: #ffffff;
  border-color: #1450db;
  transform: translateY(-50%) scale(1.06);
}

.exec-nav-btn.prev {
  left: 8px;
}

.exec-nav-btn.next {
  right: 8px;
}

/* Dots */
.exec-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.exec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  padding: 0;
}

.exec-dot.active {
  width: 22px;
  border-radius: 8px;
  background: #1450db;
}

/* Responsive */
@media (max-width: 991px) {
  .exec-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .exec-timeline-wrap {
    max-width: 100%;
  }

  .exec-step-node {
    padding: 0 4px;
  }

  .exec-node-sub {
    display: none;
  }
}

@media (max-width: 640px) {
  .exec-flow-section {
    padding: 30px 14px 24px;
  }

  .exec-timeline-track {
    top: 18px;
  }

  .exec-node-circle {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .exec-node-label {
    font-size: 0.78rem;
  }

  .exec-card {
    padding: 18px 16px;
  }

  .exec-card-title {
    font-size: 1.05rem;
  }

  .exec-slide-img {
    max-height: 180px;
  }

  .exec-slide-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* Dark Mode */
/* ============================================================
   PROJECT HEALTH & PROGRESS COMMAND CENTER SHOWCASE
   (Left Image Mockup + Right Enterprise Feature Content)
   ============================================================ */
.health-cmd-section {
  padding: 32px 24px 28px;
  background: #f8faff;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.health-cmd-container {
  max-width: 1240px;
  margin: 0 auto;
}

.health-cmd-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
}

/* Left Media Frame */
.health-cmd-media {
  position: relative;
}

.health-cmd-frame {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #dbeafe;
  box-shadow: 0 15px 35px -8px rgba(20, 80, 219, 0.1), 0 0 0 1px rgba(20, 80, 219, 0.04);
  padding: 10px 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.health-cmd-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -8px rgba(20, 80, 219, 0.14);
}

.health-cmd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 8px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 8px;
}

.health-cmd-dots {
  display: flex;
  gap: 5px;
}

.health-cmd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.health-cmd-dot.red {
  background: #ef4444;
}

.health-cmd-dot.yellow {
  background: #f59e0b;
}

.health-cmd-dot.green {
  background: #10b981;
}

.health-cmd-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #1450db;
  background: #eff6ff;
  padding: 2px 9px;
  border-radius: 12px;
  border: 1px solid #dbeafe;
}

.health-cmd-img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.health-cmd-img {
  width: 100%;
  max-height: 380px;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

/* Floating Status Pills on Media */
.health-cmd-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.health-cmd-pill-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.health-cmd-pill-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
}

.health-cmd-pill-text span {
  font-size: 0.7rem;
  color: #94a3b8;
}

/* Right Content Column */
.health-cmd-content {
  text-align: left;
}

.health-cmd-kicker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.health-cmd-kicker-row .dms-kicker {
  font-size: 0.88rem;
  padding: 4px 14px;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.health-cmd-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #1450db;
  border: 1.2px solid #cbd5e1;
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.health-cmd-pill-btn:hover {
  background: #1450db;
  color: #ffffff;
  border-color: #1450db;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(20, 80, 219, 0.2);
}

.health-cmd-content .health-cmd-title,
.health-cmd-title {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 9px;
  letter-spacing: -0.3px;
  white-space: normal;
}

.health-cmd-content .health-cmd-desc,
.health-cmd-desc {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Clean Reference Style Bullet List */
.health-cmd-content .health-cmd-subhead,
.health-cmd-subhead {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.health-cmd-content .health-cmd-bullet-list,
.health-cmd-bullet-list {
  list-style: none;
  padding-left: 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.health-cmd-content .health-cmd-bullet-list li,
.health-cmd-bullet-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.50;
  margin-bottom: 6px;
}

.health-cmd-content .health-cmd-bullet-list li::before,
.health-cmd-bullet-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #2563eb;
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.health-cmd-content .health-cmd-bullet-list li:hover::before,
.health-cmd-bullet-list li:hover::before {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: scale(1.1);
}

.health-cmd-content .health-cmd-bullet-list strong,
.health-cmd-bullet-list strong {
  color: #0f172a;
  font-weight: 700;
  font-size: 0.98rem;
}

/* Responsive */
@media (max-width: 991px) {
  .health-cmd-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .health-cmd-title {
    font-size: 1.35rem;
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .health-cmd-section {
    padding: 30px 14px;
  }

  .health-cmd-title {
    font-size: 1.2rem;
    white-space: normal;
  }

  .health-feature-row {
    padding: 6px;
    gap: 8px;
  }
}

/* Dark Mode Support */
body.dark-mode .health-cmd-section {
  background: #061122;
}

body.dark-mode .health-cmd-frame {
  background: #0a192f;
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
}

body.dark-mode .health-cmd-title {
  color: #f8fafc;
}

body.dark-mode .health-cmd-desc {
  color: #94a3b8;
}

body.dark-mode .health-cmd-key-features {
  background: #0a192f;
  border-color: rgba(37, 99, 235, 0.25);
}

body.dark-mode .health-cmd-subhead {
  color: #f8fafc;
}

body.dark-mode .health-cmd-bullet-list li {
  color: #94a3b8;
}

body.dark-mode .health-cmd-bullet-list strong {
  color: #f8fafc;
}

body.dark-mode .health-cmd-bullet-list li::before {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
  color: #60a5fa;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.15);
}

body.dark-mode .health-cmd-content .health-cmd-bullet-list li:hover::before,
body.dark-mode .health-cmd-bullet-list li:hover::before {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #ffffff;
}

body.dark-mode .health-cmd-pill-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #93c5fd;
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .health-cmd-pill-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* ============================================================
   PROJECT MANAGEMENT INTELLIGENCE: TABBED SHOWCASE
   (Vertical Left Sidebar Tabs + Analytical Reports Sub-Tabs + 3D Flip Card)
   ============================================================ */
.pms-tab-section {
  padding: 5px 24px 60px;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  scroll-margin-top: 80px;
}

.pms-tab-container {
  max-width: 1280px;
  margin: 0 auto;
}

.pms-tab-header {
  text-align: center;
  margin-bottom: 8px;
}

.pms-tab-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #1450db;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

.pms-tab-main-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Centered Primary Tabs Navigation */
.pms-tabs-center-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

.pms-htabs-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  padding: 6px;
  border-radius: 16px;
  border: 1.2px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(20, 80, 219, 0.04);
  flex-wrap: wrap;
  justify-content: center;
}

.pms-htab-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.pms-htab-btn i {
  font-size: 0.95rem;
  color: #1450db;
  transition: all 0.25s ease;
}

.pms-htab-btn:hover {
  color: #1450db;
  background: #eff6ff;
}

.pms-htab-btn.active {
  background: #1450db;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(20, 80, 219, 0.25);
}

.pms-htab-btn.active i {
  color: #ffffff;
}

/* Main Showcase Area */
.pms-main-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* Analytical Reports Nested Layout: Left Subtabs Sidebar + Right Module Content */
.pms-analytics-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: flex-start;
}

.pms-analytics-sidebar {
  background: #f8faff;
  border: 1.5px solid #dbeafe;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 16px rgba(20, 80, 219, 0.04);
}

.pms-analytics-sidebar-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
  padding-left: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pms-analytics-sidebar-title i {
  color: #1450db;
}

.pms-analytics-subtabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pms-subtab-vbtn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1.2px solid #e2e8f0;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  font-family: inherit;
}

.pms-subtab-vbtn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  transform: translateX(2px);
}

.pms-subtab-vbtn.active {
  background: #1450db;
  border-color: #1450db;
  box-shadow: 0 4px 14px rgba(20, 80, 219, 0.25);
}

.pms-subtab-vicon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1450db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.pms-subtab-vbtn.active .pms-subtab-vicon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.pms-subtab-vtext strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 2px;
}

.pms-subtab-vbtn.active .pms-subtab-vtext strong {
  color: #ffffff;
}

.pms-subtab-vtext span {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.2;
  display: block;
}

.pms-subtab-vbtn.active .pms-subtab-vtext span {
  color: rgba(255, 255, 255, 0.85);
}

.pms-analytics-content {
  min-width: 0;
  width: 100%;
}

/* Sidebar Carousel Navigation Box */
.pms-sidebar-carousel-wrap {
  margin-top: 10px;
  animation: fadeInPms 0.3s ease;
}

.pms-carousel-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border: 1.2px solid #dbeafe;
  border-radius: 30px;
  padding: 6px 12px;
  box-shadow: 0 3px 10px rgba(20, 80, 219, 0.06);
}

.pms-carousel-nav-bar.sidebar-mode {
  width: 100%;
  justify-content: space-between;
  box-sizing: border-box;
}

.pms-carousel-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #dbeafe;
  background: #f8faff;
  color: #1450db;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.pms-carousel-arrow:hover {
  background: #1450db;
  color: #ffffff;
  border-color: #1450db;
  transform: scale(1.08);
}

.pms-carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pms-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pms-carousel-dot:hover {
  background: #93c5fd;
}

.pms-carousel-dot.active {
  width: 18px;
  border-radius: 10px;
  background: #1450db;
  box-shadow: 0 2px 6px rgba(20, 80, 219, 0.35);
}

@media (max-width: 991px) {
  .pms-analytics-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Tab Panels */
.pms-tab-panel {
  display: none;
}

.pms-tab-panel.active {
  display: block;
  animation: fadeInPms 0.35s ease forwards;
}

.pms-subview-panel {
  display: none;
}

.pms-subview-panel.active {
  display: block;
  animation: fadeInPms 0.3s ease forwards;
}

@keyframes fadeInPms {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Panel Card Layout */
.pms-panel-card {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 26px;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Workflow Pipeline Specific Card Layout (Top Image + Bottom 2-Column Split) */
.pms-panel-card.pms-wa-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px 24px;
}

.pms-wa-card .pms-wa-media-wrap {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
}

.pms-wa-card .pms-wa-img {
  width: 100%;
  max-width: 820px;
  height: auto;
  max-height: 230px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.pms-wa-card .pms-wa-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  align-items: start;
  width: 100%;
}

.pms-wa-card .pms-wa-desc-col {
  text-align: left;
}

.pms-wa-card .pms-wa-features-col {
  text-align: left;
  border-left: 1.5px solid #edf2f7;
  padding-left: 24px;
}

@media (max-width: 768px) {
  .pms-wa-card .pms-wa-bottom-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pms-wa-card .pms-wa-features-col {
    border-left: none;
    padding-left: 0;
  }
}

.pms-media-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.pms-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
}

.pms-content-col {
  text-align: left;
}

.pms-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1450db;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: -0.15px;
}

.pms-panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.pms-panel-desc {
  font-size: 0.835rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 14px;
  letter-spacing: -0.18px;
}

.health-cmd-subhead {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.health-cmd-bullet-list {
  list-style: none;
  padding-left: 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.health-cmd-bullet-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.815rem;
  color: #475569;
  line-height: 1.45;
  letter-spacing: -0.18px;
}

.health-cmd-bullet-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #2563eb;
  font-size: 7.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.health-cmd-bullet-list li:hover::before {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: scale(1.1);
}

.health-cmd-bullet-list li strong {
  color: #0f172a;
  font-weight: 700;
  letter-spacing: -0.2px;
}

/* Responsive */
@media (max-width: 991px) {
  .pms-vertical-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pms-panel-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .pms-tab-section {
    padding: 30px 14px;
  }

  .pms-vtab-btn {
    padding: 10px;
  }

  .pms-subactions-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pms-critical-subtabs {
    flex-wrap: wrap;
    border-radius: 16px;
  }

  .pms-subtab-btn {
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .td-fc-pills {
    grid-template-columns: 1fr;
  }

  .td-flip-card-inner {
    height: 290px;
    min-height: 290px;
  }
}

/* Dark Mode Support */
body.dark-mode .pms-tab-section {
  background: #020c1b;
}

body.dark-mode .pms-tab-main-title {
  color: #f8fafc;
}

body.dark-mode .pms-vertical-sidebar {
  background: #0a192f;
  border-color: rgba(37, 99, 235, 0.25);
}

body.dark-mode .pms-vertical-nav-title {
  color: #94a3b8;
}

body.dark-mode .pms-vtab-btn {
  background: #061122;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .pms-vtab-icon {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
}

body.dark-mode .pms-vtab-text strong {
  color: #f8fafc;
}

body.dark-mode .pms-vtab-text span {
  color: #94a3b8;
}

body.dark-mode .pms-vtab-btn:hover {
  background: #0d1f38;
  border-color: #2563eb;
}

body.dark-mode .pms-vtab-btn.active {
  background: #2563eb;
  border-color: #2563eb;
}

body.dark-mode .pms-vtab-btn.active .pms-vtab-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

body.dark-mode .pms-vtab-btn.active .pms-vtab-text strong {
  color: #ffffff;
}

body.dark-mode .pms-vtab-btn.active .pms-vtab-text span {
  color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .pms-subactions-header {
  background: #0a192f;
  border-color: rgba(37, 99, 235, 0.25);
}

body.dark-mode .pms-subactions-label {
  color: #94a3b8;
}

body.dark-mode .pms-critical-subtabs {
  background: #061122;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .pms-subtab-btn {
  color: #94a3b8;
}

body.dark-mode .pms-subtab-btn.active {
  background: #1e293b;
  color: #60a5fa;
  border-color: rgba(37, 99, 235, 0.4);
}

body.dark-mode .pms-panel-card {
  background: #0a192f;
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
}

body.dark-mode .pms-media-wrap {
  background: #061122;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .pms-panel-title {
  color: #f8fafc;
}

body.dark-mode .pms-panel-desc {
  color: #94a3b8;
}

/* ============================================================
   WORKFLOW ANALYTICS 5-SLIDE CAROUSEL STYLES
   ============================================================ */
.pms-wa-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pms-wa-slide {
  display: none;
}

.pms-wa-slide.active {
  display: block;
  animation: fadeInPms 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pms-carousel-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1.2px solid #dbeafe;
  border-radius: 30px;
  width: fit-content;
  margin: 4px auto 0;
  box-shadow: 0 4px 14px rgba(20, 80, 219, 0.06);
}

.pms-carousel-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8faff;
  border: 1.2px solid #cbd5e1;
  color: #1450db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.pms-carousel-arrow:hover {
  background: #1450db;
  color: #ffffff;
  border-color: #1450db;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(20, 80, 219, 0.25);
}

.pms-carousel-arrow:active {
  transform: scale(0.95);
}

.pms-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pms-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pms-carousel-dot:hover:not(.active) {
  background: #93c5fd;
  transform: scale(1.2);
}

.pms-carousel-dot.active {
  background: #1450db;
  width: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(20, 80, 219, 0.3);
}

/* Dark Mode Carousel Overrides */
body.dark-mode .pms-carousel-nav-bar {
  background: #0a192f;
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

body.dark-mode .pms-carousel-arrow {
  background: #061122;
  border-color: rgba(255, 255, 255, 0.12);
  color: #93c5fd;
}

body.dark-mode .pms-carousel-arrow:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

body.dark-mode .pms-carousel-dot {
  background: rgba(255, 255, 255, 0.2);
}

body.dark-mode .pms-carousel-dot.active {
  background: #60a5fa;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.4);
}

/* Custom Top-Picture & Bottom 2-Column Split for Workflow Analytics */
.pms-wa-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  padding: 10px !important;
  align-items: stretch !important;
}

.pms-wa-media-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
}

.pms-wa-img {
  width: 100%;
  max-height: 290px;
  object-fit: contain;
  display: block;
}

.pms-wa-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: start;
  border-top: 1px solid #edf2f7;
  padding-top: 7px;
}

.pms-wa-desc-col {
  text-align: left;
}

.pms-wa-desc-col .pms-badge-tag {
  margin-bottom: 6px;
}

.pms-wa-desc-col .pms-panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 8px;
}

.pms-wa-desc-col .pms-panel-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #475569;
  margin-bottom: 0;
}

.pms-wa-features-col {
  text-align: left;
  background: #f8faff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 14px 18px;
}

.pms-wa-features-col .health-cmd-subhead {
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.pms-wa-features-col .health-cmd-bullet-list {
  gap: 6px;
}

.pms-wa-features-col .health-cmd-bullet-list li {
  font-size: 0.8rem;
  line-height: 1.35;
}

/* Responsive for Workflow Analytics Bottom Grid */
@media (max-width: 860px) {
  .pms-wa-bottom-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   DARK MODE SUPPORT FOR SOLUTION / PROJECT MANAGEMENT SECTIONS
   ============================================================ */

/* 1. Project Execution Flow Section (#project-execution-flow) */
body.dark-mode .exec-section {
  background: #0b1120 !important;
  color: #f8fafc !important;
}

body.dark-mode .exec-header .exec-kicker {
  color: #60a5fa !important;
}

body.dark-mode .exec-header .exec-main-title {
  color: #f8fafc !important;
}

body.dark-mode .exec-stepper-wrap {
  background: #111827 !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .exec-stepper-track {
  background: #1e293b !important;
}

body.dark-mode .exec-step-node .exec-node-circle {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #94a3b8 !important;
}

body.dark-mode .exec-step-node.active .exec-node-circle {
  background: #1d4ed8 !important;
  border-color: #60a5fa !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3) !important;
}

body.dark-mode .exec-step-node .exec-node-label {
  color: #f8fafc !important;
}

body.dark-mode .exec-step-node .exec-node-sub {
  color: #94a3b8 !important;
}

body.dark-mode .exec-card {
  background: #111827 !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  color: #f8fafc !important;
}

body.dark-mode .exec-card-title {
  color: #f8fafc !important;
}

body.dark-mode .exec-card-tagline {
  color: #60a5fa !important;
}

body.dark-mode .exec-card-desc {
  color: #94a3b8 !important;
}

body.dark-mode .exec-next-stage-btn {
  background: #1e293b !important;
  color: #60a5fa !important;
  border-color: rgba(59, 130, 246, 0.35) !important;
}

body.dark-mode .exec-next-stage-btn:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
}

body.dark-mode .exec-screen-box {
  background: #111827 !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .exec-screen-topbar {
  background: #1e293b !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .exec-topbar-title {
  background: rgba(59, 130, 246, 0.2) !important;
  color: #93c5fd !important;
  border-color: rgba(59, 130, 246, 0.35) !important;
}

body.dark-mode .exec-carousel-viewport {
  background: #0b1120 !important;
}

body.dark-mode .exec-slide-caption {
  background: #1e293b !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
}

body.dark-mode .exec-caption-badge {
  background: #1d4ed8 !important;
  color: #ffffff !important;
}

body.dark-mode .exec-caption-text {
  color: #f8fafc !important;
}

body.dark-mode .exec-nav-btn {
  background: #1e293b !important;
  color: #60a5fa !important;
  border-color: #334155 !important;
}

body.dark-mode .exec-nav-btn:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
}

body.dark-mode .exec-pagination-dot {
  background: #334155 !important;
}

body.dark-mode .exec-pagination-dot.active {
  background: #3b82f6 !important;
}

/* 2. Primary Tabs & Section Container (#project-views) */
body.dark-mode .pms-tab-section {
  background: #0b1120 !important;
  color: #f8fafc !important;
}

body.dark-mode .pms-tab-kicker {
  color: #60a5fa !important;
}

body.dark-mode .pms-tab-main-title {
  color: #f8fafc !important;
}

body.dark-mode .pms-htabs-nav {
  background: #111827 !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .pms-htab-btn {
  color: #94a3b8 !important;
}

body.dark-mode .pms-htab-btn:hover {
  color: #60a5fa !important;
  background: rgba(59, 130, 246, 0.1) !important;
}

body.dark-mode .pms-htab-btn.active {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.5) !important;
}

/* 3. Analytical Reports Left Sidebar & Subtabs */
body.dark-mode .pms-analytics-sidebar {
  background: #111827 !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .pms-analytics-sidebar-title {
  color: #94a3b8 !important;
}

body.dark-mode .pms-analytics-sidebar-title i {
  color: #60a5fa !important;
}

body.dark-mode .pms-subtab-vbtn {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .pms-subtab-vbtn:hover {
  background: #273549 !important;
  border-color: #60a5fa !important;
}

body.dark-mode .pms-subtab-vbtn.active {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.5) !important;
}

body.dark-mode .pms-subtab-vicon {
  background: #273549 !important;
  color: #60a5fa !important;
}

body.dark-mode .pms-subtab-vbtn.active .pms-subtab-vicon {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

body.dark-mode .pms-subtab-vtext strong {
  color: #f8fafc !important;
}

body.dark-mode .pms-subtab-vtext span {
  color: #94a3b8 !important;
}

body.dark-mode .pms-subtab-vbtn.active .pms-subtab-vtext strong {
  color: #ffffff !important;
}

body.dark-mode .pms-subtab-vbtn.active .pms-subtab-vtext span {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* 4. Sidebar Carousel Controller (< . . . . >) */
body.dark-mode .pms-carousel-nav-bar {
  background: #1e293b !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .pms-carousel-arrow {
  background: #0f172a !important;
  color: #60a5fa !important;
  border-color: #334155 !important;
}

body.dark-mode .pms-carousel-arrow:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
}

body.dark-mode .pms-carousel-dot {
  background: #475569 !important;
}

body.dark-mode .pms-carousel-dot.active {
  background: #3b82f6 !important;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.6) !important;
}

/* 5. Main Content Panels & Cards */
body.dark-mode .pms-panel-card {
  background: #111827 !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  color: #f8fafc !important;
}

body.dark-mode .pms-media-wrap,
body.dark-mode .pms-wa-media-wrap {
  background: #0f172a !important;
  border-color: #334155 !important;
}

body.dark-mode .pms-badge-tag {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
  color: #93c5fd !important;
}

body.dark-mode .pms-panel-title {
  color: #f8fafc !important;
}

body.dark-mode .pms-panel-desc {
  color: #94a3b8 !important;
}

body.dark-mode .health-cmd-subhead {
  color: #f8fafc !important;
}

body.dark-mode .health-cmd-bullet-list li {
  color: #cbd5e1 !important;
}

body.dark-mode .health-cmd-bullet-list li strong {
  color: #f8fafc !important;
}

body.dark-mode .health-cmd-bullet-list li::before {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
  color: #60a5fa !important;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.15) !important;
}

body.dark-mode .pms-wa-features-col {
  background: #1e293b !important;
  border-color: rgba(59, 130, 246, 0.25) !important;
}

body.dark-mode .pms-wa-bottom-grid {
  border-top-color: #1e293b !important;
}

body.dark-mode .pms-wa-features-col {
  background: #061122;
  border-color: rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   CHECKLIST DESIGNER & TEMPLATE SECTION STYLES (MATCHING USER REFERENCE UI)
   ========================================================================== */
.template-section {
  padding: 75px 24px;
  background: #ffffff;
}

.template-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .template-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.template-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.template-content-title {
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 800;
  color: #0b1727;
  line-height: 1.2;
  margin: 0 0 8px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.feature-item>div:not(.feature-icon-box) {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.feature-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #e8f0fe;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.feature-item-title {
  font-size: 1.16rem;
  font-weight: 800;
  color: #0b1727;
  line-height: 1.3;
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
}

.feature-item-desc {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* Dark Mode Overrides */
body.dark-mode .template-section {
  background: #0f172a !important;
}

body.dark-mode .template-content-title,
body.dark-mode .feature-item-title {
  color: #f8fafc !important;
}

body.dark-mode .feature-item-desc {
  color: #94a3b8 !important;
}

body.dark-mode .feature-icon-box {
  background: rgba(37, 99, 235, 0.2) !important;
  color: #60a5fa !important;
}