.events {
  padding: 80px 10%;
  background: linear-gradient(to bottom, #ffffff, #f5f7fa);
}

.events h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 30px;
}

/* GRID */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.4s;
}

.event-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* IMAGE */
.event-img {
  height: 80px;
  overflow: hidden;
}

.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.event-card:hover img {
  transform: scale(1.1);
}

/* CONTENT */
.event-content {
  padding: 20px;
}

.event-content .date {
  color: #f5c518;
  font-weight: bold;
  font-size: 14px;
}

.event-content h3 {
  margin: 10px 0;
  font-size: 18px;
}

.event-content p {
  color: #555;
  font-size: 14px;
}
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a {
    padding: 8px 12px;
    margin: 3px;
    background: #eee;
    cursor: pointer;
    border-radius: 5px;
}

.pagination a.active {
    background: #C9A24A;
    color: white;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}


