/* ============================================================
   DekoXpress landing (/dekoxpress, website/dekoxpress/index) in the
   Dékolé brand colours (dekole-brand.css): navy text and panels, the
   brand blue for headings, buttons and icons, the electric blue as the
   accent on dark.

   The page's sections reuse the old green business-landing classes in
   style.css (shared with the Taxi, Resto, Promo and Shopping landing
   pages), so every rule here is scoped under .dkx-theme -- the other
   pages keep their own look.

   The green icon and phone images are recoloured with one filter that
   maps their green (#00B14F) onto the brand blue.
   ============================================================ */

.dkx-theme {
  --dkx-primary: var(--dekole-primary, #2563EB);
  --dkx-primary-hover: var(--dekole-primary-hover, #1D4ED8);
  --dkx-electric: var(--dekole-electric, #38BDF8);
  --dkx-navy: var(--dekole-navy, #07111F);
  --dkx-panel: var(--dekole-panel, #0F172A);
  --dkx-ink: var(--dekole-dark-text, #0F172A);
  --dkx-muted: #64748B;
  --dkx-line: var(--dekole-light-border, #E2E8F0);
  --dkx-soft: #EFF6FF;
  --dkx-to-blue: hue-rotate(90deg) saturate(1.6) brightness(.85);
}

/* ---- the page header: its own menu, in the site header's colours ---- */
.dkx-header {
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, #0B1626 0%, var(--dekole-navy, #07111F) 100%);
  border-bottom: 1px solid rgba(56, 189, 248, .14);
  box-shadow: 0 6px 18px rgba(7, 17, 31, .25);
}
.dkx-header .navbar { padding-top: 12px; padding-bottom: 12px; }
.dkx-header .navbar-brand img { display: block; width: auto; height: 44px; }
.dkx-header ul.navbar-nav li a.nav-link,
body .dkx-header .navbar-collapse.collapse ul li.nav-item a.nav-link {
  position: relative;
  color: var(--dekole-soft, #CBD5E1);
  font-size: 16px;
  font-weight: 600;
  border-bottom: 0;
  transition: color .15s ease;
}
.dkx-header ul.navbar-nav li a.nav-link:hover,
.dkx-header ul.navbar-nav li a.nav-link:focus { color: #fff; }
.dkx-header ul.navbar-nav li.active a.nav-link,
body .dkx-header .navbar-collapse.collapse ul li.nav-item.active a.nav-link { color: #fff; border-bottom: 0; }
/* The active link: the electric blue line under it, as the site's tabs. */
.dkx-header ul.navbar-nav li.active a.nav-link::before {
  content: '';
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--dekole-electric, #38BDF8);
}
.dkx-header ul.navbar-nav li a.nav-link::after { filter: invert(1); opacity: .7; }
.dkx-header form.form-inline button {
  background: linear-gradient(135deg, var(--dekole-electric, #38BDF8) 0%, var(--dekole-primary, #2563EB) 100%);
  border: 0;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .35);
  transition: filter .15s ease, transform .15s ease;
}
.dkx-header form.form-inline button:hover { filter: brightness(1.08); transform: translateY(-1px); }
/* The phone menu button: light on the navy bar. */
.dkx-header .navbar-toggler { border-color: rgba(203, 213, 225, .35); }
.dkx-header .navbar-toggler-icon {
  /* style.css gives the icon no size (width / height auto), so it never showed. */
  width: 1.5em;
  height: 1.5em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(226,232,240,0.9)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991px) {
  .dkx-header .navbar-collapse { padding: 10px 0 14px; }
  .dkx-header ul.navbar-nav li a.nav-link { padding: 10px 0 !important; }
  .dkx-header ul.navbar-nav li.active a.nav-link::before { left: 0; right: auto; width: 32px; bottom: 2px; }
}

/* ---- hero ---- */
.dkx-theme .business-banner { position: relative; }
.dkx-theme .business-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, .55) 0%, rgba(7, 17, 31, .78) 100%);
}
.dkx-theme .business-banner .container { position: relative; z-index: 1; }
.dkx-theme .business-banner h1 { color: #fff; }
.dkx-theme .clr-green { color: var(--dkx-electric) !important; }

/* ---- the five service tiles ---- */
.dkx-theme .business-tabs .nav { border-radius: 16px; box-shadow: 0 18px 40px rgba(7, 17, 31, .12); }
.dkx-theme .business-tabs .nav-pills .nav-link,
.dkx-theme .business-tabs .nav-pills .nav-link.active,
.dkx-theme .business-tabs .nav-pills .show > .nav-link {
  border-radius: 12px;
  background-color: transparent !important;
  transition: background-color .15s ease;
}
.dkx-theme .business-tabs .nav-pills .nav-link.active { background-color: var(--dkx-soft) !important; }
.dkx-theme .business-tabs .nav-pills .nav-link:hover { background-color: #F8FAFC !important; }
.dkx-theme .business-tabs .nav .nav-link span { color: var(--dkx-muted); }
.dkx-theme .business-tabs .nav .nav-link.active span,
.dkx-theme .business-tabs .nav .nav-link:hover span { color: var(--dkx-primary); }
/* The coloured icon (shown on hover and on the active tile) is the green one. */
.dkx-theme .business-tabs .nav .nav-link .thumb img#theImage { filter: var(--dkx-to-blue); }

/* On phones the tiles wrap to two rows: the box sits in the page instead of
   over the overview (it is absolutely placed for one desktop row). */
@media (max-width: 767px) {
  .dkx-theme .btabs-controller { position: relative; top: -60px; margin-bottom: -40px; }
  .dkx-theme .business-tabs .tab-pane { padding-top: 10px; }
}

/* ---- headings, text, buttons ---- */
.dkx-theme .common-heading { color: var(--dkx-ink); }
.dkx-theme .common-heading span { color: var(--dkx-primary); }
.dkx-theme .common-heading span.right { color: var(--dkx-ink); }
.dkx-theme .common-btn,
.dkx-theme .orders_sec .container-fluid > .row:nth-child(2n) .left .btn-black {
  background-color: var(--dkx-primary);
  border-color: var(--dkx-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .25);
}
.dkx-theme .common-btn:hover,
.dkx-theme .common-btn:focus,
.dkx-theme .orders_sec .container-fluid > .row:nth-child(2n) .left .btn-black:hover {
  background-color: var(--dkx-primary-hover);
  border-color: var(--dkx-primary-hover);
  color: #fff;
}

/* ---- "Deko Xpress" features + the phone ---- */
.dkx-theme .text-deko-screen .right ul li h4 { color: var(--dkx-ink); }
.dkx-theme .text-deko-screen .right ul li img,
.dkx-theme .text-deko-screen .restoimg { filter: var(--dkx-to-blue); }

/* ---- Deliver with Deko Bike / Deko Car ---- */
.dkx-theme .orders_box h3,
.dkx-theme .orders_box h3 span.up { color: var(--dkx-primary); }
.dkx-theme .orders_box h3 span.bottom { color: var(--dkx-ink); }
.dkx-theme .xpress_custom { border-color: var(--dkx-primary); }
.dkx-theme .xpress_shape { background-color: var(--dkx-primary); }
/* The photo beside each block: a navy panel behind it (the old photo host is gone). */
.dkx-theme .orders_box .right { background-color: var(--dkx-panel); }

/* ---- FAQ ---- */
.dkx-theme .common-faq h3 { color: var(--dkx-primary); }

/* ---- testimonial + "Trusted By Top Companies" ---- */
.dkx-theme section.section-trusted,
.dkx-theme section.section-trusted .left-content { background-color: var(--dkx-panel); }
.dkx-theme section.section-trusted .right-content h4 { color: var(--dkx-primary); }
/* The quote and its author on the navy panel. */
.dkx-theme section.section-trusted .left-content,
.dkx-theme section.section-trusted .left-content p { color: var(--dekole-soft, #CBD5E1); }
.dkx-theme section.section-trusted .left-content h4,
.dkx-theme section.section-trusted .left-content h5,
.dkx-theme section.section-trusted .left-content h6 { color: #fff; }

/* Images still pointing at the retired staging host never load: no broken-image icons. */
.dkx-theme img[src*="server3.rvtechnologies.in"] { display: none; }
