* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: #2c3e50;
  color: #fff;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.contact-info span {
  margin-right: 20px;
}

.social-links a {
  color: #fff;
  margin-left: 10px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #f39c12;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #f39c12;
}

.logo i {
  margin-right: 10px;
  font-size: 28px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #f39c12;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.8)),
    url("/placeholder.svg?height=800&width=1200") center / cover;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: #f39c12;
  color: #fff;
}

.btn-primary:hover {
  background: #e67e22;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #333;
}

/* Tracking Section */
.tracking-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.tracking-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #2c3e50;
}

.tracking-form {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tracking-form input {
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  min-width: 300px;
}

.tracking-result {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: none;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #fff;
}

.services h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
  color: #2c3e50;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
  font-size: 3rem;
  color: #f39c12;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

/* Support Section */
.support {
  padding: 80px 0;
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: #fff;
}

.support-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.support-icon {
  text-align: center;
  min-width: 120px;
}

.support-icon i {
  font-size: 4rem;
  margin-bottom: 10px;
  color: #f39c12;
}

.support-icon span {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
}

.support-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f39c12;
}

.support-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #f8f9fa;
}

.about h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #2c3e50;
}

.about p {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #fff;
}

.contact h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
  color: #2c3e50;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
}

.form-group input,
.form-group textarea {
  flex: 1;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.form-group textarea {
  resize: vertical;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: #f39c12;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #f39c12;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

/* Shipping Method Display */
.shipping-method-display {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.shipping-method-display i {
  color: #f39c12;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .tracking-form {
    flex-direction: column;
    align-items: center;
  }

  .tracking-form input {
    min-width: 250px;
  }

  .support-content {
    text-align: center;
  }

  .form-group {
    flex-direction: column;
  }

  .header-top {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .tracking-form input {
    min-width: 200px;
  }
}

/* Enhanced Tracking Results */
.tracking-container {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: 20px;
}

.status-header {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: #fff;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.status-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.status-info h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.status-info p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.tracking-code {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 15px;
  border-radius: 25px;
  display: inline-block;
  font-size: 1rem;
}

/* Progress Bar */
.progress-container {
  padding: 30px;
  background: #f8f9fa;
}

.progress-bar {
  height: 8px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
}

.progress-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1s ease-in-out;
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #6c757d;
  transition: all 0.3s;
}

.step.completed {
  color: #27ae60;
}

.step i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.step.completed i {
  background: #27ae60;
  color: #fff;
  transform: scale(1.1);
}

.step span {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

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

.detail-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.detail-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.detail-card.full-width {
  grid-column: 1 / -1;
}

.detail-card h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-card h3 i {
  color: #f39c12;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f8f9fa;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row .label {
  font-weight: 600;
  color: #6c757d;
}

.detail-row .value {
  font-weight: 500;
  color: #2c3e50;
}

.priority-high {
  color: #e74c3c !important;
  font-weight: bold;
}

.priority-urgent {
  color: #c0392b !important;
  font-weight: bold;
}

.priority-normal {
  color: #3498db !important;
}

.priority-low {
  color: #27ae60 !important;
}

.delivered-date {
  color: #27ae60 !important;
  font-weight: bold;
}

/* Route Information */
.route-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.route-point {
  display: flex;
  align-items: center;
  gap: 15px;
}

.route-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.route-icon.origin {
  background: #3498db;
  color: #fff;
}

.route-icon.destination {
  background: #e74c3c;
  color: #fff;
}

.route-line {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, #3498db, #e74c3c);
  margin-left: 14px;
}

.route-details strong {
  display: block;
  color: #2c3e50;
  margin-bottom: 5px;
}

.route-details p {
  color: #6c757d;
  margin: 0;
}

/* Special Instructions */
.special-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  color: #856404;
  font-style: italic;
  margin: 0;
}

/* Tracking History */
.tracking-history {
  padding: 30px;
  background: #f8f9fa;
}

.tracking-history h3 {
  color: #2c3e50;
  margin-bottom: 25px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tracking-history h3 i {
  color: #f39c12;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dee2e6;
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 25px;
}

.timeline-item.latest .timeline-content {
  background: #e8f5e8;
  border-left: 4px solid #27ae60;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 5px;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 3px solid #dee2e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item.latest .timeline-marker {
  border-color: #27ae60;
  background: #27ae60;
  color: #fff;
}

.timeline-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.timeline-header strong {
  color: #2c3e50;
  font-size: 1.1rem;
}

.timeline-date {
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
}

.timeline-description {
  color: #495057;
  margin: 0;
  line-height: 1.5;
}

/* Additional Info */
.additional-info {
  padding: 20px 30px;
  background: #fff;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.info-badge {
  background: #e3f2fd;
  color: #1565c0;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-badge i {
  font-size: 0.8rem;
}

/* Responsive Design for Tracking */
@media (max-width: 768px) {
  .tracking-section {
    padding: 40px 0;
  }

  .tracking-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .tracking-form {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
  }

  .tracking-form input {
    min-width: 280px;
    width: 100%;
    max-width: 400px;
  }

  .tracking-result {
    margin: 0 10px;
    padding: 15px;
  }

  .status-header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 15px;
  }

  .status-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .status-info h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .status-info p {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .tracking-code {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .progress-steps {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .step {
    flex: 1;
    min-width: 70px;
    max-width: 80px;
  }

  .step i {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .step span {
    font-size: 0.8rem;
  }

  .details-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 15px;
  }

  .detail-card {
    padding: 20px;
  }

  .detail-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 8px 0;
  }

  .detail-row .label {
    font-size: 0.9rem;
  }

  .detail-row .value {
    font-size: 1rem;
  }

  .route-info {
    gap: 10px;
  }

  .route-point {
    gap: 12px;
  }

  .route-icon {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }

  .route-line {
    height: 25px;
    margin-left: 12px;
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .timeline-header strong {
    font-size: 1rem;
  }

  .timeline-date {
    font-size: 0.8rem;
  }

  .timeline-description {
    font-size: 0.9rem;
  }

  .additional-info {
    flex-direction: column;
    gap: 10px;
    padding: 15px 20px;
  }

  .info-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .tracking-form input {
    min-width: 250px;
    font-size: 14px;
    padding: 12px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .progress-steps {
    gap: 8px;
  }

  .step {
    min-width: 60px;
  }

  .step i {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .step span {
    font-size: 0.7rem;
  }

  .detail-card {
    padding: 15px;
  }

  .timeline-item {
    padding-left: 40px;
  }

  .timeline-marker {
    width: 25px;
    height: 25px;
  }

  .timeline-content {
    padding: 15px;
  }
}

/* Loading and Error States Responsive */
@media (max-width: 768px) {
  .tracking-result .loading {
    padding: 30px 20px;
    font-size: 1rem;
  }

  .tracking-result .loading::after {
    width: 30px;
    height: 30px;
    margin: 15px auto 0;
  }

  .tracking-result .error {
    padding: 25px 20px;
    font-size: 1rem;
  }
}

/* Loading Animation for Tracking */
.tracking-result .loading {
  text-align: center;
  padding: 40px;
  color: #6c757d;
  font-size: 1.1rem;
}

.tracking-result .loading::after {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #f39c12;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto 0;
}

/* Error State */
.tracking-result .error {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.1rem;
}

.tracking-result .error i {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
}
