:root {
  --color-bg: #000;
  --color-text: #eae9e9;
  --color-white: #ffffff;

  --font-main: 'Plus Jakarta Sans', sans-serif;

  --heading-xl: 60px;
  --heading-lg: 50px;
  --text-base: 16px;

  --section-gap: 120px;

  --fw-semibold: 600;
}

/* =====================
   GLOBAL STYLES
===================== */

body {
  background-color: var(--color-bg);
  font-family: var(--font-main);
  color: var(--color-text);
}

.section {
  padding: 40px;
  margin-top: var(--section-gap) 0;
}

.container-custom {
  max-width: 1460px;
  margin: 0 auto;
  padding: 10px 16px;
}

/* =====================
   TYPOGRAPHY
===================== */

.heading-xl {
  font-size: var(--heading-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
}

.heading-lg {
  font-size: var(--heading-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
}

.text-base {
  font-size: var(--text-base);
  color: var(--color-text);
}

@media (max-width: 992px) {
  :root {
    --heading-xl: 48px;
    --heading-lg: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --heading-xl: 36px;
    --heading-lg: 30px;
    --text-base: 15px;
  }
}

@media (max-width: 576px) {
  :root {
    --heading-xl: 30px;
    --heading-lg: 24px;
    --text-base: 14px;
  }
}
/* =========
/* =====================
   HERO BASE (REUSABLE)
===================== */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* =====================
   BACKGROUND LAYER
===================== */

.hero-media {
  position: absolute;
  inset: 0;
  background: url('/wp-content/themes/twentytwentythree-child/image/bannerr.png')
    center/cover no-repeat;
  z-index: 0;
}

/* overlay (clean separation) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* =====================
   CONTENT
===================== */

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text);
}

.hero-text h1 {
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--color-white);
  font-size: var(--heading-xl);
  font-family: var(--font-main);
  font-weight: 700;
}

.hero-text p {
  margin-bottom: 32px;
  line-height: 1.6;
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: var(--text-base);
}

/* =====================
   BUTTON (FIXED PROPERLY)
===================== */

.btn-primary-custom {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;

  background: linear-gradient(0deg, #015094, #015094);
  color: #fff;

  font-weight: 600;
  text-decoration: none;

  transition: 0.25s ease;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
/* =====================
   SECTION SPACING FIX
===================== */

/* mobile tighter spacing */
@media (max-width: 768px) {
  .section {
    padding: 28px 0;
  }
}

/* =====================
   SECTION BG + HEADER
===================== */

.healthcare-features {
  background: #000;
  padding: 80px 0;
}

.healthcare-header {
  margin-bottom: 48px;
}

.healthcare-header h2 {
  color: #fff;
  margin-bottom: 12px;
}

.healthcare-header p {
  color: #cfcfcf;
  max-width: 680px;
  margin: 0 auto;
}

/* =====================
   GRID — 2 ROWS, each row is its own 2-col flex
===================== */

.healthcare-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.healthcare-row {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

/* =====================
   CARD BASE
===================== */

.health-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}

/* IMAGE */
.health-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================
   COLUMN WIDTHS
   Row 1: card1=small(~40%), card2=large(~60%)
   Row 2: card3=large(~60%), card4=small(~40%)
   Mirror each other exactly
===================== */

/* Row 1 */
.healthcare-row:nth-child(1) .health-card:nth-child(1) {
  width: 40%;
  height: 340px;
}

.healthcare-row:nth-child(1) .health-card:nth-child(2) {
  width: 58%;
  height: 340px;
}

/* Row 2 — mirrored */
.healthcare-row:nth-child(2) .health-card:nth-child(1) {
  width: 58%;
  height: 380px;
}

.healthcare-row:nth-child(2) .health-card:nth-child(2) {
  width: 40%;
  height: 380px;
}

/* =====================
   OVERLAY
===================== */

.health-card-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 24px;

  background: linear-gradient(
    to top,
    rgba(1, 71, 135, 0.95) 0%,
    rgba(1, 71, 135, 0.55) 45%,
    transparent 100%
  );

  transform: translateY(100%);
  transition: transform 0.42s ease;
}

.health-card-overlay h4 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.health-card-overlay p {
  font-size: 14px;
  color: #eae9e9;
  line-height: 1.6;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
}

/* =====================
   HOVER
===================== */

.health-card:hover .health-card-overlay {
  transform: translateY(0);
}

/* =====================
   MOBILE
===================== */

@media (max-width: 992px) {
  .healthcare-row {
    flex-direction: column;
  }

  .healthcare-row .health-card {
    width: 100% !important;
    height: 260px !important;
  }

  /* always show overlay on mobile — no hover */
  .health-card-overlay {
    transform: translateY(0);
  }
}
/* =====================
   SERVICES SECTION
===================== */

.services-section {
  background: #000;
  /* padding: 70px 0 80px; */
}

.services-header {
  max-width: 820px;
  margin: 0 auto 60px;
  text-align: center;
}

.services-header .heading-lg {
  line-height: 1.2;
  margin-bottom: 16px;
}

.services-subtext {
  opacity: 0.85;
  line-height: 1.6;
  font-size: var(--text-base);
  color: var(--color-text);
}

/* =====================
   SLIDER
===================== */

.services-slider-outer {
  overflow: hidden;
}

.services-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.service-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
}

/* =====================
   CARD BASE
===================== */

.service-card {
  position: relative;
  padding: 32px;
  border-radius: 16px;
  /* black bg + 1px white border at 20% opacity */
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s ease;
}

/* =====================
   ICON
===================== */

.service-icon {
  margin-bottom: 28px;
}

.service-icon svg {
  width: 42px;
  height: 42px;
}

/* =====================
   TITLE
===================== */

.service-title {
  font-size: 22px;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: 14px;
  line-height: 1.3;
}

/* =====================
   DESCRIPTION
===================== */

.service-desc {
  font-size: var(--text-base);
  color: rgba(234, 233, 233, 0.75);
  margin-bottom: 20px;
  line-height: 1.65;
  flex: 1;
  transition: color 0.3s ease;
}

/* =====================
   READ MORE
===================== */

.service-read-more {
  font-size: 15px;
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.service-read-more:hover {
  color: #fff;
}

.read-more-arrow {
  font-style: normal;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  display: inline-block;
}

/* =====================
   RADIAL GRADIENT — #66B6FF → #014787
   Applied via ::before pseudo overlay
===================== */

/* =====================
   HOVER BACKGROUND IMAGE
===================== */

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 15px;

  background: url('/wp-content/themes/twentytwentythree-child/img/Border.png')
    no-repeat;
  background-size: cover;
  background-position: center;

  opacity: 0;
  transition: opacity 0.6s ease; /* smooth slow fade */

  z-index: 0;
  pointer-events: none;
}

/* Activate on hover / active */
.service-card:hover::before,
.service-card.active::before {
  opacity: 1;
}

/* Decorative light orb bottom-right */
.service-card::after {
  content: '';
  position: absolute;
  bottom: -70px;
  right: -70px;
  width: 240px;
  height: 240px;
  background: radial-gradient(
    circle,
    rgba(102, 182, 255, 0.3) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 0;
  pointer-events: none;
}

/* Activate on hover or .active */
.service-card:hover::before,
.service-card.active::before {
  opacity: 1;
}

.service-card:hover::after,
.service-card.active::after {
  opacity: 1;
}

/* All direct children sit above pseudo-elements */
.service-card > * {
  position: relative;
  z-index: 1;
}

/* Text contrast on active/hover */
.service-card:hover .service-desc,
.service-card.active .service-desc {
  color: rgba(255, 255, 255, 0.9);
}

.service-card:hover .read-more-arrow,
.service-card.active .read-more-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* =====================
   BOTTOM ROW
===================== */

.services-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
}

.btn-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  background: #0d5ea6;
  color: #fff;
  font-weight: var(--fw-semibold);
  font-size: 16px;
  font-family: var(--font-main);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

/* =====================
   NAV ARROWS
===================== */

.slider-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: transparent;
}

.nav-btn.prev-btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.nav-btn.prev-btn svg path {
  stroke: rgba(255, 255, 255, 0.8);
}

.nav-btn.prev-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.nav-btn.next-btn {
  background: #0d5ea6;
  border: 1px solid #0d5ea6;
}

.nav-btn.next-btn:hover:not(:disabled) {
  background: #0a4d8c;
}

.nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 1024px) {
  .container-custom {
    padding: 10px 24px;
  }
}

@media (max-width: 992px) {
  .services-header {
    margin-bottom: 40px;
  }
  .service-slide {
    flex: 0 0 calc(50% - 12px);
    min-width: calc(50% - 12px);
  }
  .service-card {
    padding: 24px;
  }
  .service-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .service-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .service-card {
    padding: 20px;
  }
  .service-title {
    font-size: 20px;
  }
  .services-header .heading-lg {
    font-size: 28px;
  }
  .service-desc {
    font-size: 14px;
  }
  .container-custom {
    padding: 10px 16px;
  }
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 15px;

  background: url('/wp-content/themes/twentytwentythree-child/img/Border.png')
    no-repeat;
  background-size: cover;
  background-position: center;

  opacity: 0;
  transition: opacity 0.6s ease; /* smooth slow fade */

  z-index: 0;
  pointer-events: auto;
}

/* Activate on hover / active */
.service-card:hover::before,
.service-card.active::before {
  opacity: 1;
}

/* Decorative light orb bottom-right */
.service-card::after {
  content: '';
  position: absolute;
  bottom: -70px;
  right: -70px;
  width: 240px;
  height: 240px;
  background: radial-gradient(
    circle,
    rgba(102, 182, 255, 0.3) 0%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 0;
  pointer-events: auto;
}

/* Activate on hover or .active */
.service-card:hover::before,
.service-card.active::before {
  opacity: 1;
}

.service-card:hover::after,
.service-card.active::after {
  opacity: 1;
}

/* All direct children sit above pseudo-elements */
.service-card > * {
  position: relative;
  z-index: 1;
}

/* Text contrast on active/hover */
.service-card:hover .service-desc,
.service-card.active .service-desc {
  color: rgba(255, 255, 255, 0.9);
}

.service-card:hover .read-more-arrow,
.service-card.active .read-more-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* =====================
   CTA BANNER SECTION
===================== */

.cta-banner-section {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin: 0 0 60px 0;
  height: 290px;
  background: url('/wp-content/themes/twentytwentythree-child/image/ctaa.png')
    center center / cover no-repeat;
}

/* Background image */
.cta-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Inner layout */
/* WRAPPER SPLIT */
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LEFT */
.cta-banner-content {
  flex: 0 0 50%;
  color: #fff;
}

/* RIGHT */
.cta-banner-image {
  flex: 0 0 50%;
  display: flex;
  justify-content: flex-end;
}

.cta-banner-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner-content,
  .cta-banner-image {
    flex: 100%;
  }

  .cta-banner-image {
    justify-content: center;
    margin-top: 20px;
  }
}
.cta-banner-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 22px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Button — white pill matching design */
.cta-banner-btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 50px;
  background: #fff;
  color: #0165c0;
  font-size: 14.5px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  border: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.cta-banner-btn:hover {
  background: #f0f7ff;
  color: #014a8c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

/* Right people image */
.cta-banner-people {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  height: 190px;
}

.cta-banner-people img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 991px) {
  .cta-banner-inner {
    padding: 36px 36px;
  }
  .cta-banner-content h2 {
    font-size: 26px;
  }
  .cta-banner-people {
    height: 160px;
  }
}

@media (max-width: 767px) {
  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 72px 8px;
    gap: 20px;
  }
  .cta-banner-content {
    max-width: 100%;
  }
  .cta-banner-content h2 {
    font-size: 24px;
    margin-bottom: 18px;
  }
  .cta-banner-people {
    width: 100%;
    height: 140px;
    justify-content: center;
  }
  .cta-banner-section {
    border-radius: 14px;
  }
  .cta-banner-image {
    display: none;
  }
}
/* =====================
   IMPLEMENTATION SECTION
===================== */

/* =====================
   IMPLEMENTATION SECTION
===================== */

.impl-section {
  background: #000;
  padding: 100px 0 80px;
  overflow: hidden;
}

/* =====================
   HEADER
===================== */

.impl-header {
  text-align: center;
  margin-bottom: 70px;
}

.impl-header h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 16px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.impl-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 640px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* =====================
   TRACK WRAPPER
===================== */

.impl-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin-top: 60px;
}

/* =====================
   EACH PHASE
===================== */

.impl-phase {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* =====================
   ZIGZAG HEIGHT (FIXED)
===================== */

.impl-slot-top,
.impl-slot-bottom,
.impl-slot-empty {
  height: 340px;
}

/* ALIGN CONTENT */
.impl-slot-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.impl-slot-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

/* =====================
   DOT
===================== */

.impl-dot-row {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  width: 100%;
  position: relative;
  z-index: 3;
}

.impl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ecdc4, #014787);
  border: 2px solid #000;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.25);
}

/* =====================
   ICON BOX
===================== */

.impl-icon-box {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: #111;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* gradient border */
.impl-icon-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, #4ecdc4, #014787);
  z-index: -1;
}

.impl-icon-box::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 16px;
  background: #111;
  z-index: 0;
}

.impl-icon-box img {
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 1;
}

/* placeholder */
.impl-icon-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(78, 205, 196, 0.15);
  position: relative;
  z-index: 1;
}

/* =====================
   CONTENT
===================== */

.impl-content {
  text-align: left;
  max-width: 220px;
}

.impl-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.impl-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* =====================
   SVG WAVE
===================== */

.impl-svg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

#implWaveSvg {
  width: 100%;
  overflow: visible;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 900px) {
  .impl-track {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 48px;
  }

  .impl-svg-wrap {
    display: none;
  }

  /* vertical line */
  .impl-track::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #4ecdc4, #014787);
  }

  .impl-phase {
    flex-direction: row;
    gap: 18px;
    margin-bottom: 40px;
  }

  .impl-slot-top,
  .impl-slot-bottom {
    height: auto;
    flex-direction: row;
    gap: 18px;
  }

  .impl-slot-empty {
    display: none;
  }

  .impl-dot-row {
    position: absolute;
    left: -38px;
    top: 18px;
  }

  .impl-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .impl-header h2 {
    font-size: 30px;
  }

  .impl-header p {
    font-size: 14px;
  }

  .impl-section {
    padding: 60px 0;
  }
  .impl-track {
    height: 400px;
    overflow-y: auto;
  }
  /* Chrome, Edge, Safari */
  .impl-track::-webkit-scrollbar {
    display: none;
  }

  /* Firefox */
  .impl-track {
    scrollbar-width: none;
  }
  .impl-dot-row {
    display: none;
  }
}
/* =====================
   APPLICATIONS SECTION
===================== */

.applications-section {
  background: url('/wp-content/themes/twentytwentythree-child/image/application.png')
    center center / cover no-repeat;
  padding: 80px 0;
  position: relative;
  overflow: hidden; /* 🔥 prevent outer overflow */
}

/* =====================
   LAYOUT: left header + right carousel
===================== */

.applications-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* LEFT PANEL */
.applications-left {
  flex: 0 0 320px;
  max-width: 320px;
  padding-top: 8px;
}

.applications-left h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 16px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.applications-left p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 0 0 36px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* NAV */
.applications-nav {
  display: flex;
  gap: 10px;
}

/* RIGHT SIDE FIX */
.applications-right {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-width: 0; /* 🔥 CRITICAL FIX */
}

/* =====================
   OWL FIXES
===================== */

#appCarousel {
  width: 100%;
}

#appCarousel .owl-stage {
  display: flex;
}

#appCarousel .owl-item {
  display: flex;
  justify-content: center;
}

/* =====================
   NAV BUTTONS
===================== */

.app-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #0165c0;
  background: #fff;
  color: #0165c0;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.app-nav-btn:hover {
  background: #0165c0;
  color: #fff;
  box-shadow: 0 4px 14px rgba(1, 101, 192, 0.35);
}

/* =====================
   DOTS
===================== */

.applications-right .owl-dots {
  margin-top: 24px;
  text-align: left;
  padding-left: 4px;
}

.applications-right .owl-dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25) !important;
  margin: 0 4px;
  transition: all 0.25s ease;
}

.applications-right .owl-dot.active span {
  width: 28px;
  border-radius: 4px;
  background: #fff !important;
}

/* =====================
   CARD (FIXED CLEAN VERSION)
===================== */

.app-card {
  background: #fff;
  border-radius: 14px 40px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);

  display: flex;
  flex-direction: column;

  width: 100%;
  max-width: 360px; /* 🔥 reduced to prevent overflow */

  height: 491px;
  overflow: hidden;

  gap: 10px;
}

/* IMAGE */
.app-card-img {
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #e8eef5;
  position: relative;
}

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

/* OVERLAY */
.app-card-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

.app-card-img-overlay h5 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* BODY */
.app-card-body {
  padding: 0 18px 16px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-card-body p {
  font-size: 13.5px;
  color: #555;
  line-height: 1.6;
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* LIST */
.app-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #333;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.5;
}

.app-list-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0165c0;
  flex-shrink: 0;
  margin-top: 5px;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 991px) {
  .applications-inner {
    flex-direction: column;
    gap: 32px;
  }

  .applications-left {
    flex: none;
    max-width: 100%;
  }

  .applications-left h2 {
    font-size: 26px;
  }

  .app-card {
    max-width: 100%;
    height: auto;
    min-height: 440px;
  }
}

@media (max-width: 767px) {
  .applications-section {
    padding: 56px 0;
  }

  .applications-left h2 {
    font-size: 22px;
  }

  .app-card {
    border-radius: 14px 24px 14px 14px;
  }

  .app-card-img {
    height: 170px;
  }
}
/* =========================
   CTA NEW SECTION
========================= */

/* FORCE STRUCTURE */

.cta-new-section {
  padding: 40px 0;
  background: #000;
}

.cta-new-wrapper {
  max-width: 1200px;
  margin: 0 auto;

  display: flex !important; /* FORCE */
  flex-direction: row !important;

  border-radius: 16px;
  overflow: hidden;

  background-image: url('/wp-content/themes/twentytwentythree-child/image/cta-new.png');
  background-size: cover;
  background-position: left center;
}

/* LEFT */

.cta-new-left {
  flex: 0 0 50%;
  padding: 48px 40px;
  color: #fff;
  z-index: 2;
}

/* RIGHT */

.cta-new-right {
  flex: 0 0 50%;
  height: 304px; /* match your figma height */
}

.cta-new-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TEXT */

.cta-new-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-new-desc {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 20px;
}

/* BUTTON */

.cta-new-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 30px;
  background: #fff;
  font-weight: 700;
  color: #014787;
  font-size: 18px;
  text-decoration: none;
}
.cta-new-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* =========================
   RIGHT SIDE
========================= */

.cta-new-right {
  width: 50%;
  height: 100%;
}

.cta-new-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
  .cta-new-wrapper {
    flex-direction: column;
  }

  .cta-new-left,
  .cta-new-right {
    width: 100%;
  }

  .cta-new-left {
    padding: 32px 24px;
    text-align: center;
  }

  .cta-new-right {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .cta-new-title {
    font-size: 18px;
  }

  .cta-new-desc {
    font-size: 13px;
  }

  .cta-new-btn {
    font-size: 13px;
    padding: 9px 16px;
  }
  .cta-new-right {
    display: none;
  }
  .cta-new-left {
    flex: 0 0 100%;
  }
}
/* table SECTION */
.comparison-section {
  background: #000;
}

/* HEADER */
.comparison-header {
  max-width: 800px;
  margin: 0 auto 50px;
}

.comparison-desc {
  opacity: 0.8;
}

/* WRAPPER (SCROLL FOR MOBILE) */
.comparison-table-wrapper {
  overflow-x: auto;
}

/* TABLE */
.comparison-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

/* HEAD */
.comparison-table thead th {
  padding: 18px;
  text-align: left;

  background: linear-gradient(90deg, #014787 0%, #000000 50%, #014787 100%);
  color: #fff;

  font-weight: var(--fw-semibold);
}

/* CELLS */
.comparison-table td {
  padding: 18px;
  color: var(--color-text);

  background: rgba(17, 99, 251, 0.1); /* 10% */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* FIRST COLUMN */
.comparison-table td:first-child {
  color: #fff;
  font-weight: var(--fw-semibold);
}

/* FLEX CELL */
.cell-flex {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cell-flex img {
  width: 18px;
  margin-top: 3px;
}

/* HOVER */
.comparison-table tbody tr:hover {
  background: rgba(17, 99, 251, 0.15);
}

/* SCROLLBAR (CLEAN) */
.comparison-table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.comparison-table-wrapper::-webkit-scrollbar-thumb {
  background: #1163fb;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .comparison-header h2 {
    font-size: 28px;
  }
  .comparison-table thead th,
  .comparison-table td {
    padding: 12px;
    font-size: 14px;
  }
}
/* FAQ SECTION */
.faq-section {
  background: #000;
}

/* HEADER */
.faq-header {
  margin-bottom: 50px;
}

/* LIST */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

/* ITEM */

.faq-item {
  padding: 20px 0;
  cursor: pointer;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding-left: 10px;
}
/* HEAD */
.faq-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LEFT */
.faq-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* NUMBER */
.faq-number {
  font-size: 32px;
  font-weight: 600;

  background: radial-gradient(
    94.43% 516.59% at 3.62% 13.88%,
    #014787 0%,
    #2f85d4 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* TITLE */
.faq-left h4 {
  font-size: 18px;
  color: var(--color-white);
  font-weight: var(--fw-semibold);
}

/* ICON */
.faq-icon {
  font-size: 24px;
  color: #fff;
  transition: 0.3s;
}

/* BODY */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-body p {
  margin-top: 10px;
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
}

/* ACTIVE */
.faq-item.active .faq-body {
  max-height: 300px;
}

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

/* HOVER */
.faq-item:hover {
  border-color: #1163fb;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .faq-header h2 {
    font-size: 28px;
  }
  .faq-left {
    gap: 12px;
  }

  .faq-number {
    font-size: 24px;
  }

  .faq-left h4 {
    font-size: 16px;
  }
}
/* Section 11 Style*/
.cta2-ribbon-section {
  position: relative;
  padding: 40px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background:
    linear-gradient(to right, #66b6ff75, #014775),
    url(/wp-content/themes/twentytwentythree-child/image/rpa-agentic/cta2bg.webp)
      no-repeat center;
  background-size: cover;
  overflow: visible;
}

/* Layout */
.cta2-ribbon-inner {
  position: relative;
}

/* Content */
.cta2-ribbon-title {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 10px;
}
.cta2-ribbon-desc {
  font-size: 17.5px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 20px;
}

/* Button */
.cta2-ribbon-btn {
  background-color: #ffffff !important;
  color: #014787 !important;
  padding: 12px 26px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.cta2-ribbon-btn:hover {
  background-color: #e6f2ff;
}

/* Wrapper */
.cta2-ribbon-image-wrapper {
  position: absolute;
  bottom: -109px;
  right: -25px;
  max-width: 450px;
  z-index: 3;
}

/* Main Image (front) */
.cta2-ribbon-image {
  width: 70%;
  position: relative;
  z-index: 3;
}

/* Floating animation */
@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Card base */
.ani-card {
  position: absolute;
  width: 140px;
  z-index: 1;
  animation: floatUpDown 4s ease-in-out infinite;
}

/* Card 1 */
.ani-card.card1 {
  top: 25%;
  right: 80%;
  animation-delay: 0s;
}

/* Card 2 */
.ani-card.card2 {
  top: 19%;
  right: 10%;
  animation-delay: 1.5s;
}

/* =========================
   TABLET (≤ 991px)
========================= */
@media (max-width: 991px) {
  .hide-ui {
    display: none;
  }
  .cta2-ribbon-section {
    text-align: center;
    padding: 50px 20px;
  }

  .cta2-ribbon-title {
    font-size: 28px;
  }

  .cta2-ribbon-image-wrapper {
    position: relative;
    bottom: 0;
    margin-top: 30px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================
   MOBILE (≤ 576px)
========================= */
@media (max-width: 768px) {
  .hide-ui {
    display: none;
  }
  .cta2-ribbon-section {
    padding: 40px 15px;
  }

  .cta2-ribbon-title {
    font-size: 22px;
    line-height: 1.4;
  }

  .cta2-ribbon-btn {
    padding: 10px 22px !important;
    font-size: 14px;
  }

  .cta2-ribbon-image-wrapper {
    max-width: 260px;
    margin-top: 20px;
  }
}
