/* ===========================
   Base Background & Banner
=========================== */
.bg-light-green {
  background: linear-gradient(180deg, #e6faff 0%, #f7fdff 100%);
}

.recruit-banner {
  position: relative;
  width: 100%;
  min-height: 50vh;
  /* Adjust banner height */
  margin: 0;
  padding: 0;
  border-bottom: 5px solid #0096c7;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* maintain aspect ratio */
  display: block;
}

.banner-content {
  position: absolute;
  top: 15%;
  /* Move content closer to top */
  left: 50%;
  transform: translateX(-50%);
  /* Only horizontal centering */
  max-width: 800px;
  padding: 1.5rem;
  text-align: center;
  z-index: 2;
}

.banner-content h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  white-space: normal;
}

.banner-content p {
  font-size: 1rem;
  max-width: 95%;
  margin: 0 auto;
  word-wrap: break-word;
}

/* Buttons stack on small screens */
.banner-content .d-flex {
  flex-direction: column;
}

.banner-content .btn {
  width: 100%;
}

/* Small screens adjustments */
@media (max-width: 576px) {
  .recruit-banner {
    min-height: 35vh;
    /* shorter banner on mobile */
  }

  .banner-content {
    position: relative;
    /* allow text to flow naturally */
    top: auto;
    left: auto;
    transform: none;
    padding: 1rem;
    width: 95%;
  }

  .banner-content h1 {
    font-size: 1.5rem;
  }

  .banner-content p {
    font-size: 0.95rem;
  }

  .banner-content .d-flex {
    gap: 0.5rem;
  }
}

/* Medium screens */
@media (min-width: 577px) and (max-width: 768px) {
  .recruit-banner {
    min-height: 40vh;
  }

  .banner-content h1 {
    font-size: 1.8rem;
  }

  .banner-content p {
    font-size: 0.98rem;
  }
}

/* ===========================
   Card & Button Styles
=========================== */
.card {
  border: none;
  border-radius: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #ffffff;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 150, 199, 0.1);
}

.btn-success {
  background-color: #00b4d8;
  border-color: #00b4d8;
}

.btn-success:hover {
  background-color: #0096c7;
  border-color: #0077b6;
}

/* ===========================
   Job Header Section
=========================== */
.job-header {
  text-align: center;
  margin-bottom: 20px;
}

.search-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #014f86;
  /* Deep aqua blue for emphasis */
}

/* ===========================
   Search Bar Container
=========================== */
.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
  background: linear-gradient(180deg, #e6faff 0%, #f7fdff 100%);
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(0, 150, 199, 0.1);
}

/* ===========================
   Left & Right Search Boxes
=========================== */
.search-box-left,
.search-box-right {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #b2ebf2;
  padding: 12px 18px;
  transition: all 0.3s ease;
}

.search-box-left {
  flex: 1;
  border-radius: 30px 0 0 30px;
}

.search-box-right {
  flex: 1;
  border-radius: 0 30px 30px 0;
  margin-left: -1px;
}

.search-box-left:hover,
.search-box-right:hover {
  background: #e0f7fa;
  border-color: #00b4d8;
}

/* ===========================
   Input Fields
=========================== */
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px;
  outline: none;
  color: #014f86;
  font-size: 15px;
}

.search-input::placeholder {
  color: #7bc5d3;
}

/* ===========================
   Icons
=========================== */
.search-icon,
.location-icon {
  margin-right: 10px;
  color: #00b4d8;
  font-size: 1.1rem;
}

/* ===========================
   Search Button
=========================== */
.search-btn {
  background-color: #00b4d8;
  border: none;
  padding: 15px 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-left: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 180, 216, 0.3);
}

.search-btn:hover {
  background-color: #0077b6;
  transform: translateY(-2px);
}

/* ===========================
   Cookie Alert (Footer)
=========================== */
.cookie-alert {
  background: #f1fcff;
  color: #014f86;
  border-radius: 1rem;
  border: 1px solid #b2ebf2;
}

.cookie-alert .btn-primary {
  background-color: #00b4d8;
  border: none;
}

.cookie-alert .btn-primary:hover {
  background-color: #0096c7;
}

/* ===========================
   Typography
=========================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #014f86;
  font-family: 'Poppins', sans-serif;
}

p,
a,
li,
input,
button {
  font-family: 'Open Sans', sans-serif;
}

a {
  color: #0096c7;
  text-decoration: none;
}

a:hover {
  color: #0077b6;
  text-decoration: underline;
}