/* =============== RESET & BASE =============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.5;
  color: #292727;
  background: #f5f5f5;
}

section {
  display: grid;
  position: relative; /* Ensures wave stays contained */
}

/* =============== NAVBAR =============== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 20px 24px;
  position: sticky;
  top: 0;
  width:100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.logo-container img {
  width: 180px;
  height: 70px;
}
.menu-wrapper ul {
  display: flex;
  list-style: none;
  gap: 60px;
}
.menu-wrapper ul li a {
  text-decoration: none;
  color: #292727;
  font-weight: 600;
  font-size: 16px;
  padding-bottom: 6px;
  position: relative;
}
.menu-wrapper ul li a:hover {
  color: #dc1928;
  border-bottom: 3px solid yellow;
}

.menu-wrapper ul li a.active,
.menu-wrapper ul li a.active:hover {
  color: #dc1928;
  border-bottom: 5px solid #dc1928;
  font-weight: bold;
}
.nav-button {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search_icon i {
  color: #003359;
  font-size: 18px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.search_icon i:hover {
  background: #f0f0f0;
}
.primary_btn {
  background: #dc1928;
  color: white;
  padding: 10px 24px;
  border: none;
  font-size: 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.hamburger {
  display: none;
  font-size: 24px;
  color: #292727;
  cursor: pointer;
}


/* Mobile Menu - Animated */
.mobile-menu {
  position: fixed;
  top: 90px;
  right: 20px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  z-index: 1001;
  min-width: 200px;
overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-out;
  flex-direction: column;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  padding: 14px 20px;
  text-decoration: none;
  color: #292727;
  font-weight: 500;
  border-bottom: 1px solid #eee;
  display: block;
  transition: background 0.2s;
}
.mobile-menu a:last-child {
  border-bottom: none;
}
.mobile-menu a:hover {
  background: #f9f9f9;
  color: #dc1928;
}

.mobile-menu a.active {
  background: #f0f0f0;
  color: #dc1928;
  font-weight: bold;
}

.hamburger {
  display: none;
  font-size: 24px;
  color: #292727;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
}
.hamburger:hover {
  background: #f0f0f0;
}


/* =============== HERO TRACK LINKS =============== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero_page1 {
  display: grid;
  background: #f5f5f5;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

.hero_page1a {
  text-align: left;
  padding: 40px 25px;
  padding-left: 20px;
}

.hero_page1a h1 {
  font-size: 38px;
  padding-right: 80px;
  padding-left: 30px;
}

.hero_page1a p {
  font-size: 18px;
  padding-right: 50px;
  padding-left: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.hero_page1a .primary_btn {
  background: #dc1928;
  padding: 10px 30px;
  margin-left: 30px;
  color: white;
  font-size: 15px;
  border: 2px solid #dc1928;
  border-radius: 8px;
  font-weight: bold;
}

.hero_page1b {
  width: 100%;
  height: 100%;
  background: #dc1928;
}

.hero_page1b img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: inline-block;
}

.hero_page2 {
  padding: 30px 40px;
  background: #fff;
}
.track {
  display: flex;
  padding: 23px 0;
  text-decoration: none;
  color: inherit;
}
.track2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 7px 0;
}
.track_icon {
  margin-left: auto;
  font-size: 13px;
}

.svg_icon {
  padding: 0 15px;
}
.svg_text h3 {
  font-size: 26px;
  padding: 0 15px;
  color: #003359;
}
.svg_text p {
  font-size: 17px;
  padding: 0 15px;
  color: #000;
}
.line {
  height: 1px;
  background: #ccc;
  margin: 0 20px;
}

/* =============== BUSINESS SECTIONS =============== */
.business {
  background: #f5f5f5;
  padding: 40px 60px;
}
.business1 {
  text-align: center;
  color: #003359;
  margin-bottom: 40px;
}
.business1 h2 {
  font-size: 32px;
  margin: 20px 0;
}
.business1 p {
  font-size: 17px;
  max-width: 800px;
  margin: 0 auto 25px;
}

.other_business {
  background: #f5f5f5;
  padding: 40px 60px;
}
.other_business1 {
  color: #003359;
}
.other_business1 h2 {
  font-size: 32px;
  margin: 20px 0;
  text-align: center;
}
.other_business1 p {
  font-size: 17px;
  max-width: 1000px;
  margin: 0 auto 16px;
}

.other_businessbtn {
  text-align: center;
  padding: 25px 0;
}

.business2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.business_content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.business_img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.business_content h4 {
  font-size: 22px;
  padding: 16px 20px 8px;
}
.business_content p {
  font-size: 16px;
  padding: 0 20px 12px;
}
.business_contenta {
  display: inline-flex;
  align-items: center;
  padding: 0 20px 15px;
  text-decoration: none;
  color: #000;
}
.business_contenta i {
  font-size: 10px;
  margin-left: 8px;
}

.business_sec,
.business_sector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  gap: 0;
}
.sec1,
.sector1 {
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sec1 h4,
.sector1 h4 {
  font-size: 28px;
  color: #003359;
  margin-bottom: 20px;
}
.sec1 ul,
.sector1 ul {
  padding-left: 20px;
  margin: 15px 0;
}
.sec1 ul li,
.sector1 ul li {
  font-size: 16px;
  margin-bottom: 10px;
  list-style-type: disc;
}
.sec2 img,
.sector2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn {
  text-align: center;
  padding-bottom: 20px;
}

/* =============== FAQ SECTION =============== */
/* Added FAQ styling for new FAQ page */
.faq-container {
  background: #f5f5f5;
  padding: 40px 60px;
}

.faq-item {
  background: #fff;
  margin-bottom: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: none;
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  color: #003359;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-question.active {
  background: #dc1928;
  color: white;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 20px 20px 20px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.6;
  color: #292727;
}

/* =============== FOOTER =============== */
.footer {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 50px 80px;
  gap: 40px;
}
.footer1 img {
  width: 40%;
  display: block;
}
.footer2 {
  display: flex;
  flex-direction: column;
}
.footer_track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
}

.footer_track .svg_text p {
  font-size: 16px;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}
.footer_track .svg_text p:hover {
  color: #dc1928;
  border-bottom: 2px solid #dc1928;
}
.line1 {
  height: 1px;
  background: #eee;
  margin: 8px 0;
}

.footsection {
  background: #fff;
  padding: 0 80px;
}
.prefoot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px 0;
  align-items: center;
}
.prefooter1 p {
  text-align: center;
  font-size: 13px;
  color: #7a7676;
}
.prefooter2 {
  text-align: right;
}
.prefooter2 i {
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  font-size: 16px;
  margin-right: 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.prefooter2 i:hover {
  background: #31313d;
  color: white;
}
.lastfooter {
  display: flex;
  align-items: center;
  background: #31313d;
  padding: 20px 80px;
  color: white;
  gap: 30px;
}
.footlogo img {
  width: 90px;
  height: auto;
}
.lastfooter p {
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

/* =============== WAVE ANIMATION =============== */
.wave {
  position: absolute;
  width: 100%;
  height: 38px;
  bottom: 0;
  left: 0;
  background: url("../images/wave.png") repeat-x;
  background-size: 1811px 38px;
  animation: erigga 10s linear infinite;
  z-index: 10;
}
.wave::before,
.wave::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 38px;
  bottom: 0;
  left: 0;
  background: url("../images/wave.png") repeat-x;
  background-size: 1811px 38px;
}
.wave::before {
  opacity: 0.7;
  animation: erigga-reverse 10s linear infinite;
}
.wave::after {
  opacity: 0.5;
  animation: erigga 20s linear infinite;
  animation-delay: -5s;
}
@keyframes erigga {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 1811px 0;
  }
}
@keyframes erigga-reverse {
  0% {
    background-position: 1811px 0;
  }
  100% {
    background-position: 0 0;
  }
}

.mobile-only-tagline {
  display: none;
  font-size: 18px;
  margin-top: 10px;
  font-weight: 600;
}

.mobile-only-h1 {
  display: none;
  font-size: 28px;
  margin-top: 10px;
  font-weight: 600;
}



/* =============== TRACKING DETAILS PAGE STYLES =============== */

/* Details Hero Section */
.details-hero {
  background: linear-gradient(135deg, #dc1928 0%, #a01420 100%);
  padding: 40px 20px;
  color: white;
}

.details-hero-content {
  max-width: 1000px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: white;
  gap: 12px;
}

.details-hero h1 {
  font-size: 36px;
  margin: 0 0 10px 0;
  font-weight: 700;
}

.tracking-number {
  font-size: 18px;
  opacity: 0.95;
  font-weight: 500;
}

/* Details Section */
.details-section {
  background: #f5f5f5;
  padding: 40px 20px;
  min-height: calc(100vh - 200px);
}

.details-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 25px;
}

/* Details Card */
.details-card {
  background: white;
  border-radius: 1px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.details-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.details-card h2 {
  font-size: 22px;
  color: #333;
  margin: 0 0 20px 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.details-card h2 i {
  color: #dc1928;
  font-size: 24px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.card-header h2 {
  margin: 0;
}

/* Status Card */
.status-card {
  border-left: 5px solid #dc1928;
}

.status-info {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}

.status-message {
  font-size: 16px;
  color: #333;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.estimated-delivery {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Status Badge */
.status-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.status-badge.delivered {
  background-color: #d4edda;
  color: #155724;
}

.status-badge.out-for-delivery {
  background-color: #fff3cd;
  color: #856404;
}

.status-badge.in-transit {
  background-color: #d1ecf1;
  color: #0c5460;
}

.status-badge.on-hold {
  background-color: #f8d7da;
  color: #721c24;
}

.hold-badge {
  background: #dc1928;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Sender & Recipient Section */
.sender-recipient-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: start;
}

.sender-box,
.recipient-box {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #dc1928;
}

.sender-box h3,
.recipient-box h3 {
  font-size: 16px;
  color: #333;
  margin: 0 0 15px 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sender-box h3 i,
.recipient-box h3 i {
  color: #dc1928;
  font-size: 18px;
}

.info-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 12px 0 4px 0;
  font-weight: 600;
}

.info-value {
  font-size: 15px;
  color: #333;
  margin: 0;
  font-weight: 500;
}

.divider {
  width: 2px;
  background: #e0e0e0;
  min-height: 200px;
}

/* Package Grid */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.package-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.package-item:hover {
  background: #f0f0f0;
  transform: translateY(-4px);
}

.package-item i {
  font-size: 32px;
  color: #dc1928;
  margin-bottom: 10px;
  display: block;
}

.package-item .label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  font-weight: 600;
}

.package-item .value {
  font-size: 16px;
  color: #333;
  margin: 8px 0 0 0;
  font-weight: 700;
}

/* Timeline Detailed */
.timeline-detailed {
  position: relative;
  padding: 20px 0;
}

.timeline-detailed::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #dc1928, #ddd);
}

.timeline-item-detailed {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  position: relative;
}

.timeline-marker-detailed {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 3px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #999;
  flex-shrink: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.timeline-marker-detailed.completed {
  background: #dc1928;
  border-color: #dc1928;
  color: white;
}

.timeline-marker-detailed.active {
  background: #fff3cd;
  border-color: #dc1928;
  color: #dc1928;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(220, 25, 40, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(220, 25, 40, 0);
  }
}

.timeline-content-detailed {
  padding-top: 5px;
  flex: 1;
}

.timeline-content-detailed h4 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 5px 0;
}

.timeline-date-detailed {
  font-size: 14px;
  color: #666;
  margin: 0;
  font-weight: 500;
}

.timeline-location {
  font-size: 13px;
  color: #999;
  margin: 8px 0 0 0;
}

/* =============== PAYMENT SECTION =============== */

.payment-card {
  border-left: 5px solid #dc1928;
  background: linear-gradient(135deg, #fff9f9 0%, #ffffff 100%);
}

.hold-reason {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.hold-reason h3 {
  font-size: 14px;
  color: #856404;
  margin: 0 0 8px 0;
  font-weight: 700;
  text-transform: uppercase;
}

.hold-reason p {
  font-size: 14px;
  color: #856404;
  margin: 0;
  line-height: 1.6;
}

.payment-amount {
  background: #f0f0f0;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  text-align: center;
}

.amount-label {
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  font-weight: 600;
}

.amount-value {
  font-size: 32px;
  color: #dc1928;
  margin: 10px 0 0 0;
  font-weight: 700;
}

/* Payment Methods */
.payment-methods {
  margin-bottom: 25px;
}

.payment-methods h3 {
  font-size: 18px;
  color: #333;
  margin: 0 0 20px 0;
  font-weight: 700;
}

.payment-category {
  margin-bottom: 25px;
}

.payment-category h4 {
  font-size: 14px;
  color: #666;
  margin: 0 0 15px 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-category h4 i {
  color: #dc1928;
  font-size: 16px;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.payment-option {
  position: relative;
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.payment-option label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #f9f9f9;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #333;
}

.payment-option label i {
  font-size: 20px;
  color: #dc1928;
}

.payment-option input[type="radio"]:checked + label {
  background: #fff3cd;
  border-color: #dc1928;
  box-shadow: 0 0 0 3px rgba(220, 25, 40, 0.1);
}

.payment-option label:hover {
  border-color: #dc1928;
  background: #f5f5f5;
}

/* Payment Actions */
.payment-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.primary_btn,
.secondary-btn {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.primary_btn {
  background: #dc1928;
  color: white;
}

.primary_btn:hover {
  background: #a01420;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 25, 40, 0.3);
}

.secondary-btn {
  background: #f0f0f0;
  color: #333;
  border: 2px solid #ddd;
}

.secondary-btn:hover {
  background: #e0e0e0;
  border-color: #999;
}

/* =============== ORIGINAL TRACKING PAGE STYLES =============== */

/* Tracking Section Container */
.tracking-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.tracking-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Tracking Search Box */
.tracking-search {
  text-align: center;
  margin-bottom: 40px;
}

.tracking-search h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.tracking-input {
  flex: 1;
  min-width: 250px;
  padding: 14px 18px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.tracking-input:focus {
  outline: none;
  border-color: #dc1928;
  box-shadow: 0 0 0 3px rgba(220, 25, 40, 0.1);
}

.tracking-hint {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

/* Tracking Results Card */
.tracking-results {
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tracking-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #dc1928;
}

.tracking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.tracking-header h3 {
  font-size: 22px;
  color: #333;
  margin: 0;
}

.status-badge.in-transit {
  background-color: #d1ecf1;
  color: #0c5460;
}

.status-badge.out-for-delivery {
  background-color: #fff3cd;
  color: #856404;
}

.status-badge.delivered {
  background-color: #d4edda;
  color: #155724;
}

/* Tracking Details Grid */
.tracking-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.detail-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.detail-item i {
  font-size: 24px;
  color: #dc1928;
  min-width: 30px;
  text-align: center;
}

.detail-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.detail-value {
  font-size: 16px;
  color: #333;
  font-weight: 600;
  margin: 5px 0 0 0;
}

/* Timeline Styles */
.tracking-timeline {
  margin: 30px 0;
}

.tracking-timeline h4 {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #dc1928, #ddd);
}

.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
  position: relative;
}

.timeline-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: 3px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #999;
  flex-shrink: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.timeline-marker.completed {
  background: #dc1928;
  border-color: #dc1928;
  color: white;
}

.timeline-marker.active {
  background: #fff3cd;
  border-color: #dc1928;
  color: #dc1928;
  animation: pulse 2s infinite;
}

.timeline-content {
  padding-top: 5px;
  flex: 1;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.timeline-date {
  font-size: 13px;
  color: #999;
  margin: 5px 0 0 0;
}

/* Error Message */
.tracking-error {
  background: #f8d7da;
  border: 2px solid #f5c6cb;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  animation: slideIn 0.3s ease;
}

.tracking-error i {
  font-size: 48px;
  color: #721c24;
  margin-bottom: 15px;
  display: block;
}

.tracking-error p {
  font-size: 16px;
  color: #721c24;
  margin: 0 0 20px 0;
}

.secondary-btn {
  background: #f0f0f0;
  color: #333;
  padding: 12px 30px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.secondary-btn:hover {
  background: #e0e0e0;
  border-color: #999;
}

/* =============== MOBILE RESPONSIVE =============== */

@media (max-width: 768px) {
    
  /* Details Page Mobile */
  .details-hero {
    padding: 30px 15px;
  }

  .details-hero h1 {
    font-size: 28px;
  }

  .details-container {
    gap: 20px;
  }

  .details-card {
    padding: 20px;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .sender-recipient-grid {
    grid-template-columns: 1fr;
  }

  .divider {
    display: none;
  }

  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .payment-actions {
    flex-direction: column;
  }

  /* Tracking Page Mobile */
  .tracking-section {
    padding: 40px 15px;
  }

  .tracking-card {
    padding: 20px;
  }

  .tracking-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tracking-details {
    grid-template-columns: 1fr;
  }

  .search-box {
    flex-direction: column;
  }

  .tracking-input {
    min-width: 100%;
  }

  .timeline::before {
    left: 11px;
  }

  .timeline-item {
    gap: 20px;
  }

  .timeline-marker {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .timeline-detailed::before {
    left: 11px;
  }

  .timeline-item-detailed {
    gap: 20px;
  }

  .timeline-marker-detailed {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

/* Mobile hero background for tracking page */
@media (max-width: 768px) {
  .hero_page1[data-page="tracking"] {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../images/herobg-tracking-mobile.png")
      center / cover no-repeat;
  }
}

/* =============== MOBILE HERO BACKGROUNDS =============== */
/* Added page-specific mobile hero backgrounds
   Each page now has its own unique mobile background image
   This is controlled by adding a data-page attribute to the hero_page1 div
   Example: <div class="hero_page1" data-page="home">
   
   HOW TO HIDE/SHOW BACKGROUNDS:
   - To hide a background: Set display: none on the specific page selector
   - To change background: Update the background-image URL
   - To add new page: Create new @media rule with data-page="pagename"
*/

@media (max-width: 768px) {
  .mobile-only-tagline {
    display: block;
    padding-bottom: 20px;
  }

  .mobile-only-h1 {
    display: block;
  }

  .hero_page1a h1 {
    display: none;
  }

  .hero_page1a p {
    display: none;
  }

  /* HOME PAGE - Unique mobile background */
  .hero_page1[data-page="home"] {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../images/herobg100.jpg") center / cover
      no-repeat;
    position: relative;
    height: 100%;
  }

  /* ABOUT PAGE - Different mobile background */
  .hero_page1[data-page="about"] {
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url("../images/sixteen.jpg") center /
      cover no-repeat;
    position: relative;
    height: 100%;
  }

  /* SERVICES PAGE - Unique mobile background */
  .hero_page1[data-page="services"] {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("../images/seventeen.jpg") center /
      cover no-repeat;
    position: relative;
    height: 100%;
  }

  /* FREIGHT PAGE - Unique mobile background */
  .hero_page1[data-page="freight"] {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../images/eighteen.jpg") center /
      cover no-repeat;
    position: relative;
    height: 100%;
  }

  /* PACKAGING PAGE - Unique mobile background */
  .hero_page1[data-page="packaging"] {
    background: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)), url("../images/ninteen.jpg") center
      / cover no-repeat;
    position: relative;
    height: 100%;
  }

  /* SUPPORT PAGE - Unique mobile background */
  .hero_page1[data-page="support"] {
    background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)), url("../images/twenty.jpg") center /
      cover no-repeat;
    position: relative;
    height: 100%;
  }
  
  /* SUPPORT PAGE - Unique mobile background */
  .hero_page1[data-page="trackiing"] {
    background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)), url("../images/twelve.jpg") center /
      cover no-repeat;
    position: relative;
    height: 100%;
  }
 .hero_page1[data-page="track"] {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../images/twelve.jpg") center / cover
      no-repeat;
    position: relative;
    height: 100%;
  }

  /* FAQ PAGE - Unique mobile background */
  .hero_page1[data-page="faq"] {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../images/twentyone.jpg") center / cover
      no-repeat;
    position: relative;
    height: 100%;
  }

  /* Hide the image element on mobile for all pages */
  .hero_page1b img {
    display: none;
  }

  /* Add overlay for better text contrast on mobile */
  .hero_page1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
  }

  .hero_page1a {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 40px 20px;
  }

  .hero_page1a h1,
  .hero_page1a p {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  }

  .hero_page1a h1 {
    font-size: 28px;
    padding: 0;
    margin-bottom: 15px;
  }

  .hero_page1a p {
    font-size: 15px;
    margin: 10px 0 20px;
  }

  /* Navbar responsive */
  .menu-wrapper {
    display: none !important;
  }
  .hamburger {
    display: block;
  }

  .mobile-menu.active {
    display: flex !important;
  }

  /* Layouts */
  .hero,
  .hero_page1,
  .business_sec,
  .business_sector,
  .footer {
    grid-template-columns: 1fr;
  }

  .sec1,
  .sector1 {
    padding: 40px 20px;
  }
  .business {
    padding: 20px;
  }
  .footer {
    padding: 30px 20px;
  }
  .footer1 {
    text-align: center;
  }
  .footer1 img {
    margin: 0 auto;
  }
  .prefoot {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .prefooter2 {
    margin-top: 15px;
    text-align: center;
  }
  .prefooter2 i {
    float: none;
    margin: 0 auto;
  }
  .lastfooter {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }

  .track {
    padding: 18px 0;
  }
  .svg_text h3 {
    font-size: 22px;
  }
  .svg_text p {
    font-size: 14px;
  }
  .hero_page2 {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .svg_icon {
    padding: 0 -5px;
  }

  /* FAQ responsive */
  .faq-container {
    padding: 20px;
  }

  .faq-question {
    font-size: 16px;
    padding: 16px;
  }

  .faq-answer {
    font-size: 14px;
  }
}

 @media (max-width: 991px) {

/* Navbar responsive */
  .menu-wrapper {
    display: none !important;
  }
  .hamburger {
    display: block;
  }


 }
