

/* MAIN CARD */
.events-wrapper{
  background:#fff;
  padding:45px;
  border-radius:24px;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
  position:relative;
  overflow:hidden;
}

/* TOP BORDER */
.events-wrapper::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:6px;
  background:linear-gradient(to right,var(--primary-blue),var(--accent-red));
}

/* TITLE */
.events-title{
  font-size:42px;
  font-weight:900;
  color:var(--primary-blue);
  margin-bottom:12px;
  text-transform:uppercase;
}

.events-divider{
  width:80px;
  height:4px;
  background:var(--accent-red);
  border-radius:20px;
  margin-bottom:40px;
}

/* EVENT BOX */
.event-card{
  background:#f9faff;
  border-left:5px solid var(--primary-blue);
  border-radius:20px;
  padding:30px;
  margin-bottom:40px;
  transition:0.4s ease;
}

.event-card:hover{
  transform:translateY(-6px);
  border-left-color:var(--accent-red);
  box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

/* EVENT TITLE */
.event-card h3{
  color:var(--primary-blue);
  font-size:28px;
  font-weight:800;
  line-height:1.5;
  margin-bottom:20px;
}

/* PARAGRAPH */
.event-card p{
  color:#444;
  line-height:1.9;
  font-size:16px;
  text-align:justify;
  margin-bottom:18px;
}

/* H4 */
.event-card h4{
  color:var(--accent-red);
  font-size:20px;
  line-height:1.6;
  margin-bottom:18px;
  font-weight:700;
}

/* BOLD */
.event-card b{
  color:var(--primary-blue);
}

/* IMAGE GRID */
.event-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
  margin-top:30px;
}

/* IMAGE BOX */
.event-img{
  overflow:hidden;
  border-radius:18px;
  position:relative;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.event-img img{
  width:100%;
  height:280px;
  object-fit:cover;
  transition:0.5s ease;
}

.event-img:hover img{
  transform:scale(1.08);
}

/* RESPONSIVE */
@media(max-width:768px){

  .events-wrapper{
    padding:25px;
  }

  .events-title{
    font-size:30px;
    text-align:center;
  }

  .events-divider{
    margin:0 auto 30px;
  }

  .event-card{
    padding:20px;
  }

  .event-card h3{
    font-size:22px;
  }

  .event-card p{
    font-size:15px;
  }

  .event-gallery{
    grid-template-columns:1fr;
  }

  .event-img img{
    height:240px;
  }
}