/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #888888;
    background-color: #f9f9f9;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* Header Section */
  .header {
    text-align: center;
    background-color: rgb(3, 75, 80);
    padding: 50px 20px;
    color: #797979;
  }
  
  .header .flyer {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    height: 5rem;
  }
  
  .header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
  }
  
  .header p {
    font-size: 1.2rem;
    color: rgb(119, 119, 119);
  }
  
  /* Job Roles Section */
  .job-roles {
    margin: 40px 0;
  }
  
  .job-roles h2 {
    font-size: 1.rem;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .roles {
    display: grid;
    gap: 20px; /* Space between boxes */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
    grid-auto-rows: auto; /* Allow rows to have independent heights */
  }
  
  .role {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: all 0.3s ease; /* Smooth height transitions */
    align-self: start; /* Ensure each box aligns independently */
    overflow: hidden; /* Prevent content overflow */
  }
      
  .role:hover {
    transform: translateY(-5px);
  }
  
  .role h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #222;
  }
  
  .role p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .details-btn {
    background: rgb(3, 75, 80);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    color: white;
  }
  
  .details-btn:hover {
    opacity: 0.8;  
}
  .role-icon i{
    background: rgba(3, 138, 192, 0.521);
    border-radius: 50%;
    padding: 1rem;
    bottom: 0;
  }
  .role-details {
    margin-top: 20px;
    padding: 1rem;
    background: #f9f9f9;
    border-left: 4px solid rgb(3, 75, 80);
    border-radius: 5px;
  }
  .role-details ul{
    margin-left: 8px;
  }
  
  .hidden {
    display: none;
  }

  .hidden1 {
    display: none;
  }
  .hidden2 {
    display: none;
  }
  .hidden3 {
    display: none;
  }
  .hidden4 {
    display: none;
  }
  .hidden5 {
    display: none;
  }


  /* Apply Section */
  .apply {
    margin: 40px 0;
    text-align: center;
  }
  
  .apply h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .application-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
  }
  
  .application-form label {
    display: block;
    font-weight: 600;
    margin: 15px 0 5px;
    text-align: left;
  }
  
  .application-form input,
  .application-form select,
  .application-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .application-form button {
    background: rgb(3, 75, 80);
    border: none;
    padding: 15px 30px;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .application-form button:hover {
    opacity: 0.8;
  }
  
  /* Footer Section */
  .footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
  }
  
  .footer .social-icons a {
    color: rgb(19, 233, 12);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  
  .footer .social-icons a:hover {
    color: #fff;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .header h1 {
      font-size: 2rem;
    }
  
    .roles {
      grid-template-columns: 1fr;
    }
  }

    /* Popup Styling */
    .popup {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      width: 90%;
      max-width: 400px;
      text-align: center;
      padding: 20px;
      z-index: 1000;
      display: none;
      animation: fadeIn 0.3s ease-in-out;
    }

    .popup.show {
      display: block;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translate(-50%, -55%);
      }
      to {
        opacity: 1;
        transform: translate(-50%, -50%);
      }
    }

    .popup .icon {
      font-size: 3rem;
      color: #28a745;
      margin-bottom: 10px;
    }

    .popup h3 {
      font-size: 1.5rem;
      margin-bottom: 10px;
      color: #333;
    }

    .popup p {
      font-size: 1rem;
      color: #555;
    }

    .popup .btn {
      margin-top: 15px;
      padding: 10px 20px;
      background: #28a745;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 1rem;
    }

    .popup .btn:hover {
      background: #218838;
    }

    /* Overlay */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
      display: none;
    }

    .overlay.show {
      display: block;
    }
  