/* ============================================================
   Dentaix FLOW — dentaix-custom.css  (complete, clean v5)
   ============================================================ */

/* ---------- CSS variables ---------- */
:root {
  --dx-blue:        #0088ff;
  --dx-blue-soft:   #e8f4ff;
  --dx-bg:          #f7faff;
  --dx-surface:     #ffffff;
  --dx-text:        #0b1b33;
  --dx-muted:       #4a607a;
  --dx-border:      rgba(0,136,255,.12);
  --dx-glass:       rgba(255,255,255,.85);
  --dx-shadow:      0 18px 50px rgba(0,40,90,.08);
}
html[data-theme='dark'] { color-scheme: dark; }
html { scroll-behavior: smooth; }

body.theme {
  --theme-color:  var(--dx-blue);
  --theme-color2: #79c4ff;
  --title-color:  var(--dx-text);
  --body-color:   var(--dx-muted);
  --smoke-color2: #f0f6ff;
  --th-border-color: var(--dx-border);
  background-color: var(--dx-bg);
  color: var(--dx-muted);
  transition: background-color .35s ease, color .35s ease;
}

/* ============================================================
   LOGO  — light / dark switching
   ============================================================ */

/* wipe old SVG utility classes */
.logo-light,.logo-dark,
.logo-footer-always,.logo-footer-light-hidden,
img.dentaix-logo-custom { display:none !important; }

/* logo link wrapper */
a.dx-logo-link {
  display:inline-flex !important;
  align-items:center !important;
  line-height:0 !important;
  text-decoration:none !important;
}

/* every logo image */
img.dx-logo {
  display:block;
  width:auto;
  height:46px;          /* ← actual rendered height */
  max-height:46px;
  object-fit:contain;
  transition: opacity .2s ease;
}

/* light mode → show light logo only */
html[data-theme='light'] .dx-logo-dark,
html:not([data-theme])   .dx-logo-dark  { display:none  !important; }
html[data-theme='light'] .dx-logo-light,
html:not([data-theme])   .dx-logo-light { display:block !important; }

/* dark mode → show dark logo only */
html[data-theme='dark']  .dx-logo-light { display:none  !important; }
html[data-theme='dark']  .dx-logo-dark  { display:block !important; }

/* footer + mobile sidebar always white logo */
.footer-logo .dx-logo-light,
.th-menu-wrapper.dx-mobile-sidebar .dx-logo-light { display:none !important; }
.footer-logo .dx-logo-dark,
.footer-logo .dx-logo-footer,
.th-menu-wrapper.dx-mobile-sidebar .dx-logo-dark { display:block !important; }

/* responsive */
@media (max-width:1399px){ img.dx-logo{ height:40px; max-height:40px; } }
@media (max-width: 991px){ img.dx-logo{ height:34px; max-height:34px; } }
@media (max-width: 575px){ img.dx-logo{ height:28px; max-height:28px; } }

/* ── header row alignment ── */
.th-header.header-layout2 .menu-area > .container > .row {
  align-items: center !important;
  min-height: 70px;
}
.th-header.header-layout2 .header-logo {
  padding: 0 !important; margin: 0 !important;
  display: flex; align-items: center;
}
.th-header.header-layout2 .header-logo a.dx-logo-link { padding: 0 !important; }
.mobile-logo a.dx-logo-link { display:flex; align-items:center; justify-content:center; }

/* ============================================================
   HEADER — transparent + sticky glass
   ============================================================ */
body.theme .th-header.header-layout2 .menu-area {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: background .4s ease, backdrop-filter .4s ease, box-shadow .4s ease;
}
body.theme .th-header.header-layout2 .sticky-wrapper.sticky .menu-area {
  background: var(--dx-glass) !important;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--dx-border) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.08) !important;
}

/* hero padding — overridden in dentaix-header-robot.css */

/* ============================================================
   INSTANT BACKGROUNDS (no flash)
   ============================================================ */
.th-hero-wrapper.hero-2   { background-image:url('../img/bg/hero_bg_2.jpg'); }
.cta-area3.space          { background-image:url('../img/bg/cta_bg_2.jpg'); }
.contact-sec {
  background-image: none !important;
  background-color: #122139 !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 48px 48px 28px 28px !important;
  box-shadow: 0 30px 80px rgba(3, 10, 28, 0.20) !important;
  margin: 0 0 28px !important;
}
.footer-wrapper.footer-layout2[data-bg-src]{ background-image:url('../img/bg/footer_bg_dentaix.png'); }
.breadcumb-wrapper[data-bg-src]{ background-image:url('../img/bg/breadcumb-bg.jpg'); }

/* ============================================================
   DENTAL TECH BG — Case Studies + FAQ  (both themes)
   ============================================================ */

/* -- shared base -- */
#case-studies-sec,
#faq-sec {
  background-image: none !important;
  background-color: #122139 !important;
  background-size: auto !important;
  background-repeat: no-repeat !important;
  position: relative !important;
}

/* remove image overlays */
#case-studies-sec::after,
#faq-sec::after {
  display: none !important;
  content: none !important;
}

/* containers above overlay */
#case-studies-sec > .container,
#faq-sec          > .container { position:relative !important; z-index:2 !important; }

/* --- typography on dark overlay --- */
#case-studies-sec .sub-title,
#faq-sec          .sub-title { color:#52b4ff !important; }

#case-studies-sec .sec-title,
#case-studies-sec h2,
#faq-sec          .sec-title,
#faq-sec          h2 {
  color:#ffffff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}

#case-studies-sec .fs-18,
#case-studies-sec .title-area p { color:rgba(215,235,255,.88) !important; }

/* -- service cards on dark bg -- */
#case-studies-sec .service-box::before {
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.15) !important;
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
#case-studies-sec .service-box:hover::before {
  background:rgba(82,180,255,.18) !important;
  border-color:rgba(82,180,255,.5) !important;
}
#case-studies-sec .service-box .box-title,
#case-studies-sec .service-box .box-title a { color:#fff !important; }
#case-studies-sec .service-box .box-text    { color:rgba(210,228,255,.82) !important; }
#case-studies-sec .service-box .icon-btn,
#case-studies-sec .slider-arrow {
  background:rgba(255,255,255,.1) !important;
  border:1px solid rgba(255,255,255,.2) !important;
}
#case-studies-sec .service-box:hover .icon-btn,
#case-studies-sec .slider-arrow:hover {
  background:var(--dx-blue) !important;
  border-color:var(--dx-blue) !important;
}
#case-studies-sec .box-icon {
  display:inline-flex; align-items:center; justify-content:center;
  width:64px; height:64px; padding:0; margin-bottom:24px;
  background:rgba(255,255,255,.12) !important;
  border:1px solid rgba(255,255,255,.2) !important;
  border-radius:16px; line-height:0; box-sizing:border-box;
}
#case-studies-sec .box-icon img { width:36px; height:36px; object-fit:contain; }

/* -- FAQ cards -- */
#faq-sec .faq-card {
  background:rgba(255,255,255,.09) !important;
  border:1px solid rgba(130,180,255,.25) !important;
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  transition:background .3s ease, border-color .3s ease,
             transform .3s ease, box-shadow .3s ease !important;
}
#faq-sec .faq-card .box-title {
  color:#fff !important; font-weight:700;
  border-bottom-color:rgba(255,255,255,.14) !important;
}
#faq-sec .faq-card .box-content  { background:rgba(0,8,28,.45) !important; }
#faq-sec .faq-card .box-text     { color:rgba(210,228,255,.85) !important; }
#faq-sec .faq-card:hover {
  background:rgba(0,100,220,.85) !important;
  border-color:rgba(82,180,255,.7) !important;
  transform:translateY(-4px);
  box-shadow:0 24px 56px rgba(0,60,200,.35) !important;
}
#faq-sec .faq-card:hover .box-title { color:#fff !important; }
#faq-sec .faq-card:hover .box-text  { color:rgba(255,255,255,.95) !important; }
#faq-sec .btn-group a.th-btn2 {
  background:#0088ff !important; border-color:#0088ff !important; color:#fff !important;
}

/* ============================================================
   SCROLL ANIMATIONS  (handled by dentaix-animate.js)
   ============================================================ */
.dx-fade-up {
  opacity:0; transform:translateY(44px);
  transition:opacity .75s cubic-bezier(.22,1,.36,1),
             transform .75s cubic-bezier(.22,1,.36,1);
}
.dx-fade-left {
  opacity:0; transform:translateX(-44px);
  transition:opacity .75s cubic-bezier(.22,1,.36,1),
             transform .75s cubic-bezier(.22,1,.36,1);
}
.dx-fade-right {
  opacity:0; transform:translateX(44px);
  transition:opacity .75s cubic-bezier(.22,1,.36,1),
             transform .75s cubic-bezier(.22,1,.36,1);
}
.dx-scale-in {
  opacity:0; transform:scale(.92);
  transition:opacity .65s cubic-bezier(.22,1,.36,1),
             transform .65s cubic-bezier(.22,1,.36,1);
}
.dx-visible { opacity:1 !important; transform:none !important; }

.dx-d1 { transition-delay:.08s !important; }
.dx-d2 { transition-delay:.16s !important; }
.dx-d3 { transition-delay:.24s !important; }
.dx-d4 { transition-delay:.32s !important; }
.dx-d5 { transition-delay:.40s !important; }
.dx-d6 { transition-delay:.48s !important; }

/* card hover lift */
.feature-box:hover,
.blog-card:hover,
.price-card:hover {
  transform:translateY(-6px) !important;
  box-shadow:0 24px 56px rgba(0,40,90,.12) !important;
}

@media (prefers-reduced-motion:reduce){
  .dx-fade-up,.dx-fade-left,.dx-fade-right,.dx-scale-in{
    opacity:1 !important; transform:none !important; transition:none !important;
  }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-box[data-bg-src] { background-image:none !important; }
.testi-box {
  background:linear-gradient(155deg,#fff 0%,#eef6ff 100%) !important;
  border:1px solid rgba(0,136,255,.1);
  box-shadow:0 14px 40px rgba(0,40,90,.07) !important;
}
.testi-box .shape { display:none !important; }
.testi-box:hover {
  border-color:rgba(0,136,255,.22);
  box-shadow:0 18px 48px rgba(0,88,200,.14) !important;
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.dx-theme-toggle {
  width:46px; height:46px; border-radius:50%;
  border:1px solid var(--dx-border);
  background:rgba(255,255,255,.65); color:var(--dx-blue);
  display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer; margin-right:12px; flex-shrink:0;
  transition:transform .25s ease, background .25s ease;
}
.dx-theme-toggle:hover { transform:scale(1.05); background:var(--dx-blue-soft); }
.dx-theme-toggle .fa-sun,.dx-theme-toggle .fa-moon { font-size:18px; }

html[data-theme='light'] .dx-theme-toggle .fa-moon,
html:not([data-theme])   .dx-theme-toggle .fa-moon { display:inline-block; }
html[data-theme='light'] .dx-theme-toggle .fa-sun,
html:not([data-theme])   .dx-theme-toggle .fa-sun  { display:none; }
html[data-theme='dark']  .dx-theme-toggle .fa-sun  { display:inline-block; }
html[data-theme='dark']  .dx-theme-toggle .fa-moon { display:none; }

/* ============================================================
   PRELOADER  (always black)
   ============================================================ */
#preloader,
html[data-theme='dark'] #preloader,
html[data-theme='light'] #preloader { background:#000 !important; }
.preloader-bg,.preloader-bg-one,.preloader-bg-two {
  background:#000 !important; background-color:#000 !important; background-image:none !important;
}
.loader-wrapper { scale:1.35; font-size:clamp(36px,7vw,72px); letter-spacing:.02em; }
.loader-wrapper .loader-letter:nth-child(-n+5) { color:#0088ff; }
.loader-wrapper .loader-letter:nth-child(6),
.loader-wrapper .loader-letter:nth-child(7)   { color:#fff; }
.loader-wrapper .loader-letter:nth-child(n+8) { color:#fff; font-size:.72em; letter-spacing:.12em; }
.loader-wrapper .loader-letter:nth-child(11)  { animation-delay:1.152s; }
.loader {
  -webkit-mask:repeating-linear-gradient(90deg,transparent 0,transparent 6px,#0088ff 6px,#0088ff 9px);
  mask:repeating-linear-gradient(90deg,transparent 0,transparent 6px,#0088ff 6px,#0088ff 9px);
}
.loader::after {
  background-image:
    radial-gradient(circle at 50% 50%,#0088ff 0%,transparent 50%),
    radial-gradient(circle at 45% 45%,#52b4ff 0%,transparent 45%),
    radial-gradient(circle at 55% 55%,#0066dd 0%,transparent 45%),
    radial-gradient(circle at 45% 55%,#0044aa 0%,transparent 45%);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-area3:not(.dx-cta-panel) { padding:48px 56px 24px 0 !important; overflow:visible !important; min-height:430px; }
.cta-area3:not(.dx-cta-panel) .row { overflow:visible; min-height:380px; align-items:center; }
.cta-area3:not(.dx-cta-panel) .title-area { padding-top:36px; padding-right:24px; }
.cta-area3:not(.dx-cta-panel) .sec-title { font-size:clamp(26px,2.8vw,36px) !important; color:#fff !important; }
.cta-area3:not(.dx-cta-panel) .box-text  { color:rgba(255,255,255,.88) !important; }
.cta-area3:not(.dx-cta-panel) .cta-image { position:absolute; left:160px; bottom:0; pointer-events:none; }
.cta-area3:not(.dx-cta-panel) .cta-image img { max-height:580px; filter:drop-shadow(0 20px 40px rgba(0,0,0,.22)); }
@media (max-width:1299px){ .cta-area3:not(.dx-cta-panel) .cta-image{ left:24px; } }
@media (max-width:991px){
  .cta-area3:not(.dx-cta-panel){ padding:36px 28px 0 !important; min-height:auto; }
  .cta-area3:not(.dx-cta-panel) .cta-image{ position:absolute !important; left:0 !important; right:0 !important; bottom:0 !important; margin-bottom:0 !important; }
  .cta-area3:not(.dx-cta-panel) .cta-image img{ max-height:420px; }
}

/* ============================================================
   SMOOTH RENDERING
   ============================================================ */
* { -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
a,button,.th-btn,.th-btn2,img {
  transition:color .25s ease, background .25s ease,
             border-color .25s ease, transform .25s ease, opacity .25s ease;
}

/* ==========================================================================
   IMAGE-AWARE TYPOGRAPHY — updated for AI dental imagery (bright/white tone)
   ========================================================================== */

/* About section — image is bright white, text on the RIGHT side is fine */
#about-sec .about-content-box h2,
#about-sec .sec-title { color: var(--dx-text) !important; }

/* Feature boxes — images are bright, keep headings dark on light bg */
#features-sec .feature-box .box-title { color: var(--dx-text) !important; }
#features-sec .feature-box .box-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
}

/* Service / Case Studies cards — image top, text below on dark overlay bg */
#case-studies-sec .service-box .box-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
}

/* Blog cards — consistent image height */
.blog-card .box-img img,
.blog-card.style2 .box-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
}

/* About image — nice styling */
.img-box1 .img1 img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

/* CTA image — fit properly (legacy layout only) */
.cta-area3:not(.dx-cta-panel) .cta-image img {
  max-height: 480px !important;
  width: auto !important;
  object-fit: contain;
}

/* Testimonial avatars — circular crop */
.testi-box .box-author img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}


/* ==========================================================================
   LOGO — Perfectly sized & aligned with hero heading left edge
   ========================================================================== */

/* Logo size: smaller, crisp */
img.dx-logo {
  height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
}

/* Header uses th-container (wider) — add left padding to pull logo
   to match the standard .container left edge where "Turn More" starts */
.th-header.header-layout2 .menu-area .th-container {
  padding-left: calc(var(--bs-gutter-x, 12px) + max(0px, (100vw - 1320px) / 2)) !important;
  padding-right: calc(var(--bs-gutter-x, 12px) + max(0px, (100vw - 1320px) / 2)) !important;
}

/* Simpler approach: match standard container padding on header */
@media (min-width: 1400px) {
  .th-header .th-container .header-logo {
    padding-left: calc((100vw - 1320px) / 2 - 12px) !important;
  }
}

/* Override previous large heights */
.header-logo img,
.mobile-logo img { max-height: 38px !important; }

/* Footer logo — larger */
.footer-logo img.dx-logo,
.footer-logo img.dx-logo-footer {
  height: 76px !important;
  max-height: 76px !important;
  width: auto !important;
}

@media (max-width: 991px) {
  .footer-logo img.dx-logo,
  .footer-logo img.dx-logo-footer {
    height: 58px !important;
    max-height: 58px !important;
  }
}

@media (max-width: 575px) {
  .footer-logo img.dx-logo,
  .footer-logo img.dx-logo-footer {
    height: 50px !important;
    max-height: 50px !important;
  }
}

@media (max-width: 1399px) {
  img.dx-logo { height: 34px !important; max-height: 34px !important; }
}
@media (max-width: 991px) {
  img.dx-logo { height: 30px !important; max-height: 30px !important; }
}
@media (max-width: 575px) {
  img.dx-logo { height: 26px !important; max-height: 26px !important; }
}

/* ==========================================================================
   CTA SECTION — 3D Robot with floating animation
   ========================================================================== */

/* Override old cta-image styles (legacy layout only) */
.cta-area3:not(.dx-cta-panel) {
  overflow: visible !important;
  position: relative !important;
}

.cta-area3:not(.dx-cta-panel) .cta-image {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.cta-area3:not(.dx-cta-panel) .cta-image img {
  max-height: 520px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  transform: translateY(0) !important;
  filter: drop-shadow(0 30px 60px rgba(0, 100, 255, 0.25))
          drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2)) !important;
  animation: robotFloat 4s ease-in-out infinite !important;
}

/* Floating animation */
@keyframes robotFloat {
  0%   { transform: translateY(0px) rotateZ(0deg); }
  25%  { transform: translateY(-12px) rotateZ(0.3deg); }
  50%  { transform: translateY(-18px) rotateZ(0deg); }
  75%  { transform: translateY(-10px) rotateZ(-0.3deg); }
  100% { transform: translateY(0px) rotateZ(0deg); }
}

/* Glow pulse under robot */
.cta-area3:not(.dx-cta-panel) .cta-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 30px;
  background: radial-gradient(ellipse, rgba(0, 136, 255, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  animation: robotGlow 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes robotGlow {
  0%   { opacity: 0.5; transform: translateX(-50%) scaleX(1); }
  50%  { opacity: 1; transform: translateX(-50%) scaleX(1.25); }
  100% { opacity: 0.5; transform: translateX(-50%) scaleX(1); }
}

/* Scanning line effect on robot */
.cta-area3:not(.dx-cta-panel) .cta-image .robot-scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0,200,255,0.8), transparent);
  animation: scanLine 3s linear infinite;
  border-radius: 2px;
  pointer-events: none;
}

@keyframes scanLine {
  0%   { top: 5%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 95%; opacity: 0; }
}

/* On mobile: smaller, no absolute positioning needed */
@media (max-width: 991px) {
  .cta-area3:not(.dx-cta-panel) .cta-image img {
    max-height: 340px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-area3:not(.dx-cta-panel) .cta-image img { animation: none !important; }
  .cta-area3:not(.dx-cta-panel) .cta-image::after { animation: none !important; }
  .cta-area3:not(.dx-cta-panel) .cta-image .robot-scan-line { animation: none !important; }
}


/* Robot section — subtle blue particles using pseudo elements on parent */
.cta-area3:not(.dx-cta-panel) .row { position: relative; }

/* Blue energy orbs floating around */
.cta-area3:not(.dx-cta-panel) .cta-image {
  position: relative !important;
}

/* Particle dots via box-shadow trick on a tiny element */
.cta-area3:not(.dx-cta-panel) .cta-image::before {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00c8ff;
  top: 20%;
  left: 10%;
  box-shadow:
    40px  80px 0 rgba(0,200,255,0.7),
    -30px 150px 0 rgba(0,136,255,0.5),
    80px  220px 0 rgba(82,180,255,0.6),
    -50px 300px 0 rgba(0,200,255,0.4),
    60px  350px 0 rgba(0,136,255,0.5),
    -20px 420px 0 rgba(82,180,255,0.3);
  animation: particleDrift 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes particleDrift {
  0%   { transform: translateX(0) translateY(0); opacity: 0.8; }
  50%  { transform: translateX(12px) translateY(-8px); opacity: 1; }
  100% { transform: translateX(-8px) translateY(5px); opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-area3:not(.dx-cta-panel) .cta-image::before { animation: none !important; }
}


/* ==========================================================================
   HEADER v2 — Clean, left logo + center nav + right CTA
   ========================================================================== */

/* Reset all previous logo size overrides */
img.dx-logo,
.header-logo img,
.mobile-logo img {
  height: 40px !important;
  max-height: 40px !important;
  width: auto !important;
  display: block;
}

/* Footer logo slightly taller */
.footer-logo img.dx-logo {
  height: 46px !important;
  max-height: 46px !important;
}

/* Header container — standard Bootstrap width */
.th-header .menu-area .container {
  max-width: 1320px;
  padding-left: 16px;
  padding-right: 16px;
}

/* Menu area height */
.th-header.header-layout2 .menu-area {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/* Row: logo left, nav center, btn right — no wrapping */
.th-header .menu-area .row {
  flex-wrap: nowrap !important;
  min-height: 64px;
}

/* Nav links spacing */
.th-header .main-menu.style2 ul {
  display: flex;
  gap: 0 8px;
  align-items: center;
  flex-wrap: nowrap;
}

.th-header .main-menu.style2 ul li a {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 10px;
}

/* Header button group */
.th-header .header-button {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: nowrap;
}

/* Start Free Trial button */
.th-header .th-btn2 {
  white-space: nowrap;
  font-size: 14px;
  padding: 10px 20px;
}

/* Theme toggle button */
.dx-theme-toggle {
  flex-shrink: 0;
}

/* Remove old th-container specific overrides */
.th-header.header-layout2 .menu-area .th-container {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* Responsive: 768–1024px — hide some nav items */
@media (max-width: 1199px) {
  .th-header .main-menu.style2 ul li a {
    font-size: 14px;
    padding: 6px 7px;
  }
}

@media (max-width: 991px) {
  img.dx-logo,
  .header-logo img,
  .mobile-logo img {
    height: 34px !important;
    max-height: 34px !important;
  }
}

@media (max-width: 575px) {
  img.dx-logo,
  .header-logo img,
  .mobile-logo img {
    height: 28px !important;
    max-height: 28px !important;
  }
}

