/* style.css */

body {
  scroll-behavior: smooth;
}

.hero {
  background-image: url("assets/banner.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.about-slide {
  width: 100%;
  max-width: 420px;
  height: 300px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.carousel-item.active img {
  transform: scale(1.03);
}

.carousel-item h5 {
  font-weight: 600;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .about-slide {
    max-width: 300px;
    height: 220px;
  }
}

@media (max-width: 480px) {
  .about-slide {
    max-width: 240px;
    height: 180px;
  }
}

button.btn-success:hover {
  filter: brightness(1.05);
}

/* Logo tagline style */
.tagline {
  font-style: italic;
  font-size: 0.8rem;
  line-height: 1.2;
}

/* Make logo larger in navbar */
.main-logo {
  width: 100px;
  height: auto;
}

/* Hero Section Logo */
.hero-logo {
  width: 150px;
  height: auto;
}

/* Responsive logo size on mobile */
@media (max-width: 576px) {
  .main-logo {
    width: 80px;
  }
  .hero-logo {
    width: 120px;
  }
}


.animated-logo:hover {
  transform: scale(1.1) rotate(1deg);
  opacity: 0.9;
}

/* Feature Slide Styling */
.feature-slide {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  transition: transform 0.5s ease-in-out;
}

/* Smooth zoom transition on active image */
.carousel-item.active img {
  transform: scale(1.05);
}

/* Ensure responsiveness */
@media (max-width: 768px) {
  .feature-slide {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .feature-slide {
    max-width: 220px;
  }
}
       
/* Van Animation - One Way and Slower */
.van-animation-wrapper {
  position: relative;
  height: 180px; /* Taller to fit bigger van */
  overflow: hidden;
  margin-bottom: 2rem;
}

.animated-van {
  width: 220px; /* Larger van */
  position: absolute;
  top: 0;
  left: -300px;
  animation: moveVan 20s linear infinite; /* Much slower */
}

@keyframes moveVan {
  0% {
    left: -300px;
  }
  100% {
    left: 100%;
  }
}


/* Sticky Dancing Get a Quote Button */
.get-quote-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: linear-gradient(145deg, #28a745, #218838);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  animation: bounce 1.8s infinite ease-in-out;
  border: none;
}

.get-quote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
  background: linear-gradient(145deg, #218838, #1e7e34);
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Modal Styling */
.quote-modal-content {
  background: #ffffff;
  border-radius: 15px;
  border: none;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: zoomIn 0.3s ease-out;
  font-family: 'Poppins', sans-serif;
}

.quote-modal-content .modal-title {
  font-weight: 700;
  color: #28a745;
}

.quote-modal-content .form-label {
  font-weight: 600;
  color: #333;
}

.quote-modal-content input {
  border-radius: 10px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

/* Placeholder Styling */
.quote-modal-content input::placeholder {
  color: #aaa;
  font-style: italic;
  opacity: 0.8;
}

@keyframes zoomIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

input.is-invalid {
  border: 2px solid red !important;
  background-color: #fff0f0;
}

input.is-valid {
  border: 2px solid green !important;
  background-color: #f0fff0;
}
.join-btn {
  font-weight: 600;
  border-width: 2px;
  transition: all 0.3s ease-in-out;
  border-radius: 30px;
}

.join-btn:hover {
  background-color: #0d6efd;
  color: white;
  transform: scale(1.05);
}
/* Join Form Modal with Glass & 3D Look */
.join-form-modal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.join-form-modal:hover {
  transform: translateY(-3px);
}

/* Form Fields */
.join-form-modal input,
.join-form-modal select {
  border-radius: 12px;
  border: 1px solid #ced4da;
  padding: 12px 15px;
  font-size: 16px;
  box-shadow: inset 1px 1px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.join-form-modal input:focus,
.join-form-modal select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
  outline: none;
}

/* Join Form Modal with Glass & 3D Look */
.join-form-modal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.join-form-modal:hover {
  transform: translateY(-3px);
}

/* Form Fields */
.join-form-modal input,
.join-form-modal select {
  border-radius: 12px;
  border: 1px solid #ced4da;
  padding: 12px 15px;
  font-size: 16px;
  box-shadow: inset 1px 1px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.join-form-modal input:focus,
.join-form-modal select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
  outline: none;
}

/* Submit Button Stylish */
.join-form-modal .btn-success {
  background: linear-gradient(to right, #00c851, #007e33);
  border: none;
  padding: 12px;
  font-size: 18px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 200, 81, 0.3);
  transition: 0.3s ease;
}

.join-form-modal .btn-success:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 200, 81, 0.4);
}

/* Modal Header Custom Look */
.join-form-modal .modal-header {
  border-bottom: none;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  color: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* Modal Title */
.join-form-modal .modal-title {
  font-weight: 600;
  font-size: 20px;
}

/* Modal Footer */
.join-form-modal .modal-footer {
  border-top: none;
}
/* Floating WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 90px; /* Just above the Get a Quote button */
  right: 30px;
  z-index: 999;
  background: #25d366;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 1.8s infinite ease-in-out;
}

.whatsapp-btn img {
  width: 28px;
  height: 28px;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}
