.nav-link{
  position: relative;
  color: #000;
  text-decoration: none !important;
}
.nav-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #007bff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Hover effect*/
.nav-link:hover::after{
  transform: scaleX(1);
}

.nav-link.active::after{
  transform: scaleX(1);
}

 .list{
  background-color: blue;
  color: white;
 }
 .list:hover{
outline-width: 23px;
outline-style: auto;
outline-color: black;
  background-color: none;
  color: black;
 }



  /* Hero Section */
    .hero-section {
      position: relative;
      background: url('OIP\ \(3\).png') center/cover no-repeat;
      height: 50vh;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .hero-overlay {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
    }
    .hero-content {
      position: relative;
      text-align: center;
      z-index: 2;
    }
    /* Contact Info Icons */
    .contact-icon {
      font-size: 2rem;
      color: #ffc107;
    }

    /*Footer*/
     .footer {
      background: #0d0d0d;
      color: #bbb;
      padding: 60px 20px 20px;
    }
    .footer h5 {
      color: #fff;
      margin-bottom: 20px;
      font-weight: 600;
    }
    .footer a {
      color: #bbb;
      text-decoration: none;
      transition: 0.3s;
    }
    .footer a:hover {
      color: #ffc107;
    }
    .social-icons a {
      font-size: 20px;
      margin-right: 15px;
      color: #bbb;
      transition: 0.3s;
    }
    .social-icons a:hover {
      color: #ffc107;
    }
    .footer-bottom {
      border-top: 1px solid #444;
      margin-top: 30px;
      padding-top: 15px;
      font-size: 14px;
      color: #888;
    }
    .contact-info p {
      margin-bottom: 8px;
    }




    /*Newsletter alerts*/
    /* Compact newsletter alerts */
.newsletter-alert {
  font-size: 0.7rem;           /* very small text */
  padding: 0.25rem 0.5rem;     /* minimal padding */
  margin-top: 0.25rem !important;
  border-radius: 0.25rem;      /* keep rounded corners small */
  max-width: 250px;            /* optional: restrict width */
}

/* Smaller close button */
.newsletter-alert .btn-close {
  padding: 0.1rem;
  margin-left: 0.25rem;
  font-size: 0.6rem;
}



/* 🌟 RideMart Animated Alert Styles */
.alert-box {
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(15px);
}

.alert-success {
  background: linear-gradient(135deg, #007bff, #00b4d8);
  color: #fff;
  border-left: 6px solid #0056b3;
}

.alert-error {
  background: linear-gradient(135deg, #d00000, #ff6b6b);
  color: #fff;
  border-left: 6px solid #a60000;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutDown {
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}
