/**
 * Next Gen System — Permanent dark mode only
 * No light theme, no color switcher, no theme toggle UI.
 */

/* Hide leftover switchers if any HTML remains */
.color-scheme-wrap,
.ai-theme-toggle,
#aiThemeToggle {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* =========================================================
   DARK MODE — body.ai-dark only
   ========================================================= */

body.ai-dark {
  --title-color: #f3f4f8;
  --body-color: #b8bcc8;
  --white-color: #ffffff;
  --smoke-color: #2a2a2a;
  --smoke-color2: #242424;
  --th-border-color: #404040;
  --black-color: #f3f4f8;
  --black-color2: #e8e8e8;
  --section-space: 48px;
  --section-space-mobile: 36px;
  --section-title-space: 32px;
  background-color: #1a1a1a !important;
  color: #b8bcc8;
}

/* Consecutive sections should not stack 48+48 of empty padding */
body.ai-dark .space + .space,
body.ai-dark .space + section,
body.ai-dark section + .space,
body.ai-dark section + section {
  padding-top: 28px;
}

/* Longer “Next Gen System” wordmark */
body.ai-dark .header-logo {
  max-width: 220px !important;
}
body.ai-dark .header-logo img,
body.ai-dark .mobile-logo img,
body.ai-dark .about-logo img {
  width: auto !important;
  max-width: 100% !important;
  height: 42px !important;
  object-fit: contain;
}
@media (min-width: 1200px) {
  body.ai-dark .header-logo {
    max-width: 260px !important;
  }
  body.ai-dark .header-logo img {
    height: 48px !important;
  }
}
body.ai-dark .mobile-logo {
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}
body.ai-dark .about-logo img {
  height: 48px !important;
  max-width: 240px !important;
}

/* Kill bright JPG/PNG section backgrounds injected via data-bg-src */
body.ai-dark .th-hero-wrapper,
body.ai-dark .th-hero-wrapper.hero-2,
body.ai-dark #hero,
body.ai-dark .hero-2,
body.ai-dark .breadcumb-wrapper,
body.ai-dark .cta-area3,
body.ai-dark #faq-sec,
body.ai-dark #case-studies-sec,
body.ai-dark .testi-box[data-bg-src],
body.ai-dark section[data-bg-src],
body.ai-dark .space[data-bg-src],
body.ai-dark .space-top[data-bg-src],
body.ai-dark .space-bottom[data-bg-src],
body.ai-dark .award-area[data-bg-src],
body.ai-dark [data-bg-src*="service_bg"] {
  background-image: none !important;
}

body.ai-dark section[data-bg-src],
body.ai-dark .space-bottom[data-bg-src],
body.ai-dark [data-bg-src*="service_bg"] {
  background-color: #1a1a1a !important;
}

/* Service benefits — charcoal band + white titles (no light JPG) */
body.ai-dark .ai-svc-benefits {
  background: #1a1a1a none !important;
  background-color: #1a1a1a !important;
  background-image: none !important;
}

body.ai-dark .ai-svc-benefits .sec-title,
body.ai-dark .ai-svc-benefits .sec-title.h3,
body.ai-dark .ai-svc-benefits .title-area .sec-title,
body.ai-dark .ai-svc-benefits h2 {
  color: #ffffff !important;
}

body.ai-dark .ai-svc-benefits .sub-title {
  color: #b8bcc8 !important;
}

/* Service benefits section — force readable titles on dark bg */
body.ai-dark .feature-box.style2 .box-title,
body.ai-dark .feature-box.style2 h3 {
  color: #f3f4f8 !important;
}

body.ai-dark .ai-svc-benefits .feature-box.style2 {
  background: #242424 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

/* Use cases — dark cards + readable text (was light text on white) */
body.ai-dark .service-box2 {
  background: #242424 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.ai-dark .service-box2 .box-title,
body.ai-dark .service-box2 h2,
body.ai-dark .service-box2 .box-title a {
  color: #f3f4f8 !important;
}

body.ai-dark .service-box2 .box-text,
body.ai-dark .service-box2 p {
  color: #b8bcc8 !important;
}

body.ai-dark .service-box2 .box-icon {
  background: #0fcca7 !important;
}

body.ai-dark .service-box2 .box-icon i {
  color: #06050b !important;
  background: transparent !important;
}

body.ai-dark .service-box2:hover:before {
  opacity: 0.2 !important;
  filter: hue-rotate(-80deg) saturate(1.2);
}

/* Deliverables band + cards */
body.ai-dark .ai-svc-deliverables {
  background: #1a1a1a !important;
  background-color: #1a1a1a !important;
}

body.ai-dark .ai-svc-deliverables .sec-title,
body.ai-dark .ai-svc-deliverables h2.sec-title {
  color: #ffffff !important;
}

body.ai-dark .ai-svc-deliverables > .container > .row > .col-lg-5 p,
body.ai-dark .ai-svc-deliverables .col-lg-5 p {
  color: #b8bcc8 !important;
}

body.ai-dark .contact-media,
body.ai-dark .ai-svc-deliverable,
body.ai-dark .ai-svc-deliverables .contact-media {
  background: #242424 !important;
  background-color: #242424 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.ai-dark .contact-media .box-title,
body.ai-dark .contact-media h2,
body.ai-dark .ai-svc-deliverable .box-title {
  color: #f3f4f8 !important;
}

body.ai-dark .contact-media .icon-btn {
  color: #0fcca7 !important;
  border-color: #404040 !important;
  background: rgba(15, 204, 167, 0.12) !important;
}

body.ai-dark .contact-media:hover .icon-btn,
body.ai-dark .ai-svc-deliverable:hover .icon-btn {
  background: #0fcca7 !important;
  color: #ffffff !important;
  border-color: #0fcca7 !important;
}

body.ai-dark .contact-media:hover:before {
  opacity: 0 !important;
}

body.ai-dark .th-hero-wrapper,
body.ai-dark #hero,
body.ai-dark .hero-2,
body.ai-dark .breadcumb-wrapper,
body.ai-dark #faq-sec,
body.ai-dark #case-studies-sec,
body.ai-dark #features-sec,
body.ai-dark #testi-sec,
body.ai-dark #blog-sec,
body.ai-dark .space,
body.ai-dark .space-top,
body.ai-dark .space-bottom,
body.ai-dark section {
  background-color: #1a1a1a !important;
}

/* Soft blue glow hero (no JPG) */
body.ai-dark .th-hero-wrapper.hero-2,
body.ai-dark #hero.hero-2 {
  background:
    radial-gradient(ellipse 70% 60% at 75% 45%, rgba(15, 204, 167, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(15, 204, 167, 0.08) 0%, transparent 50%),
    #1a1a1a !important;
}

/* Typography */
body.ai-dark h1,
body.ai-dark h2,
body.ai-dark h3,
body.ai-dark h4,
body.ai-dark h5,
body.ai-dark h6,
body.ai-dark .sec-title,
body.ai-dark .box-title,
body.ai-dark .hero-title,
body.ai-dark .widget_title,
body.ai-dark .breadcumb-title,
body.ai-dark .h5,
body.ai-dark .fw-medium {
  color: #f3f4f8 !important;
}

body.ai-dark p,
body.ai-dark .hero-text,
body.ai-dark .box-text,
body.ai-dark .about-text,
body.ai-dark .fs-18,
body.ai-dark .subtitle,
body.ai-dark .box-desig {
  color: #b8bcc8 !important;
}

body.ai-dark .text-white,
body.ai-dark .sec-title.text-white,
body.ai-dark .box-text.text-white {
  color: #ffffff !important;
}

/* About — counter card stays white; keep dark text (global h2 was washing it out) */
body.ai-dark .th-experience {
  background: #ffffff !important;
  border-color: #ffffff !important;
}

body.ai-dark .th-experience .experience-year,
body.ai-dark .th-experience .experience-year .counter-number,
body.ai-dark .th-experience h2,
body.ai-dark .th-experience_content h2 {
  color: #06050b !important;
}

body.ai-dark .th-experience .experience-text,
body.ai-dark .th-experience p {
  color: #484848 !important;
}

/* About tabs — readable on dark */
body.ai-dark .about-tab {
  border-bottom-color: #404040 !important;
}

body.ai-dark .about-tab .nav-link {
  color: #b8bcc8 !important;
}

body.ai-dark .about-tab .nav-link.active {
  color: #f3f4f8 !important;
  border-bottom-color: #0fcca7 !important;
}

/* Primary th-btn — solid teal + dark text (white on lime/bright fill was unreadable) */
body.ai-dark .th-btn:not(.th-border) {
  color: #06050b !important;
  background: #0fcca7 !important;
  background-color: #0fcca7 !important;
}

body.ai-dark .th-btn:not(.th-border):before,
body.ai-dark .th-btn:not(.th-border):after {
  background: #0fcca7 !important;
  background-color: #0fcca7 !important;
}

body.ai-dark .th-btn:not(.th-border) .icon img {
  filter: none !important;
  opacity: 1 !important;
}

/* Primary th-btn hover — deeper teal, white text */
body.ai-dark .th-btn:not(.th-border):hover,
body.ai-dark .th-btn:not(.th-border).active {
  color: #ffffff !important;
  background: #0a9e82 !important;
  background-color: #0a9e82 !important;
}

body.ai-dark .th-btn:not(.th-border):hover:before,
body.ai-dark .th-btn:not(.th-border).active:before,
body.ai-dark .th-btn:not(.th-border):hover:after,
body.ai-dark .th-btn:not(.th-border).active:after {
  background: #0a9e82 !important;
  background-color: #0a9e82 !important;
}

body.ai-dark .th-btn:not(.th-border):hover .icon img,
body.ai-dark .th-btn:not(.th-border).active .icon img {
  filter: brightness(0) invert(1) !important;
}

/* Border / outline th-btn — clean hover, no lime block over text */
body.ai-dark .th-btn.th-border,
body.ai-dark a.th-btn.th-border {
  color: #f3f4f8 !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: transparent !important;
}

body.ai-dark .th-btn.th-border:before,
body.ai-dark .th-btn.th-border:after,
body.ai-dark a.th-btn.th-border:before,
body.ai-dark a.th-btn.th-border:after {
  display: none !important;
}

body.ai-dark .th-btn.th-border:hover,
body.ai-dark a.th-btn.th-border:hover {
  color: #ffffff !important;
  background: #0fcca7 !important;
  border-color: #0fcca7 !important;
}

/* Outline buttons — black SVG arrows → white */
body.ai-dark .th-btn.th-border .icon img,
body.ai-dark a.th-btn.th-border .icon img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}
body.ai-dark .th-btn.th-border:hover .icon img,
body.ai-dark a.th-btn.th-border:hover .icon img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* Service page stats boxes — dark cards + readable text */
body.ai-dark .ai-svc-stats {
  border-top-color: #404040 !important;
}

body.ai-dark .ai-svc-stat {
  background: #242424 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.ai-dark .ai-svc-stat .box-title,
body.ai-dark .ai-svc-stat .box-title.text-theme,
body.ai-dark .ai-svc-stat h3 {
  color: #0fcca7 !important;
}

body.ai-dark .ai-svc-stat p {
  color: #b8bcc8 !important;
}

body.ai-dark .ai-svc-hero-badge {
  background: rgba(255, 255, 255, 0.96) !important;
}

body.ai-dark .ai-svc-hero-badge span {
  color: #06050b !important;
}

/* Floating circle shape — tint purple/blue torus to brand teal */
body.ai-dark .shape-mockup img[src*="circle-1"],
body.ai-dark #about-sec .shape-mockup img {
  filter: hue-rotate(-85deg) saturate(1.35) brightness(1.05) !important;
}

/* Awards cards — pastel light bg; keep dark text (global h3/box-title was washing out) */
body.ai-dark .award-item .box-title,
body.ai-dark .award-item .box-title .number,
body.ai-dark .award-item h3 {
  color: #06050b !important;
}

body.ai-dark .award-item .year,
body.ai-dark .award-item .box-content .year {
  color: #06050b !important;
}

/* Why Choose Us — dark panel + readable stats (was light bg + washed text) */
body.ai-dark .choose-area .row {
  align-items: stretch !important;
}

body.ai-dark .choose-area .col-lg-6 {
  display: flex;
}

body.ai-dark .choose-img-box {
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.ai-dark .choose-img-box .img1 {
  flex: 1 1 auto;
  min-height: 100%;
  height: 100% !important;
}

body.ai-dark .choose-img-box .img1 img {
  width: 100%;
  height: 100% !important;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

body.ai-dark .choose-wrapper {
  background-color: #242424 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

body.ai-dark .choose-wrapper:before {
  background: #0fcca7 !important;
  opacity: 0.22 !important;
}

body.ai-dark .choose-item:not(:last-child) {
  border-right-color: #404040 !important;
  border-bottom-color: #404040 !important;
}

body.ai-dark .choose-item:nth-child(2) {
  border-right-color: transparent !important;
}

body.ai-dark .choose-item:nth-child(3) {
  border-bottom-color: transparent !important;
}

body.ai-dark .choose-content .box-subtitle,
body.ai-dark .choose-item .box-subtitle {
  color: #0fcca7 !important;
}

body.ai-dark .choose-content .box-number,
body.ai-dark .choose-item .box-number,
body.ai-dark .choose-item .box-number .counter-number,
body.ai-dark .choose-item h3 {
  color: #f3f4f8 !important;
}

body.ai-dark .choose-content .box-text,
body.ai-dark .choose-item .box-text,
body.ai-dark .choose-item p {
  color: #b8bcc8 !important;
}

/* Team cards — light card bg; force dark name/title (global h3/a was washing out) */
body.ai-dark .team-card .box-title,
body.ai-dark .team-card .box-title a,
body.ai-dark .team-card h3,
body.ai-dark .team-card h3 a,
body.ai-dark .th-team.team-card .box-title,
body.ai-dark .th-team.team-card .box-title a {
  color: #06050b !important;
}

body.ai-dark .team-card .team-desig,
body.ai-dark .team-card .box-desig,
body.ai-dark .th-team.team-card .team-desig {
  color: #484848 !important;
}

body.ai-dark .team-card .th-social a {
  color: #06050b !important;
  border-color: #808182 !important;
}

/* Team hover glow behind face — purple shape → brand teal */
body.ai-dark .team-card .box-shape img,
body.ai-dark .th-team .box-shape img {
  filter: hue-rotate(-95deg) saturate(1.4) brightness(1.05) !important;
}

/* Header */
body.ai-dark .th-header,
body.ai-dark .th-header .sticky-wrapper,
body.ai-dark .th-header .menu-area,
body.ai-dark .th-header.header-absolute .sticky-wrapper,
body.ai-dark .th-header.header-absolute .sticky-wrapper.sticky {
  background-color: #1a1a1a !important;
  background: #1a1a1a !important;
}

body.ai-dark .th-header {
  z-index: 1000 !important;
  position: relative;
}
body.ai-dark .th-header.header-absolute {
  position: absolute !important;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1000 !important;
}
body.ai-dark .th-header .sticky-wrapper.sticky {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1001 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.ai-dark .main-menu > ul > li > a {
  color: #f3f4f8 !important;
}

body.ai-dark .th-menu-toggle {
  color: #f3f4f8 !important;
}

/* Hero chat bubbles — crisp + fully visible on mobile (no scale = no blur) */
@media (max-width: 1199px) {
  body.ai-dark .th-hero-wrapper.hero-2,
  body.ai-dark #hero.hero-2 {
    overflow: visible !important;
  }

  body.ai-dark .hero-image2 {
    padding-bottom: 56px !important;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible !important;
  }

  body.ai-dark .hero-image2 > img:first-child {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
  }

  body.ai-dark .hero-image2 .hero-bottom-text {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    bottom: 22% !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    max-width: none !important;
    width: auto !important;
    z-index: 3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px;
    white-space: nowrap !important;
    line-height: 1 !important;
    transform: none !important;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
  }

  body.ai-dark .hero-image2 .hero-bottom-text.style2 {
    left: auto !important;
    right: 0 !important;
    bottom: 10% !important;
    max-width: none !important;
    transform: none !important;
  }

  body.ai-dark .hero-image2 .hero-bottom-text .title {
    font-size: 11px !important;
    line-height: 1.1 !important;
    max-width: none !important;
    width: auto !important;
    display: inline !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.ai-dark .hero-image2 .hero-bottom-text.style2 .title {
    font-size: 10px !important;
  }

  body.ai-dark .hero-image2 .hero-bottom-text img {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    flex-shrink: 0;
  }
}

@media (max-width: 575px) {
  body.ai-dark .hero-image2 {
    padding-bottom: 48px !important;
    max-width: 290px;
  }

  body.ai-dark .hero-image2 .hero-bottom-text {
    left: 0 !important;
    bottom: 24% !important;
    padding: 5px 8px !important;
  }

  body.ai-dark .hero-image2 .hero-bottom-text.style2 {
    right: 0 !important;
    bottom: 12% !important;
  }

  body.ai-dark .hero-image2 .hero-bottom-text .title {
    font-size: 10px !important;
  }

  body.ai-dark .hero-image2 .hero-bottom-text.style2 .title {
    font-size: 9px !important;
  }

  body.ai-dark .hero-image2 .hero-bottom-text img {
    width: 14px !important;
    height: 14px !important;
  }
}

/* Buttons */
body.ai-dark .th-btn2.style2 {
  background: transparent !important;
  color: #f3f4f8 !important;
  border-color: #404040 !important;
}

body.ai-dark .th-btn2.style3,
body.ai-dark .cta-area3 .th-btn2.style3,
body.ai-dark .footer-wrapper .th-btn2.style3 {
  background: #ffffff !important;
  color: #06050b !important;
}

/* Hover: blue fill + white text (icon already inverts white) */
body.ai-dark .th-btn2.style3:hover,
body.ai-dark .cta-area3 .th-btn2.style3:hover,
body.ai-dark .footer-wrapper .th-btn2.style3:hover,
body.ai-dark .th-hero-wrapper .th-btn2.style3:hover,
body.ai-dark #hero .th-btn2.style3:hover {
  background: #0fcca7 !important;
  color: #ffffff !important;
  border-color: #0fcca7 !important;
}

body.ai-dark .th-btn2.style3:hover:before,
body.ai-dark .th-hero-wrapper .th-btn2.style3:hover:before,
body.ai-dark #hero .th-btn2.style3:hover:before {
  background-color: #0fcca7 !important;
}

body.ai-dark .th-btn2.style3:hover .icon img,
body.ai-dark .th-btn2.style3:hover img {
  filter: brightness(0) invert(1) !important;
}

body.ai-dark .th-btn2:not(.style2):not(.style3) {
  color: #06050b !important;
  background: #0fcca7 !important;
}

/* Glass cards — trust / features / process / pricing / FAQ / testi */
body.ai-dark .feature-box,
body.ai-dark .process-card,
body.ai-dark .ai-trust-sec .feature-box,
body.ai-dark .price-card,
body.ai-dark .price-box,
body.ai-dark .accordion-card,
body.ai-dark .accordion-item,
body.ai-dark .faq-area .accordion-card,
body.ai-dark #faq-sec .accordion-card,
body.ai-dark .testi-box,
body.ai-dark .blog-card {
  background: rgba(36, 36, 36, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.ai-dark .feature-box .box-title,
body.ai-dark .process-card .box-title,
body.ai-dark .price-card .box-title,
body.ai-dark .accordion-card .accordion-button,
body.ai-dark .accordion-card .acc-btn {
  color: #f3f4f8 !important;
}

body.ai-dark .feature-box p,
body.ai-dark .process-card p,
body.ai-dark .price-card p,
body.ai-dark .accordion-card .accordion-body,
body.ai-dark .accordion-card .accordion-content {
  color: #b8bcc8 !important;
}

/* Brand logos — ONE white glass box + shimmer (dark only) */
@keyframes ai-brand-glass-shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body.ai-dark .ai-trust-sec .h5,
body.ai-dark .ai-trust-sec .title-area .h5 {
  color: #f3f4f8 !important;
}

/* Single glass container only — not nested on #brandSlider1 */
body.ai-dark .ai-trust-sec .slider-area {
  padding: 18px 16px;
  border-radius: 20px;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.22) 40%,
    rgba(255, 255, 255, 0.1) 80%
  );
  background-size: 200% 200%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: ai-brand-glass-shimmer 7s ease-in-out infinite;
  overflow: hidden;
  max-height: 120px;
}

/* Prevent Swiper from exploding vertical height (page hang / empty glass) */
body.ai-dark .ai-trust-sec #brandSlider1 {
  height: 72px !important;
  max-height: 72px !important;
  overflow: hidden !important;
}
body.ai-dark .ai-trust-sec #brandSlider1 .swiper-wrapper {
  height: 72px !important;
  align-items: center;
}
body.ai-dark .ai-trust-sec #brandSlider1 .swiper-slide {
  height: 72px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.ai-dark .ai-trust-sec #brandSlider1,
body.ai-dark .ai-trust-sec .brand-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: none;
  padding: 0;
  margin: 0;
  min-height: 0;
}

body.ai-dark .ai-trust-sec .brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}

body.ai-dark .ai-trust-sec .brand-item img,
body.ai-dark #brandSlider1 .brand-item img,
body.ai-dark .brand-item img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

body.ai-dark .ai-trust-sec .brand-item:hover img,
body.ai-dark #brandSlider1 .brand-item:hover img {
  opacity: 1;
  transform: scale(1.04);
}

/* Soft continuous shimmer on glass */
@keyframes ai-dark-shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body.ai-dark .feature-box,
body.ai-dark .process-card,
body.ai-dark .price-card,
body.ai-dark .accordion-card,
body.ai-dark #faq-sec .accordion-card {
  background-image: linear-gradient(
    120deg,
    rgba(36, 36, 36, 0.85) 0%,
    rgba(15, 204, 167, 0.08) 40%,
    rgba(36, 36, 36, 0.85) 80%
  ) !important;
  background-size: 200% 200% !important;
  animation: ai-dark-shimmer 8s ease-in-out infinite;
}

/* CTA */
body.ai-dark .cta-area3 {
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(15, 204, 167, 0.35) 0%, transparent 60%),
    #1a1a1a !important;
}

/* Modest gap above the robot CTA. Keep full-size image in flow so it cannot cover How-it-works cards. */
body.ai-dark section + .space-extra-top {
  padding-top: 64px;
}
body.ai-dark .cta-area3 .cta-image {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
body.ai-dark .cta-area3 .cta-image img {
  display: block;
  margin: 0 auto;
  max-height: none !important;
  height: auto !important;
}
@media (max-width: 991px) {
  body.ai-dark section + .space-extra-top {
    padding-top: 48px;
  }
}

body.ai-dark .cta-area3 .sec-title,
body.ai-dark .cta-area3 .box-text,
body.ai-dark .cta-area3 h1,
body.ai-dark .cta-area3 h2,
body.ai-dark .cta-area3 h3,
body.ai-dark .cta-area3 .text-white {
  color: #ffffff !important;
}

/* Pricing */
body.ai-dark .price-card .price,
body.ai-dark .price-box .price,
body.ai-dark .price-card h3,
body.ai-dark .price-card h4 {
  color: #f3f4f8 !important;
}

body.ai-dark .price-card .checklist li,
body.ai-dark .price-card ul li {
  color: #b8bcc8 !important;
}

/* Checklist style2 — theme hardcodes #06050b (invisible on dark) */
body.ai-dark .checklist li,
body.ai-dark .checklist ul li,
body.ai-dark .checklist.style2 li,
body.ai-dark .checklist.style2 ul li {
  color: #f3f4f8 !important;
}

body.ai-dark .checklist.style2 li:before {
  filter: invert(1) brightness(1.15) !important;
}

body.ai-dark .price-card:hover,
body.ai-dark .price-box:hover,
body.ai-dark .price-card.active {
  border-color: rgba(15, 204, 167, 0.45) !important;
}

body.ai-dark .price-card:hover .box-title,
body.ai-dark .price-card:hover .price,
body.ai-dark .price-card:hover p,
body.ai-dark .price-card:hover li {
  color: #f3f4f8 !important;
}

/* Default price buttons — light border/text on dark cards */
body.ai-dark .price-card .th-btn2 {
  background: transparent !important;
  border: 1px solid #f3f4f8 !important;
  color: #f3f4f8 !important;
}

/* Hover fill uses --title-color (white in dark) → white-on-white. Force blue. */
body.ai-dark .price-card .th-btn2:before,
body.ai-dark .price-card .th-btn2:hover:before {
  background-color: #0fcca7 !important;
}

body.ai-dark .price-card .th-btn2:hover,
body.ai-dark .price-card:hover .th-btn2,
body.ai-dark .price-card.active .th-btn2 {
  background: #0fcca7 !important;
  color: #ffffff !important;
  border-color: #0fcca7 !important;
}

/* Monthly / Yearly toggler — inactive is white bg + light text in dark */
body.ai-dark .pricing-tabs .toggler,
body.ai-dark .switch-area .toggler {
  background: #242424 !important;
  color: #f3f4f8 !important;
}

body.ai-dark .pricing-tabs .toggler.toggler--is-active,
body.ai-dark .switch-area .toggler.toggler--is-active {
  background: #0fcca7 !important;
  color: #ffffff !important;
}

/* Global th-btn2 hover fill — avoid white title-color wipe */
body.ai-dark .th-btn2:before {
  background-color: #0fcca7 !important;
}

body.ai-dark .th-btn2:hover {
  color: #ffffff !important;
  border-color: #0fcca7 !important;
}

body.ai-dark .th-btn2:not(.style2):not(.style3):hover {
  color: #ffffff !important;
  background: #0a9e82 !important;
}

/* Hide empty / glow offer tags in dark */
body.ai-dark .offer-tag,
body.ai-dark .price-card .offer-tag {
  display: none !important;
}

/* Process arrows — hide decorative lines in dark */
body.ai-dark .process-line {
  display: none !important;
}

/* Integrations hub logo — crisp SVG, no soft scaling */
body.ai-dark .integration-logo {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
body.ai-dark .integration-logo img {
  width: 120px !important;
  height: 120px !important;
  max-width: none !important;
  filter: none !important;
  opacity: 1 !important;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

body.ai-dark .integration-icon {
  background: #ffffff !important;
}
body.ai-dark .integration-icon img {
  width: 88px !important;
  height: 88px !important;
  object-fit: contain;
  vertical-align: middle;
  filter: none !important;
  opacity: 1 !important;
}

/* ---------- Integrations section — mobile layout ---------- */
body.ai-dark .ai-integrations-sec {
  overflow: visible !important;
}

@media (max-width: 991px) {
  body.ai-dark .ai-integrations-sec {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.ai-dark .integration-area {
    overflow: visible !important;
    padding: 0 4px;
  }

  body.ai-dark .ai-integrations-sec .title-area .sec-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem) !important;
    line-height: 1.25 !important;
    padding: 0 8px;
  }

  body.ai-dark .integration-wrapp {
    margin-top: 28px !important;
    margin-bottom: 8px;
  }

  body.ai-dark .integration-wrapp .integration-shape {
    display: none !important;
  }

  body.ai-dark .integration-wrapp .integration-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
  }

  body.ai-dark .integration-wrapp .integration-logo img {
    width: 88px !important;
    height: 88px !important;
  }

  /* Compact icon ring → tidy wrap grid (no overlap / overflow) */
  body.ai-dark .integration-area .box-wrapp {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    justify-items: center;
    align-items: center;
    margin-top: 0 !important;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 4px;
  }

  body.ai-dark .integration-area .integration-icon {
    min-width: 0 !important;
    width: 64px !important;
    height: 64px !important;
    line-height: 64px !important;
    margin: 0 !important;
    background: #242424 !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none !important;
  }

  body.ai-dark .integration-area .integration-icon img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    vertical-align: middle;
    filter: none !important;
    opacity: 1 !important;
  }

  body.ai-dark .integration-area .ai-integrations-cta,
  body.ai-dark .integration-area .btn-group {
    margin-top: 28px !important;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 8px;
    align-items: center;
    gap: 10px !important;
  }

  body.ai-dark .integration-area .btn-group .th-btn2 {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  body.ai-dark .integration-area .ai-integrations-note,
  body.ai-dark .integration-area .btn-group .fs-18,
  body.ai-dark .integration-area .btn-group span {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    text-align: center;
    font-size: 15px !important;
    line-height: 1.45 !important;
    color: #b8bcc8 !important;
    padding: 0 4px;
  }
}

@media (max-width: 480px) {
  body.ai-dark .integration-area .box-wrapp {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 280px;
  }

  body.ai-dark .integration-area .integration-icon {
    width: 56px !important;
    height: 56px !important;
    line-height: 56px !important;
  }

  body.ai-dark .integration-area .integration-icon img {
    width: 34px !important;
    height: 34px !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

/* Contact map — only Google's single pin (hide theme overlay marker) */
body.ai-dark .contact-map .contact-icon {
  display: none !important;
}

/* Process steps — equal-height cards */
body.ai-dark .process-card_wrapp {
  display: flex !important;
}
body.ai-dark .process-card_wrapp .process-card {
  width: 100%;
  height: 100% !important;
  min-height: 340px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 28px 48px !important;
  border-radius: 24px !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  transform: none !important;
}
body.ai-dark .process-card_wrapp:last-child .process-card {
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body.ai-dark .process-card .box-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
body.ai-dark .process-card .box-text {
  margin-bottom: 0 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #c5c9d4 !important;
}
body.ai-dark .process-card_wrapp:not(:last-child) .process-card .icon-btn {
  background: #0fcca7 !important;
  border-color: #0fcca7 !important;
  z-index: 5;
}
body.ai-dark .process-card_wrapp:not(:last-child) .process-card .icon-btn img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}
body.ai-dark .process-card_wrapp:not(:last-child) .process-card .icon-btn:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
}
body.ai-dark .process-card_wrapp:not(:last-child) .process-card .icon-btn:hover img {
  filter: none !important;
}

/* Slider arrows visible — exclude card icon-btn (styled separately) */
body.ai-dark .slick-arrow,
body.ai-dark .slider-arrow button,
body.ai-dark button.slick-prev,
body.ai-dark button.slick-next,
body.ai-dark .swiper-button-prev,
body.ai-dark .swiper-button-next {
  color: #ffffff !important;
  background: rgba(36, 36, 36, 0.9) !important;
  border-color: #404040 !important;
}

/* White style2 arrows — dark icon (title-color is light in dark mode) */
body.ai-dark .slider-arrow.style2,
body.ai-dark button.slider-arrow.style2 {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #06050b !important;
}

body.ai-dark .slider-arrow.style2:hover,
body.ai-dark button.slider-arrow.style2:hover {
  background: #0fcca7 !important;
  border-color: #0fcca7 !important;
  color: #ffffff !important;
}

/* About testi — trusted badge + quote contrast */
body.ai-dark #testi-sec .discount-wrapp,
body.ai-dark .testi-wrapp .discount-wrapp {
  background: #0fcca7 !important;
  background-image: none !important;
}

body.ai-dark #testi-sec .discount-wrapp .discount-tag:before,
body.ai-dark .testi-wrapp .discount-wrapp .discount-tag:before {
  background-color: #ffffff !important;
  display: block !important;
}

body.ai-dark #testi-sec .discount-anime,
body.ai-dark .testiSlide4 .discount-anime,
body.ai-dark #testi-sec .discount-tag {
  color: #06050b !important;
}

body.ai-dark #testi-sec .discount-wrapp .box-quote img,
body.ai-dark .testi-wrapp .box-quote img {
  filter: none !important;
  opacity: 1 !important;
}

body.ai-dark #testi-sec .testi-item .box-text {
  color: #f3f4f8 !important;
}

body.ai-dark #testi-sec .testi-item .box-title,
body.ai-dark #testi-sec .testi-item .box-title a {
  color: #ffffff !important;
}

body.ai-dark #testi-sec .testi-item .box-desig {
  color: #b8bcc8 !important;
}

body.ai-dark #testi-sec .slider-pagination,
body.ai-dark #testi-sec .slider-controller {
  color: #ffffff !important;
}

/* Blog / list pagination — dark icons on white circles (was light-on-light) */
body.ai-dark .th-pagination li,
body.ai-dark .th-pagination a,
body.ai-dark .th-pagination span {
  color: #f3f4f8 !important;
}

body.ai-dark .th-pagination li i {
  background: #ffffff !important;
  color: #06050b !important;
}

body.ai-dark .th-pagination li a:hover i,
body.ai-dark .th-pagination li:hover i,
body.ai-dark .th-pagination li i:hover {
  background: #0fcca7 !important;
  color: #ffffff !important;
}

body.ai-dark .th-pagination .active,
body.ai-dark .th-pagination a.active,
body.ai-dark .th-pagination li.active a,
body.ai-dark .th-pagination li.active {
  color: #0fcca7 !important;
}

body.ai-dark .th-pagination a:hover {
  color: #0fcca7 !important;
}

/* Blog card Read More — solid teal for visibility */
body.ai-dark .th-blog .th-btn.th-border,
body.ai-dark .blog-content .th-btn.th-border {
  background: #0fcca7 !important;
  border-color: #0fcca7 !important;
  color: #ffffff !important;
}

body.ai-dark .th-blog .th-btn.th-border:before,
body.ai-dark .th-blog .th-btn.th-border:after,
body.ai-dark .blog-content .th-btn.th-border:before,
body.ai-dark .blog-content .th-btn.th-border:after {
  display: none !important;
}

body.ai-dark .th-blog .th-btn.th-border .icon img,
body.ai-dark .blog-content .th-btn.th-border .icon img {
  filter: brightness(0) invert(1) !important;
}

body.ai-dark .th-blog .th-btn.th-border:hover,
body.ai-dark .blog-content .th-btn.th-border:hover {
  background: #0db894 !important;
  border-color: #0db894 !important;
  color: #ffffff !important;
}

body.ai-dark .th-blog .box-title,
body.ai-dark .th-blog .box-title a,
body.ai-dark .blog-content .box-title,
body.ai-dark .blog-content .box-title a {
  color: #f3f4f8 !important;
}

/* Case studies / success stories */
body.ai-dark #case-studies-sec .title-area .sec-title,
body.ai-dark #case-studies-sec .title-area .sub-title {
  color: #f3f4f8 !important;
}

body.ai-dark #case-studies-sec .title-area .fs-18,
body.ai-dark #case-studies-sec .title-area p {
  color: #b8bcc8 !important;
}

/* Card shape is ::before with white bg — make it dark glass */
body.ai-dark .service-box:before {
  background: rgba(36, 36, 36, 0.95) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

body.ai-dark .service-box .box-title,
body.ai-dark .service-box .box-title a {
  color: #f3f4f8 !important;
}

body.ai-dark .service-box .box-text,
body.ai-dark .service-box p {
  color: #c4c8d4 !important;
}

/* View Details — service cards (service-box + service-box2) */
body.ai-dark .service-box .th-btn.th-border,
body.ai-dark .service-box a.th-btn.th-border,
body.ai-dark .service-box2 .th-btn.th-border,
body.ai-dark .service-box2 a.th-btn.th-border {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #f3f4f8 !important;
}

body.ai-dark .service-box .th-btn.th-border:before,
body.ai-dark .service-box .th-btn.th-border:after,
body.ai-dark .service-box2 .th-btn.th-border:before,
body.ai-dark .service-box2 .th-btn.th-border:after {
  display: none !important;
}

body.ai-dark .service-box .th-btn.th-border .icon img,
body.ai-dark .service-box2 .th-btn.th-border .icon img,
body.ai-dark .ai-inner-page--services .th-btn.th-border .icon img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
  width: 11px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

body.ai-dark .service-box .th-btn.th-border:hover,
body.ai-dark .service-box a.th-btn.th-border:hover,
body.ai-dark .service-box2 .th-btn.th-border:hover,
body.ai-dark .service-box2 a.th-btn.th-border:hover {
  background: #0fcca7 !important;
  border-color: #0fcca7 !important;
  color: #ffffff !important;
}

body.ai-dark .service-box .th-btn.th-border:hover .icon img,
body.ai-dark .service-box2 .th-btn.th-border:hover .icon img {
  filter: brightness(0) invert(1) !important;
}

body.ai-dark .service-box .icon-btn {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #06050b !important;
}

body.ai-dark .service-box .icon-btn img {
  filter: none !important;
  opacity: 1 !important;
}

body.ai-dark .service-box .icon-btn:hover {
  background-color: #0fcca7 !important;
  border-color: #0fcca7 !important;
}

body.ai-dark .service-box .icon-btn:hover img {
  filter: brightness(0) invert(1) !important;
}

/* FAQ — one card, one hover (no split top/bottom animation) */
body.ai-dark #faq-sec .row {
  align-items: stretch !important;
}

body.ai-dark #faq-sec .row > [class*="col-"] {
  display: flex;
}

body.ai-dark #faq-sec .faq-card,
body.ai-dark .faq-card {
  background: #242424 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 100%;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}

body.ai-dark #faq-sec .faq-card .box-title,
body.ai-dark .faq-card .box-title {
  color: #f3f4f8 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: color 0.35s ease, border-color 0.35s ease !important;
}

body.ai-dark #faq-sec .faq-card .box-content,
body.ai-dark .faq-card .box-content {
  background: transparent !important;
  background-color: transparent !important;
  flex: 1 1 auto;
  transition: none !important;
}

body.ai-dark #faq-sec .faq-card .box-text,
body.ai-dark #faq-sec .faq-card .box-content p,
body.ai-dark .faq-card .box-text,
body.ai-dark .faq-card p {
  color: #c4c8d4 !important;
  transition: color 0.35s ease !important;
}

body.ai-dark #faq-sec .faq-card:hover,
body.ai-dark .faq-card:hover {
  background: #0fcca7 !important;
  border-color: #0fcca7 !important;
  box-shadow: 0 16px 40px rgba(15, 204, 167, 0.25) !important;
}

body.ai-dark #faq-sec .faq-card:hover .box-title,
body.ai-dark .faq-card:hover .box-title {
  color: #ffffff !important;
  background: transparent !important;
  border-bottom-color: rgba(255, 255, 255, 0.28) !important;
}

body.ai-dark #faq-sec .faq-card:hover .box-content,
body.ai-dark .faq-card:hover .box-content {
  background: transparent !important;
  background-color: transparent !important;
}

body.ai-dark #faq-sec .faq-card:hover .box-text,
body.ai-dark #faq-sec .faq-card:hover p,
body.ai-dark .faq-card:hover .box-text,
body.ai-dark .faq-card:hover p {
  color: #ffffff !important;
}

body.ai-dark #faq-sec .accordion-button,
body.ai-dark #faq-sec .acc-btn,
body.ai-dark #faq-sec .accordion-card .box-title {
  color: #f3f4f8 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* FAQ accordion — readable open panels + stronger card edges */
body.ai-dark .faq-area .accordion-card,
body.ai-dark #faq-sec .accordion-card,
body.ai-dark .faq-area2 .accordion-card {
  background: #242424 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  overflow: hidden;
}
body.ai-dark .faq-area .accordion-card.active,
body.ai-dark #faq-sec .accordion-card:has(.accordion-collapse.show),
body.ai-dark .faq-area2 .accordion-card:has(.show) {
  border-color: rgba(15, 204, 167, 0.45) !important;
}
body.ai-dark #faq-sec .accordion-button:not(.collapsed),
body.ai-dark .faq-area .accordion-button:not(.collapsed) {
  color: #ffffff !important;
}
body.ai-dark #faq-sec .accordion-collapse,
body.ai-dark #faq-sec .accordion-body,
body.ai-dark .faq-area .accordion-body,
body.ai-dark .faq-area2 .accordion-body {
  background: #2c2c2c !important;
  border: none !important;
  color: #e8eaef !important;
}
body.ai-dark #faq-sec .accordion-body p,
body.ai-dark #faq-sec .faq-text,
body.ai-dark .faq-area .accordion-body p,
body.ai-dark .faq-area .faq-text,
body.ai-dark .faq-area2 .faq-text {
  color: #d5d8e0 !important;
  opacity: 1 !important;
}
body.ai-dark #faq-sec .accordion-button::after,
body.ai-dark #faq-sec .accordion-button:after,
body.ai-dark .faq-area .accordion-button::after,
body.ai-dark .faq-area .accordion-button:after,
body.ai-dark .faq-area2 .accordion-button::after,
body.ai-dark .faq-area2 .accordion-button:after,
body.ai-dark .accordion-card .accordion-button::after,
body.ai-dark .accordion-card .accordion-button:after {
  filter: none !important;
  background: #ffffff !important;
  color: #0a0a0a !important;
  border: none !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.ai-dark #faq-sec .accordion-button:not(.collapsed)::after,
body.ai-dark #faq-sec .accordion-button:not(.collapsed):after,
body.ai-dark .faq-area .accordion-button:not(.collapsed)::after,
body.ai-dark .faq-area .accordion-button:not(.collapsed):after,
body.ai-dark .accordion-card .accordion-button:not(.collapsed)::after,
body.ai-dark .accordion-card .accordion-button:not(.collapsed):after {
  background: #0fcca7 !important;
  color: #06050b !important;
  content: "\2212" !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  transform: none !important;
}

/* FAQ bottom CTA card */
body.ai-dark .faq-question {
  background: #242424 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  color: #e8eaef !important;
}
body.ai-dark .faq-question .box-title,
body.ai-dark .faq-question h3 {
  color: #ffffff !important;
}
body.ai-dark .faq-question .box-text2,
body.ai-dark .faq-question p {
  color: #c4c8d2 !important;
}
body.ai-dark .faq-question a {
  color: #0fcca7 !important;
  font-weight: 600;
}
body.ai-dark .faq-question a:hover {
  color: #3be0c0 !important;
}

/* Footer — solid #1a1a1a, teal glow only in the bottom-left corner */
body.ai-dark .footer-wrapper,
body.ai-dark .footer-layout2,
body.ai-dark .footer-layout1 {
  background: #1a1a1a !important;
  background-image:
    radial-gradient(ellipse 40% 36% at 6% 100%, rgba(15, 204, 167, 0.32), transparent 68%) !important;
  background-color: #1a1a1a !important;
  color: #b8bcc8 !important;
}

body.ai-dark .footer-layout2 .widget-area {
  background: transparent !important;
  background-image: none !important;
}

body.ai-dark .footer-layout2 .footer-top {
  border-bottom-color: #404040 !important;
}

body.ai-dark .footer-layout2 .footer-top .box-title,
body.ai-dark .footer-wrapper .widget_title,
body.ai-dark .footer-widget .widget_title {
  color: #f3f4f8 !important;
}

body.ai-dark .footer-wrapper .about-text,
body.ai-dark .footer-wrapper .menu a,
body.ai-dark .footer-wrapper .widget_nav_menu a {
  color: #b8bcc8 !important;
}

/* Copyright sits on white pill (:before) — keep dark text readable */
body.ai-dark .footer-layout2 .copyright-text,
body.ai-dark .footer-wrapper .copyright-text,
body.ai-dark .footer-layout2 .copyright-text a,
body.ai-dark .footer-wrapper .copyright-text a {
  color: #06050b !important;
}

body.ai-dark .footer-layout2 .copyright-text:before {
  background-color: #ffffff !important;
}

body.ai-dark .footer-wrapper .widget,
body.ai-dark .footer-wrapper .footer-widget {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.ai-dark .footer-wrapper .widget::after,
body.ai-dark .footer-wrapper .footer-widget::after {
  display: none !important;
}

body.ai-dark .footer-layout2 .copyright-wrap,
body.ai-dark .footer-wrapper .copyright-wrap {
  background: transparent !important;
  border-top: 1px solid #404040 !important;
}

body.ai-dark .footer-wrapper .th-social a {
  color: #f3f4f8 !important;
  border-color: #404040 !important;
}

/* ---------- Premium footer polish ---------- */
body.ai-dark .ai-footer {
  padding-top: 4.5rem;
  position: relative;
}
body.ai-dark .ai-footer__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1.1rem;
}
body.ai-dark .ai-footer__logo {
  display: block;
  width: auto !important;
  height: 52px !important;
  max-width: min(280px, 100%) !important;
  object-fit: contain;
  filter: none;
}
@media (min-width: 992px) {
  body.ai-dark .ai-footer__logo {
    height: 58px !important;
    max-width: 320px !important;
  }
}
body.ai-dark .ai-footer__cols {
  padding-bottom: 1.5rem;
}
body.ai-dark .ai-footer .widget_title {
  font-size: 0.95rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.15rem !important;
  opacity: 0.95;
}
body.ai-dark .ai-footer .about-text {
  font-size: 0.98rem !important;
  line-height: 1.7 !important;
  color: #a7adb9 !important;
  margin-bottom: 0 !important;
}
body.ai-dark .ai-footer .widget_nav_menu .menu a {
  font-size: 0.98rem !important;
  line-height: 1.35 !important;
  padding: 0.35rem 0 !important;
  transition: color 0.2s ease;
}
body.ai-dark .ai-footer .widget_nav_menu .menu a:hover {
  color: #0fcca7 !important;
}
body.ai-dark .ai-footer__copy {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-top: 0 !important;
}
body.ai-dark .ai-footer__copy .copyright-text {
  margin: 1.25rem auto 0 !important;
  font-size: 0.92rem !important;
}
body.ai-dark .ai-footer__legal {
  width: 100%;
  margin: 0 !important;
  padding: 1.1rem 0 0.35rem;
}
body.ai-dark .ai-footer__legal-link {
  display: inline-block;
  font-size: 0.92rem !important;
  font-weight: 500;
  color: #c5c9d4 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
body.ai-dark .ai-footer__legal-link:hover {
  color: #0fcca7 !important;
}
body.ai-dark .ai-legal-prose {
  color: #b8bcc8;
  font-size: 1.05rem;
  line-height: 1.75;
}
body.ai-dark .ai-legal-prose .ai-legal-updated {
  color: #8b919e;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}
body.ai-dark .ai-legal-prose h2 {
  color: #f3f4f8 !important;
  font-size: 1.35rem !important;
  margin: 2rem 0 0.75rem;
}
body.ai-dark .ai-legal-prose a {
  color: #0fcca7 !important;
}
body.ai-dark .ai-legal-prose ul {
  padding-left: 1.2rem;
  margin-bottom: 1.25rem;
}
body.ai-dark .ai-legal-prose li {
  margin-bottom: 0.4rem;
}

/* Blog / testi extras */
body.ai-dark .blog-card.style2 {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 16px 22px !important;
  border-radius: 28px !important;
}
body.ai-dark .blog-card.style2 .box-img,
body.ai-dark .blog-card.style2 .box-img.global-img {
  width: 100%;
  height: 220px;
  margin-bottom: 18px !important;
  border-radius: 20px !important;
  overflow: hidden;
  flex: 0 0 auto;
}
body.ai-dark .blog-card.style2 .box-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px !important;
}
body.ai-dark .blog-card.style2 .box-content {
  flex: 1 1 auto;
  padding: 0 4px;
}
body.ai-dark .blog-card.style2 .blog-meta {
  margin: 0 0 12px !important;
}
body.ai-dark .blog-card .blog-meta a,
body.ai-dark .blog-card.style2 .blog-meta a,
body.ai-dark .blog-card .blog-meta span,
body.ai-dark .blog-card.style2 .blog-meta span {
  display: inline-block !important;
  margin: 0 !important;
  padding: 7px 16px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: #c5c9d4 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 48px !important;
}
body.ai-dark .blog-card .blog-meta a:after,
body.ai-dark .blog-card.style2 .blog-meta a:after {
  display: none !important;
}
body.ai-dark .blog-card .box-title a,
body.ai-dark .blog-title a {
  color: #f3f4f8 !important;
}
body.ai-dark .blog-card.style2 .box-title,
body.ai-dark .blog-card.style2 .box-title a {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  margin-bottom: 0 !important;
}

body.ai-dark .blog-meta span,
body.ai-dark .blog-meta a {
  color: #b8bcc8 !important;
}

body.ai-dark .testi-box .box-text,
body.ai-dark .testi-box p {
  color: #b8bcc8 !important;
}

body.ai-dark .testi-box .box-title,
body.ai-dark .testi-box .box-desig {
  color: #f3f4f8 !important;
}

/* Hover overlay uses theme teal so white text stays readable */
body.ai-dark .testi-box:before {
  background-color: #0fcca7 !important;
}

body.ai-dark .testi-box:hover .box-title,
body.ai-dark .testi-box:hover .box-text,
body.ai-dark .testi-box:hover .box-desig,
body.ai-dark .testi-box:hover p {
  color: #ffffff !important;
}

body.ai-dark .testi-box:hover {
  border-color: rgba(15, 204, 167, 0.55) !important;
}

/* Quote icons — white in dark, teal (#0fcca7) in light via SVG */
body.ai-dark .testi-box .box-quote img,
body.ai-dark #testi-sec .box-quote img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.95;
}

/* Forms / inputs */
body.ai-dark input,
body.ai-dark textarea,
body.ai-dark select,
body.ai-dark .form-control {
  background-color: #242424 !important;
  border-color: #404040 !important;
  color: #f3f4f8 !important;
}

body.ai-dark input::placeholder,
body.ai-dark textarea::placeholder {
  color: #888 !important;
}

/* Borders / dividers */
body.ai-dark hr,
body.ai-dark .border-top,
body.ai-dark .border-bottom {
  border-color: #404040 !important;
}

/* Preloader */
body.ai-dark #preloader,
body.ai-dark .preloader-bg,
body.ai-dark #preloader.ai-preloader {
  background-color: #07080c !important;
}

/* Scroll top */
body.ai-dark .scroll-top {
  background: #242424 !important;
  color: #fff !important;
}

/* Explore Our Offering — dark theme */
body.ai-dark .ai-offering-grid {
  background: #242424 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35) !important;
}

body.ai-dark .ai-offering-nav {
  background: linear-gradient(180deg, rgba(15, 204, 167, 0.12) 0%, rgba(26, 26, 26, 0.6) 100%) !important;
}

body.ai-dark .ai-offering-tab {
  color: #d8dbe3 !important;
}

body.ai-dark .ai-offering-tab:hover {
  background: rgba(15, 204, 167, 0.15) !important;
  color: #f3f4f8 !important;
}

body.ai-dark .ai-offering-tab.is-active {
  background: #0fcca7 !important;
  color: #ffffff !important;
}

body.ai-dark .ai-offering-title {
  color: #ffffff !important;
}

body.ai-dark .ai-offering-lead,
body.ai-dark .ai-offering-desc,
body.ai-dark .ai-offering-caps li,
body.ai-dark .ai-offering-outcomes li,
body.ai-dark .ai-offering-svc-list span {
  color: #b8bcc8 !important;
}

body.ai-dark .ai-offering-intro {
  color: #f3f4f8 !important;
}

body.ai-dark .ai-offering-subtitle {
  color: #0fcca7 !important;
}

body.ai-dark .ai-offering-svc-list a {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: transparent !important;
}

body.ai-dark .ai-offering-svc-list a:hover {
  border-color: rgba(15, 204, 167, 0.45) !important;
  background: rgba(15, 204, 167, 0.08) !important;
}

body.ai-dark .ai-offering-svc-list strong {
  color: #ffffff !important;
}

body.ai-dark .ai-offering-link-wrap {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

body.ai-dark .ai-offering-links a {
  color: #f3f4f8 !important;
}

body.ai-dark .ai-offering-links a:hover {
  color: #0fcca7 !important;
}

body.ai-dark .ai-offering-cta {
  color: #0fcca7 !important;
}

body.ai-dark .ai-offering-cta--ghost {
  color: #d8dbe3 !important;
}

body.ai-dark .ai-offering-cta--ghost:hover {
  color: #0fcca7 !important;
}

/* ---------- Consultation section ---------- */
body.ai-dark .ai-consult {
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(15, 204, 167, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(15, 204, 167, 0.06), transparent 50%),
    linear-gradient(160deg, #1a1c22 0%, #14151a 50%, #181a20 100%) !important;
}

body.ai-dark .ai-consult-card {
  background: #1e2028 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35) !important;
}

body.ai-dark .ai-consult-aside {
  background: rgba(15, 204, 167, 0.06) !important;
  border-left-color: rgba(255, 255, 255, 0.08) !important;
}

body.ai-dark .ai-consult-title,
body.ai-dark .ai-consult-aside-title,
body.ai-dark .ai-consult-switch-label,
body.ai-dark .ai-consult-radio {
  color: #ffffff !important;
}

body.ai-dark .ai-consult-lead,
body.ai-dark .ai-consult-prefs-label,
body.ai-dark .ai-consult-upload-text {
  color: #b8bcc8 !important;
}

body.ai-dark .ai-consult-form .form-control {
  background: #15171d !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f3f4f8 !important;
}

body.ai-dark .ai-consult-form .form-control::placeholder {
  color: #8a8f9c !important;
}

body.ai-dark .ai-consult-form .form-control:focus {
  border-color: #0fcca7 !important;
  box-shadow: 0 0 0 3px rgba(15, 204, 167, 0.22) !important;
}

body.ai-dark .ai-consult-upload {
  border-color: rgba(255, 255, 255, 0.18) !important;
}

body.ai-dark .ai-consult-upload:hover {
  background: rgba(15, 204, 167, 0.08) !important;
}

body.ai-dark .ai-consult-phone-inner {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
}

body.ai-dark .ai-consult-dial {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  flex: 0 0 auto !important;
  min-width: 58px !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 12px !important;
  background: #15171d !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-right: 0 !important;
  border-radius: 8px 0 0 8px !important;
  color: #0fcca7 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

body.ai-dark .ai-consult-phone-inner .form-control {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border-radius: 0 8px 8px 0 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-sizing: border-box !important;
}

body.ai-dark .ai-consult-phone.is-invalid .ai-consult-dial,
body.ai-dark .ai-consult-phone.is-invalid .form-control {
  border-color: rgba(255, 90, 90, 0.75) !important;
}

body.ai-dark .ai-consult-switch-ui {
  background: #3a3e4a !important;
}

body.ai-dark .ai-consult-switch input:checked + .ai-consult-switch-ui {
  background: #0fcca7 !important;
}

body.ai-dark .ai-consult-submit {
  background: #0fcca7 !important;
  color: #06050b !important;
}

body.ai-dark .ai-consult-submit:hover {
  background: #0a9e82 !important;
  color: #ffffff !important;
}

body.ai-dark .ai-consult-channels a {
  color: #0fcca7 !important;
}

body.ai-dark .ai-consult-ch-icon {
  background: rgba(15, 204, 167, 0.15) !important;
  color: #0fcca7 !important;
}

@media (max-width: 991px) {
  body.ai-dark .ai-consult-aside {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
  }
}

/* ---------- Success Stories showcase ---------- */
body.ai-dark .ai-stories-lead,
body.ai-dark .ai-story-text {
  color: #b8bcc8 !important;
}

body.ai-dark .ai-story-title {
  color: #ffffff !important;
}

body.ai-dark .ai-story-metric,
body.ai-dark .ai-story-cta {
  color: #0fcca7 !important;
}

body.ai-dark .ai-story-cta:hover {
  color: #3be0c0 !important;
}

body.ai-dark .ai-story-demo {
  background: #0fcca7 !important;
  color: #06050b !important;
}

body.ai-dark .ai-story-demo:hover {
  background: #0a9e82 !important;
  color: #ffffff !important;
}

body.ai-dark .ai-story-play {
  background: rgba(15, 204, 167, 0.95) !important;
  color: #06050b !important;
}

body.ai-dark .ai-story-play:hover {
  background: #ffffff !important;
  color: #0fcca7 !important;
}

/* ---------- Blog details / sidebar / comments visibility ---------- */
body.ai-dark .th-blog-wrapper,
body.ai-dark .blog-single,
body.ai-dark .blog-area {
  color: #d8dbe3 !important;
}

body.ai-dark .blog-single .blog-content p,
body.ai-dark .blog-single .blog-content li,
body.ai-dark .blog-content > p,
body.ai-dark .blog-content ul li,
body.ai-dark .blog-content ol li,
body.ai-dark .blog-desc,
body.ai-dark .blog-content .text-body,
body.ai-dark .blog-content .text-title,
body.ai-dark .blog-content li.text-body,
body.ai-dark .blog-content li.text-title {
  color: #d8dbe3 !important;
}

body.ai-dark .blog-content .text-title,
body.ai-dark .blog-content li.text-title.fw-medium {
  color: #f3f4f8 !important;
}

body.ai-dark .blog-meta a,
body.ai-dark .blog-meta span {
  color: #d8dbe3 !important;
}

body.ai-dark .blog-wrapp .box-title,
body.ai-dark .blog-wrapp .box-desig,
body.ai-dark .right-text .box-title {
  color: #f3f4f8 !important;
}

body.ai-dark .case-details .case-text,
body.ai-dark .case-details .blog-title,
body.ai-dark .case-details .widget_title {
  color: #f3f4f8 !important;
}
body.ai-dark .case-details .blog-desc,
body.ai-dark .case-details .info-list li,
body.ai-dark .case-details .checklist li {
  color: #d8dbe3 !important;
}

body.ai-dark .th-comment-form label {
  color: #b8bcc8 !important;
}

body.ai-dark .blog-single .blog-content h1,
body.ai-dark .blog-single .blog-content h2,
body.ai-dark .blog-single .blog-content h3,
body.ai-dark .blog-single .blog-content h4,
body.ai-dark .blog-single .blog-content .box-title {
  color: #ffffff !important;
}

body.ai-dark .breadcumb-menu li,
body.ai-dark .breadcumb-menu li a,
body.ai-dark .breadcumb-menu li:after {
  color: #c4c8d4 !important;
}

body.ai-dark .breadcumb-menu li a:hover {
  color: #0fcca7 !important;
}

/* Sidebar widgets */
body.ai-dark .sidebar-area .widget,
body.ai-dark .sidebar-area .widget_search,
body.ai-dark .sidebar-area .widget_categories,
body.ai-dark .sidebar-area .widget_tag_cloud,
body.ai-dark .sidebar-area .widget_recent_entries {
  background: transparent !important;
}

body.ai-dark .sidebar-area .widget_title {
  color: #ffffff !important;
}

body.ai-dark .sidebar-area .widget_categories a,
body.ai-dark .sidebar-area .widget_nav_menu a,
body.ai-dark .sidebar-area .widget a {
  color: #d8dbe3 !important;
  border-bottom-color: #404040 !important;
}

body.ai-dark .sidebar-area .widget_categories a::before,
body.ai-dark .sidebar-area .widget_categories a:before {
  background-color: #0fcca7 !important;
  color: #0fcca7 !important;
}

body.ai-dark .sidebar-area .widget_categories a:hover,
body.ai-dark .sidebar-area .widget a:hover {
  color: #0fcca7 !important;
}

body.ai-dark .recent-post .post-title,
body.ai-dark .recent-post .post-title a,
body.ai-dark .recent-post h4 a {
  color: #f3f4f8 !important;
}

body.ai-dark .recent-post .post-title a:hover,
body.ai-dark .recent-post h4 a:hover {
  color: #0fcca7 !important;
}

body.ai-dark .recent-post-meta,
body.ai-dark .recent-post-meta a {
  color: #b8bcc8 !important;
}

/* Tags — dark text on white pills (must beat .sidebar-area .widget a) */
body.ai-dark .tagcloud a,
body.ai-dark .widget_tag_cloud a,
body.ai-dark .blog-tags a,
body.ai-dark .sidebar-area .tagcloud a,
body.ai-dark .sidebar-area .widget_tag_cloud .tagcloud a,
body.ai-dark .sidebar-area.style2 .tagcloud a,
body.ai-dark .sidebar-area .widget .tagcloud a {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #06050b !important;
}

body.ai-dark .tagcloud a:hover,
body.ai-dark .widget_tag_cloud a:hover,
body.ai-dark .blog-tags a:hover,
body.ai-dark .sidebar-area .tagcloud a:hover,
body.ai-dark .sidebar-area .widget_tag_cloud .tagcloud a:hover,
body.ai-dark .sidebar-area.style2 .tagcloud a:hover,
body.ai-dark .sidebar-area .widget .tagcloud a:hover {
  background: #0fcca7 !important;
  background-color: #0fcca7 !important;
  color: #ffffff !important;
}

/* Search */
body.ai-dark .sidebar-area .search-form input,
body.ai-dark .widget_search input,
body.ai-dark .search-form .form-control {
  background: #242424 !important;
  border-color: #404040 !important;
  color: #f3f4f8 !important;
}

body.ai-dark .sidebar-area .search-form input::placeholder,
body.ai-dark .widget_search input::placeholder {
  color: #888 !important;
}

/* Comments — keep light cards readable with dark text */
body.ai-dark .th-post-comment,
body.ai-dark .th-comments-wrap .th-post-comment {
  background: #242424 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.ai-dark .th-post-comment .name,
body.ai-dark .th-post-comment .commented-on,
body.ai-dark .th-post-comment .text,
body.ai-dark .th-post-comment p,
body.ai-dark .th-post-comment .comment-content,
body.ai-dark .th-comments-wrap .name a,
body.ai-dark .th-comments-wrap h4,
body.ai-dark .th-comments-wrap h3 {
  color: #f3f4f8 !important;
}

body.ai-dark .th-post-comment .commented-on,
body.ai-dark .th-post-comment .commented-on a {
  color: #b8bcc8 !important;
}

body.ai-dark .th-post-comment .reply-btn,
body.ai-dark .th-comments-wrap .reply-btn {
  color: #0fcca7 !important;
}

body.ai-dark .th-comments-title,
body.ai-dark .blog-comment-area .blog-inner-title,
body.ai-dark .th-comments-wrap .blog-inner-title {
  color: #ffffff !important;
}

/* Comment form */
body.ai-dark .th-comment-form {
  background: #242424 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.ai-dark .th-comment-form .blog-inner-title,
body.ai-dark .th-comment-form h3,
body.ai-dark .th-comment-form h4 {
  color: #ffffff !important;
}

body.ai-dark .th-comment-form .blog-text,
body.ai-dark .th-comment-form p {
  color: #b8bcc8 !important;
}

body.ai-dark .th-comment-form input,
body.ai-dark .th-comment-form textarea,
body.ai-dark .th-comment-form .form-control {
  background: #1a1a1a !important;
  border-color: #404040 !important;
  color: #f3f4f8 !important;
}

body.ai-dark .th-comment-form input::placeholder,
body.ai-dark .th-comment-form textarea::placeholder {
  color: #888 !important;
}

body.ai-dark .th-comment-form .th-btn:after {
  background: #ffffff !important;
}

body.ai-dark .th-comment-form .th-btn .icon img {
  filter: none !important;
}

/* Quote / callout boxes in article — kill overlapping theme quote icon */
body.ai-dark .blog-single blockquote,
body.ai-dark .blog-content blockquote,
body.ai-dark .wp-block-quote {
  background: rgba(15, 204, 167, 0.08) !important;
  border: none !important;
  border-left: 3px solid #0fcca7 !important;
  border-radius: 0 10px 10px 0 !important;
  color: #e8eaef !important;
  padding: 1.15rem 1.35rem !important;
  margin: 1.5rem 0 !important;
  position: relative !important;
  overflow: visible !important;
}
body.ai-dark .blog-single blockquote:before,
body.ai-dark .blog-content blockquote:before,
body.ai-dark .wp-block-quote:before,
body.ai-dark .blog-single blockquote:after,
body.ai-dark .blog-content blockquote:after,
body.ai-dark .wp-block-quote:after {
  display: none !important;
  content: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}
body.ai-dark .blog-single blockquote p,
body.ai-dark .blog-content blockquote p,
body.ai-dark .wp-block-quote p {
  color: #e8eaef !important;
  position: static !important;
  z-index: auto !important;
  margin: 0 !important;
  width: 100% !important;
}

/* ---------- Contact form panel (white card on dark page) ---------- */
body.ai-dark .contact-sec {
  background: #1a1a1a !important;
  background-image: none !important;
}

body.ai-dark .contact-area {
  background: #1e2028 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.ai-dark .contact-form .title,
body.ai-dark .contact-form h3.title,
body.ai-dark .contact-area h3,
body.ai-dark .contact-area .title {
  color: #ffffff !important;
}

body.ai-dark .contact-form .box-text,
body.ai-dark .contact-form .form-btn .box-text,
body.ai-dark .contact-form p {
  color: #b8bcc8 !important;
}

body.ai-dark .contact-form .form-control,
body.ai-dark .contact-form input,
body.ai-dark .contact-form textarea,
body.ai-dark .contact-form select,
body.ai-dark .contact-form .form-select,
body.ai-dark .contact-form .nice-select,
body.ai-dark .contact-form .ai-contact-select {
  background: #15171d !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px !important;
  color: #f3f4f8 !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 12px 16px !important;
  font-family: var(--body-font), "Work Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

body.ai-dark .contact-form textarea.form-control {
  height: auto !important;
  min-height: 110px !important;
  padding-top: 14px !important;
}

body.ai-dark .contact-form .form-control::placeholder,
body.ai-dark .contact-form input::placeholder,
body.ai-dark .contact-form textarea::placeholder {
  color: #8a8f9c !important;
  opacity: 1 !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

/* Native service select — match input fields */
body.ai-dark .contact-form select.ai-contact-select,
body.ai-dark .contact-form .ai-contact-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 100% !important;
  cursor: pointer !important;
  color: #8a8f9c !important; /* placeholder-like until chosen */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='none' stroke='%230fcca7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 14px 8px !important;
  padding-right: 42px !important;
  background-color: #15171d !important;
}

body.ai-dark .contact-form select.ai-contact-select:valid,
body.ai-dark .contact-form select.ai-contact-select.has-value {
  color: #f3f4f8 !important;
}

body.ai-dark .contact-form select.ai-contact-select option {
  background: #1e2028 !important;
  color: #f3f4f8 !important;
  font-family: var(--body-font), "Work Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  padding: 10px 12px !important;
}

body.ai-dark .contact-form select.ai-contact-select:invalid {
  box-shadow: none !important;
  outline: none !important;
}

body.ai-dark .contact-form select.ai-contact-select:focus {
  border-color: rgba(15, 204, 167, 0.55) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(15, 204, 167, 0.15) !important;
  color: #f3f4f8 !important;
}

body.ai-dark .contact-form .form-group {
  margin-bottom: 20px !important;
}

body.ai-dark .contact-form .nice-select .current,
body.ai-dark .contact-form .nice-select span.current {
  color: #f3f4f8 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 28px !important;
}

body.ai-dark .contact-form .nice-select {
  display: flex !important;
  align-items: center !important;
  float: none !important;
  width: 100% !important;
}

body.ai-dark .contact-form .nice-select::after {
  border-color: #0fcca7 transparent transparent transparent !important;
  right: 18px !important;
  top: 50% !important;
  margin-top: -3px !important;
}

body.ai-dark .contact-form .nice-select .list {
  background: #1e2028 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  margin-top: 6px !important;
  padding: 6px 0 !important;
  max-height: 260px !important;
  overflow-y: auto !important;
}

body.ai-dark .contact-form .nice-select .option {
  color: #d8dbe3 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  min-height: 40px !important;
  padding: 10px 16px !important;
}

body.ai-dark .contact-form .nice-select .option:hover,
body.ai-dark .contact-form .nice-select .option.focus,
body.ai-dark .contact-form .nice-select .option.selected.focus {
  background: rgba(15, 204, 167, 0.12) !important;
  color: #ffffff !important;
}

body.ai-dark .contact-form .nice-select .option.disabled {
  display: none !important;
}

body.ai-dark .contact-form .th-btn {
  background: #0fcca7 !important;
  color: #06050b !important;
  border: none !important;
}

body.ai-dark .contact-form .th-btn:hover {
  background: #0a9e82 !important;
  color: #ffffff !important;
}

body.ai-dark .contact-review {
  background: #15171d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
}

body.ai-dark .contact-review .box-text {
  color: #f3f4f8 !important;
}

body.ai-dark .contact-review .box-title,
body.ai-dark .contact-review h3.box-title {
  color: #ffffff !important;
}

body.ai-dark .contact-review .box-desig,
body.ai-dark .contact-review .box-info span {
  color: #0fcca7 !important;
}

/* Contact info cards above form */
body.ai-dark .contact-media .box-title {
  color: #ffffff !important;
}

body.ai-dark .contact-media .box-text,
body.ai-dark .contact-media .box-text a,
body.ai-dark .contact-media a {
  color: #b8bcc8 !important;
}

body.ai-dark .contact-media a:hover {
  color: #0fcca7 !important;
}

/* ---------- Integrations / service-card (was light text on white) ---------- */
body.ai-dark .service-card,
body.ai-dark .service-card.style2 {
  background: #1e2028 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

body.ai-dark .service-card .box-title,
body.ai-dark .service-card .box-title a,
body.ai-dark .service-card.style2 .box-title,
body.ai-dark .service-card.style2 .box-title a,
body.ai-dark .service-card h3,
body.ai-dark .service-card h3 a {
  color: #ffffff !important;
}

body.ai-dark .service-card .box-text,
body.ai-dark .service-card.style2 .box-text,
body.ai-dark .service-card p {
  color: #b8bcc8 !important;
}

body.ai-dark .service-card .box-icon {
  background: #15171d !important;
}

body.ai-dark .service-card:hover,
body.ai-dark .service-card.style2:hover {
  border-color: rgba(15, 204, 167, 0.45) !important;
  background: #242730 !important;
}

body.ai-dark .service-card .box-title a:hover {
  color: #0fcca7 !important;
}

/* Integrations search */
body.ai-dark .search-form,
body.ai-dark form.search-form,
body.ai-dark .widget_search {
  background: transparent !important;
}

body.ai-dark .search-form .form-control,
body.ai-dark .search-form input[type="text"],
body.ai-dark .search-form input[type="search"] {
  background: #1e2028 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #f3f4f8 !important;
}

body.ai-dark .search-form .form-control::placeholder,
body.ai-dark .search-form input::placeholder {
  color: #8a8f9c !important;
}

body.ai-dark .search-form button,
body.ai-dark .search-form .th-btn {
  background: #0fcca7 !important;
  color: #06050b !important;
  border: none !important;
}

body.ai-dark .search-form.style2 input,
body.ai-dark .search-form.style2 .form-control {
  background: #1e2028 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #f3f4f8 !important;
}

body.ai-dark .search-form.style2 button {
  background: #0fcca7 !important;
  color: #06050b !important;
}

body.ai-dark .title-box-text {
  color: #b8bcc8 !important;
}

/* ---------- Service page unique layouts (dark) ---------- */
body.ai-dark .ai-svc-highlight,
body.ai-dark .ai-svc-timeline-item h3,
body.ai-dark .ai-svc-faq-trigger {
  color: #ffffff !important;
}
body.ai-dark .ai-svc-audience,
body.ai-dark .ai-svc-outcome-card p,
body.ai-dark .ai-svc-check li,
body.ai-dark .ai-svc-steps li,
body.ai-dark .ai-svc-faq-item p,
body.ai-dark .ai-svc-stat-row span {
  color: #b8bcc8 !important;
}
body.ai-dark .ai-svc-outcome-card,
body.ai-dark .ai-svc-timeline-item,
body.ai-dark .ai-svc-faq-item,
body.ai-dark .ai-svc-stat-row {
  background: #1e2028 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.ai-dark .ai-svc-check li,
body.ai-dark .ai-svc-steps li {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
body.ai-dark .ai-svc-stack span {
  border-color: rgba(15, 204, 167, 0.4) !important;
  color: #0fcca7 !important;
}
body.ai-dark .ai-svc-faq-item.is-open .ai-svc-faq-trigger {
  color: #0fcca7 !important;
}
body.ai-dark .ai-svc-industry-banner {
  background:
    linear-gradient(135deg, rgba(14, 16, 20, 0.94), rgba(14, 16, 20, 0.8)),
    #0e1014 !important;
}

/* ---------- Dense service sections (dark) ---------- */
body.ai-dark .ai-svc-prose,
body.ai-dark .ai-svc-module--map p,
body.ai-dark .ai-svc-phase-rail-item p,
body.ai-dark .ai-svc-catalog-item p,
body.ai-dark .ai-svc-usecase-tile p,
body.ai-dark .ai-svc-workstream-body p,
body.ai-dark .ai-svc-domain-item p,
body.ai-dark .ai-svc-vertical-phases span,
body.ai-dark .ai-svc-lab-brief-card p,
body.ai-dark .ai-svc-sprint-card p,
body.ai-dark .ai-svc-steps li em {
  color: #b8bcc8 !important;
}
body.ai-dark .ai-svc-module--map h3,
body.ai-dark .ai-svc-phase-rail-item h3,
body.ai-dark .ai-svc-catalog-item h3,
body.ai-dark .ai-svc-usecase-tile h3,
body.ai-dark .ai-svc-subhead,
body.ai-dark .ai-svc-outcome-list li,
body.ai-dark .ai-svc-benefit-rows li,
body.ai-dark .ai-svc-metric-row p,
body.ai-dark .ai-svc-workstream-body h3,
body.ai-dark .ai-svc-domain-item h3,
body.ai-dark .ai-svc-vertical-phases strong,
body.ai-dark .ai-svc-sprint-card h3,
body.ai-dark .ai-svc-steps li strong {
  color: #ffffff !important;
}
body.ai-dark .ai-svc-module--map,
body.ai-dark .ai-svc-phase-rail,
body.ai-dark .ai-svc-phase-rail-item,
body.ai-dark .ai-svc-fit,
body.ai-dark .ai-svc-catalog-item,
body.ai-dark .ai-svc-sprint-card,
body.ai-dark .ai-svc-metric-row,
body.ai-dark .ai-svc-lab-brief-card {
  background: #1e2028 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.ai-dark .ai-svc-usecase-tile,
body.ai-dark .ai-svc-accept {
  background: #171920 !important;
}
body.ai-dark .ai-svc-catalog-grid,
body.ai-dark .ai-svc-workstream-row,
body.ai-dark .ai-svc-domain-item,
body.ai-dark .ai-svc-outcome-list li,
body.ai-dark .ai-svc-benefit-rows li {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.ai-dark .ai-svc-protocol-card {
  background: #12141a !important;
}

/* ---------- Related service cards (dark) ---------- */
body.ai-dark .ai-svc-related-card {
  background: #1e2028 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.ai-dark .ai-svc-related-media {
  background: #12141a !important;
  height: 200px !important;
  max-height: 200px !important;
  aspect-ratio: auto !important;
}
body.ai-dark .ai-svc-related-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
@media (max-width: 767px) {
  body.ai-dark .ai-svc-related-media {
    height: 180px !important;
    max-height: 180px !important;
  }
}
body.ai-dark .ai-svc-related-title,
body.ai-dark .ai-svc-related-title a {
  color: #ffffff !important;
}
body.ai-dark .ai-svc-related-text {
  color: #b8bcc8 !important;
}
body.ai-dark .ai-svc-related-icon {
  background: rgba(15, 204, 167, 0.18) !important;
  color: #0fcca7 !important;
}
body.ai-dark .ai-svc-related-title a:hover {
  color: #0fcca7 !important;
}
/* Faint dark SVG icons → teal on dark */
body.ai-dark .service-box .box-icon img,
body.ai-dark .ai-svc-hero-badge img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(47%) saturate(528%) hue-rotate(118deg) brightness(95%) contrast(92%) !important;
}

body.ai-dark .ai-svc-hero-badge {
  background: rgba(30, 32, 40, 0.96) !important;
}
body.ai-dark .ai-svc-hero-badge span {
  color: #b8bcc8 !important;
}
body.ai-dark .ai-svc-hero-badge i {
  color: #0fcca7 !important;
  background: rgba(15, 204, 167, 0.18) !important;
}
body.ai-dark .service-box2 .box-icon.ai-svc-fa-icon,
body.ai-dark .service-box2 .box-icon {
  background: #0fcca7 !important;
}
body.ai-dark .service-box2 .box-icon i,
body.ai-dark .service-box2 .box-icon.ai-svc-fa-icon i,
body.ai-dark .ai-svc-fa-icon i {
  color: #06050b !important;
  background: transparent !important;
}

body.ai-dark .ai-svc-usecase-icon {
  background: #0fcca7 !important;
  color: #ffffff !important;
}
body.ai-dark .ai-svc-usecase-icon i {
  color: #ffffff !important;
}

body.ai-dark .ai-svc-faq-item {
  background: #1e2028 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.ai-dark .ai-svc-faq-item.is-open {
  border-color: rgba(15, 204, 167, 0.4) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25) !important;
}
body.ai-dark .ai-svc-faq-trigger {
  color: #ffffff !important;
}
body.ai-dark .ai-svc-faq-item.is-open .ai-svc-faq-trigger,
body.ai-dark .ai-svc-faq-trigger:hover {
  color: #0fcca7 !important;
}
body.ai-dark .ai-svc-faq-panel p {
  color: #b8bcc8 !important;
}
body.ai-dark .ai-svc-faq-chevron {
  background: rgba(15, 204, 167, 0.18) !important;
}
body.ai-dark .ai-svc-faq-chevron::before,
body.ai-dark .ai-svc-faq-chevron::after {
  background: #0fcca7 !important;
}
/* Service CTA secondary must stay readable vs global .th-btn dark rules */
body.ai-dark .cta-area2 a.ai-svc-cta-secondary,
body.ai-dark a.ai-svc-cta-secondary {
  background: transparent !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.75) !important;
}
body.ai-dark .cta-area2 a.ai-svc-cta-secondary:hover,
body.ai-dark .cta-area2 a.ai-svc-cta-secondary:focus,
body.ai-dark a.ai-svc-cta-secondary:hover,
body.ai-dark a.ai-svc-cta-secondary:focus {
  background: #ffffff !important;
  color: #06050b !important;
  border-color: #ffffff !important;
}
body.ai-dark .cta-area2 a.ai-svc-cta-secondary:hover i,
body.ai-dark .cta-area2 a.ai-svc-cta-secondary:focus i,
body.ai-dark a.ai-svc-cta-secondary:hover i,
body.ai-dark a.ai-svc-cta-secondary:focus i {
  color: #06050b !important;
}
body.ai-dark .cta-area2 a.ai-svc-cta-secondary i,
body.ai-dark a.ai-svc-cta-secondary i {
  color: #ffffff !important;
}

/* Roadmap rearranged intro (dark) */
body.ai-dark .ai-svc-roadmap-title {
  color: #ffffff !important;
}
body.ai-dark .ai-svc-intro--roadmap .ai-svc-audience {
  background: rgba(15, 204, 167, 0.1) !important;
  color: #b8bcc8 !important;
  border-left-color: #0fcca7 !important;
}
body.ai-dark .ai-svc-roadmap-metrics {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.ai-dark .ai-svc-roadmap-metric {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.ai-dark .ai-svc-roadmap-metric span {
  color: #b8bcc8 !important;
}
body.ai-dark .ai-svc-intro--roadmap .ai-svc-cta-secondary {
  background: transparent !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}
body.ai-dark .ai-svc-intro--roadmap .ai-svc-cta-secondary:hover {
  background: #ffffff !important;
  color: #06050b !important;
}
body.ai-dark .ai-svc-intro--roadmap .ai-svc-cta-secondary i {
  color: inherit !important;
}

/* Lab delivery system dark */
body.ai-dark .ai-svc-lab-system-lead,
body.ai-dark .ai-svc-lab-phase p,
body.ai-dark .ai-svc-lab-panel li {
  color: #b8bcc8 !important;
}
body.ai-dark .ai-svc-lab-phase h3,
body.ai-dark .ai-svc-lab-eval-list p,
body.ai-dark .ai-svc-lab-panel h3 {
  color: #ffffff !important;
}
body.ai-dark .ai-svc-lab-phase,
body.ai-dark .ai-svc-lab-panel {
  background: #1e2028 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.ai-dark .ai-svc-lab-eval,
body.ai-dark .ai-svc-lab-eval-list li,
body.ai-dark .ai-svc-lab-panel li {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.ai-dark .ai-svc-lab-metric {
  background: #171920 !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
body.ai-dark .ai-svc-lab-metric strong {
  color: #0fcca7 !important;
}
body.ai-dark .ai-svc-lab-metric span {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Industry premium intro dark */
body.ai-dark .ai-svc-industry-reality-card,
body.ai-dark .ai-svc-industry-outcome {
  background: #1e2028 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.ai-dark .ai-svc-industry-reality-card p {
  color: #b8bcc8 !important;
}
body.ai-dark .ai-svc-industry-outcome p {
  color: #ffffff !important;
}
body.ai-dark .ai-svc-industry-metric {
  background: #171920 !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
body.ai-dark .ai-svc-industry-metric span {
  color: rgba(255, 255, 255, 0.75) !important;
}
body.ai-dark .ai-svc-industry-hero-aside .ai-svc-cta-secondary {
  background: transparent !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}
body.ai-dark .ai-svc-industry-hero-aside .ai-svc-cta-secondary:hover {
  background: #ffffff !important;
  color: #06050b !important;
}

body.ai-dark .ai-svc-industry-module-card,
body.ai-dark .ai-svc-industry-path-card,
body.ai-dark .ai-svc-industry-close-card {
  background: #1e2028 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.ai-dark .ai-svc-industry-usecase-card {
  background: #171920 !important;
}
body.ai-dark .ai-svc-industry-module-card h3,
body.ai-dark .ai-svc-industry-usecase-card h3,
body.ai-dark .ai-svc-industry-path-card h3 {
  color: #ffffff !important;
}
body.ai-dark .ai-svc-industry-module-card p,
body.ai-dark .ai-svc-industry-usecase-card p,
body.ai-dark .ai-svc-industry-path-card p {
  color: #b8bcc8 !important;
}
body.ai-dark .ai-svc-industry-aside-copy {
  color: rgba(255, 255, 255, 0.88) !important;
}
body.ai-dark .ai-svc-industry-aside-copy--muted {
  color: rgba(255, 255, 255, 0.62) !important;
}

/* Four service systems — dark */
body.ai-dark .ai-brief-lede,
body.ai-dark .ai-brief-body h2,
body.ai-dark .ai-brief-body strong,
body.ai-dark .ai-spec-title,
body.ai-dark .ai-spec-lede,
body.ai-dark .ai-spec-catalog-row h3,
body.ai-dark .ai-spec-examples strong,
body.ai-dark .ai-spec-done h2,
body.ai-dark .ai-spec-path p strong,
body.ai-dark .ai-feature-chapters h2,
body.ai-dark .ai-feature-situations h2,
body.ai-dark .ai-feature-path h2,
body.ai-dark .ai-feature-chapter-grid h3,
body.ai-dark .ai-feature-path-grid h3,
body.ai-dark .ai-feature-situations strong,
body.ai-dark .ai-method-title,
body.ai-dark .ai-method-lede,
body.ai-dark .ai-method-classes h2,
body.ai-dark .ai-method-eval h2,
body.ai-dark .ai-method-class-grid h3,
body.ai-dark .ai-method-eval strong,
body.ai-dark .ai-method-ready strong,
body.ai-dark .ai-svc-faq-band-grid > h2,
body.ai-dark .ai-svc-related-heading {
  color: #ffffff !important;
}
body.ai-dark .ai-brief-meta,
body.ai-dark .ai-brief-body p,
body.ai-dark .ai-brief-strip span,
body.ai-dark .ai-spec-meta,
body.ai-dark .ai-spec-prose p,
body.ai-dark .ai-spec-catalog-row p,
body.ai-dark .ai-spec-examples p,
body.ai-dark .ai-spec-done p,
body.ai-dark .ai-spec-path p,
body.ai-dark .ai-feature-chapter-grid p,
body.ai-dark .ai-feature-situations p,
body.ai-dark .ai-feature-path-grid p,
body.ai-dark .ai-feature-close p,
body.ai-dark .ai-method-meta,
body.ai-dark .ai-method-brief p,
body.ai-dark .ai-method-ready p,
body.ai-dark .ai-method-class-grid p,
body.ai-dark .ai-method-eval p {
  color: #b8bcc8 !important;
}
body.ai-dark .ai-brief-strip,
body.ai-dark .ai-brief-strip > div,
body.ai-dark .ai-spec-catalog,
body.ai-dark .ai-spec-catalog-row,
body.ai-dark .ai-spec-done,
body.ai-dark .ai-feature-close,
body.ai-dark .ai-method-ready,
body.ai-dark .ai-method-class-grid > div {
  border-color: rgba(255,255,255,.1) !important;
}
body.ai-dark .ai-method-brief p,
body.ai-dark .ai-feature-path-grid > div {
  background: #1e2028 !important;
}
body.ai-dark .ai-method-class-grid > div {
  background: transparent !important;
}

/* Case study cards — dark panels (no bright white blocks) */
body.ai-dark .case-study .box-content {
  background-color: #1e2028 !important;
  color: #b8bcc8 !important;
}
body.ai-dark .case-study .box-content .box-title,
body.ai-dark .case-study .box-content .box-title a,
body.ai-dark .case-study .box-content h2,
body.ai-dark .case-study .box-content h3 {
  color: #f3f4f8 !important;
}
body.ai-dark .case-study .box-content .box-text,
body.ai-dark .case-study .box-content p {
  color: #b8bcc8 !important;
}
body.ai-dark .case-study .box-content .date {
  color: #e5e7eb !important;
}
body.ai-dark .case-study .tags span {
  color: #f3f4f8 !important;
  background: rgba(6, 5, 11, 0.55) !important;
}
body.ai-dark .case-study .box-content .th-btn2.style3 {
  color: #f3f4f8 !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: transparent !important;
}
body.ai-dark .case-study .box-content .th-btn2.style3:hover {
  color: #06050b !important;
  background: #0fcca7 !important;
  border-color: #0fcca7 !important;
}
body.ai-dark .case-study.style2 .box-content2 .box-title,
body.ai-dark .case-study.style2 .box-content2 .box-title a,
body.ai-dark .case-study.style2 .box-content2 h2 {
  color: #f3f4f8 !important;
}
body.ai-dark .case-study.style2 .box-content2 .box-text,
body.ai-dark .case-study.style2 .box-content2 p,
body.ai-dark .case-study.style2 .box-content2 .date {
  color: #b8bcc8 !important;
}

/* Blog detail — takeaway callout (div, not theme blockquote) */
body.ai-dark .ai-blog-takeaway {
  margin: 1.5rem 0;
  padding: 1.15rem 1.35rem;
  border: none;
  border-left: 3px solid #0fcca7;
  background: rgba(15, 204, 167, 0.08);
  border-radius: 0 10px 10px 0;
  position: relative;
}
body.ai-dark .ai-blog-takeaway:before,
body.ai-dark .ai-blog-takeaway:after {
  display: none !important;
  content: none !important;
}
body.ai-dark .ai-blog-takeaway p {
  color: #e8eaef !important;
  font-size: 1.05rem;
  line-height: 1.65;
  font-style: italic;
  margin: 0;
  position: static;
}

/* ---------- Contact page: premium info cards (centered, equal height) ---------- */
body.ai-dark .ai-contact-info {
  padding: 48px 0 24px !important;
  background: transparent !important;
}

body.ai-dark .ai-contact-info .row {
  align-items: stretch !important;
}

body.ai-dark .ai-contact-card {
  height: 100% !important;
  min-height: 220px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 32px 24px !important;
  border-radius: 20px !important;
  background: #1e2028 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25) !important;
  transition: border-color 0.25s ease, transform 0.25s ease !important;
}

body.ai-dark .ai-contact-card:hover {
  border-color: rgba(15, 204, 167, 0.4) !important;
  transform: translateY(-3px);
}

body.ai-dark .ai-contact-card__icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 16px !important;
  background: rgba(15, 204, 167, 0.14) !important;
  color: #0fcca7 !important;
  border: 1px solid rgba(15, 204, 167, 0.35) !important;
  font-size: 1.15rem !important;
  flex-shrink: 0 !important;
}

body.ai-dark .ai-contact-card:hover .ai-contact-card__icon {
  background: #0fcca7 !important;
  color: #0b0c10 !important;
}

body.ai-dark .ai-contact-card__title {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  margin: 0 0 10px !important;
  width: 100% !important;
  text-align: center !important;
}

body.ai-dark .ai-contact-card__text,
body.ai-dark .ai-contact-card__text a {
  color: #b8bcc8 !important;
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
  margin: 0 auto !important;
  max-width: 260px !important;
  width: 100% !important;
  text-align: center !important;
  display: block !important;
  float: none !important;
}

body.ai-dark .ai-contact-card__text a:hover {
  color: #0fcca7 !important;
}

body.ai-dark .ai-contact-form-sec {
  padding-top: 28px !important;
  padding-bottom: 80px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: #14161c !important;
  background-image: none !important;
}

body.ai-dark .ai-contact-form-sec .contact-area {
  border-radius: 24px !important;
  padding: 40px 36px !important;
  background: #1c1f28 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35) !important;
}

@media (max-width: 767px) {
  body.ai-dark .ai-contact-info {
    padding: 32px 0 12px !important;
  }
  body.ai-dark .ai-contact-card {
    min-height: 0 !important;
  }
  body.ai-dark .ai-contact-form-sec {
    padding-top: 20px !important;
    padding-bottom: 60px !important;
  }
  body.ai-dark .ai-contact-form-sec .contact-area {
    padding: 28px 22px !important;
  }
}

/* ---------- Lead form validation ---------- */
body.ai-dark .ai-field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #ff7b7b !important;
  min-height: 0;
}

body.ai-dark .form-group.is-invalid .form-control,
body.ai-dark .ai-pm__field.is-invalid .form-control,
body.ai-dark .ai-consult-field.is-invalid .form-control,
body.ai-dark .form-control.is-invalid,
body.ai-dark select.is-invalid {
  border-color: rgba(255, 90, 90, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.12) !important;
}

body.ai-dark .form-group.is-valid .form-control,
body.ai-dark .ai-pm__field.is-valid .form-control,
body.ai-dark .ai-consult-field.is-valid .form-control,
body.ai-dark .form-control.is-valid {
  border-color: rgba(15, 204, 167, 0.55) !important;
}

body.ai-dark .ai-form-messages {
  margin: 10px 0 0;
  font-size: 0.92rem;
  line-height: 1.4;
  min-height: 1.2em;
}

body.ai-dark .ai-form-messages.is-error {
  color: #ff8e8e !important;
}

body.ai-dark .ai-form-messages.is-success {
  color: #0fcca7 !important;
}

body.ai-dark .ai-pm__submit.is-loading,
body.ai-dark .ai-consult-submit.is-loading,
body.ai-dark .contact-form .th-btn:disabled {
  opacity: 0.7;
  pointer-events: none;
}

body.ai-dark .ai-pm__phone-shell .form-control.is-invalid,
body.ai-dark .ai-consult-phone .form-control.is-invalid {
  border-color: transparent !important;
}

body.ai-dark .ai-pm__phone-shell:has(.form-control.is-invalid) {
  border-color: rgba(255, 90, 90, 0.75) !important;
}

/* Contact form phone dial (IP-detected) */
body.ai-dark .ai-contact-phone {
  position: relative;
}

body.ai-dark .ai-contact-phone-inner {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
}

body.ai-dark .ai-contact-phone .ai-contact-dial {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  flex: 0 0 auto !important;
  min-width: 58px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-right: 0 !important;
  border-radius: 8px 0 0 8px !important;
  background: #15171d !important;
  color: #0fcca7 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

body.ai-dark .ai-contact-phone-inner .form-control {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0 8px 8px 0 !important;
  box-sizing: border-box !important;
}

body.ai-dark .ai-contact-aside {
  background: #15171d;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 24px;
}
body.ai-dark .ai-contact-aside h3 { color: #fff !important; }

/* Mobile: hide header CTAs — hamburger + drawer only */
@media (max-width: 1199px) {
  .th-header .header-button > a.th-btn2 {
    display: none !important;
  }
  .th-header .header-button {
    gap: 0 !important;
  }
}

/* Mobile slide-out menu — dark panel, readable links */
body.ai-dark .th-menu-wrapper .th-menu-area {
  background: #15171d !important;
  border-right: 3px solid #0fcca7 !important;
}

body.ai-dark .th-menu-wrapper .mobile-logo {
  background: transparent !important;
  padding: 48px 20px 16px !important;
}

body.ai-dark .th-menu-wrapper .mobile-logo img {
  height: 40px !important;
  max-width: 180px !important;
  filter: none !important;
}

body.ai-dark .th-mobile-menu ul li {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

body.ai-dark .th-mobile-menu ul li li:first-child {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

body.ai-dark .th-mobile-menu ul li a {
  color: #f3f4f8 !important;
}

body.ai-dark .th-mobile-menu ul li a:hover,
body.ai-dark .th-mobile-menu ul li.th-active > a {
  color: #0fcca7 !important;
}

body.ai-dark .th-mobile-menu ul .th-item-has-children > a:after {
  background-color: #242424 !important;
  color: #f3f4f8 !important;
}
body.ai-dark .ai-contact-next li {
  color: #b8bcc8;
  margin-bottom: 12px;
  padding-left: 0;
  line-height: 1.5;
}

/* ---------- Industries (homepage + listing) ---------- */
body.ai-dark .ai-industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
body.ai-dark .ai-industries-col {
  background: #1e2028;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
}
body.ai-dark .ai-industries-col-title {
  margin: 0 0 18px;
  font-size: 20px;
  color: #f3f4f8 !important;
}
body.ai-dark .ai-industries-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.ai-dark .ai-industries-list li + li {
  margin-top: 6px;
}
body.ai-dark .ai-industries-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #c5c9d4 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
body.ai-dark .ai-industries-list li:last-child a {
  border-bottom: 0;
}
body.ai-dark .ai-industries-list a i,
body.ai-dark .ai-industry-card-icon i {
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "Font Awesome 5 Pro", "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block;
  color: #0fcca7;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  -webkit-font-smoothing: antialiased;
}

body.ai-dark .mega-menu-ai .ai-mega-list a:hover .ai-link-icon,
body.ai-dark .mega-menu-ai .ai-mega-list a:hover .ai-link-icon i {
  color: #ffffff !important;
}
body.ai-dark .ai-industries-list a:hover {
  color: #0fcca7 !important;
}

body.ai-dark .ai-industry-group {
  margin-bottom: 48px;
}
body.ai-dark .ai-industry-group-title {
  margin: 0 0 20px;
  font-size: 22px;
  color: #f3f4f8 !important;
}
body.ai-dark .ai-industry-card {
  height: 100%;
  padding: 24px 22px;
  border-radius: 16px;
  background: #1e2028;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
a.ai-industry-card--link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.ai-industry-card--link:hover {
  border-color: rgba(15, 204, 167, 0.4) !important;
  transform: translateY(-3px);
}
body.ai-dark .ai-industry-detail-hero {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
body.ai-dark .ai-industry-detail-hero .ai-industry-card-icon {
  margin-left: auto;
  margin-right: auto;
}
body.ai-dark .ai-industry-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  width: 100%;
}
body.ai-dark .ai-industry-hero-actions .th-btn2 {
  margin: 0 !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px !important;
  line-height: 1.2 !important;
}
body.ai-dark .ai-industry-detail-svcs,
body.ai-dark .ai-industry-detail-more {
  margin-top: 16px;
  margin-bottom: 40px;
}
body.ai-dark .ai-industry-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(15, 204, 167, 0.12);
  color: #0fcca7;
  font-size: 16px;
}
body.ai-dark .ai-industry-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #f3f4f8 !important;
}
body.ai-dark .ai-industry-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #b8bcc8 !important;
}
body.ai-dark .ai-industry-svcs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.ai-dark .ai-industry-svcs a,
body.ai-dark .ai-industry-svcs span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #0fcca7 !important;
  background: rgba(15, 204, 167, 0.1);
  text-decoration: none;
}
body.ai-dark .ai-industry-svcs a:hover {
  background: rgba(15, 204, 167, 0.2);
}

@media (max-width: 991px) {
  body.ai-dark .ai-industries-grid {
    grid-template-columns: 1fr;
  }
}
