@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ================= COMPLETE AUTOFILL FIX ================= */


* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #f1f5f9;
}

a {
  text-decoration: none;
}

li>a {
  text-decoration: none;
  color: white;
}

::selection {
  background: #091d33;
  color: white;
}

::-moz-selection {
  background: #091d33;
  color: white;
}

.inter-font {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.syne-font {
  font-family: sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.text-cyan-color {
  color: #18a99c;
}

.bg-cyan-color {
  background-color: #18a99c;
}

.bg-grey-color {
  background-color: #f1f5f9;
}

.text-blue-color {
  color: #091d33;
}

.bg-blue-color {
  background-color: #091d33;
}

.header-logo {
  max-height: 9vh;
  max-width: 20vw;
  background-color: transparent;
}



.my-btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.2s ease-in-out;
  background-color: #fff;
  color: #091d33;
  border-color: #091d33;
}

.my-btn2 {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.2s ease-in-out;
  background-color: #fff;
  color: #091d33;
  border-color: #091d33;
}

.my-btn2:hover {
  background-color: #18a99c;
  color: #fff;
  border: 2px solid #18a99c;
}

.my-btn:hover {
  background-color: #091d33;
  color: #fff;
  border: 2px solid #091d33;
}

.my-btn2:focus {
  outline: none;
}

.my-btn:focus {
  outline: none;
}

.my-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.button {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: none;
  color: #0f1923;
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  transition: all .15s ease;
}

.button_lg {
  position: relative;
  display: block;
  padding: 10px 20px;
  color: #fff;
  background-color: #091d33;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  background-color: #091d33;
}

.button_lg::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4px;
  height: 4px;
  background-color: #091d33;
  transition: all .2s ease;
}

.button_sl {
  display: block;
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -8px;
  width: 0;
  background-color: #18a99c;
  transform: skew(-15deg);
  transition: all .2s ease;
}

.button_text {
  position: relative;
}

.button:hover {
  color: #091d33;
}

.button:hover .button_sl {
  width: calc(100% + 15px);
}

.button:hover .button_lg::after {
  background-color: #fff;
}

.border-input-index-hero-end {
  border: 1px solid black;
  border-top: 0px;
  border-left: 0px;
  border-bottom: 0px;
}

.carousel img {
  max-height: 60px;
  transition: .2s;
}

.carousel img:hover {
  filter: none;
  transform: scale(1.1);
}

.choose-card {
  transition: .3s;
}

.choose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

.city-section {
  background: #fff;
}

.city-card {
  width: 130px;
  height: 140px;
  border: 1px solid #eee;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: .3s;
}

.city-card img {
  width: 100px;
  margin-bottom: 10px;
}

.city-card p {
  margin: 0;
  font-weight: 500;
}

.city-card:hover,
.city-card.active {
  background: #fff2f2;
}

.hero-search-bar {
  border-radius: 50px;
  padding: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  gap: 10px;
}

.hero-search-bar input,
.hero-search-bar select {
  border: none;
  outline: none;
  padding: 12px 15px;
  flex: 1;
  font-size: 15px;
}

.hero-search-bar input:not(:last-child),
.hero-search-bar select {
  border-right: 1px solid #ddd;
}

.hero-search-bar button {
  background: #091d33;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
}

.city-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.city-scroll .col {
  scroll-snap-align: center;
  min-width: 140px;
}

.city-scroll::-webkit-scrollbar {
  display: none;
}

.testimonial-container {
  margin: auto;
}

.testimonial {
  display: none;
  background: white;
  padding-block: 30px;
  padding-inline: 10px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.testimonial img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.testimonial p {
  font-size: 15px;
  margin: 15px 0;
}

.testimonial h6 {
  margin: 0;
  font-weight: 600;
}

.testimonial span {
  font-size: 13px;
  color: #777;
}

.t-nav {
  border: none;
  background: #0d2a4a;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.t-nav:hover {
  background: #ff3b3b;
}

.testimonial.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.about-main-hero {
  background-image: url('/assets/images/about-bg-img.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 80vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-main-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.about-main-content {
  color: white;
  text-align: center;
  z-index: 3;
}

.team-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #666;
  margin-bottom: 40px;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.team-card {
  background: #091d33;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  color: white;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-card h3 {
  margin: 10px 0 5px;
}

.role {
  color: #007bff;
  font-weight: 600;
}

.bio {
  font-size: 14px;
  color: #555;
}

.register-form-section {
  width: 100%;
  background-image: url('/assets/images/trail-1.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.register-form-section::before {
  content: '';
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
  width: 100%;
  top: 0;
  left: 0;
}

.recruiter-section {
  width: 100%;
  background-image: url('/assets/images/recruiter-register-bg--img.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.recruiter-section::before {
  content: '';
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  width: 100%;
  top: 0;
  left: 0;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
  padding: 40px;
  max-width: 900px;
  margin: auto;
}

.input-field {
  position: relative;
  margin: 18px 0;
  padding: 0 10px;
}

.input-field input,
.input-field select,
.input-field textarea {
  width: 100%;
  height: 44px;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  outline: none;
  color: #ffffff;
  font-size: 15px;
  resize: none;
}

.input-field textarea {
  height: 90px;
  padding-top: 10px;
}

.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  border-bottom-color: #18a99c;
}

.input-field label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 14px;
  pointer-events: none;
  transition: 0.25s ease;
}

.input-field input:focus+label,
.input-field input:valid+label,
.input-field select:focus+label,
.input-field select:valid+label,
.input-field textarea:focus+label,
.input-field textarea:valid+label {
  top: -6px;
  font-size: 12px;
  color: #ffffff;
}

.input-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.input-field input::placeholder,
.input-field textarea::placeholder {
  color: transparent;
}

button {
  border-radius: 30px;
}

.glass-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  cursor: pointer;
}

.glass-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  background: transparent;
  display: grid;
  place-content: center;
  cursor: pointer;
}

.glass-checkbox input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 0.2s ease;
  background: #ffffff;
}

.glass-checkbox input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.glass-checkbox input[type="checkbox"]:focus {
  outline: none;
}

.login-main-section {
  min-height: 100vh;
  background-image: url("/assets/images/desk-img.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.login-main-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 60px;
}

.input-field small {
  position: absolute;
  bottom: -18px;
  left: 10px;
  display: none;
}

.input-field small.show {
  display: block;
}

.glass-eye {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  bottom: 10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.glass-eye i {
  color: white;
  font-size: 18px;
}

.glass-eye:hover {
  transform: translateY(-50%) scale(1.1);
}

.glass-eye:active {
  transform: translateY(-50%) scale(0.95);
}

.job-section {
  min-height: 100vh;
  width: 100%;
  background-image: url("/assets/images/recruiter-Job_Post.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.job-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100vh;
  color: #fff;
  padding-top: 20px;
  transition: 0.3s;
  z-index: 1000;
}

.sidebar.active {
  left: 0;
}

.sidebar h4 {
  text-align: center;
  margin-bottom: 30px;
}

.sidebar a {
  color: #cfd8dc;
  padding: 12px 20px;
  display: block;
  text-decoration: none;
}

.sidebar a:hover,
.sidebar a.active {
  background: #133b5c;
  color: #fff;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  top: 0;
  left: 0;
  display: none;
  z-index: 999;
}

.navbar {
  padding: 0.8rem 1rem;
}

.header-logo {
  height: 45px;
  width: auto;
  max-width: 100%;
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  white-space: nowrap;
}

.navbar form {
  width: 100%;
}

.navbar form .form-control {
  min-width: 180px;
  font-size: 14px;
}

@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
    align-items: center;
  }

  .navbar-nav {
    gap: 10px;
  }

  .d-flex.flex-lg-row {
    align-items: center;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;
  }

  .navbar-nav {
    gap: 10px;
  }

  .navbar form {
    margin-top: 10px;
  }

  .d-flex.flex-column {
    margin-top: 15px;
  }

  .my-btn,
  .button {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .header-logo {
    height: 35px;
  }

  .navbar-nav .nav-link {
    font-size: 14px;
  }

  .navbar form .form-control {
    min-width: unset;
    width: 100%;
  }

  .navbar form .btn {
    padding: 6px 12px;
  }
}

.overlay.active {
  display: block;
}

.main-content {
  margin-left: 0;
  padding: 20px;
  transition: 0.3s;
}

@media(min-width: 992px) {
  .sidebar {
    left: 0;
  }

  .main-content {
    margin-left: 250px;
  }
}

.card:hover {
  transform: translateY(-3px);
  transition: 0.2s ease;
}

.content {
  flex-grow: 1;
  padding: 20px;
}

.card-custom {
  border-radius: 12px;
  border: none;
}

.resume-section {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.current-resume {
  background: #eef2f7;
  padding: 15px 18px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resume-name {
  font-weight: 500;
  color: #333;
  word-break: break-all;
}

.download-btn {
  width: 38px;
  height: 38px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.download-btn:hover {
  background: #f8f9fa;
  color: #0d6efd;
}

.upload-box {
  border: 2px dashed #4a90e2;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.upload-box:hover {
  background: #f8fbff;
}

.upload-icon {
  width: 50px;
  height: 50px;
  background: #e9f2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  font-size: 22px;
  color: #0d6efd;
}

/* ============================================================
   SEARCH BAR — Desktop base styles (unchanged)
   ============================================================ */
.jobs-search-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 50px;
  padding: 6px 6px 6px 8px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  gap: 0;
}

.search-field {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 12px;
  min-width: 0;
  position: relative;
}

.search-field+.search-field {
  border-left: 1px solid #ddd;
}

.search-field .search-icon {
  font-size: 15px;
  color: #aaa;
  margin-right: 8px;
  flex-shrink: 0;
}

.search-field input {
  border: none;
  outline: none;
  font-size: 14px;
  color: #222;
  background: transparent;
  padding: 10px 0;
  width: 100%;
  min-width: 0;
}

.search-field input::placeholder {
  color: #aaa;
}

.search-btn {
  background: #1a1f36;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.15s;
}

.search-btn:hover {
  background: #2d3561;
}

/* ============================================================
   SEARCH BAR — Responsive breakpoints (NEW)
   ============================================================ */

/* --- Tablet: 577px – 991px ---
   Title + Location sit side-by-side on row 1,
   Category takes full width on row 2,
   Search button spans full width on row 3.          */
@media screen and (min-width: 577px) and (max-width: 991px) {
  .jobs-search-bar {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 10px 12px;
    gap: 4px;
  }

  .search-field {
    flex: 1 1 calc(50% - 4px);
    border-left: none !important;
    border-bottom: 1px solid #eee;
    padding: 6px 10px;
  }

  .search-field:nth-child(3) {
    flex: 1 1 100%;
  }

  .search-btn {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    padding: 11px;
    margin-top: 4px;
  }
}

/* --- Mobile: ≤ 576px ---
   All three fields stack vertically,
   Search button full width below them.              */
@media screen and (max-width: 576px) {
  .jobs-search-bar {
    flex-direction: column;
    border-radius: 20px;
    padding: 10px 12px;
    gap: 0;
  }

  .search-field {
    width: 100%;
    border-left: none !important;
    border-bottom: 1px solid #eee;
    padding: 8px 10px;
  }

  .search-field:last-of-type {
    border-bottom: none;
  }

  .search-btn {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    margin-top: 8px;
    padding: 12px;
  }
}

/* ============================================================
   Tablet / Mobile — everything else (original, unchanged)
   ============================================================ */
.apply-btn {
  background: #1bb39a;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.apply-btn:hover {
  background: #159a85;
  color: white;
}

.apply-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

@media screen and (min-width: 577px) and (max-width: 992px) {
  .column-reverse>.row {
    display: flex;
    gap: 2rem;
    flex-direction: column-reverse;
  }

  .header-logo {
    max-height: 20vh;
    max-width: 40vw;
    background-color: transparent;
  }

  .img-hero-index {
    height: 40vh;
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .column-reverse>.row {
    display: flex;
    gap: 2rem;
    flex-direction: column-reverse;
  }

  .header-logo {
    max-height: 40vh;
    max-width: 50vw;
    background-color: transparent;
  }

  .border-input-index-hero-end {
    border: none;
  }

  .hero-search-bar {
    flex-direction: column;
    border-radius: 20px;
  }

  .hero-search-bar input,
  .hero-search-bar select {
    border-right: none;
    border-bottom: 1px solid #eee;
    width: 100%;
  }

  .hero-search-bar button {
    width: 100%;
  }

  .pre-footer-img {
    height: 30vh;
  }

  .glass-card {
    padding: 25px;
  }
}