.event-header {
  text-align: center;
  padding: calc(100px + 20px) 20px 18px;
  background-color: #ffffff;
}
.event-header h2 {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.event-header p {
  font-size: 18px;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

/* main container */
.event-section {
  display: flex;
  justify-content: center;
  padding: 20px 20px;
  background-color: #ffffff;
}

.event-card {
  width: 95%;
  max-width: 1400px;
  height: 520px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 360ms cubic-bezier(0.2, 0.9, 0.26, 1), box-shadow 360ms ease;
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(0.2, 0.9, 0.26, 1), filter 360ms ease;
  will-change: transform;
}

.event-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 38%;
  background: linear-gradient(to bottom,rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
  transition: background 360ms ease;
  border-radius: 0 0 28px 28px;
}

.event-info {
  font-family: "Poppins", Arial, sans-serif;
  position: absolute;
  left: 36px;
  top: 36px;
  color: #fff;
  z-index: 3;
  max-width: 50%;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease,
  transform 420ms cubic-bezier(0.2, 0.9, 0.26, 1);
  pointer-events: none;
}

.event-info h3 {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 32px;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.event-info .description {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 20px;
  opacity: 0.9;
}

.event-card:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

.event-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.4);
}

.event-card:hover::after {
  background: linear-gradient(to bottom,rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0.45) 100%
  );
}

.event-card:hover .event-info {
  opacity: 1;
  transform: translateY(0);
}

/* responsive */
@media (max-width: 900px) {
  .event-card {
    height: 420px;
    border-radius: 22px;
  }
  .event-info h3 {
    font-size: 26px;
  }
  .event-info {
    left: 24px;
    bottom: 24px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .event-info {
    max-width: 72%; 
    padding-right: 8px;
  }

  .event-info .description {
    font-size: 21px;
    line-height: 1.35;
    opacity: 0.95;
    max-width: 100%;
    word-wrap: break-word;
  }

  .event-info h3 {
    padding-bottom: 10px;
    font-size: 27px;
    line-height: 1.1;
    margin-bottom: 8px;
  }
}
