/* DBC Transport Bikaner — v3: blue + red system inspired by TCI Express,
   white/light-gray backgrounds, bold condensed display type, angled-cut
   "shard" containers instead of soft rounded cards. */

:root {
  --blue: #17469e;        /* primary brand blue */
  --blue-dark: #0f3272;
  --red: #d92b2b;         /* accent red */
  --red-dark: #b31f1f;
  --ink: #12305c;         /* headings — deep brand blue */
  --ink-soft: #454b54;    /* body copy — neutral dark gray */
  --paper: #ffffff;
  --mist: #f1f3f6;        /* cool light gray */
  --line: #17469e;
}

html {
  scroll-behavior: smooth;
}

[x-cloak] {
  display: none !important;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--paper);
}

.font-display {
  font-family: 'Poppins', 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ===== Section backgrounds ===== */
.section-bg-light {
  background-color: var(--mist);
}

/* ===== Nav link: bold uppercase, red underline sweep ===== */
.nav-link {
  position: relative;
  padding: 0.4rem 0.1rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 3px;
  width: 0;
  background: var(--red);
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--red);
}

/* ===== Hero ===== */
.hero-bg {
  background-image: linear-gradient(120deg, #ffffff 0%, var(--mist) 60%, var(--mist) 100%);
  background-size: cover;
  background-position: center;
}

/* ===== Marquee ===== */
.marquee-track {
  animation: marquee 24s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Headline italic drop-shadow treatment (à la "EXPRESS DELIVERY SERVICE") ===== */
.headline-pop {
  font-style: italic;
  color: var(--blue);
  text-shadow: 3px 3px 0 rgba(23,70,158,0.15), 6px 6px 0 rgba(217,43,43,0.12);
}

/* ===== Shard panel → now a soft, fully-bordered rounded card.
   Full border on every side, generous radius, gentle lifted shadow
   instead of the previous hard offset/clipped-corner look. ===== */
.shard-panel {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--blue);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(23,70,158,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.shard-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -12px rgba(217,43,43,0.3);
  border-color: var(--red);
}
.shard-panel-static {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--blue);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px -10px rgba(23,70,158,0.22);
}
/* Kept for markup compatibility — no longer mirrors a clip direction */
.shard-panel-alt {
  border-radius: 1.5rem;
}

/* Small red accent dot, softened from the old corner wedge */
.shard-wedge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background: var(--red);
  border: 2px solid var(--paper);
}

/* Service cards */
.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -12px rgba(217,43,43,0.28);
  border-color: var(--red);
}

/* ===== Image frame → soft rounded photo card with a full blue border ===== */
.diamond-frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--blue);
  border-radius: 1.5rem;
  box-shadow: 0 12px 32px -12px rgba(23,70,158,0.3);
}

/* ===== Icon badge: soft rounded square, replaces angled notch ===== */
.tab-badge {
  border-radius: 0.9rem;
  border: 2px solid var(--blue);
}

/* ===== Marker tag: soft full-border pill, red accent dot up front ===== */
.marker-tag {
  position: relative;
  border-radius: 9999px;
  background: var(--paper);
  border: 2px solid var(--blue);
  padding-left: 1.75rem !important;
}
.marker-tag::before {
  content: '';
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--red);
}

/* ===== Step number: soft rounded badge circle ===== */
.step-number {
  font-family: 'Poppins', sans-serif;
  color: var(--paper);
  background: var(--blue);
  border-radius: 9999px;
  box-shadow: 0 6px 16px -6px rgba(23,70,158,0.5);
}

/* ===== Buttons: soft full pills, gentle shadow lift ===== */
.btn-red {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red-dark);
  box-shadow: 0 8px 20px -6px rgba(217,43,43,0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -6px rgba(217,43,43,0.5);
}
.btn-red:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px -4px rgba(217,43,43,0.4);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue-dark);
  box-shadow: 0 8px 20px -6px rgba(23,70,158,0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -6px rgba(23,70,158,0.5);
}
.btn-blue:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px -4px rgba(23,70,158,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(23,70,158,0.4);
}

/* ===== Floating buttons: soft circular, gentle shadow ===== */
.float-btn {
  border: 2px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 25px -6px rgba(15,50,114,0.45);
}
.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -6px rgba(15,50,114,0.5);
}

/* ===== Reveal ===== */
.reveal {
  animation: fadeUp 0.7s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Testimonial card: soft rounded, full border, red top accent bar ===== */
.ticket-card {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--blue);
  border-radius: 1.5rem;
  box-shadow: 0 10px 28px -12px rgba(23,70,158,0.25);
  overflow: hidden;
}
.ticket-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--red);
  border-radius: 1.5rem 1.5rem 0 0;
}

/* ===== Misc ===== */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.stat-card {
  border: 2px solid var(--blue);
  background: var(--paper);
  border-radius: 1.25rem;
  box-shadow: 0 8px 20px -8px rgba(217,43,43,0.35);
}

.text-gradient {
  background: linear-gradient(90deg, var(--blue), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Dotted texture overlay */
.dot-texture {
  background-image: radial-gradient(circle, rgba(23,70,158,0.14) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

/* Sub-nav strip (mimics the light-gray tab bar under a header) */
.subnav-strip {
  background: var(--mist);
  border-top: 1px solid #dfe3ea;
  border-bottom: 3px solid var(--red);
}
