#topBar {
  font-size: 16px;
  color: white;
  padding-top: 16px;
  padding-bottom: 40px;
}

#topBar a {
  color: white;
  margin-left: 4px;
  font-weight: 500;
  text-decoration: underline;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
}

.divider::after,
.divider::before {
  content: "";
  border: 1px solid #ddd;
  flex: 1;
}

/* HERO */
#header {
  margin-top: -24px;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("/assets/img/backgrounds/home-header-bg-new.jpg");
  height: 80vh;
  max-height: 759px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  border-radius: 24px;
}

#header h1,
#header h2,
#header h3,
#header h4,
#header h5,
#header .description-text {
  color: #fff;
}

#hero {
  height: 100%;
  padding-top: 80px;
}

#hero h1 {
  max-width: 730px;
  font-size: 4rem;
  padding-bottom: 32px;
}

#hero input::placeholder,
#hero select {
  font-size: 16px !important;
}

#hero .description-text {
  font-weight: 400;
  font-size: 18px !important;
}

#header #logo {
  height: 4rem;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
  text-transform: capitalize;
  font-size: 18px;
  font-weight: normal;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link {
  color: #fff;
}

#hero ::placeholder,
#hero select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #6b6d71;
}

#search-container,
.jobseeker-login-btn {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 1120px;
}

.jobseeker-login-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

#search-container form {
  min-width: 920px;
  max-height: 64px;
}
#search-input-group {
  border-radius: 16px;
}

.search-form-input-container {
  border-radius: 16px;
}
.search-form-input-container .form-control:focus,
.search-form-input-container .form-select:focus {
  box-shadow: none !important;
  color: #121212 !important;
}
.search-form-input-container:has(.form-control:focus),
.search-form-input-container:has(.form-select:focus) {
  border: 2px solid rgba(147, 16, 88, 1) !important;
}

/* Top Employers */
/* .slider-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.slider-item {
  flex: 0 0 auto;
} */

/* Featured Jobs */
#featured-jobs-and-jobs-by-category-container {
  min-height: 100vh;
  background-size: contain;
  background-position-y: center;
}

.job-card,
.post-card {
  border-radius: 20px;
  border: 1px solid #d7d7d7;
  padding: 12px 12px 24px 12px;
}
.job-image-container,
.post-image-container {
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}
.job-image-container .job-card-icons-container {
  display: none;
  position: absolute;
  top: 10px;
  padding: 5px 20px;
  width: 100%;
}
.job-card:hover .job-card-icons-container {
  display: flex;
}
.job-card-icon {
  border-radius: 8px;
  border-width: 1px;
  padding-top: 6px 10px;
  background-color: rgba(255, 255, 255, 1);
  color: rgba(107, 109, 113, 1);
  border: 1px solid rgba(215, 215, 215, 1);
}
.job-image-container .job-card-icon:hover {
  background-color: #eee;
}
.post-image-container img {
  width: 80%;
  height: 360px;
  min-height: auto;
}
.job-card-content-container,
.post-card-content-container {
  padding-top: 10px;
}
.job-card-content-container {
  min-height: 195px;
}
.post-card-content-container {
  min-height: 205px;
}
.job-company-and-date-container {
  font-size: 14px;
}
.job-title,
.post-title {
  display: block;
  color: #121212;
  font-weight: 600;
  font-size: 18px;
  line-height: 20px;
  padding: 10px 0;
}
.job-location,
.post-location {
  display: block;
  color: #121212;
  font-size: 14px;
  line-height: 16px;
  padding-bottom: 10px;
  font-weight: 300;
}
.job-tags-container {
  padding: 10px 0;
}
.job-tag,
.post-tag {
  padding: 6px 10px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  margin-right: 10px;
  font-size: 14px;
  color: #383838;
}
.job-card-apply-btn {
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
}
.more-jobs-btn {
  padding: 12px 20px;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  font-size: 16px;
  color: #383838;
}
.more-jobs-btn:hover {
  cursor: pointer;
  color: rgba(18, 18, 18, 1);
  background: rgba(245, 245, 245, 1);
}
/* End Featured Jobs */

/* Jobs by Category */
#jobs-by-category {
  border-radius: 24px;
  background: linear-gradient(180deg, #b52172 0%, #831853 100%);
}
.jobs-by-category-item {
  border-radius: 20px;
  padding: 16px 20px;
  color: rgba(255, 255, 255, 1) !important;
  background-color: rgba(255, 255, 255, 0.12);
  font-size: 18px;
  font-weight: lighter;
}
.jobs-by-category-item:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.jobs-by-category-item .category-item-heading {
  font-size: 20px !important;
  font-weight: 600;
}
.jobs-by-category-item .category-item-jobs {
  font-size: 16px !important;
  font-weight: 300;
  text-align: center;
}
.more-categories-btn {
  padding: 12px 20px;
  border: 1px solid white;
  border-radius: 12px;
  font-size: 16px;
  color: white;
}
.more-categories-btn:hover {
  cursor: pointer;
  color: white;
}

/* Jobs by Industry */
.jobs-by-industry-item {
  border: 1px solid #000;
  -webkit-transition: background-color 0.3s ease-in-out;
  -moz-transition: background-color 0.3s ease-in-out;
  -ms-transition: background-color 0.3s ease-in-out;
  -o-transition: background-color 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

.jobs-by-industry-item:hover {
  background-color: #8e1357;
  .jobs-by-industry-link {
    color: #fff !important;
  }
  .jobs-by-industry-link svg {
    filter: invert(100%) sepia(0%) saturate(5800%) hue-rotate(59deg)
      brightness(130%) contrast(95%);
  }
}

/* Jobs by City */
.city-categories-count {
  color: white;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
}
.city-image-container {
  overflow: hidden;
}

.city-image-container .city-image {
  transform: scale(1, 1);
  transition: transform 0.4s;
}
/* End Jobs by City */

/* CV Section */
.create-cv-text {
  padding: 88px 72px;
}
.create-cv-text h2 {
  font-size: 56px;
  line-height: 64px;
  margin-bottom: 65px;
}
/* End CV Section */

/* Join Community */
section#joinCommunity {
  min-height: 800px;
  background-image: url("/assets/img/backgrounds/join-community-bg.png");
  background-size: 30%;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.6);
  background-blend-mode: lighten;
}
#joinCommunity .buttons-container {
  display: flex;
  justify-content: center;
}

/* Media Queries */
@media (max-width: 991px) {
  .marhaba-text {
    font-size: 25px !important;
  }

  .explore-text {
    font-size: 38px !important;
  }

  #hero .description-text {
    font-size: 16px !important;
  }

  #hero #search-form-row > div {
    padding-top: 10px;
  }

  #hero #search-input-group {
    padding-bottom: 5px;
    border-right: none !important;
    border-bottom: 1px solid #dee2e6 !important;
  }

  #hero #search-btn-container {
    padding-top: 5px;
    display: block !important;
  }

  #hero #search-btn {
    padding: 10px 15px 10px 15px !important;
    font-size: 16px;
    display: block !important;
    width: 100%;
  }

  .divider {
    width: 100% !important;
    text-align: center;
  }

  .divider span {
    margin: 0 auto;
  }

  .divider::after,
  .divider::before {
    display: none !important;
  }
}

@media (max-width: 991px) {
  #header h1 {
    font-size: 36px;
  }

  #search-container form {
    padding-right: 5px;
    min-width: 100%;
    max-height: 100%;
  }
  .job-image-container {
    display: none;
  }
  .job-card-lg-btn {
    display: none !important;
  }
  .job-card-sm-btn-container {
    display: flex !important;
  }
  .job-card-icon {
    border-radius: 12px;
    background-color: rgba(245, 245, 245, 1);
    padding: 10px 16px;
  }
  #jobs-by-city .mx-auto.w-50 {
    width: 100% !important;
  }
  .city-image {
    margin-bottom: 20px !important;
  }
  #cvCard .col-lg-6 {
    min-height: 320px;
  }
  .create-cv-text {
    padding: 88px 20px;
  }
  .create-cv-text h2 {
    font-family: lora;
    font-weight: 400;
    font-style: Regular;
    font-size: 32px;
    line-height: 40px;
  }
  .create-cv-btn {
    display: block;
    text-align: center;
  }
  .cv-card-img {
    min-height: 500px !important;
  }
  #joinCommunity {
    background-size: 100% !important;
  }
  #joinCommunity h2 {
    line-height: 48px !important;
    font-size: 36px !important;
    padding: 0px 14px;
  }
  #joinCommunity .buttons-container {
    display: block;
    padding: 0px 10vw;
  }
  #joinCommunity .buttons-container a {
    display: block;
    margin-top: 30px;
    text-align: center;
  }
  #media-and-events .mx-auto.w-50 {
    width: 100% !important;
  }
}

@media (max-width: 400px) {
  #header {
    min-height: 100vh !important;
  }

  .section-heading {
    font-size: 20px !important;
  }
}

@media (min-width: 401px) and (max-width: 991px) {
  #header {
    height: 80vh !important;
  }
}

@media (max-width: 500px) {
  #featured-jobs .featured-job-item {
    height: auto !important;
  }

  .carousel-prev,
  .carousel-next {
    display: none !important;
  }
}
