/*==============================
PANDIT CARGO EXPRESS
STYLE.CSS
===============================*/


:root {
  --brand-blue: #0f3c8a;
  --brand-blue-dark: #072554;
  --brand-orange: #f26522;
  --brand-green: #39b54a;
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  color: #334155;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
}

/* Primary colors helpers */
.text-brand-blue { color: var(--brand-blue); }
.text-brand-orange { color: var(--brand-orange); }
.text-brand-green { color: var(--brand-green); }
.bg-brand-blue { background-color: var(--brand-blue); }
.bg-brand-blue-dark { background-color: var(--brand-blue-dark); }
.bg-brand-orange { background-color: var(--brand-orange); }
.bg-brand-green { background-color: var(--brand-green); }

/* Sidebar & Main Layout - reverted for desktop view, styled for mobile offcanvas */
@media (min-width: 992px) {
  body {
    overflow-x: hidden;
  }
  .main-content {
    margin-left: 0;
    width: 100%;
    transition: all 0.3s ease;
  }
}

.sidebar-desktop {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background-color: #0b0f19 !important; /* Deep cosmic dark slate sidebar background */
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1030;
  display: flex;
  flex-direction: column;
}

.sidebar-brand-wrapper {
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand {
  text-decoration: none;
}

.sidebar-brand .logo-brand-pandit {
  font-family: 'Georgia', serif;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  font-size: 1.8rem;
  color: #ffffff;
}

.sidebar-brand .logo-brand-cargo {
  font-weight: 700;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}

.sidebar-brand .logo-brand-subtext {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Vertical Sidebar Nav links matching avtargoods.com active state & style */
.sidebar-nav {
  padding: 0 1rem;
}

.sidebar-nav .nav-item {
  width: 100%;
  margin-bottom: 0.25rem;
}

.sidebar-nav .nav-link {
  color: #94a3b8 !important; /* Slate-400 default text color */
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem !important;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid transparent;
  background: transparent !important;
}

.sidebar-nav .nav-link i {
  font-size: 1.15rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Hover effects with smooth shift right */
.sidebar-nav .nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  padding-left: 1.5rem !important; /* Shift right shift effect */
}

.sidebar-nav .nav-link:hover i {
  transform: translateX(2px) scale(1.1);
  color: var(--brand-orange) !important;
}

/* Active states with left border highlight and orange tint background */
.sidebar-nav .nav-link.active {
  color: #ffffff !important;
  background-color: rgba(242, 101, 34, 0.12) !important; /* Brand orange subtle tint background */
  border-left: 4px solid var(--brand-orange) !important; /* Rich Orange Left Border */
  font-weight: 600;
}

.sidebar-nav .nav-link.active i {
  color: var(--brand-orange) !important;
}

/* Glowing system status indicator */
.pulse-green-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(57, 181, 74, 0.4);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(57, 181, 74, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(57, 181, 74, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(57, 181, 74, 0);
  }
}

/* Mobile Header layout */
.mobile-header {
  height: 64px;
  z-index: 1020;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.mobile-header .logo-brand-pandit {
  font-family: 'Georgia', serif;
  font-weight: 900;
  font-style: italic;
  color: var(--brand-blue);
  letter-spacing: -0.05em;
}

.mobile-header .logo-brand-cargo {
  font-weight: 700;
  color: var(--brand-orange);
  text-transform: uppercase;
}

/* Logo Design */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-brand-pandit {
  font-family: 'Georgia', serif;
  font-weight: 900;
  font-style: italic;
  color: var(--brand-blue);
  letter-spacing: -0.05em;
}

.logo-brand-cargo {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.logo-brand-subtext {
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  color: var(--brand-blue);
  letter-spacing: 0.05em;
  line-height: 1;
}

.logo-ribbon {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 2.5rem;
}

.logo-ribbon-line {
  height: 3px;
  border-radius: 9999px;
  transform: skewX(-12deg);
}

/* Hero Section */
.hero-section {
  background-color: #0f172a;
  background-image: 
    radial-gradient(circle at top right, rgba(242, 101, 34, 0.12), transparent 45%),
    linear-gradient(to right, #1e293b 1px, transparent 1px),
    linear-gradient(to bottom, #1e293b 1px, transparent 1px);
  background-size: 100% 100%, 4rem 4rem, 4rem 4rem;
  color: white;
  position: relative;
}

.hero-card {
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid #334155;
  border-radius: 1.25rem;
  overflow: hidden;
}

/* Services & About Cards */
.feature-card {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

/* Custom Timeline for Tracking */
.timeline-node {
  position: relative;
}

.timeline-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e2e8f0;
  background-color: white;
  color: #94a3b8;
  z-index: 2;
  position: relative;
}

.timeline-circle.completed {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: white;
}

.timeline-circle.current {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white;
  box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.2);
}

.timeline-connector {
  position: absolute;
  left: 1.2rem;
  top: 2.5rem;
  bottom: -1.5rem;
  width: 2px;
  background-color: #cbd5e1;
  z-index: 1;
}

@media (min-width: 768px) {
  .timeline-connector {
    left: 2.5rem;
    top: 1.2rem;
    right: -100%;
    bottom: auto;
    width: auto;
    height: 2px;
  }
}

/* High Fidelity Waybill (Goods Receipt) Styling */
.goods-receipt-document {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #000;
  background-color: #fff;
  border: 2px solid #000;
  padding: 1.5rem;
  min-width: 750px;
}

.goods-receipt-document td, 
.goods-receipt-document th {
  border: 1px solid #000 !important;
  padding: 6px 10px !important;
}

.gr-header-bg {
  background-color: #f1f5f9 !important;
}

.gr-brand-title {
  font-family: 'Georgia', serif;
  font-weight: 900;
  font-style: italic;
}

/* Custom Tab styling */
.nav-pills-custom .nav-link {
  color: #475569;
  font-weight: 600;
  background: transparent;
  border: 1px solid transparent;
}

.nav-pills-custom .nav-link.active {
  color: var(--brand-blue) !important;
  background-color: white !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Printing rules */
@media print {
  body {
    background: white !important;
    color: black !important;
  }
  .no-print {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  .goods-receipt-document {
    border: none !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: absolute;
    left: 0;
    top: 0;
  }
}


/* tracking btn css */

/* Normal State */
.btn-brand-orange {
    background-color: var(--brand-orange) !important;
    color: white !important;
}

/* Hover State */
.btn-brand-orange:hover {
    background-color: var(--brand-orange) !important;
    color: white !important; 
    opacity: 0.5; 
}




.footer-credit a {
  color: inherit; /* Shuruat me baki text jaisa color rahega */
  text-decoration: none; /* Underline hatane ke liye */
  transition: color 0.3s ease; /* Smoothly color change hone ke liye */
}

.footer-credit a:hover {
  color: #ffff; /* Hover karne par jo color chahiye (Yahan Blue hai) */
  text-decoration: underline; /* Agar hover par underline chahiye toh */
}