/* indexpage */
.contact-bar {
    background: #f8f9fa;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
  }
  .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 6px;
  }
  .contact-item.email { background: #007bff; color: #fff; }
  .contact-item.location { background: #dc3545; color: #fff; }
  .contact-item.phone { background: #28a745; color: #fff; }
  .contact-item a { color: inherit; text-decoration: none; }  

.navbar-nav .nav-link {
  color: #212529; 
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #28a745; 
  border-bottom: 2px solid #28a745;
}

.navbar-nav .nav-link.active {
  color: #28a745; 
  border-bottom: 2px solid #28a745;
  font-weight: 600;
}

.enquiry-box {
  max-width: 450px;
  margin: auto;
}

.card {
  background: linear-gradient(135deg, #25d366, #0d0d0d); 
  border-radius: 15px;
  color: #fff; 
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


.card h4 {
  font-weight: 700;
  color: #f1f1f1; 
}

.form-control {
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
}

.btn {
  font-weight: 600;
  border-radius: 12px;
  padding: 12px;
}

.btn-success {
  background-color: #25D366;
  border: none;
}

.btn-success:hover {
  background-color: #1ebd5a;
}

.custom-date {
  min-width: 160px;  
  width: 100%;        
  font-size: 16px;    
  padding: 10px;
}

/* about page  */

.testimony-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; 
  min-height: 260px; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.testimony-wrap .text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimony-wrap p.mb-4 {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  color: black;
}
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.terms-list {
  font-size: 14px;
  color: #333;
  margin-top: 10px;
  line-height: 1.5;
}

.modal button {
  margin: 10px 5px 0 0;
}

.btn-success {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-secondary {
  background-color: #ccc;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
}
.form-card {
  width: 100%;
  max-width: 600px; /* Wider form */
  padding: 20px 25px; /* Less padding = reduced height */
  border-radius: 20px;
  background-color: #111;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.form-card h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 15px;
}

.form-control {
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  height: 38px; /* reduced height */
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: #28a745;
  box-shadow: 0 0 5px rgba(40,167,69,0.3);
}

.btn-success {
  border-radius: 10px;
  padding: 10px;
  font-weight: 600;
}

.mb-2 {
  margin-bottom: 8px !important; /* tighter spacing */
}

.row.g-1 > .col-6 {
  padding-left: 2px;
  padding-right: 2px;
}

/* RideBee theme colors */
.btn-ridebee-login {
  background-color: transparent;
  border: 2px solid #28a745; /* RideBee yellow */
  color: #28a745;
  font-weight: 600;
  border-radius: 25px;
  padding: 6px 18px;
  margin-left: 10px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.btn-ridebee-login:hover {
  background-color: #28a745;
  color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.btn-ridebee-logout {
  background-color: #222831; /* Dark RideBee tone */
  color: #fff;
  border: 2px solid #222831;
  font-weight: 600;
  border-radius: 25px;
  padding: 6px 18px;
  transition: all 0.3s ease;
}

.btn-ridebee-logout:hover {
  background-color: #28a745;
  border-color: #28a745;
  color: #000;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* CAR CARD STYLE */
.car-card {
  width: 350px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  margin: 20px;
  transition: 0.3s;
}

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
}

.car-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.car-info {
  padding: 20px;
}
.car-info {
  position: relative;
}

.book-btn-bottom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
  border-radius: 10px;
}

.car-info h3 {
  font-size: 22px;
  margin: 0;
}

.car-info .brand {
  color: #676767;
  font-size: 16px;
  margin-top: 4px;
}

.price {
  font-size: 20px;
  font-weight: bold;
  color: #b3b3b3;
  margin: 10px 0;
}

.price span {
  font-size: 14px;
  color: #727272;
}

/* BOOK NOW BUTTON */
.book-btn {
  background: #28a745;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 120px;
  font-size: 16px;
  transition: 0.3s;
}

.book-btn:hover {
  background: #28a745;
}

#carContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#carContainer {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}

#carContainer::-webkit-scrollbar {
  display: none;
}

.pagination-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

.pagination-btn {
  padding: 8px 16px;
  border: none;
  background: #28a745;
  color: #fff;
  border-radius: 15px;
  cursor: pointer;
  font-size: 15px;
   transition: 0.25s ease;
}

.pagination-btn:disabled {
  background: #b7b7b7;
  cursor: not-allowed;
}

.pagination-btn:hover:not(:disabled) {
   background: #28a745;
  transform: translateY(-2px);
}

.pagination-text {
  font-size: 16px;
  font-weight: bold;
}