/* Events Section */
.events-section.style1-cards {
  padding: 80px 10%;
}

.events-section.style1-cards h2 {
  text-align: center;
}

/* Responsive grid for events */
.events-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Event card base style */
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 25px;
  border-radius: 14px;
  background: #1f1f1f;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Highlight styling */
.highlight-event {
  background: rgba(30, 30, 50, 0.8);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Read More Button (appears on hover) */
/* Overlay Container */
.event-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 5;
}

/* Show overlay on hover */
.event-card:hover .event-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Read More Button */
.read-more-btn {
  position: relative;
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
}

/* Button shine effect */
.btn-shine {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.6s ease;
}

/* Hover animations */
.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.read-more-btn:hover .btn-shine {
  left: 100%;
}





/* Event Info */
.event-info h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: #ddd2e4;
}

.event-info p {
  margin: 0;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
}

/* Event Date */
.event-date {
  font-size: 0.95rem;
  font-weight: bold;
  color: #9f49f0;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .events-section.style1-cards {
    padding: 60px 6%;
  }

  .read-more-btn {
    font-size: 0.85rem;
    padding: 6px 14px;
  }
}

@media (max-width: 480px) {
  .event-card {
    padding: 20px;
  }
}
@media (max-width: 400px) {
  .events-section.style1-cards h2 {
    font-size: 2rem;
  }
}
