body {
    background-image: url(../images/afe.png);
    background-repeat: no-repeat;
    background-size: cover; 
    background-attachment: fixed; 
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.career-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 5%;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.651);
  }
  
  .career-item {
    border: 1px solid #ffffff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    margin-top: 10px;
    transition: max-height 0.3s ease, margin 0.3s ease;
    width: 60%;

  }

  .text{
    font-size: 40px;
    color: white;
    padding-bottom: 30px;
  }
  
  .title {
    background-color: rgba(240, 240, 240, 0.35); /* Semi-transparent background */
    backdrop-filter: blur(5px); /* Applies blur to the background */
    -webkit-backdrop-filter: blur(5px); /* Ensures compatibility with Safari */
    color: rgb(255, 255, 255);
    padding: 15px;
    padding-left: 8%;
    padding-right: 8%;
    font-size: 18px;
    border-bottom: 5px solid rgba(173, 216, 230, 0);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
  }
  
  .title:hover {
    border-bottom: 5px solid rgb(255, 255, 255);
    
  }
  
  .details {
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 10px;
    padding-bottom: 20px;
    height: auto;
    display: none; /* Initially hidden */
    flex-direction: column;
    text-align: center;
    gap: 10px;
    background-color: rgba(240, 240, 240, 0.473); /* Semi-transparent background */
  backdrop-filter: blur(5px); /* Applies blur to the background */
  -webkit-backdrop-filter: blur(5px); /* Ensures compatibility with Safari */
  }
  
  .details img {
    width: 100%;
    height: auto;
  }

  .button{
    font-size: 15px;
    padding: 5px;
    width: 60%;
    background-color: rgb(248, 233, 23);
    border-radius: 50px;
    border: none;
    margin: 20px;
    margin-bottom: 5px;
  }
