/* MAINPAGE */
.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.dash-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  animation: fadeIn 0.6s ease;
}

.dash-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #444;
}

.dash-card p {
  font-size: 32px;
  font-weight: bold;
}

/* COLORS */
.total { border-left: 6px solid #1e88e5; }
.delivered { border-left: 6px solid #43a047; }
.transit { border-left: 6px solid #fb8c00; }
.pending { border-left: 6px solid #e53935; }

    #searchInput:focus {
  border-color: #1e88e5;
  box-shadow: 0 0 5px rgba(30,136,229,0.3);
}



    /* ADD PARCEL FORM */
.add-parcel {
  margin-bottom: 30px;
  animation: fadeIn 0.6s ease;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #444;
}

input, select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  transition: 0.3s;
}

input:focus, select:focus {
  border-color: #1e88e5;
  box-shadow: 0 0 5px rgba(30,136,229,0.3);
}

/* SUBMIT BUTTON */
.submit-btn {
  background: #43a047;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  width: 180px;
}

.submit-btn:hover {
  background: #388e3c;
}

/* RESPONSIVE */
@media(max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

    @media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

    .loading { pointer-events:none; }
.loading::after{
  content:''; width:18px; height:18px; margin-left:10px;
  border:2px solid #fff; border-top-color:transparent;
  border-radius:50%; display:inline-block; animation:spin 1s linear infinite;
}

.card {
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px) rotateX(2deg);
  box-shadow: 0 18px 40px rgba(0,0,0,.15);
}

    .toast {
  position: fixed; right: 20px; bottom: 20px;
  background:#111; color:#fff; padding:14px 18px;
  border-radius:12px; box-shadow:0 12px 30px rgba(0,0,0,.25);
  opacity:0; transform: translateY(20px);
  transition:.3s;
}
.toast.show { opacity:1; transform:none; }
.toast.ok { background:#065f46; }
.toast.err{ background:#7f1d1d; }

    .skeleton {
  background: linear-gradient(90deg,#eee,#f5f5f5,#eee);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 10px; height: 16px; margin: 10px 0;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.btn { position: relative; overflow: hidden; }
.btn span.ripple {
  position:absolute; border-radius:50%;
  transform:scale(0); animation:ripple .6s linear;
  background: rgba(255,255,255,.5);
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Page transition */
.page {
  animation: pageIn .5s cubic-bezier(.2,.8,.2,1);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}


    body {
  font-family: Arial;
  background: #f4f6f8;
  text-align: center;
}

input, select, button {
  padding: 12px;
  margin: 8px;
  border-radius: 6px;
}

button {
  background: #6b1d12;
  color: white;
  border: none;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.08);
}

h2 {
  animation: fade 1s ease;
}

@keyframes fade {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; }
}

.header {
  background: #3b2f2f;
  padding: 20px 0;
  overflow: hidden;
}

/* FULL WIDTH */
.marquee {
  width: 100%;
  overflow: hidden;
}

/* TRACK */
.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollRight 12s linear infinite;
}

/* EACH LOGO */
.marquee-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 80px;
  perspective: 800px;
}

/* LOGO FRONT ANIMATION */
.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  filter: sepia(1) saturate(2) hue-rotate(10deg);
  animation: frontMove 2.5s infinite ease-in-out;
}

/* TEXT */
.alt-text {
  font-size: 28px;
  font-weight: bold;
  color: #d2b48c;
  animation: glowText 2s infinite alternate;
}

/* MARQUEE MOVE →→ */
@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* LOGO COMES FRONT */
@keyframes frontMove {
  0% { transform: translateZ(0) scale(1); }
  50% { transform: translateZ(60px) scale(1.15); }
  100% { transform: translateZ(0) scale(1); }
}

/* TEXT GLOW */



* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, Helvetica, sans-serif;
    }

    body {
      background: #f4f6f8;
      color: #333;
    }

    header {
      background: #5a2d0c;
      color: #fff;
      padding: 20px 40px;
      display: flex;
      align-items: center;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .logo img {
      width: 70px;
      height: auto;
    }

    .logo h1 {
      font-size: 24px;
      letter-spacing: 1px;
    }

    .hero {
      background: #8b4513;
      color: #fff;
      text-align: center;
      padding: 80px 20px;
    }

    .hero h2 {
      font-size: 38px;
      margin-bottom: 10px;
    }

    .hero p {
      font-size: 18px;
    }

    .services {
      background: #fff;
      padding: 60px 30px;
    }

    .services h3 {
      text-align: center;
      font-size: 30px;
      margin-bottom: 40px;
    }

    .service-box {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 25px;
      max-width: 1000px;
      margin: auto;
    }

    .card {
      background: #f9fafb;
      padding: 25px;
      border-radius: 10px;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .card h4 {
      margin-bottom: 10px;
      font-size: 20px;
    }

    .contact {
      background: #5a2d0c;
      color: #fff;
      text-align: center;
      padding: 45px 20px;
    }

    .contact h3 {
      font-size: 26px;
      margin-bottom: 10px;
    }

    .contact p {
      font-size: 18px;
      margin: 6px 0;
    }

    footer {
      background: #3b1d07;
      color: #ddd;
      text-align: center;
      padding: 15px;
      font-size: 14px;
    }

      .urtl img {
  height: 60px;
  width: auto;
  display: block;
}

.insta-icon {
  color: #E4405F;
  font-size: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

p a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}

p a:hover {
  color: #E4405F;
}

/* ===== GLOBAL ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #333;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #6b1d12, #9c3b2a);
    color: white;
    padding: 60px 20px;
    text-align: left;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== SERVICES ===== */
.services {
    padding: 60px 20px;
    text-align: auto;
}

.services h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.service-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.service-card h3 {
    margin-bottom: 10px;
    color: #6b1d12;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ===== TRACKING ===== */
.tracking {
    background: white;
    padding: 60px 20px;
    text-align: center;
}

.tracking h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.tracking-box {
    max-width: 500px;
    margin: auto;
    display: flex;
    gap: 10px;
}

.tracking-box input {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.tracking-box button {
    padding: 15px 25px;
    border-radius: 8px;
    border: none;
    background: #6b1d12;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.tracking-box button:hover {
    background: #8b2c1f;
    transform: scale(1.05);
}

.status {
    margin-top: 15px;
    font-weight: bold;
}

/* ===== ANIMATION ACTIVE ===== */
.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}


.marquee-track {
  animation-duration: 10;
}
.employee-login-btn {
  position: absolute;
  top: 25px;
  right: 35px;
  background: #1e88e5;   /* BLUE */
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  z-index: 1000;
}

.employee-login-btn:hover {
  background: #1565c0;
}

.image-section{
  position: relative;
  height: 70vh;
  background: 
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("truck1.jpeg") no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-overlay{
  color: white;
  text-align: center;
  padding: 30px;
}

.image-overlay h2{
  font-size: 40px;
  margin-bottom: 10px;
}

.image-overlay p{
  font-size: 20px;
  opacity: 0.9;
}

/**/

.promo-section{
  width:100%;
  display:promo-section{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  margin:60px 0;
  background: transparent;   /* removes black shade */
}

.promo-section img{
  max-width:95%;
  border-radius:20px;
  box-shadow:none;          /* removes dark shadow */
  background:transparent;
}
  justify-content:center;
  align-items:center;
  background: transparent   /* removes black shade */
}

.promo-section img{
  max-width:95%;
  border-radius:20px;
  box-shadow:none;          /* removes dark shadow */
  background:transparent;
}

/**/

body{
    margin:0;
    font-family: Arial, sans-serif;
    background:#f4f4f4;
}

/* Track Box */
.track-section{
    background:white;
    padding:60px 20px;
    text-align:center;
}

.track-section h2{
    font-size:28px;
    margin-bottom:30px;
    font-weight:bold;
}

/* Input box */
.track-box{
    max-width:400px;
    margin:auto;
}

.track-box input{
    width:100%;
    padding:15px;
    font-size:16px;
    border:2px solid #ddd;
    border-radius:8px;
    outline:none;
    margin-bottom:15px;
}

.track-box input:focus{
    border-color:#7a3e08;
}

/* Button */
.track-box button{
    width:150px;
    padding:12px;
    background:#7a3e08;
    border:none;
    border-radius:8px;
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
}

.track-box button:hover{
    background:#5c2e05;
    transform:scale(1.05);
}

/**/

body{
    margin:0;
    font-family: Arial, sans-serif;
    background:#f2f2f2;
}

/* Section */
.track-section{
    background:white;
    padding:70px 20px;
    text-align:center;
}

/* Heading animation */
.track-section h2{
    font-size:30px;
    margin-bottom:30px;
    animation: fadeIn 1s ease;
}

/* Box */
.track-box{
    max-width:400px;
    margin:auto;
}

/* Input */
.track-box input{
    width:100%;
    padding:15px;
    font-size:16px;
    border:2px solid #ddd;
    border-radius:10px;
    outline:none;
    margin-bottom:20px;
    transition:0.3s;
}

/* Glow on focus */
.track-box input:focus{
    border-color:#7a3e08;
    box-shadow:0 0 10px rgba(122,62,8,0.5);
}

/* Button */
.track-box button{
    width:160px;
    padding:14px;
    background:#7a3e08;
    border:none;
    border-radius:10px;
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
}

/* Hover effect */
.track-box button:hover{
    background:#5c2e05;
    transform:scale(1.08);
}

/* Click animation */
.track-box button:active{
    transform:scale(0.95);
}

/* Result box */
#result{
    margin-top:25px;
    font-size:18px;
    font-weight:bold;
    color:#7a3e08;
    display:none;
}

/* Shake animation */
@keyframes shake{
    0%{transform:translateX(0)}
    25%{transform:translateX(-5px)}
    50%{transform:translateX(5px)}
    75%{transform:translateX(-5px)}
    100%{transform:translateX(0)}
}

/* Fade in */
@keyframes fadeIn{
    from{opacity:0; transform:translateY(20px);}
    to{opacity:1; transform:translateY(0);}
}
