
/* Carrier Section */
/* Careers Section Styling */
.careers-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  color: #333;
  text-align: center;
  font-family: 'Gotham', sans-serif;
}

.section-title {
  font-family: 'Gotham', sans-serif;
  font-size: 2.8rem;
  color: #333;
  margin-bottom: 20px;
}

.section-description {
  font-family: 'Gotham', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Cards Container */
.departments-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Individual Cards */
.department {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.department:hover {
  transform: scale(1.05);
}

.department-title {
  font-family: 'Gotham', sans-serif;
  font-size: 1.6rem;
  color: #800000;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Job List Styling */
.job-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-list li {
  font-family: 'Gotham', sans-serif;
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 15px;
}

.job-list li:last-child {
  border-bottom: none;
}

.job-list button {
  font-family: 'Gotham', sans-serif;
  background-color: #333;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 8px 8px;
  cursor: pointer;
  font-size: 0.9rem;
  width: 60px; /* Fixed size */
  height: 40px; /* Fixed size */
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.job-list button:hover {
  background-color: #800000;
  transform: scale(1.05);
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow-y: auto;
}

.modal-content h2 {
  font-family: 'Gotham', sans-serif;
  font-size: 2.2rem;
  color: #800000;
  margin-bottom: 20px;
  text-align: center;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-content label {
  font-family: 'Gotham', sans-serif;
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

.modal-content textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-button {
  background-color: #800000;
  color: white;
  width: 120px;
  height: 40px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  margin: 0 auto; /* Center align button */
  transition: background-color 0.3s, transform 0.2s;
}

.submit-button:hover {
  background-color: #b40303;
  transform: translateY(-3px);
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.close:hover {
  color: #800000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modal-content {
    padding: 20px;
  }

  .submit-button {
    width: 100%; /* Full width for mobile */
  }
}

/* Carrier Section End */

/* Specific Responsive Adjustments for Services Section */
@media (max-width: 768px) {
  /* Target only the services section */
  .services-section .services-container {
      flex-direction: column;
      align-items: center;
      gap: 20px; /* Adjust spacing between service boxes */
  }
  .services-section .service-box {
      width: 90%; /* Full-width for small screens */
      text-align: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Target only the services section */
  .services-section .services-container {
      gap: 30px; /* Adjust spacing between service boxes */
  }
  .services-section .service-box {
      width: calc(50% - 10px); /* Two service boxes per row for tablets */
  }
}


/* Vacancy Tag */
/* Vacancy Tag */
/* Green underline for job titles */
.job-title-highlight {
  border-bottom: 3px solid #135a23; /* Green underline */
  display: inline-block; /* Adjust underline to match text width */
  padding-bottom: 2px; /* Space between text and underline */
  margin-bottom: 10px;
}

/* Blinking animation */


/* Vacancy Available text for the card */
/* Vacancy Available tag */
.vacancy-label {
  font-size: 1rem;
  font-weight: bold;
  color: #135a23; /* Green color */
  text-transform: uppercase;
  text-align: center;
  animation: blink 1.5s infinite; /* Blink animation */
  min-height: 30px; /* Reserve space for the tag */
  display: flex; /* Center align */
  align-items: center; /* Vertical alignment */
  justify-content: center; /* Horizontal alignment */
}

/* Heading alignment when no vacancy tag is displayed */
.vacancy-label.hidden {
  visibility: hidden; /* Keeps the space without displaying content */
  animation: none; /* Disable animation when hidden */
}


/* Smooth fade-in animation for the vacancy label */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}




/* For Job D */

/* Section Styling */
.career-section {
  font-family: Arial, sans-serif;
  margin: 50px auto;
  max-width: 900px;
  color: #333;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Job Titles */
.job-title {
  font-family: 'Gotham', sans-serif;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.job-title:hover {
  color: #e74c3c;
}

.blink {
  font-family: 'Gotham', sans-serif;
  font-size: 14px;
  color: #e74c3c;
  font-weight: normal;
  animation: blink 1.5s infinite;
}

/* Blinking Animation */
/* @keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
} */

/* Job Description */
.job-description {
  display: none;
  padding: 15px 0;
  line-height: 1.6;
  border-bottom: 1px solid #ddd;
}

.job-description h4 {
  margin-bottom: 5px;
  color: #34495e;
}

.job-description ul {
  margin: 10px 0;
  padding-left: 20px;
}

.job-description li {
  margin-bottom: 5px;
}

/* End JD */
