body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #007BFF;
    color: #fff;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

header img {
    max-height: 60px;
}

header h1 {
    margin: 0;
    font-size: 2rem;
    color: #000;
    font-family: 'Georgia', serif;
    margin-left: 1rem;
}

header p {
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    font-style: italic;
    margin: 0;
    color: #333;
    margin-left: 1rem;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.nav-buttons a {
    background-color: #0056b3;
    color: white;
    padding: 1rem;
    border: none;
    text-align: center;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.nav-buttons a:hover {
    background-color: #003b80;
}

main {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    flex-grow: 1;
}

section {
    margin-bottom: 2rem;
}

h1, h2 {
    color: #007BFF;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #333;
    color: #fff;
    width: 100%;
    bottom: 0;
    margin-top: 2rem;
    flex-shrink: 0;
    overflow: auto;
}

.collapsible-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.collapsible {
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    padding: 1rem;
    border: none;
    text-align: center;
    outline: none;
    font-size: 1rem;
    flex: 1;
    min-width: 150px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    height: auto;
    white-space: normal;
}

.collapsible:hover {
    background-color: #0056b3;
}

.collapsible.active {
    background-color: #004494;
}

.content {
    padding: 0 1rem;
    display: none;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    overflow: hidden;
    height: 0;
    transition: height 0.5s ease, padding 0.3s ease;
    text-align: justify;
}

.content.show {
    display: block;
    height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.section-title {
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.25rem;
    color: #007BFF;
    margin-bottom: 1rem;
}

.apply-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.apply-btn {
    background-color: #28a745;
    color: white;
    padding: 1rem 2rem;
    border: none;
    text-align: center;
    font-size: 1.25rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content;
    text-decoration: none;
}

.apply-btn:hover {
    background-color: #218838;
}

.checkbox-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

input[type="checkbox"] {
    margin-right: 10px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 5px;
}

textarea {
    height: 150px;
    resize: vertical;
}

.required:after {
    content: " *";
    color: red;
}

.other-job-type {
    display: none;
}

label {
    font-weight: bold;
}

.modal{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,0.5);
  z-index:1000;
  justify-content:center;
  align-items:center;
  animation:fadeIn 0.5s ease-in-out;
}
.modal-content{
  background-color:#fff;
  padding:20px;
  border-radius:10px;
  text-align:center;
  width:80%;
  max-width:500px;
  box-shadow:0 4px 8px rgba(0,0,0,0.1);
  position:relative;
}
.modal-content .error-emoji{
  font-size:50px;
}
.modal-content .message{
  margin:10px 0;
}
.modal-content .apply-btn{
  background-color:#28a745;
  color:white;
  padding:10px 20px;
  border:none;
  border-radius:5px;
  cursor:pointer;
  text-decoration:none;
}
.modal-content .apply-btn:hover{
  background-color:#218838;
}
.modal-content .close-btn{
  position:absolute;
  top:10px;
  right:10px;
  font-size:20px;
  color:#333;
  cursor:pointer;
}
@keyframes fadeIn{
  from{
    opacity:0;
    transform:scale(0.8);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}
