:root {
  --color-primary: #2a2aff;
  --color-secondary: #fbf8ff;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: white;
  color: #fffefe;
}

.hero-section {
  background-image: url("/images/Herosection.webp");
  background-size: cover;
  background-position: center 150%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100vw;
  height: 100vh;
}

@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 60vh;
    background-attachment: scroll;
  }
}

.bg-card {
  background-color: #081a2b;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

.btn-primary:hover {
  background-color: #2a2aff;
}

.text-highlight {
  color: rgb(255, 234, 0);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--color-primary);
}

.icon-check {
  color: rgb(255, 234, 0);
}

.footer-bg {
  background-color: var(--color-primary);
}

.form-input,
.form-select {
  background-color: #374151;
  border-color: #4b5563;
  color: var(--color-secondary);
}

.form-input::placeholder,
.form-select {
  color: #9ca3af;
}

.form-select option {
  background-color: #374151;
  color: var(--color-secondary);
}

.vehicle-card {
  background-color: #fbfcfd;
  border-radius: 0.5rem;
  padding: 2.5rem;
  transition: transform 0.3s ease;
  color: #222;
}

.vehicle-card:hover {
  transform: translateY(-5px);
}

.stat-card {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
}

.news-card {
  background-color: #1f2937;
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-item {
  background: white;
  border-radius: 0.5rem;
  border-color: var(--color-primary);
  padding: 1rem 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.text-contrast {
  color: #222 !important;
}

.bg-yellow-contrast {
  background-color: #b7791f !important;
  color: #fff !important;
}

.font-normal-contrast {
  color: #374151 !important;
}

.call-icon {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--color-primary);
  color: white;
  border-radius: 9999px;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  animation: ringing 1.5s infinite;
  z-index: 1000;
}

.call-icon svg {
  width: 28px;
  height: 28px;
}

.call-icon:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-120%);
}

.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background-color: #1d4ed8;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 1001;
}

.whatsapp-icon {
  position: fixed;
  bottom: 8.5rem;
  right: 1.5rem;
  background-color: #25d366;
  color: white;
  border-radius: 9999px;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  /* animation: pop 1.5s infinite; */
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-icon svg {
  width: 28px;
  height: 28px;
}

.whatsapp-icon:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-120%);
}

@keyframes ringing {
  0% {
    transform: rotate(0deg);
  }
  1% {
    transform: rotate(15deg);
  }
  3% {
    transform: rotate(-10deg);
  }
  5% {
    transform: rotate(15deg);
  }
  7% {
    transform: rotate(-10deg);
  }
  9% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

#mobile-menu-overlay.show {
  display: block !important;
}

#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu-overlay.show #mobile-menu {
  transform: translateX(0);
}

@media (max-width: 1023px) {
  #menu-btn {
    display: block !important;
  }
}

@media (min-width: 1024px) {
  #menu-btn {
    display: none !important;
  }
}

/* Services page inline styles converted to classes */
.text-color-primary {
  color: var(--color-primary);
}

.text-color-black {
  color: black;
}

/* CSS to unify image container sizes in fleet section */
.fleet-section .relative {
  width: 300px;
  height: 200px;
  margin-left: auto;
  margin-right: auto;
}
