/* Calendar Section */
#calendar {
  max-width: 100%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Modal (Event Detail Popup) */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  position: relative;
}

.close-button {
  color: #d00;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 15px;
  cursor: pointer;
}

/* Campaign Cards for Events Page */
.events-section {
  padding: 80px 0;
  background-color: #f6f6f6;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.campaign-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.campaign-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.event-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-details h3 {
  font-size: 1.4rem;
  color: #287094;
  margin-bottom: 10px;
}

.event-details p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 12px;
}

.event-details ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 20px;
}

.event-details li {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 6px;
}

.card-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.card-buttons a {
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: #287094;
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background-color: #023246;
}

.btn-outline {
  background: transparent;
  border: 2px solid #287094;
  color: #287094;
}

.btn-outline:hover {
  background-color: #287094;
  color: #fff;
}
/* Section heading for Events page */
.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #023246;
  text-align: center;
  margin: 10px 0 30px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #287094, #023246);
}

.section-subtitle {
  text-align: center;
  color: #444;
  font-size: 1.05rem;
  margin-top: -8px;
}
