/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    transition: background-color 0.4s ease, color 0.4s ease;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Custom UI Tweaks */
::selection {
    background: rgba(15, 82, 186, 0.2);
    color: #0F52BA;
}

button:active {
    transform: scale(0.97);
}

/* Modal Animations */
@keyframes modalEnter {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-modal-enter {
    animation: modalEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Checkout & Form Inputs */
.checkout-input {
    @apply w-full p-4 rounded-3xl bg-slate-100 dark:bg-white/5 border border-transparent focus:border-primary focus:ring-0 transition-all outline-none text-slate-900 dark:text-white font-medium;
}

select.checkout-input {
    height: 3.5em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
    cursor: pointer;
}

.dark select.checkout-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
}

.dark .checkout-input {
    color-scheme: dark;
}

/* Legal Page Content */
.legal-content h2 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 900; /* font-black */
  margin-top: 3rem; /* mt-12 */
  margin-bottom: 1.5rem; /* mb-6 */
}

.legal-content p {
  font-size: 1.125rem; /* text-lg */
  line-height: 1.625; /* leading-relaxed */
  color: #64748b; /* text-slate-500 */
  margin-bottom: 2rem; /* mb-8 */
}

/* Dark mode */
.dark .legal-content p {
  color: #94a3b8; /* dark:text-slate-400 */
}

.legal-content ul {
  list-style-type: disc; /* list-disc */
  margin-left: 2rem; /* ml-8 */
  font-size: 1.125rem; /* text-lg */
  color: #64748b; /* text-slate-500 */
  margin-bottom: 2rem; /* mb-8 */
}

.legal-content ul > li + li {
  margin-top: 0.75rem; /* space-y-3 */
}

/* Dark mode */
.dark .legal-content ul {
  color: #94a3b8; /* dark:text-slate-400 */
}
.pricing-card-home {
  padding: 2.5rem; /* p-10 */
  background-color: #ffffff; /* bg-white */
  border-radius: 48px; /* rounded-[48px] */
  border: 1px solid #f1f5f9; /* border-slate-100 */

  display: flex;
  flex-direction: column;

  transition-property: all; /* transition-all */
  transition-duration: 300ms; /* duration-300 */
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode */
.dark .pricing-card-home {
  background-color: #0f172a; /* dark:bg-slate-900 */
  border-color: rgb(255 255 255 / 0.10); /* dark:border-white/10 */
}
.pricing-btn-home {
  width: 100%; /* w-full */
  padding-top: 1.25rem; /* py-5 */
  padding-bottom: 1.25rem;

  background-color: #f1f5f9; /* bg-slate-100 */
  border-radius: 1rem; /* rounded-2xl */
  font-weight: 900; /* font-black */
  border: none;
  cursor: pointer;

  transition-property: all; /* transition-all */
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-btn-home:hover {
  background-color: var(--color-primary); /* hover:bg-primary */
  color: #ffffff; /* hover:text-white */
}

.pricing-btn-home:active {
  transform: scale(0.95); /* active:scale-95 */
}

/* Dark mode */
.dark .pricing-btn-home {
  background-color: rgb(255 255 255 / 0.10); /* dark:bg-white/10 */
}

/* Feature Grid */
.feature-small-card {
  
    align-items: center;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;

  padding: 2rem; /* p-8 */
  background-color: #f8fafc; /* bg-slate-50 */
  border-radius: 1.5rem; /* rounded-3xl */
  border-width: 1px; /* border */
  border-style: solid;
  border-color: #f1f5f9; /* border-slate-100 */
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); /* shadow-sm */
  transition-property: transform; /* transition-transform */
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-small-card:hover {
  transform: translateY(-0.25rem); /* hover:-translate-y-1 */
}

/* Dark mode */
.dark .feature-small-card {
  background-color: rgb(255 255 255 / 0.05); /* dark:bg-white/5 */
  border-color: rgb(255 255 255 / 0.05); /* dark:border-white/5 */
}


/* Testimonials */
.testimonial-card {
  padding: 2.5rem; /* p-10 */
  background-color: #ffffff; /* bg-white */
  border-radius: 40px; /* rounded-[40px] */
  border: 1px solid #f1f5f9; /* border border-slate-100 */
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); /* shadow-sm */
}

/* Dark mode */
.dark .testimonial-card {
  background-color: #0f172a; /* dark:bg-slate-900 */
  border-color: rgb(255 255 255 / 0.10); /* dark:border-white/10 */
}
.faq-item {
  background-color: #ffffff; /* bg-white */
  border-radius: 1.5rem; /* rounded-3xl */
  border: 1px solid #f1f5f9; /* border-slate-100 */
  overflow: hidden;
  transition-property: all; /* transition-all */
  transition-duration: 300ms; /* duration-300 */
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode */
.dark .faq-item {
  background-color: #0f172a; /* dark:bg-slate-900 */
  border-color: rgb(255 255 255 / 0.10); /* dark:border-white/10 */
}
.faq-btn {
  width: 100%; /* w-full */
  padding: 1.5rem; /* p-6 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700; /* font-bold */
  text-align: left;
  color: #0f172a; /* text-slate-900 */
  background: none;
  border: none;
  cursor: pointer;

  transition-property: color; /* transition-colors */
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-btn:hover {
  color: var(--color-primary); /* hover:text-primary */
}

/* Dark mode */
.dark .faq-btn {
  color: #ffffff; /* dark:text-white */
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition-property: all; /* transition-all */
  transition-duration: 300ms; /* duration-300 */
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); /* ease-in-out */
}

.faq-item.active .faq-content {
  max-height: 300px; /* max-h-[300px] */
}
.faq-item.active {
  /* ring-2 ring-primary/20 */
  box-shadow: 0 0 0 2px rgb(var(--color-primary-rgb) / 0.20);
}

.faq-item.active .material-symbols-outlined {
  transform: rotate(180deg); /* rotate-180 */
  color: var(--color-primary); /* text-primary */
  transition: transform 300ms ease, color 150ms ease;
}


/* Hide scrollbar but keep functionality */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.vehicle-type-card {
  display: flex; /* flex */
  flex-direction: column; /* flex-col */
  align-items: center; /* items-center */
  justify-content: center; /* justify-center */

  transition-property: all; /* transition-all */
  transition-duration: 300ms; /* duration-300 */
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.vehicle-type-card:hover {
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
  /* hover:border-primary/50 */
}

/* Dark mode */


/* Styling for PNG icons */


/* Optional: invert icons in dark mode */
/*
.dark .vehicle-type-card img {
  filter: invert(1);
}
*/


/* Dark mode text */
.dark .vehicle-type-card span {
  color: #e2e8f0; /* dark:text-slate-200 */
}

.vehicle-slide {
    padding: 1em 0 !important;
    margin: 0 1em !important;
    border: 1px solid var(--Border, #E1E1E1);
    border-radius: 8px;
}

.checkout-input {
    border: 1px solid var(--Border, #E1E1E1);
    height: 3em;
    width: 100%;
    padding: 1em;
    border-radius: 10px;
}

/* Hide native select styling */
select.checkout-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

}

/* Hide IE arrow */
select.checkout-input::-ms-expand {
  display: none;
}
