/* Careers Section Styling */
.careers-section {
    background-color: #ffffff; /* Clean white background */
  }
 
  
  .career-card {
    position: relative;
    color: white; 
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
    transition: all 0.5s ease;
    margin: .5rem;
    padding: 1rem;
    background-size: cover;
  background-position: center;
  }
  .career-card:hover {
    background-size: 110%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);

}
/* Alternative: Add a subtle brightness or filter change */
.career-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 10px;
  z-index: 1;
  transition: all 0.4s ease;
}

.career-card:hover::before {
  background-color: rgba(0, 0, 0, 0.5); /* Lighter overlay on hover */
}
  .career-card .card-header {
    /* background-color: #2421219c; */
  }
  
 
  
  .career-card .card-body {
    flex-grow: 1;
    background-color: #2421219c;
  }
  
  .career-details {
    list-style: none;
    padding: 0;
    margin: 0;
    
  }
  
  .career-details li {
    margin-bottom: 8px;
  }
  
  .career-details span {
    color: #333;
  }
  
 
  
 
  
  /* Responsive Adjustments */
  @media (max-width: 767px) {
    .careers-banner {
      height: 40vh; /* Shorter on mobile */
    }
  
    .careers-banner h1 {
      font-size: 28px;
    }
  
    .careers-banner p {
      font-size: 16px;
      max-width: 90%;
    }
  
  
  
    .career-card .card-header {
      padding: 15px;
    }
  
    .career-card .card-body {
      padding: 15px;
    }
  
    .career-card h3 {
      font-size: 20px;
    }
  
    .career-card p,
    .career-card .career-details {
      font-size: 13px;
    }
  
    .careers-section .flex {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }
  }
 /* Careers Banner Styling */
.careers-banner {
    height: 70vh;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 10px; /* Match container rounding */
  }
  
  /* Pseudo-element for overlay */
  .careers-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.603); 
    border-radius: 10px; 
    z-index: 1; 
  }
  
  .careers-banner .flex {
    height: 100%;
    display: flex;
    align-items: center; 
    justify-content: center; 
    position: relative; 
    z-index: 2; 
    }
  
  .careers-banner .text-center {
    padding: 15px;
  }
  
  .careers-banner h1 {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
  }
  
  .careers-banner p {
    font-size: 18px;
    color: #ffffff;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 767px) {
    .careers-banner {
      height: 40vh;
    }
  
    .careers-banner h1 {
      font-size: 24px;
    }
  
    .careers-banner p {
      font-size: 16px;
      max-width: 90%;
    }
  }

  .career-it{
background-image: url('  https://img.freepik.com/premium-photo/happy-business-woman-laptop-portrait-as-accountant-professional-administration-female-person-corporate-technology-workload-deadline-research-office-desk-financial-firm_590464-461228.jpg?ga=GA1.1.691112443.1717062300&semt=ais_hybrid');
  }
 
  .career-web{
    background-image: url('https://img.freepik.com/premium-photo/smiling-young-asian-businesswoman-using-digital-tablet-city-street_562687-2660.jpg?ga=GA1.1.691112443.1717062300&semt=ais_hybrid');
  }
 
  .career-system{
    background-image: url('https://img.freepik.com/premium-photo/successful-exciting-caucasian-businesswoman-young-woman-excited-win-her-laptop-computer-work_44344-4871.jpg?ga=GA1.1.691112443.1717062300&semt=ais_hybrid');
  }
/* Style the overlay properly across all cards */
.career-it::before,
.career-web::before,
.career-system::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65); /* Slightly darker overlay */
  border-radius: 10px;
  z-index: 1; /* Consistent z-index */
}
/* Ensure all content is above the overlay */
.career-card .card-header,
.career-card .card-body {
  position: relative;
  z-index: 2; /* Above the overlay */
}
/* Fix all text colors */
.career-card h3,
.career-card p,
.career-card .career-details,
.career-card .career-details li,
.career-card .career-details span {
  color: white !important; /* Force white text for readability */
}

/* Make the button text visible */
.career-card .btn-txt, .career-card i {
  color: white;
}

/* Make the "Closed" text visible above overlay */
.career-card small {
  color: red; 
  position: relative;
  z-index: 3; /* Higher than the overlay (which has z-index: 1) */
  display: block; /* Makes it a block element so it takes up its own space */
  padding: 0 20px; /* Match padding with card-header and card-body */
  font-weight: bold; /* Make it more noticeable */
  margin-top: 5px; /* Add some space below the header */
}