/* General Styling */
body {
    font-family: "Inter", sans-serif;
    line-height: 1.7;
    color: #ffffff;
    background: linear-gradient(135deg, #1f2a37, #2f3c4d);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

main {
    width: 70%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Job Listing Sections */
.job-listing {
    background-color: rgba(18, 24, 38, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 900px;
}

.job-listing h2 {
    font-size: 2rem;
    color: #00a6ff;
    border-bottom: 3px solid #f1c40f;
    padding-bottom: 10px;
    text-align: center;
}

.job-listing .notice {
    font-size: 1rem;
    color: #f1c40f;
    text-align: center;
    font-weight: bold;
}

.job-listing ul {
    color: #ddd;
    padding-left: 20px;
}

.job-listing li {
    margin-bottom: 10px;
}

/* Apply Button */
.apply {
    display: block;
    background-color: #00a6ff;
    color: #ffffff;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin: 15px auto;
}

.apply:hover {
    background-color: #f1c40f;
    transform: scale(1.05);
}

/* Read More Button */
.read-more {
    background-color: #00a6ff;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 15px auto;
    transition: background 0.3s ease, transform 0.2s ease;
}

.read-more:hover {
    background-color: #f1c40f;
    transform: scale(1.05);
}

/* Hidden Job Details */
.hidden {
    display: none;
}

/* Remove .apply a styles (not needed) */
.apply a, .apply a:hover {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        width: 90%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .job-listing h2 {
        font-size: 1.8rem;
    }
    
    .apply {
        font-size: 1rem;
    }
}
