
h4 {
  font-family: 'Calibri';
}

.img-spacing {
  margin: 0 10px;
}

.image-container {
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
  height: 202px;
  overflow: hidden;
  display: flex;
  width: 240px;
}

.image-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}


.row .col-md-6 .bg-light {
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: white;
  text-align: left;
}

.row .col-md-6 i {
  color: white;
}

.flip-card {
  perspective: 1000px; /* Add perspective for the 3D effect */
}

.flip-card a {
  display: block;
  width: 100%;
  height: 100%;
}

.features-icons-item {
  width: 100%;
  height: 100%;
  transition: transform 0.6s; /* Add smooth transition */
  transform-style: preserve-3d;
  position: relative;
}

.features-icons-item:hover {
  transform: rotateY(180deg); /* Flip the column on hover */
}

.features-icons-icon {
  backface-visibility: hidden; /* Hide the back during the flip */
}

/* Optional: Adding styles for the back of the card */
.features-icons-item::before {
  content: " "; /* Create a back side */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Change the background color for the back */
  color: white;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px; /* Example text */
  text-align: center;
}


@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

.fade-in-column {
  opacity: 0; /* Start as invisible */
  transition: opacity 2s ease-in-out;
}

.fade-in-column.visible {
  opacity: 1; /* Becomes visible when the "visible" class is added */
}

/* Container for the column that will trigger the turn animation */
.turn-animation {
  perspective: 1000px; /* Gives the 3D effect */
}

/* Applying the turn effect when the card is hovered */
.turn-animation .card {
  transition: transform 0.6s ease-in-out; /* Smooth transition for the rotation */
  transform-style: preserve-3d; /* Ensures the 3D transform works */
}

/* Turn the column 180 degrees on hover */
.turn-animation:hover .card {
  transform: rotateY(180deg);
}

/* Optionally, you can add a shadow or scale effect to make the hover more dramatic */
.turn-animation:hover .card img {
  opacity: 0.7; /* Make the image slightly transparent when turned */
}

.card {
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.card.glow-hover:hover {
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.3); /* Glow effect */
  transform: scale(1.05); /* Slightly increase the size */
}

.card {
  transition: -webkit-box-shadow 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.card.glow-hover:hover {
  -webkit-box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.3);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.col-md-4 .card.glow-hover:hover {
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-10px); /* Moves the card upward */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Add a shadow */
}

.custom-gap {
  margin: 10px; /* Adjust the value as needed */
}

.back-to-top {
  position: fixed;
  bottom: 20px; /* Distance from the bottom */
  right: 20px; /* Distance from the right */
  display: none; /* Hidden by default */
  background-color: #333333; /* Button background color */
  color: white; /* Icon color */
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
  z-index: 1000; /* Ensure it's above other elements */
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
}

.back-to-top:hover {
  background-color: #444444; /* Change color on hover */
}

.no-jobs {
  font-size: 1.2em;
  color: #555;
  margin-top: 20px;
  text-align: center;
}

.custom-card {
  background: linear-gradient(90deg, #40ba32, #00978b), #40ba32;
  position: relative;
  width: 100%;
  color: white;
  border-radius: 12px;
  padding: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.custom-card h1 {
  font-size: 3rem;
  margin: 0;
}

.custom-card p {
  margin: 10px 0;
  font-weight: bold;
}

.custom-card .more-info {
  display: flex;
  /*align-items: center;*/
  /*justify-content: center;*/
  margin-top: 15px;
  gap: 5px;
}

.custom-card .more-info i {
  font-size: 1.5rem;
}

.custom-card:hover {
  transform: scale(1.05);
}

.card-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 50%; /* Background image covers 50% of the card */
  /*background: url('/static/assets/img/warehouse.png');*/
  background-size: cover;
  background-position: center;
  opacity: 0.4; /*Optional: Transparency effect */
  z-index: 1; /* Place the background behind the content */
}

.card-content {
  position: relative;
  z-index: 2; /* Ensure the content is above the background */
  padding: 20px;
}

.facilities-image {
  max-width: 100%;  /*Ensures the image doesn't exceed the modal width */
  height: auto; /* Maintains aspect ratio */
  max-height: 70vh; /* Prevents the image from exceeding the modal height */
}

.custom-modal {
  max-width: 90%; /* Ensures modal width adapts to smaller screens */
  height: auto; /* Let modal height adjust dynamically */
}

/* Override modal-lg */
.modal-dialog.modal-lg {
  max-width: 80%; /* Customize large modal size */
}