/* ===== Global Styles ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ff6600, #c0c0c0);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #ffaa33, #d9d9d9);
}

/* ===== Navbar ===== */
.navbar {
  background: linear-gradient(to right, rgba(255,102,0,0.9), rgba(192,192,192,0.9)) !important;
}
.navbar .nav-link,
.navbar-brand {
  color: #fff !important;
  transition: color 0.3s ease;
}
.navbar .nav-link:hover {
  color: #ffcc00 !important;
}

/* ===== Hero Section ===== */
header#home {
  background: linear-gradient(135deg, rgba(255,102,0,0.8) 0%, rgba(192,192,192,0.8) 100%),
              url('dash.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}

header#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

header#home h1 {
  animation: fadeInDown 1.5s ease;
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  letter-spacing: -1px;
}

header#home p {
  animation: fadeInUp 2s ease;
  font-size: 1.3rem;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
@keyframes fadeInDown {
  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); }
}
/* Micro-interactions for buttons */
.btn {
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  border: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transition: left 0.3s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-warning {
  background: linear-gradient(135deg, #ff6600 0%, #ffaa33 100%);
  color: #fff;
}

.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #51cf66 100%);
}

/* Micro-interactions for icons */
i {
  transition: transform 0.3s ease, color 0.3s ease;
}
i:hover {
  transform: scale(1.2);
  color: #ff6600;
}

/* ===== Section Titles ===== */
section h2 {
  position: relative;
  display: inline-block;
  width: 100%;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #212529;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #ff6600, #c0c0c0);
  border-radius: 2px;
}

/* ===== Service Cards ===== */
.card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
  z-index: 1;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255,102,0,0.25);
}

.card-body {
  position: relative;
  z-index: 2;
}

.card-title {
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.75rem;
}
.card i {
  transition: transform 0.3s ease, color 0.3s ease;
}
.card:hover i {
  transform: scale(1.2);
  color: #ff6600;
}

/* ===== Pricing Section ===== */
#pricing {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

#pricing .card-header {
  background: linear-gradient(135deg, #ff6600 0%, #ffaa33 100%);
  font-weight: 700;
  letter-spacing: 1px;
}

#pricing .card {
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 15px;
}

#pricing .card.border-warning,
#pricing .card.border-success {
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

#pricing .card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(255,102,0,0.3);
}

#pricing .card h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ff6600;
  margin-bottom: 0.5rem;
}


/* ===== Contact Form ===== */
form .form-control {
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #fff;
}

form .form-control:focus {
  border-color: #ff6600;
  box-shadow: 0 0 0 3px rgba(255,102,0,0.1);
  transform: translateY(-2px);
}

form .form-label {
  color: #212529;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ===== FAQs Section ===== */
#faqs {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* ===== FAQs Accordion ===== */
.accordion-button {
  background: #f8f9fa;
  font-weight: 600;
  color: #212529;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.accordion-button:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(255,102,0,0.1);
  border-color: #ff6600;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #ff6600 0%, #ffaa33 100%);
  color: #fff;
  box-shadow: 0 5px 15px rgba(255,102,0,0.3);
}

/* ===== About Us ===== */
#about {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#about p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  font-weight: 500;
}

#about .img-fluid {
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(255,102,0,0.2);
  transition: all 0.4s ease;
}

#about .img-fluid:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 20px 50px rgba(255,102,0,0.3);
}

/* Footer Styling */
footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #ff6600, #ffaa33, #ff6600);
}

footer a {
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #ff6600, #ffaa33);
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

footer a:hover {
  color: #ffaa33;
}

/* Social Icons Glow */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.social-icon:hover::before {
  width: 100px;
  height: 100px;
}

.social-icon i {
  transition: all 0.3s ease;
  z-index: 1;
  color: #fff;
}

.social-icon:hover i {
  transform: scale(1.3) rotate(10deg);
  color: #ffaa33;
  text-shadow: 0 0 15px rgba(255,170,51,0.8);
}

.service-img,
.vehicle-gallery .card-img-top,
.section-image {
  height: 220px;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(0.95);
}

.card:hover .service-img,
.card:hover .card-img-top {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.vehicle-gallery .card {
  border-radius: 15px;
  overflow: hidden;
}

.section-image {
  height: 260px;
  border-radius: 12px;
}

.map-container {
  min-height: 240px;
}


/* Nav active state and theme button */
.navbar .nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.25rem;
}

#theme-toggle {
  min-width: 48px;
  border-color: rgba(255, 255, 255, 0.6);
}

html[data-bs-theme="dark"] {
  background: #121212;
  color: #e9ecef;
}


/* ===== Utility and page-specific styles ===== */
html {
  scroll-behavior: smooth;
}

header#home .container {
  position: relative;
  z-index: 2;
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  z-index: 999;
  border-radius: 50%;
  padding: 12px 16px;
  box-shadow: 0 8px 25px rgba(255,102,0,0.3);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ff6600 0%, #ffaa33 100%);
  color: #fff;
  border: none;
  font-weight: bold;
}

#backToTop:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 12px 35px rgba(255,102,0,0.5);
}

.map-container {
  display: flex;
  justify-content: center;
}

.angled-divider {
  height: 30px;
  overflow: hidden;
}

.angled-divider.green {
  background: linear-gradient(135deg, #28a745, #198754);
}

.wave-divider {
  margin: 2rem 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}

.wave-divider.red svg path {
  fill: #dc3545;
}

.wave-divider.blue svg path {
  fill: #0d6efd;
}

.text-orange {
  color: #ff6600;
}

/* ===== Additional Beautiful Enhancements ===== */

/* Services Section */
#services {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 4rem 0;
}

/* Vehicles Section */
#vehicles {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 4rem 0;
}

/* ===== Chatbot Styles ===== */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Chatbot Button */
.chatbot-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6600 0%, #ffaa33 100%);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(255, 102, 0, 0.6);
}

.chatbot-button:active {
  transform: scale(0.95);
}

/* Notification Badge */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Chat Window */
.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.3s ease;
  z-index: 10000;
}

.chatbot-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.chatbot-header {
  background: linear-gradient(135deg, #ff6600 0%, #ffaa33 100%);
  color: white;
  padding: 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.chatbot-header h5 {
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
}

.chatbot-header p {
  margin: 5px 0 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
}

.close-btn:hover {
  transform: rotate(90deg);
}

/* Chat Messages */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8f9fa;
}

.message {
  display: flex;
  margin-bottom: 10px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bot-message {
  justify-content: flex-start;
}

.user-message {
  justify-content: flex-end;
}

.message-content {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 12px;
  word-wrap: break-word;
}

.bot-message .message-content {
  background: white;
  color: #333;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.user-message .message-content {
  background: linear-gradient(135deg, #ff6600 0%, #ffaa33 100%);
  color: white;
  border-radius: 12px;
}

.message-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Quick Reply Buttons */
.quick-replies {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.quick-reply {
  background: linear-gradient(135deg, #ff6600 0%, #ffaa33 100%);
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-weight: 500;
}

.quick-reply:hover {
  transform: translateX(5px);
  box-shadow: 0 3px 10px rgba(255, 102, 0, 0.3);
}

/* Chat Input Area */
.chatbot-input-area {
  display: flex;
  gap: 8px;
  padding: 15px;
  background: white;
  border-top: 1px solid #e0e0e0;
  border-radius: 0 0 12px 12px;
}

.chatbot-input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.chatbot-input:focus {
  border-color: #ff6600;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.send-btn {
  background: linear-gradient(135deg, #ff6600 0%, #ffaa33 100%);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 3px 10px rgba(255, 102, 0, 0.3);
}

.send-btn:active {
  transform: scale(0.95);
}

/* Scrollbar for Chat Messages */
.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ff6600, #ffaa33);
  border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #ffaa33, #ff6600);
}

/* Typing Indicator */
.typing-indicator {
  opacity: 0.8;
}

.typing-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #666;
}

.dots {
  display: flex;
  gap: 2px;
}

.dots span {
  animation: typing 1.5s infinite ease-in-out;
}

.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 600px) {
  .chatbot-window {
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    bottom: 0;
    right: 0;
    border-radius: 0;
    position: fixed;
  }

  .chatbot-container {
    bottom: 10px;
    right: 10px;
  }

  .chatbot-button {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .message-content {
    max-width: 85%;
  }
}

/* Testimonials Section */
#testimonials {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
}

#testimonials .card {
  border-radius: 12px;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#testimonials .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(255,102,0,0.15);
}

/* Why Us Section */
#why-us {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 4rem 0;
}

#why-us h5 {
  color: #ffaa33;
  font-weight: 700;
  margin-top: 1rem;
  font-size: 1.2rem;
}

#why-us p {
  color: #e9ecef;
  line-height: 1.8;
  font-weight: 500;
}

#why-us i {
  color: #ffaa33;
  transition: all 0.3s ease;
}

/* Contact Section */
#contact {
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  padding: 4rem 0;
}

/* Navbar Enhancement */
.navbar {
  box-shadow: 0 4px 15px rgba(255,102,0,0.2);
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Hero Button Enhancement */
header#home .btn {
  padding: 14px 32px;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

header#home .btn:hover {
  box-shadow: 0 12px 30px rgba(255,102,0,0.4);
}

/* Section Padding Optimization */
section {
  padding: 3.5rem 0;
}

/* Smooth transitions for all interactive elements */
* {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Enhanced text styling */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

p {
  font-weight: 400;
  letter-spacing: 0.3px;
}

