/* Modern section background with image + opacity overlay */
.modern-section {
  position: relative;
  padding: 60px;
  background: url('/../assets/images/event-bg.jpg') center/cover no-repeat;
  z-index: 1;
  overflow: hidden;
}

/* Dark or light overlay for opacity */
.modern-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75); /* Adjust opacity here */
  z-index: -1;
}

/* Two-column event layout */
.event-two-col {
  display: flex;
  gap: 40px;
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 22px rgba(0,0,0,0.08);
  align-items: center;
}

/* Left image */
.event-image {
  flex: 1;
  max-width: 45%;
}

.event-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Right content */
.event-details {
  flex: 1;
}

.event-sec-title {
  color: #fff;
}

.event-details h3 {
  font-size: 1.9rem;
  margin-bottom: 15px;
  color: #333;
}

.event-meta {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
}

/* Button */
.event-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  border: 2px solid #333;
  text-decoration: none;
  font-weight: 600;
  color: #333;
  transition: 0.3s;
}

.event-btn:hover {
  background: #333;
  color: #fff;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .event-two-col {
    flex-direction: column;
    text-align: center;
  }

  .event-image {
    max-width: 100%;
  }

  .event-details h3 {
    font-size: 1.6rem;
  }
}