/* Career Hero Section */
  .career-hero {
    background: url('career_bg_img.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;  
    background-color: rgba(0, 0, 0, 0.7);  
  }

  .career-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay to reduce brightness */
    opacity: 4; /* Further reduces the contrast of the image */
    z-index: 1; /* Places it behind the content */
  }

  .career-hero h2 {
    font-size: 4rem;
    font-family: italic;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 2.5px 2.5px 0px black;
    position: relative;
    color: #f45c00;
    z-index: 2; /* Ensures the content is above the overlay */
  }

  .career-hero p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 0px black;
    margin-bottom: 20px;
    position: relative;
    z-index: 2; /* Ensures the content is above the overlay */
  }

  .career-hero .let_build{
         font-size: 1.6rem;
         font-weight: bold;
  }

  .career-hero .btn {
    background: #f45c00;
    color: white;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer; 
    text-decoration: none;
    position: relative;
    z-index: 2; /* Ensures the content is above the overlay */
    transition: background 0.1s;
  }

  .career-hero .btn:hover {
    background: #c9560f;
  }

  /* Why Join Us Section */
  .why-join {
    background: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
  }

  .why-join h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2a2e4a;
  }

  .reasons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .reason {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
  }

  .reason img {
    height: 80px;
    margin-bottom: 15px;
  }

  .reason h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2a2e4a;
  }

  .reason p {
    color: #555;
  }

  /* Open Positions Section */
  #open-positions {
    padding: 50px 20px;
    text-align: center;
    background-color: #f5f5f5;
  }

  #open-positions h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2a2e4a;
  }

  .positions-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .position {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
  }

  .position h3 {
    font-size: 1.5rem;
    color: #f45c00;
  }

  .position p {
    margin: 5px 0;
    color: #555;
  }

  .position .btn {
    display: inline-block;
    margin-top: 10px;
    background: #f89354;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.2s;
  }

  .position .btn:hover {
    background: #f45c00;
  }

    /* Employee Benefits Section */
    .employee-benefits {
      background: #f5f5f5;
      color: #2a2e4a;
      padding: 50px 20px;
      margin-top: 8%;
      text-align: center;
    }
    
    .employee-benefits h2 {
      font-size: 30px;
      margin-bottom: 30px;
    }
    
    .employee-benefits ul {
      list-style: none;
      padding: 0;
    }
    
    .employee-benefits li {
      font-size: 18px;
      margin-bottom: 10px;
      position: relative;
    }
    
    .employee-benefits li::before {
      content: '✔';
      color: #ff9900;
      margin-right: 10px;
      font-size: 18px;
    }


    /* Media Queries for Responsive Design */

/* For Tablets */
@media screen and (max-width: 768px) {
  .career-hero h2 {
    font-size: 3rem;
  }

  .career-hero p {
    font-size: 1.1rem;
  }

  .career-hero .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .why-join h2, #open-positions h2 {
    font-size: 2rem;
  }

  .reasons-container, .positions-container {
    flex-direction: column;
  }

  .reason, .position {
    width: 90%;
    margin: 10px 0;
  }

  .employee-benefits h2 {
    font-size: 25px;
  }

  .employee-benefits li {
    font-size: 16px;
  }
}

/* For Mobile Devices */
@media screen and (max-width: 480px) {
  .career-hero h2 {
    font-size: 2.5rem;
  }

  .career-hero p {
    font-size: 1rem;
  }

  .career-hero .btn {
    padding: 8px 15px;
    font-size: 0.8rem;
  }

  .why-join h2, #open-positions h2 {
    font-size: 1.8rem;
  }

  .reason, .position {
    width: 100%;
    margin-bottom: 15px;
  }

  .employee-benefits h2 {
    font-size: 22px;
  }

  .employee-benefits li {
    font-size: 15px;
  }
}
