@charset "UTF-8";

/* ========= BASE ========= */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;   /* use full viewport height */
  display: flex;
  flex-direction: column;
  
}

body {
	padding-top: 70px; /* adjust to navbar height */
}

/* -- Override toast */
.toast-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  z-index: 99999;
  width: auto;
}



.main-sector {
  flex: 1; /* push footer down */
}

.card-thumb img.profile-user-img {
    display: block;       /* removes inline spacing */
    width: 100%;
    height: 200px;        /* or whatever fixed height */
    object-fit: cover;    /* crop to fill container */
    margin: 0;            /* remove margin */
    border: none;         /* remove border if any */
    padding: 0;           /* remove padding */
}
/* ========= GLOBAL CONTAINERS ========= */
/* Default boxed width */
.container-fluid,
.navbar-main,
.breadcrumb-1,
.search-bar,
.app-list,
.footer-1,
.footer-2 , .contact-body {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .navbar-main,
  .breadcrumb-1,
  .search-bar,
  .app-list,
  .footer-1,
  .footer-2 , .contact-body {
    	max-width: 712px;
	}
}
@media (min-width: 768px) {
  .navbar-main,
  .breadcrumb-1,
  .search-bar,
  .app-list,
  .footer-1,
  .footer-2  , .contact-body{
    max-width: 739px;
  }
 
}
@media (min-width: 868px) {
  .navbar-main,
  .breadcrumb-1,
  .search-bar,
  .app-list,
  .footer-1,
  .footer-2 ,.contact-body{
    max-width: 945px;
  }
  
}
@media (min-width: 992px) {
  .navbar-main,
  .breadcrumb-1,
  .search-bar,
  .app-list,
  .footer-1,
  .footer-2 , .contact-body{
    max-width: 945px;
  }
  .img-map{
	max-width: 479px;
  }
}
/* Standard desktop */
@media (min-width: 1280px) {
  .navbar-main,
  .breadcrumb-1,
  .search-bar,
  .app-list,
  .footer-1,
  .footer-2 , .contact-body{
    max-width: 1230px;
  }
	.img-map{
		max-width:600px;
	}
}

/* Large desktop */
@media (min-width: 1600px) {
  .navbar-main,
  .breadcrumb-1,
  .search-bar,
  .app-list,
  .footer-1,
  .footer-2 , .contact-body {
    max-width: 1280px;
  }
}

/* Ultra-wide */
@media (min-width: 1920px) {
  .navbar-main,
  .breadcrumb-1,
  .search-bar,
  .app-list,
  .footer-1,
  .footer-2 , .contact-body{
    max-width: 1440px;
  }
}

@media (max-width: 991) { 
	.img-map {
		max-width: 479px;
	}
}



/* ========= BREADCRUMB ========= */
.breadcrumb {
  background: transparent; 
  margin-bottom: 0;
  padding: 0;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
}
.breadcrumb-item {
  font-size: 1rem;
  font-weight: bold;
  font-family: inherit;
}
.breadcrumb-item a,
.breadcrumb-item a:visited,
.breadcrumb-item a:hover,
.breadcrumb-item a:active {
  color: black !important;
  text-decoration: none;
}
.current-page-container {
      padding-top: 55px !important;
    padding-bottom: 29px !important;
}

/* ========= SEARCH BAR ========= */
.search-bar-container {
  padding-bottom: 32px;
}
.search-wrapper {
  position: relative;
  display: block;
  width: 100%;
}
.search-wrapper input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  padding-right: 2rem; /* ✅ space for icon on right */
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
}
.search-wrapper i {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #000;
  font-size: 1rem;
  pointer-events: none;
}

/* ========= JOB CARDS ========= */
.card-job {
  display: flex;
  flex-direction: column;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  background-color: #fff;
  overflow: hidden;
  position: relative;
}
.card-job .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* fill height */
}
.card-job .stretched-link {
  margin-top: auto; /* push to bottom */
  display: inline-block;
}
.card-job:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
/* Blue bottom border animation */
.card-job::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #04A9FF, #2EC8FF, #04A9FF);
  background-size: 200% 100%;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(4,169,255,0.7),
              0 0 20px rgba(4,169,255,0.5);
}
.card-job:hover::after {
  width: 100%;
  animation: blueShine 2s linear infinite;
}
@keyframes blueShine {
  from { background-position: 0 0; }
  to   { background-position: 200% 0; }
}
/* Thumbnail */
.card-thumb {
  background: linear-gradient(120deg, #dfefff, #eef5ff);
  height: auto;
  max-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  position: relative;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card-job:hover .card-thumb img {
  transform: scale(1.08);
}
/* Hover icon */
.card-thumb .hover-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
  color: #fff;
  font-size: 3rem;
  pointer-events: none;
}
.card-job:hover .card-thumb .hover-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
/* Title & links */
.job-title {
  font-weight: 700;
  color: black;
  transition: color 0.3s ease;
}
.card-job:hover .job-title {
  color: #0056b3;
}
.card-job a.stretched-link {
  text-decoration: none;
  color: #0d6efd;
}
.card-job a.stretched-link:hover {
  text-decoration: underline;
}
.card-job .text-muted.small {
  display: -webkit-box;        /* old WebKit fallback */
  display: box;                /* fallback for older spec */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;       /* old WebKit-only */
  line-clamp: 2;               /* standard property */
  box-orient: vertical;        /* fallback for older spec */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  color: #6c757d;
}
.card-job .job-title {
  display: -webkit-box;        /* old WebKit fallback */
  display: box;                /* fallback for older spec */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;       /* old WebKit-only */
  line-clamp: 2;               /* standard property */
  box-orient: vertical;        /* fallback for older spec */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  color: #6c757d;
}
.clickable-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickable-card:hover .card-body {
  background-color: #f8f9fa; /* light gray (Bootstrap variable) */
}

/* Contact Section */
.contact-text {
	font-weight : bold!important;
}
.contact-number-icon {
	font-size: 22px;
}
.contact-transport-icon {
	font-size: 32px;
}
.contact-text-detail {
  display: flex;
  align-items: flex-start; /* align icon to top of text */
  gap: 8px; /* spacing between icon and text */
  font-weight: bold;
  line-height:1.8;
}


.cookie_consent_popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #222; /* dark background */
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  z-index: 2000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
}

.cookie-content p {
  flex: 1 1 70%;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.cookie-content a {
  color: #FEDC00; /* highlight link */
  text-decoration: underline;
}

.cookie-buttons {
  flex: 1 1 28%;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.cookie-buttons button {
  cursor: pointer;
  border: none;
  padding: 8px 15px;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-accept {
  background-color: #FEDC00;
  color: #000;
}

.btn-accept:hover {
  background-color: #e6c600;
}

.btn-decline {
  background-color: transparent;
  color: #fff;
}

.btn-decline:hover {
  color: #ccc;
}

  .disabled-link {
    pointer-events: none; /* disables clicks */
    opacity: 0.6;         /* visually faded (optional) */
    cursor: default;      /* no hand cursor */
    text-decoration: none;
  }
  .no-dot {
    list-style-type: none; /* remove dot */
  }
