body {
  font-family: "Poppins", sans-serif;

  margin: 0;
  padding: 0;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* Navigation bar */
.navbar {
  background-color: #ffcc00; /* Bright orange */
  padding: 0.8rem 1rem; /* Adds spacing on the left and right */
}

.navbar-brand {
  font-size: 1.5rem; /* Slightly larger font for the brand name */
  font-weight: 600; /* Bolder text for prominence */
  color: #2f3942; /* White text for the brand */
  position: relative;
}

.navbar-brand img {
  height: 60px; /* Increase the height of the image */
  margin-right: 10px;
  margin-left: 6vw;
  position: absolute; /* Position the image absolutely */
  top: 50%; /* Center the image vertically relative to the navbar-brand */
  transform: translateY(-50%); /* Adjust the image to be centered */
}

.navbar-nav .nav-link {
  font-size: 1.1rem; /* Make the nav links slightly bigger */
  padding: 8px 15px; /* Add more padding for a balanced look */
  color: #2f3942 !important; /* Ensure white text */
}

.navbar-nav .btn {
  font-size: 1rem; /* Adjust button text size */
  padding: 10px 20px; /* Make the buttons look more prominent */
}

.navbar-nav .btn-light {
  background-color: #2f3942; /* Light yellow-orange button background */
  color: #fafaf9; /* Green text */
  border: none; /* Remove border */
}

.navbar-nav .btn-outline-light {
  border: 2px solid #2f3942; /* Make outline more prominent */
  color: #2f3942; /* White text */
}

.navbar-toggler {
  border-color: #2f3942; /* Ensure white color for the toggle icon */
}

.navbar-collapse {
  justify-content: flex-end; /* Ensure nav items are aligned to the right */
}

/* Hero section */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

  background-size: cover;
  color: #2f3942; /* White text */
  text-align: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(90deg, #4caf50 50%, #ffcc00 50%); */
  opacity: 0.9; /* Subtle overlay on the background image */
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-weight: 700;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.25rem;
  margin-top: 15px;
}

.btn-primary {
  padding: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #2f3942;
  border: none;
  border-radius: 5px;
  background: #ffcc00;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  color: #ffcc00;
  background: #2f3942;
}

/* Buttons */
.btn-outline-light {
  color: #2f3942; /* White */
  border-color: #2f3942;
}

.btn-light {
  color: #ffcc00; /* Green */
  background-color: #ffcc00; /* Light yellow-orange */
  border-color: #ffcc00;
}

/* About section */
.about-section {
  background-color: #9e9e9e; /* Gray background */
  color: #2f3942; /* White text */
  padding: 50px 20px;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.25rem;
}

/* Footer */
.footer {
  background-color: #ffcc00; /* Green footer */
  color: #2f3942; /* White text */
  padding: 10px 0;
  text-align: center;
  
}

.alert-construction {
  background-color: #ffcc00; /* Light yellow-orange */
  color: black;
  border-color: #ffcc00;
}

/* Hero section styling */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
  background-color: #f4f4f9;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.vin-input-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.vin-input {
  padding: 10px;
  width: 300px;
  font-size: 1.1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.btn-decode {
  
  width: 300px;
  padding: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #2f3942;
  border: none;
  border-radius: 5px;
  background: #ffcc00;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-decode:hover {
  color: #ffcc00;
  background: #2f3942;
}

.btn-checkvin {
  margin-top: 1vw;
  width: 300px;
  padding: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #2f3942;
  border: none;
  border-radius: 5px;
  background: #ffcc00;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-checkvin:hover {
  color: #ffcc00;
  background: #2f3942;
}

/* App Links Section Styling */
.app-links-section {
  margin-top: 30px; /* Space between the button and the app icons */
  color: #333;
}

.app-links {
  display: flex;
  justify-content: center;
}

.app-store-badge {
  height: 50px;
  transition: transform 0.2s;
}

.app-store-badge:hover {
  transform: scale(1.05);
}

.btn-primary {
  /* margin-top: 20px; */
}

.vin-plate-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.plate-input-container, .vin-input-container {
    flex: 1;
    min-width: 210px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}



.plate-input, .state-select {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 1.1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.vin-input {
    width: 100%;
    padding: 10px;
    font-size: 1.1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

.btn-decode, .btn-checkvin, .btn-checkplate {
    width: 100%;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2f3942;
    border: none;
    border-radius: 5px;
    background: #ffcc00;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-checkvin, .btn-checkplate {
    margin-top: 10px;
}

.btn-decode:hover, .btn-checkvin:hover, .btn-checkplate:hover {
    background: #2f3942;
    color: #ffcc00;
}

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: conic-gradient(#3498db 10%, transparent 10%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.bouncing-dots {
    display: flex;
    justify-content: space-between;
    width: 60px;
    margin-bottom: 10px;
}

.bouncing-dots div {
    width: 15px;
    height: 15px;
    background-color: #3498db;
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.bouncing-dots div:nth-child(2) {
    animation-delay: 0.2s;
}

.bouncing-dots div:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    to {
        transform: translateY(-15px);
    }
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f44336;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Custom style for reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden;
    opacity: 0.3;
    transition: opacity 0.3s ease-in-out;
}

/* Show the badge on hover */
.grecaptcha-badge:hover {
    visibility: visible;
    opacity: 1;
}

/* Responsive styles for mobile view */
@media (max-width: 768px) {
    .vin-plate-container {
        flex-direction: column; /* Stack elements vertically on smaller screens */
        align-items: center; /* Center items horizontally */
    }

    .vin-input-container, .plate-input-container {
        width: 90%; /* Use a percentage width for better responsiveness */
        max-width: none; /* Remove max-width to allow full width */
        margin-bottom: 0px; /* Add space between stacked elements */
        
        box-sizing: border-box; /* Include padding in the element's total width and height */
    }

}

/* Professional Cookie Consent Banner */
#consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2f3942;
    color: #ffffff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-family: inherit;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease-in-out;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cookie-icon {
    font-size: 1.6rem;
    color: #ffcc00;
    flex-shrink: 0;
}

.cookie-text h6 {
    margin: 0 0 6px 0;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
}

.cookie-text p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-accept, 
.btn-settings {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
}

.btn-accept {
    background-color: #ffcc00;
    color: #2f3942;
}

.btn-accept:hover {
    background-color: #ffdc4e;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-settings {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-settings:hover {
    border-color: #ffcc00;
    color: #ffcc00;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        padding: 15px;
    }

    .cookie-content {
        width: 100%;
    }

    .cookie-actions {
        width: 100%;
        margin-top: 15px;
    }

    .btn-accept, 
    .btn-settings {
        flex: 1;
        text-align: center;
    }
}

/* Add a pulsing animation for the New badge */
@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.badge.rounded-pill.bg-primary {
  animation: pulse 1.5s infinite ease-in-out;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.5);
}

/* Position the feature badge in the upper right corner of the text */
.feature-badge {
  position: relative;
  top: -8px;
  right: -2px;
  animation: pulse 1.5s infinite ease-in-out;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25em 0.5em;
  box-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
}
