.container {
  color: #292929;
  animation: fadeIn 1s both;
  background: #f7fafd;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(60,120,200,0.08);
  padding: 32px 18px;
  margin-bottom: 32px;
}

.grid article,
.grid-two article {
  margin: 0 2%;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.2s;
  animation: fadeInUp 0.8s;
  padding: 18px 16px;
  position: relative;
}
.grid article:hover,
.grid-two article:hover {
  box-shadow: 0 8px 32px rgba(50,120,220,0.13);
  transform: scale(1.03);
}

.grid h5 {
  margin: 0 0 14px 0;
  font-size: 1.10em;
  font-weight: 700;
}

.tracking-info-detail {
  animation: fadeIn 1s both;
  margin-bottom: 28px;
}

.tracking-location {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(50,120,220,0.06);
  transition: background 0.5s;
}

.tracking-location .dott {
  position: absolute;
  left: 7px;
  top: 14px;
  width: 12px;
  height: 12px;
  background: #09f;
  border-radius: 50%;
  box-shadow: 0 0 14px #09f;
  animation: pulseDot 1.2s infinite;
  border: 3px solid #eaf6ff;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 8px #09f; }
  50% { box-shadow: 0 0 22px #09f;}
}

.tracking-location.style-two { background: #e3ffe7; }
.tracking-location.style-2 { background: #ffe3e3; }
.tracking-location.style-3 { background: #e3f3ff; }
.tracking-location.style-4 { background: #f7f7e3; }
.tracking-location.style-5 { background: #e3ffe6; }
.tracking-location.style-6 { background: #f3e3ff; }
.tracking-location.style-7 { background: #fffbe3; }
.tracking-location.style-three { background: #f6f8fa; }

.tracking-box {
  animation: fadeInUp 0.7s;
  transition: box-shadow 0.4s;
}
.tracking-box:hover {
  box-shadow: 0 8px 32px rgba(50,120,220,0.11);
}

.tracking-time-box {
  font-size: 14px;
  color: #0074d9;
  margin-bottom: 5px;
  animation: fadeIn 1.2s;
}

.shipment-status-animated {
  background: linear-gradient(90deg, #2578fa 0%, #1fc47f 100%);
  color: white;
  padding: 12px 0;
  font-size: 15px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 22px rgba(37,120,250,0.09);
  animation: statusPulse 1.5s infinite alternate;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
@keyframes statusPulse {
  from { filter: brightness(1); }
  to   { filter: brightness(1.15); }
}

.grid-two {
  padding: 10px 24px;
}

.container img {
  animation: fadeIn 1.2s;
  transition: box-shadow 0.4s;
}
.container img:hover {
  box-shadow: 0 6px 38px rgba(50,120,220,0.10);
  transform: scale(1.04);
}

.grid-two article {
  animation: fadeInUp 0.8s;
  animation-delay: 0.15s;
}

/* Responsive grid layouts */
@media screen and (min-width: 768px) {
  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media screen and (min-width: 1200px) {
  .grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 18px;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}