.news-section {
  padding: 60px 8%;
}

.news-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #8b0000;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.news-card {
  border: 1px solid #ddd;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.news-view {
  padding: 50px 12%;
}

.news-img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  margin: 20px 0;
}

.news-meta {
  color: #777;
  margin-bottom: 20px;
}

.announcement-section {
    padding: 60px 10%;
}

.announcement-section h2 {
    text-align: center;
    font-size: 30px;
    color: #8b0000;
    margin-bottom: 40px;
}

.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.announcement-item {
    border-left: 5px solid #8b0000;
    background: #f9f9f9;
    padding: 20px;
}

.announcement-message {
    font-size: 16px;
    margin-bottom: 10px;
}

.announcement-date {
    font-size: 14px;
    color: #777;
}

/*eventssssssssssssssssssssssss*/
.past-title {
    margin-top: 80px;
}

.past-event {
    opacity: 0.7;
    background: #f2f2f2;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    border: 1px solid #ddd;
    min-height: 100px;
    padding: 5px;
    background: #fff;
}

.calendar-day.empty {
    background: #f5f5f5;
}

.date-number {
    font-weight: bold;
    margin-bottom: 5px;
}

.calendar-event {
    background: #8b0000;
    color: #fff;
    padding: 3px 5px;
    font-size: 12px;
    margin-bottom: 3px;
}


.calendar-day.today {
    background-color: #ffe6e6;
    border: 2px solid #8b0000;
}
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 5px;
    position: relative;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 20px;
    cursor: pointer;
}

.calendar-event {
    background: #8b0000;
    color: white;
    padding: 4px 6px;
    margin-top: 4px;
    font-size: 12px;
    cursor: pointer;
}


.jobs-section {
    padding: 60px 10%;
}

.jobs-section h2 {
    text-align: center;
    font-size: 32px;
    color: #8b0000;
    margin-bottom: 40px;
}

.job-filter {
    text-align: center;
    margin-bottom: 30px;
}

.job-filter select,
.job-filter button {
    padding: 8px 12px;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.job-card {
    border: 1px solid #ddd;
    padding: 20px;
    background: #f9f9f9;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-type {
    background: #8b0000;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
}

.job-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.apply-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background: #8b0000;
    color: white;
    text-decoration: none;
}


.announcement-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.announcement-custom-date {
    display: block;
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.announcement-message {
    margin-bottom: 10px;
}

.announcement-date {
    font-size: 13px;
    color: #999;
}

