/* ============================================
   Hero Section
   ============================================ */
.hero {
  width: 100%;
  background: #019147;
  padding: var(--spacing-4xl) var(--container-padding);
  margin-bottom: 0;
  /*padding-bottom: calc(var(--spacing-4xl) + 85px);*/
  position: relative;
  overflow: visible;
}

.hero-pattern {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero-pattern img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.hero-pattern-1 {
  top: -24px;
  right: 0;
  width: 251.88px;
  height: 267.49px;
}

.hero-pattern-2 {
  top: 260px;
  left: -15px;
  width: 254px;
  height: 265.23px;
}

.hero-container { 
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 var(--container-padding);
}

.hero-content {
  text-align: center;
  /*margin-bottom: var(--spacing-3xl);*/
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: var(--font-size-3xl);
  font-weight: bold;
  color: var(--color-bg-white);
  /*margin-bottom: var(--spacing-md);*/
}

.hero-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-bg-white);
  max-width: 700px;
  margin: 0 auto;
}

/* Hero Search Bar */
.hero-search {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-secondary, #e9eaeb);
  border-radius: var(--radius-2xl, 16px);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08), 0px 4px 6px -2px rgba(10, 13, 18, 0.03),
    0px 2px 2px -1px rgba(10, 13, 18, 0.04);
  position: absolute;
  bottom: -85px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  box-sizing: border-box;
}

.hero-search-row {
  display: flex;
  gap: var(--spacing-md, 16px);
  align-items: left;
  width: 100%;
}

.hero-search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-primary, #d5d7da);
  border-radius: var(--radius-md, 8px);
  padding: 10px 14px;
  height: 51px;
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
}


.hero-search-input {
  flex: 1;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-text-primary);
  outline: none;
  text-align: right;
  width: 100%;
}

.hero-search-input::placeholder {
  color: var(--color-text-placeholder, #717680);
}

.hero-search-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: var(--spacing-md, 8px);
  margin-left: 20px;
}

.hero-search-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.hero-search-select-wrapper {
  position: relative;
  width: 160px;
  height: 51px;
  align-self: left;
}

.hero-search-select-wrapper .form-select-container {
  width: 100%;
  height: 100%;
}

/* Select styles moved to shared_css/select.css */

.hero-search-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  background: var(--color-button-primary);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-family: 'Questrial', sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 24px;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
  position: relative;
  flex-shrink: 0;
  height: 51px;
  justify-content: center;
}

.hero-search-button::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0px 0px 0px 1px rgba(10, 13, 18, 0.18), inset 0px -2px 0px 0px rgba(10, 13, 18, 0.05);
  border-radius: 8px;
}

@media(max-width:768px){
  .page-hero{
    padding: 15px 25px !important;
  }
}