/* EVENT SECTION */
.events-section {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 15px;
  text-align: center;
}

.section-title {
  font-size: 25px;
  color: maroon; /* Updated to match theme */
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #800000; /* Updated to match maroon theme */
  margin: 12px auto 0;
  border-radius: 2px;
}

.events-grid {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.event-card {
  background: #fff5f5; /* Soft light pink background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(128, 0, 0, 0.15); /* Soft shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.25); /* Darker shadow on hover */
}

.event-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #800000; /* Maroon accent under the image */
}

.event-info {
  padding: 15px;
  text-align: center;
}

.event-date {
  display: inline-block;
  background: maroon; /* Maroon background for event date */
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.event-title {
  font-size: 16px;
  color: maroon; /* Maroon text for the event title */
  margin: 10px 0 0;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.event-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.event-title a:hover {
  color: #a00000; /* Darker shade of maroon on hover */
}
