/* =========================================================
   E-Pairokar — Design tokens
   Primary: #444791 (indigo) — derived shades below
   Font:    System UI stack, 14px base (app-like, no webfonts)
   ========================================================= */
:root{
  --navy-900: #444791;   /* primary brand indigo */
  --navy-800: #363A73;   /* darker shade — headings, footer, hover */
  --navy-700: #5A5DAF;   /* lighter shade — links, outlines on light bg */
  --gold-500: #C9932A;   /* warm amber — complements indigo */
  --gold-400: #DCAE55;
  --cream-50: #FAFAFD;
  --cream-100:#F1F0F8;
  --ink-900:  #1F2130;
  --slate-600:#5C6079;
  --slate-300:#DBDBEC;
  --success:  #2F7A4F;

  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html{ scroll-behavior:smooth; font-size:14px; }

body{
  font: 1rem/1.55 var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,.font-display{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-800);
}

.text-gold{ color: var(--gold-500) !important; }
.bg-navy{ background-color: var(--navy-900) !important; }
.bg-cream-100{ background-color: var(--cream-100) !important; }

a{ color: var(--navy-700); }
a:hover{ color: var(--gold-500); }

.eyebrow{
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
}

.divider-gold{
  width: 56px;
  height: 3px;
  background: var(--gold-500);
  border-radius: 2px;
}

/* ---------- Navbar ---------- */
.navbar-ep{
  background: #fff;
  padding-top: .85rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(201,162,39,.25);
}
    .navbar-ep .navbar-brand {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 1.4rem;
        color: #363a73;
    }
.navbar-ep .navbar-brand span{ color: var(--gold-500); }
    .navbar-ep .nav-link {
        color: #3f458a;
        font-weight: 500;
        font-size: .93rem;
        margin: 0 .35rem;
        position: relative;
        padding: .5rem .2rem !important;
    }
    .navbar-ep .nav-link:hover,
    .navbar-ep .nav-link.active {
        color: #3f458a;
    }
.navbar-ep .nav-link.active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:2px;
  background: var(--gold-500);
}
.btn-gold{
  background: var(--gold-500);
  border: 1px solid var(--gold-500);
  color: var(--navy-900);
  font-weight: 600;
  padding: .55rem 1.3rem;
  border-radius: 4px;
  transition: all .15s ease;
}
.btn-gold:hover{
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-900);
}
.btn-outline-cream{
  border: 1px solid rgba(255,255,255,.5);
  color:#fff;
  font-weight: 500;
  border-radius: 4px;
}
.btn-outline-cream:hover{
  background: rgba(255,255,255,.08);
  color:#fff;
  border-color:#fff;
}
.btn-navy-outline{
  border: 1px solid var(--navy-700);
  color: var(--navy-700);
  font-weight: 600;
  border-radius: 4px;
}
.btn-navy-outline:hover{
  background: var(--navy-700);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero{
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: 5.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::after{
  content:"";
  position:absolute;
  right:-120px; top:-120px;
  width: 420px; height: 420px;
  border: 1px solid rgba(201,162,39,.18);
  border-radius: 50%;
}
.hero h1{
  color:#fff;
  font-size: 2.7rem;
  line-height: 1.18;
}
.hero p.lead{
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
}

/* ---------- Signature element: consignment-style case tracker ---------- */
.tracker-card{
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(11,30,58,.35);
  padding: 1.6rem 1.6rem 1.4rem;
  color: var(--ink-900);
}
.tracker-card .tracker-head{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-bottom: 1.1rem;
}
.tracker-card .cust-id{
  font-family: var(--font-mono);
  font-size: .95rem;
  background: var(--cream-100);
  padding: .3rem .6rem;
  border-radius: 4px;
  color: var(--navy-800);
}
.tline{
  display:flex;
  align-items:flex-start;
  gap: 0;
}
.tline .step{
  flex:1;
  text-align:center;
  position:relative;
}
.tline .dot{
  width: 16px; height:16px;
  border-radius:50%;
  background: var(--success);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--success);
  margin: 0 auto .5rem;
  position: relative;
  z-index: 2;
}
.tline .step.pending .dot{
  background: #fff;
  box-shadow: 0 0 0 2px var(--slate-300);
}
.tline .step::before{
  content:"";
  position:absolute;
  top: 8px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--success);
  z-index: 1;
}
.tline .step:first-child::before{ display:none; }
.tline .step.pending::before{ background: var(--slate-300); }
.tline .step small{
  display:block;
  font-size: .68rem;
  color: var(--slate-600);
  line-height:1.25;
}

/* ---------- Sections ---------- */
section{ padding: 5rem 0; }
.section-tight{ padding: 3.5rem 0; }

.card-ep{
  background:#fff;
  border: 1px solid rgba(11,30,58,.08);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card-ep:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11,30,58,.1);
}
.icon-badge{
  width: 52px; height:52px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold-500);
  display:flex; align-items:center; justify-content:center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}

.step-num{
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height:1;
}

.stat{
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.badge-expertise{
  display:inline-block;
  background: var(--cream-100);
  color: var(--navy-800);
  border: 1px solid rgba(11,30,58,.12);
  padding: .55rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: .92rem;
}

.location-pin{
  width:40px;height:40px;
  border-radius:50%;
  background: var(--cream-100);
  color: var(--navy-800);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}

footer.footer-ep{
  background: var(--navy-900);
  color: rgba(255,255,255,.7);
  padding: 3.5rem 0 1.5rem;
}
footer.footer-ep h6{
  color:#fff;
  font-family: var(--font-body);
  font-weight:600;
  font-size:.85rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom: 1rem;
}
footer.footer-ep a{
  color: rgba(255,255,255,.68);
  text-decoration:none;
  display:block;
  margin-bottom:.55rem;
  font-size:.92rem;
}
footer.footer-ep a:hover{ color: var(--gold-500); }
footer.footer-ep .foot-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  font-size: .82rem;
}

.page-header{
  background: var(--navy-900);
  color:#fff;
  padding: 3.2rem 0;
}
.page-header h1{ color:#fff; font-size: 2.1rem; }
.breadcrumb-ep a{ color: rgba(255,255,255,.6); text-decoration:none; }
.breadcrumb-ep a:hover{ color: var(--gold-500); }

.form-control:focus, .form-select:focus{
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,162,39,.18);
}
label{ font-weight:500; font-size:.9rem; color: var(--navy-800); }

.process-line{
  border-left: 2px dashed var(--slate-300);
  padding-left: 1.6rem;
  margin-left: .6rem;
}
.process-item{ position:relative; padding-bottom: 2.1rem; }
.process-item:last-child{ padding-bottom:0; }
.process-item::before{
  content:"";
  position:absolute;
  left:-1.86rem; top:.15rem;
  width:12px;height:12px;
  border-radius:50%;
  background: var(--gold-500);
}

@media (max-width: 767px){
  .hero{ padding: 3.2rem 0 3.5rem; text-align:center; }
  .hero h1{ font-size:2.05rem; }
  section{ padding: 3.2rem 0; }
}
.navbar-logo {
    height: 45px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    display: block;
}

/* Tablets */
@media (max-width: 768px) {
    .navbar-logo {
        height: 40px;
        width: auto;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .navbar-logo {
        height: 30px;
        width: auto;
        min-width: 90px; /* prevents text logos from shrinking below readable width */
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .navbar-logo {
        height: 28px;
        min-width: 80px;
    }
}
.clamp-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    /* fallback max-height for older browsers without line-clamp support */
    max-height: calc(1.4em * 2);
}