.hero {
  scroll-margin-top: 70px; /* Clears the sticky navbar when jumped to via #hero */
  position: relative; /* To position elements within the hero */
  min-height: 70vh; /* Adjust height as needed */
  width: 100vw; /* Full width of the viewport */
  margin: 0; /* Remove any default margins */
  padding: 1vw; /* Add some padding */
  color: white; /* Text color */
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align items to the left */
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the container */
  z-index: -1; /* Puts the image behind the text */
}

.text-container {
  max-width: 35vw; /* Set a max width for the text container */
  z-index: 1; /* Puts the text in front of the image */
}

/* Hero Section Attribution Styles */
.hero-attribution {
  position: absolute;
  font-size: 12px;
  color: #ccc; /* Attribution text color */
  top: 10px; /* Adjust bottom position as needed */
}

.hero-attribution-left {
  left: 10px; /* Adjust left position for left alignment */
}

.hero-attribution-right {
  right: 10px; /* Adjust right position for right alignment */
}


@media only screen and (max-width: 600px) {
  .text-container {
      max-width: 92vw;
      font-size: 14px;
  }
}


.card-attribution {
  font-size: 12px;
  color: #ccc; /* Attribution text color */
  margin-top: 10px; /* Adjust space above attribution */
}

.card-attribution-left {
  position: absolute;
  bottom: 10px; /* Adjust bottom position as needed */
  left: 10px; /* Adjust left position as needed */
}

.card-attribution-right {
  position: absolute;
  bottom: 10px; /* Adjust bottom position as needed */
  right: 10px; /* Adjust right position as needed */
}

.standard-attribution {
  font-size: 12px; /* Attribution text size */
  color: #ccc; /* Attribution text color */
}

.standard-attribution-left {
  position: absolute;
  bottom: 10px; /* Adjust bottom position for left alignment */
  left: 10px; /* Adjust left position */
}

.standard-attribution-right {
  position: absolute;
  bottom: 10px; /* Adjust bottom position for right alignment */
  right: 10px; /* Adjust right position */
}


.fa-brands {
padding: 20px;
font-size: 30px;
width: 30px;
}
/* Add a hover effect if you want */
.fa-brands:hover {
opacity: 0.7;
}
@media only screen and (max-width: 600px) {
.fa-brands {
    padding: 10px;
    margin-right:10px;
    font-size: 20px;
    width: 15px;

  }
}
.pricing-info {
font-size: 20px
}
@media only screen and (max-width: 600px) {
.pricing-info {
font-size: 15px
  }
}

.input-icon {
position: relative;
}
.input-icon i {
position: absolute;
padding-left: 5px;
left: 10px;
top: 50%;
transform: translateY(-50%);
color: #6c757d; /* Icon color */
}
.input-icon input, .input-icon textarea {
padding-left: 35px; /* Add padding to the left to prevent overlap with the icon */
}

.banner {
  background-color: #f4580b; 
  color: #F2F2F2;
  border-radius: 10px;
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;     /* Centers vertically */
  padding: 5vh;           /* Set a height for the div */
}

.how-it-works-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #f4580b;
  color: #F2F2F2;
  font-size: 1.4rem;
  font-weight: bold;
}

.contact-form-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  border: 2px solid #f4580b;
  border-radius: 10px;
  text-align: center;
  height: 100%;
  box-sizing: border-box; /* Ensure padding is inside the container */
}

.form-title {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 0 10px;
  font-size: 24px;
  color: #f4580b;
}


input, textarea {
  margin-bottom: 10px; /* Adjust spacing between inputs */
}

.form-control {
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
}


.postcode-input, #findfood, #useMyLocationBtn {
  height: 40px; /* Set consistent height for input and button */
  box-sizing: border-box; /* Ensure padding doesn't add extra height */
}


#findfood {
  padding: 0 15px; /* Optional: Adjust padding for a better button size */
}

#useMyLocationBtn {
  padding: 0 12px; /* Optional: Adjust padding for a better button size */
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
  opacity: 1;
}

#useMyLocationBtn:hover,
#useMyLocationBtn:focus {
  color: #fff;
  background-color: #23272b;
  border-color: #23272b;
}

.vans {
  transition: transform 0.2s, box-shadow 0.2s; /* Smooth transition for both */
}

.vans:hover {
  transform: scale(1.05); /* Slightly enlarge the card */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
  cursor: pointer; /* Show pointer cursor */
}


/*  */

.vans-card-body {
  display: flex; /* Use flexbox for layout */
  position: relative; /* Set position to relative for absolute positioning of icons */
}

.vans-text-area {
  flex-grow: 1; /* Allow text area to take remaining space */
}

.vans-icon-grid {
  /* A normal flex item alongside .vans-text-area (see the card-body
     d-flex in findfood.html) - absolute positioning here used to pull it
     out of flow with no positioned ancestor, so it just floated over
     whatever text happened to be underneath once the address ran long. */
  flex-shrink: 0;
  margin-left: 10px;
  display: grid; /* Use grid for icon layout */
  grid-template-columns: repeat(2, 24px); /* 2 fixed-width columns */
  gap: 5px; /* Space between icons */
}

.vans-icon {
  font-size: 24px; /* Adjust size of icons */
  color: #007bff; /* Change color as needed */
  text-align: center; /* Center icons */
}

/* Optional: Add hover effect on icons */
.vans-icon:hover {
  color: #0056b3; /* Change color on hover */
}

.plot-location-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 24px 28px 28px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.plot-location-hint {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 18px;
}

#plot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.plot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #fff5ef;
  border: 1px solid rgba(244, 88, 11, 0.25);
  border-radius: 10px;
  font-size: 14px;
}

.plot-item-text {
  overflow-wrap: anywhere;
}

.plot-item .delete-btn {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #f4580b;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.plot-item .delete-btn:hover {
  background-color: #f4580b;
  color: #fff;
}

#upcoming-locations {
  scroll-margin-top: 70px; /* Clears the sticky navbar when jumped to via #upcoming-locations */
}

#submitLocationsBtn:disabled {
  background-color: #e9ecef;
  border-color: #e9ecef;
  color: #adb5bd;
  opacity: 1;
  cursor: not-allowed;
}

.preview-card-stack {
  max-width: 380px;
  margin: 0 auto;
}

.preview-label {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #6c757d;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}

.recaptcha-text-center {
  text-align: center; /* Center the text */
}

.recaptcha-container {
  display: inline-block; /* Keep reCAPTCHA centered */
}

.success {
  color: green;
  font-weight: bold;
}

.error {
  color: red;
  font-weight: bold;
}

/* Below sm, reflow the Upcoming/Previous Locations tables into stacked
   cards so the Select checkbox and Edit button don't require horizontal
   scrolling to reach. */
@media only screen and (max-width: 576px) {
  /* The stacked card layout below already labels each field via
     data-label, so the desktop header row would just duplicate them. */
  .location-table thead {
    display: none;
  }

  .location-table, .location-table tbody {
    display: block;
    width: 100%;
  }

  .location-table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 6px;
    column-gap: 14px;
    background-color: #fff !important; /* override the bg-warning fill used for desktop row striping */
    border: 2px solid #f4580b;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 10px 12px;
  }

  .location-table td {
    background-color: transparent !important;
    border: none;
    padding: 0;
  }

  .location-table td[data-label="Address"],
  .location-table td[data-label="Start"],
  .location-table td[data-label="End"],
  .location-table td[data-label="Custom Menu"] {
    flex-basis: 100%;
    display: flex;
    justify-content: space-between;
  }

  .location-table td[data-label="Address"]::before,
  .location-table td[data-label="Start"]::before,
  .location-table td[data-label="End"]::before,
  .location-table td[data-label="Custom Menu"]::before {
    content: attr(data-label);
    font-weight: 600;
    color: #6c757d;
    margin-right: 12px;
  }
}
