body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 800px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container a {
  color: rgba(0, 0, 0);
  background-color: aliceblue;
  font-style: oblique;
  text-decoration: underline;
 }

.job-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.job-section div {
  width: 100%;
}
.rtl {
  text-align: right;
  direction: rtl;
}
.ltr {
  text-align: left;
  direction: ltr;
}

.job-section h2 {
  color: #444;
  border-bottom: 2px solid rgb(43, 245, 255, 1);
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.job-section p {
  margin: 5px 0;
}

.job-section a {
  background-color: cyan;
}

form {
  margin-top: 20px;
}
label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}
input, select, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
button {
  background-color: rgb(43, 245, 255, 1);
  color: rgb(25, 39, 51, 1);
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  color: rgb(43, 245, 255, 1);
  background-color: rgb(25, 39, 51, 1);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}
.google-forms {
  font-size: xx-large;
  text-align: center;
  display: block;
  width: 100%;
  background-color: rgb(43, 245, 255, 1);
}

.google-forms:hover {
  color: rgb(43, 245, 255, 1);
  background-color: rgb(25, 39, 51, 1);
  
}

.active-vacancy {
  font-size: medium;
  line-height: 0cm;
}

/* Position Filled Banner Styling */
.position-filled-banner {
  background-color: #ffebee; /* Soft red background */
  border: 2px solid #ef9a9a; /* Light red border */
  border-left: 0;
  border-right: 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  text-align: center;
}

.position-filled-banner h2 {
  color: #c62828; /* Dark red for emphasis */
  font-size: 1.8rem;
  margin: 0.5rem 0;
}

.position-filled-banner p {
  color: #721c24; /* Complementary dark red */
  font-size: 1.1rem;
  margin: 0.8rem 0;
}

.position-filled-banner h2:first-child {
  margin-bottom: 1.2rem;
}

.position-filled-banner h2:last-child {
  margin-top: 1.5rem;
}

/* X icon styling */
.position-filled-banner h2::before {
  content: "✗";
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .position-filled-banner {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .position-filled-banner h2 {
    font-size: 1.4rem;
  }
  
  .position-filled-banner p {
    font-size: 1rem;
  }
}

/* Optional animation */
@keyframes banner-alert {
  0% { transform: translateY(-10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.position-filled-banner {
  animation: banner-alert 0.5s ease-out;
}

.job-status-available { color: #2ecc71; }
.active-vacancy { color: #2980b9; }



/* Carousel */
/* Carousel */
.job-carousel {
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  direction: ltr; /* Override for swiper controls */
  min-height: 250px; /* Ensure minimum height */
}

.swiper {
  width: 100%;
  height: 400px; /* Default desktop height */
  aspect-ratio: 16/9;
  overflow: hidden !important;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

.swiper-wrapper {
  touch-action: manipulation !important;
}

.swiper-slide {
  text-align: center;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Changed from cover to contain */
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .job-carousel {
    margin: 15px 0;
    max-width: 100%;
  }
  
  .swiper {
    height: 250px;
    aspect-ratio: none;
  }
}

/* Swiper Navigation Customization */
.swiper-button-next,
.swiper-button-prev {
  color: rgb(43, 245, 255) !important;
  background: gray;
  padding: 15px;
  border-radius: 50%;
  width: 44px !important;  /* Minimum touch target */
  height: 44px !important;
}

.swiper-pagination-bullet {
  background: rgb(43, 245, 255) !important;
  opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
}