.gap-1 {
  gap: 0.25rem !important;
}
.gap-2 {
  gap: 0.5rem !important;
}
.gap-3 {
  gap: 1rem !important;
}
.gap-4 {
  gap: 1.5rem !important;
}
.gap-5 {
  gap: 2rem !important;
}
.gap-6 {
  gap: 3rem !important;
}

main {
  transition: opacity 0.15s ease;
}

main.preload {
  opacity: 0;
}

#ftco-loader.show {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

#ftco-loader img {
  display: none;
  width: 100px;
  height: 100px;
}

#ftco-loader.show img {
  display: block;
}

#ftco-loader .circular {
  left: calc(50% - 60px);
  top: calc(50% - 60px);
}
#ftco-loader .path {
  stroke-dasharray: 100, 500;
}

/*old color  #f0493e*/
/*new color */
.video-container {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
.video-container video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

@media (min-width: 1275px) {
  video {
    width: 100%;
  }
}

#about {
  scroll-margin-top: 110px;
}

/* font */
.font-roboto {
  font-family: "Roboto", sans-serif;
}

.font-overpass {
  font-family: "Overpass", sans-serif;
}

.btn {
  font-family: "Overpass", sans-serif !important;
  line-height: 37px;
  padding-top: 0 !important;
  height: 37px;
}

.img-shadow {
  box-shadow: 0 4px 30px -5px black !important;
  border: 0;
}
.img-radius {
  border-radius: 7px !important;
}

p.lead {
  font-size: 1.15rem !important;
  line-height: 1.75rem !important;
}

p.lead strong {
  font-weight: bold;
  color: black;
}

p.lead.lead-small {
  font-size: 1rem !important;
  line-height: 1.5rem !important;
  font-weight: 300;
}

.nav-item .btn-colored {
  background: #f0493e !important;
  color: white !important;
  border: 2px solid #f0493e !important;
}

.nav-item .btn-colored:hover {
  background: #005bbb !important;
  color: white !important;
  border: 2px solid #005bbb !important;
}
li.nav-item {
  transition: all 0.25s ease;
}

.jobAside h5 {
  font-size: 1rem !important;
}

.font-size-1 {
  font-size: 1rem !important;
}
.ftco-navbar-light .navbar-nav.black-links > .nav-item > .nav-link {
  color: #000 !important;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
  color: #f0493e !important;
}

.text-superbig {
  font-size: 3rem !important;
}
.navbar .top-brand {
  display: block;
}
.navbar .scrolled-brand {
  display: none;
}

.navbar.scrolled .top-brand {
  display: none;
}
.navbar.scrolled .scrolled-brand {
  display: block;
}
.navbar-brand.top-brand.brand-1 > img {
  width: 75px;
}

.navbar-brand.top-brand > img {
  width: 190px;
}
.navbar-brand.scrolled-brand > img {
  width: 190px;
}

.navbar.sticky.white .scrolled-brand {
  display: block;
}
.navbar.sticky.white .top-brand {
  display: none;
}

.navbar.sticky.white .nav-link {
  color: #000;
}

.capitalize {
  text-transform: capitalize;
}

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.ftco-navbar-light {
  top: 0px;
  /* background: linear-gradient(90deg, #f0493e 50%, #272c35 0); */
}

.incolor-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.f-success {
  color: #1c7430;
}

.f-fail {
  color: darkred;
}

.block-30 {
  background-position: 0% 60% !important;
}

.bg-color {
  background-color: #f0493e;
  color: white;
}

.lead-big {
  font-size: 2rem;
}

.very-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.relative {
  position: relative;
}

.white {
  color: white !important;
}

.circle-img {
  border-radius: 50% !important;
  width: 280px;
  height: 280px;
  object-fit: cover;
}

.block-31 button {
  font-size: 1.3em !important;
  padding: 0 2.5em;
  margin: 0px 18px;
  letter-spacing: 0.05em !important;
  border-radius: 0.25rem !important;
  height: 60px;
  line-height: 60px;
  box-shadow: inset 0 -2px 0 0 rgb(0 0 0 / 13%);
}

.block-31 .btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.block-31 .btn-outline:hover {
  background: #272c35 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}

.block-31 .btn-colored {
  background: #f0493e !important;
  color: #fff !important;
  border: 2px solid #f0493e !important;
}

.block-31 .btn-colored:hover {
  background: #272c35 !important;
  color: white !important;
  border: 2px solid #fff !important;
}

.social-menu .nav-link {
  padding: 30px 5px !important;
  font-size: 1rem !important;
}

.hidden-input {
  position: absolute;
  height: auto;
  width: 83%;
  left: 30px;
  opacity: 0;
}

.pointer {
  cursor: pointer;
}

.center {
  text-align: center;
}

.block-30 {
  max-height: 75vh;
}

.sticky {
  position: sticky !important;
}

.post-entry .img-wrap {
  max-height: 220px;
}

.footer {
  padding: 4em 0;
}

.red {
  color: red;
}

.green {
  color: forestgreen;
}

.qliiq-points ul {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.underlined::after {
  content: "";
  display: block;
  width: 15%;
  padding-top: 5px;
  border-bottom: 1px solid black;
  box-sizing: border-box;
}
.underlined-green::after {
  border-bottom: 3px solid #272c35;
}
.underlined-orange::after {
  border-bottom: 3px solid #f0493e;
}
.underlined-centered::after {
  margin: 0 auto;
}
.featured-section-gradient::before {
  background: rgb(255, 213, 0) !important;
  background: linear-gradient(90deg, rgba(255, 213, 0, 1) 0%, rgba(0, 91, 187, 1) 93%) !important;
}
.featured-section-light::before {
  background: #fffefe !important;
}

.slide-in {
  animation: slidein 4s;
}

@keyframes slidein {
  from {
    padding-right: 155px;
  }
  to {
    padding-right: 50px;
  }
}
@keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.custom-banner {
  background: repeating-linear-gradient(#005bbb, #005bbb 49.9%, #f0493e 50.1%, #f0493e 100%);
  text-align: end;
}

.custom-banner h2 {
  font-weight: bold;
  color: white;
  animation: appear 4s;
}
@media (max-width: 991.98px) {
  .ftco-navbar-light {
    background: #fff !important;
  }

  .ftco-navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, 0.5) !important;
  }

  .nav-item a {
    color: black !important;
  }
  .navbar .top-brand {
    display: none;
  }
  .navbar .scrolled-brand {
    display: block;
  }
  .navbar.scrolled .top-brand {
    display: none;
  }
  .navbar.scrolled .scrolled-brand {
    display: block;
  }
}

@media (max-width: 768px) {
  .social-menu .nav-link {
    padding: 0.5% 0 !important;
  }
}

.recent-jobs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.recent-jobs > * {
  flex: 0 0 100%;
}

.recent-jobs .post-entry {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0px 3px 10px 0 rgba(0, 0, 0, 0.05);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.recent-jobs .post-entry:hover {
  border-color: #f0493e;
}

.recent-jobs .post-entry > a {
  display: flex;
  text-align: center;
  /* flex-grow: 2; */
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.recent-jobs .post-entry > .short-desc {
  flex-grow: 2;
}

.recent-jobs .post-entry .logo-wrapper {
  height: 150px;
}

.recent-jobs .post-entry img {
  max-height: 75px;
}

/* @media (max-width: 991px) {
  .recent-jobs {
    grid-template-rows: repeat(3, 1fr);
  }
} */

.section-counter i {
  color: #272c35;
  font-size: 4rem;
}
.section-counter .counter-number {
  font-size: 2rem;
}

.section-brand-gradient {
  background: #272c35;
  color: white;
}
.section-brand-gradient h2,
.section-brand-gradient p.lead strong {
  color: white;
}
.section-brand-gradient p.lead:last-of-type {
  margin-bottom: 0;
}

.grayscaled {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
  transition: all 0.1s;
}
.grayscaled:hover {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.fl-fl {
  background: #f0493e;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 4px;
  width: 190px;
  font: normal normal 10px Arial;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.fl-fl div {
  color: white;
  display: flex;
  align-items: center;
}

.float-sm i {
  font-size: 20px;
  color: #fff;
  padding: 10px 0;
  width: 40px;
  margin-left: 8px;
}

.float-sm .fl-fl:hover {
  right: 0;
}

.fl-fl a {
  color: #fff !important;
  text-decoration: none;
  text-align: center;
  line-height: 43px !important;
  vertical-align: top !important;
}

.float-sm {
  position: fixed;
  right: 0;
  top: 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.float-sm .fl-fl {
  position: relative;
  right: -148px;
}

.house-bg {
  background: url("../images/home_bg.png") 0 0 / 20px 30px repeat;
  background-repeat: no-repeat;
  background-size: 250px;
  background-position: 90% 90%;
}
.users-bg {
  background: url("../images/users_bg.png") 0 0 / 20px 30px repeat;
  background-repeat: no-repeat;
  background-size: 250px;
  background-position: 90% 90%;
}
.smile-bg {
  background: url("../images/smile_bg.png") 0 0 / 20px 30px repeat;
  background-repeat: no-repeat;
  background-size: 200px;
  background-position: 90% 90%;
}

.search-container {
  display: flex;
  flex-direction: column;
  padding-top: 12%;
  justify-content: end;
  align-items: center;
}
.search-container h2 {
  padding-bottom: 1rem;
}

.hero-form {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-form .form-group {
  width: 70%;
}

input.location-input {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff;
  width: 100%;
}

input.location-input::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #fff;
  opacity: 1; /* Firefox */
}

input.location-input::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #fff;
}
input.location-input:active {
  border-color: #f0493e;
}
input.location-input:focus {
  border-color: #f0493e;
}

.flags-container {
  min-height: 50px;
}

.flags-container img {
  transition: all 0.2s;
}
.flags-container i {
  color: #272c35;
}

.location {
  position: relative;
  cursor: pointer;
}
#location-be i {
  position: absolute;
  top: 10px;
  left: 2px;
  display: none;
}
#location-nl i {
  position: absolute;
  top: 12px;
  left: 2px;
  display: none;
}
#location-be.active i {
  display: inline-block;
}
#location-nl.active i {
  display: inline-block;
}

.flags-container .be-flag,
.flags-container .nl-flag {
  width: 60px;
  height: 40px;
}

.flags-container .be-flag:hover,
.flags-container .nl-flag:hover {
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .search-container {
    padding-top: 0;
  }
  .house-bg {
    background: url("../images/home_bg.png") 0 0 / 20px 30px repeat;
    background-repeat: no-repeat;
    background-size: 250px;
    background-position: 90% 90%;
  }
  .users-bg {
    background: url("../images/users_bg.png") 0 0 / 20px 30px repeat;
    background-repeat: no-repeat;
    background-size: 250px;
    background-position: 90% 90%;
  }
  .smile-bg {
    background: url("../images/smile_bg.png") 0 0 / 20px 30px repeat;
    background-repeat: no-repeat;
    background-size: 180px;
    background-position: 90% 90%;
  }
  .recent-jobs > * {
    flex: 0 0 100%;
  }
}

.cert-image {
  height: 120px;
  padding: 1rem;
}

/* Brand color utilities */
.text-brand {
  color: #f0493e !important;
}
.icon-brand {
  color: #f0493e !important;
}

/* Angled image decoration - using clip-path */
.img-angled {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

/* Variation: angle from right */
.img-angled-right {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%);
}

/* Variation: steeper angle */
.img-angled-steep {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

/* Variation: steeper from right */
.img-angled-steep-right {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%);
}

/* Variation: subtle angle */
.img-angled-subtle {
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

/* Variation: subtle from right */
.img-angled-subtle-right {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
}

/* No shadow for angled images */
.img-angled,
.img-angled-right,
.img-angled-steep,
.img-angled-steep-right,
.img-angled-subtle,
.img-angled-subtle-right {
  border: none !important;
}

/* Location cards with angled images */
.location-card .card-img-top {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* Carousel with angled effect */
.carousel-item.img-angled-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-item.img-angled-carousel img {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.radius-0 {
  border-radius: 0 !important;
}

.location-card:hover {
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.location-card:hover .card {
  border-color: #f0493e;
}

/* Hero text container */
.hero-text-container {
  margin-top: -58px;
  position: relative;
  z-index: 2;
}

.hero-title {
  line-height: 1.1;
}

/* ===========================================
   MOBILE RESPONSIVE FIXES
   =========================================== */

/* Hero Section Mobile Fixes */
@media (max-width: 767.98px) {
  /* Hero text sizing */
  .display-3 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }

  .display-5 {
    font-size: 1.5rem !important;
  }

  /* Hero section margin fix */
  .hero-text-container {
    margin-top: -30px;
  }

  /* Hero buttons */
  .block-31 button {
    font-size: 1rem !important;
    padding: 0 1.5em;
    margin: 5px 8px;
    height: 50px;
    line-height: 50px;
  }

  /* Search container */
  .search-container {
    padding-top: 1rem;
  }

  .search-container h2 {
    font-size: 1.25rem;
  }

  .hero-form .form-group {
    width: 90%;
  }

  /* Counter section */
  .section-counter i {
    font-size: 2.5rem;
  }

  .section-counter .counter-number {
    font-size: 1.5rem;
  }

  .section-counter .caption {
    font-size: 0.875rem;
  }

  /* Location cards */
  .location-card .card-img-top {
    height: 150px !important;
  }

  /* Maps section */
  .site-section iframe {
    height: 200px !important;
  }

  /* Social floating bar - hide on mobile */
  .float-sm {
    display: none;
  }

  /* Lead text sizing */
  p.lead {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
  }

  /* Content sections */
  .site-section {
    padding: 2rem 0;
  }

  /* Two-column image sections */
  .col-lg-5 img,
  .col-lg-7 img {
    margin-bottom: 1.5rem;
  }

  /* CTA section */
  .section-brand-gradient .display-5 {
    font-size: 1.5rem !important;
  }

  .section-brand-gradient .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
}

/* Tablet adjustments */
@media (max-width: 991.98px) and (min-width: 768px) {
  .display-3 {
    font-size: 2.5rem !important;
  }

  .display-5 {
    font-size: 1.75rem !important;
  }

  .block-31 button {
    font-size: 1.1rem !important;
    padding: 0 2em;
    margin: 5px 10px;
  }

  .section-counter i {
    font-size: 3rem;
  }
}

/* Jobs page mobile fixes */
@media (max-width: 767.98px) {
  /* Job card layout - stack vertically */
  .job-card .row .col-9 {
    flex: 0 0 100%;
    max-width: 100%;
    order: 2;
  }

  .job-card .row .col-3 {
    flex: 0 0 100%;
    max-width: 100%;
    order: 1;
    margin-bottom: 0.5rem;
  }

  .job-cover-image-container {
    justify-content: center !important;
    max-height: 150px;
    overflow: hidden;
  }

  .job-cover-image-container img {
    max-height: 150px;
    object-fit: cover;
  }

  .job-cover-image-container .brand-logo {
    padding: 1rem;
    max-height: 80px;
  }

  /* Job card info */
  .job-card .main-info {
    padding: 0.5rem 1rem !important;
  }

  .job-card .main-info h4 {
    font-size: 1.1rem;
  }

  .job-card .main-info small {
    display: block;
    padding: 0.25rem 0 !important;
  }

  /* Quote styling */
  .job-card .main-info p[style*="position: relative"] {
    padding-left: 2rem !important;
    padding-right: 0 !important;
    margin-top: 1rem !important;
  }

  .job-card .main-info p[style*="position: relative"] i.fa-quote-right {
    font-size: 1.5rem !important;
    left: 0 !important;
    top: -10px !important;
  }

  /* Pagination */
  .vacPagination {
    flex-wrap: wrap;
  }

  .vacPagination a {
    padding: 0.5rem 0.4rem 0.4rem;
    font-size: 0.875rem;
  }
}

/* Job detail page mobile fixes */
@media (max-width: 991.98px) {
  .job-side {
    margin-top: 1rem;
  }

  .over-pic {
    margin-top: 0;
  }

  .col-lg-9.welcome-text {
    padding: 1rem !important;
  }

  /* Share buttons */
  .job-share-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
  }
}

/* Apply form mobile fixes */
@media (max-width: 575.98px) {
  #apply-page .row .col-xs-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #apply-page .form-group {
    margin-bottom: 1rem;
  }

  /* File container */
  .file-container .file {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .file-container .file .name {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Checkbox alignment */
  #apply-page .form-check-input {
    margin-top: 0.3rem !important;
  }

  /* Submit button */
  #apply-page .btn-primary {
    width: 100%;
  }
}

/* Footer mobile fixes */
@media (max-width: 767.98px) {
  .footer address {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .footer .col-md-4 {
    margin-bottom: 1rem;
  }

  .footer .block-21 {
    flex-direction: column;
    text-align: center;
  }

  .footer .block-21 figure {
    margin-right: 0 !important;
    margin-bottom: 0.5rem;
  }

  .footer .heading-section {
    text-align: center;
  }

  .footer p.lead {
    text-align: center;
  }
}

/* Recent jobs mobile */
@media (max-width: 575.98px) {
  .recent-jobs {
    gap: 1rem;
  }

  .recent-jobs .post-entry > a {
    min-height: 150px;
  }

  .recent-jobs .post-entry .logo-wrapper {
    height: 120px;
  }
}

/* Navigation mobile enhancement */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav .nav-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }
}

/* Settings page mobile fixes */
@media (max-width: 767.98px) {
  /* Form row columns stacking */
  .form-row .col {
    flex-basis: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  /* Container min-height adjustment */
  .container[style*="min-height: 500px"] {
    min-height: auto !important;
    padding-bottom: 2rem;
  }

  /* Modal sizing */
  .modal-dialog {
    max-width: 95% !important;
    margin: 1rem auto;
  }

  .modal-content {
    height: 70vh !important;
  }
}

/* Details page mobile fixes */
@media (max-width: 767.98px) {
  .applied-list .job .main-info small {
    display: block;
    padding: 0.25rem 0 !important;
  }

  .applied-list .job h4 {
    font-size: 1.1rem;
  }

  .well {
    font-size: 0.875rem;
  }
}

/* Login/Recovery page mobile */
@media (max-width: 575.98px) {
  .container .row .col-lg-6,
  .container .row .col-md-9 {
    padding: 0 1rem;
  }
}
