.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 70vh;
  padding: 0 50px;
  padding-bottom: 50px;
  margin-bottom: 20px;
}
  
.hero-top {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}
  
.hero-text {
  margin-left: 50px;
  font-weight: bold;
  text-shadow: 2px 2px 4px #2f009a;
}
  
.hero-subtitle {
  font-size: 1.5rem;
  margin-top: 10px;
}

.search-bar {
  display: flex;
  align-items: center;
  border: 2px solid #2f009a;
  border-radius: 50px;
  background-color: #f5f5f7;
  padding: 10px 20px;
  max-width: 900px;
  position: relative;
  width: 100%;
}

.hero-search {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-right: 50px;
  margin-left: 30px;
  width: 100%;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: #2f009a;
  min-width: 100%;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.search-bar input::placeholder {
  color: #2f009a;
}

.btn-icon {
  background: none;
  border: none;
  position: absolute;
  right: 20px;
  padding: 0;
  color: #2f009a;
  cursor: pointer;
}

.btn-icon i {
  font-size: 1.5rem;
}

.btn-icon:hover {
  background-color: #f5f5f7;
}

.more-options-toggle button {
  background: none;
  border: none;
  color: var(--lavender);
  text-decoration: none;
  cursor: pointer;
  text-shadow: 2px 2px 4px var(--deep-purple);
}

.more-options-toggle button:hover {
  color: var(--primary-text);
}

.additional-options-form {
  /* background: var(--soft-white); */
  padding: 20px;
  border-radius: 10px;
  border: 2px solid var(--deep-purple);
  margin-top: 10px;
}

.form-label {
  color: var(--primary-text);
}

#more-options-toggle {
  font-size: 1.3rem;
}

.btn-outline-custom {
  border: 1px solid var(--lavender);
  color: var(--lavender);
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
}

.btn-outline-custom:hover {
  background-color: var(--lavender);
  color: var(--soft-white);
}

.btn-outline-custom i {
  color: var(--lavender);
  pointer-events: none;
}

.btn-outline-custom:hover i {
  color: var(--soft-white);
}

.custom-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--cool-gray);
  background-color: var(--charcoal);
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.custom-checkbox:checked {
  background-color: var(--lavender);
  border-color: var(--lavender);
}

.custom-checkbox:checked::after {
  content: '✔';
  color: white;
  display: block;
  text-align: center;
  font-size: 0.8rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

@media (max-width: 768px) {
  .hero-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-text {
    margin-bottom: 10px;
    text-align: center;
    margin-left: 0;
  }

  .hero-title {
    margin: 0;
    text-align: center;
  }

  .hero-subtitle {
    margin-top: 10px;
    text-align: center;
  }

  .search-bar {
    max-width: 90%;
    margin: 10px auto;
    padding: 5px 10px;
    height: 40px;
  }

  .hero-search {
    margin: 0 auto;
    width: 100%;
  }

  .search-bar input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: #003161;
    padding-right: 40px;
    height: 100%;
    box-sizing: border-box;
  }

  .search-bar input::placeholder {
    color: #003161;
  }

  .search-bar .btn-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #003161;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .search-bar .btn-icon:hover {
    color: #006A67;
  }

  .hero-top ul {
    margin-top: 10px;
    padding: 0;
    list-style-type: none;
    text-align: center;
  }

  .hero-top ul li {
    margin-bottom: 5px;
    display: inline-block;
  }
}
