/* ================================
   Banner
================================= */
.event-banner {
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInDown 1.5s ease;

  /* ✅ Background image with gradient overlay */
  background: 
    linear-gradient(135deg, rgba(26, 79, 139, 0.548) 0%, rgba(58, 125, 206, 0.27) 100%),
    url('../collge/page-header.webp') no-repeat center center/cover;

  position: relative;
  overflow: hidden;
}

.event-banner span {
  position: relative;
  z-index: 2;
  text-shadow: 0px 4px 15px rgba(0,0,0,0.4);
}

/* ================================
   Event Content
================================= */
.event-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(to right, #007bff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideInLeft 1s ease;
}

.event-meta {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
  animation: fadeIn 1.5s ease;
}

.event-content img {
  width: 100%;
  max-width: 800px;
  border-radius: 20px;
  display: block;
  animation: zoomIn 1.2s ease;
  cursor: pointer;
}

.event-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.event-content p.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   Highlight Cards (Gallery)
================================= */
.highlight-title {
  margin: 50px 0 20px;
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  animation: typing 3s steps(30, end), blink 0.6s infinite;
  border-right: 2px solid #007bff;
  white-space: nowrap;
  overflow: hidden;
}

.highlight-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #fff;
  text-align: center;
  padding-bottom: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-in-out;
}

.highlight-card.show {
  opacity: 1;
  transform: translateY(0);
}

.highlight-card img {
  width: 100%;
  height: auto;
  border-radius: 15px 15px 0 0;
  transition: transform 0.5s ease;
  cursor: pointer;
}
.highlight-card:hover img {
  transform: scale(1.05);
  
}

.highlight-card {
  position: relative;
  overflow: hidden;
}

.highlight-text {
  height: 100%;
  font-size: large;
  position: absolute;
  align-content: center;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 97, 192, 0.6);
  color: #160202;
  text-align: center;
  padding: 8px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease-in-out;
}

.highlight-card:hover .highlight-text {
  opacity: 1;
  transform: translateY(0);
}

a {
    color: rgba(226, 230, 235, 0.955);
    text-decoration: underline;
}
.highlight-card:hover .highlight-text {
  color: #dadee2e3;
}

/* ================================
   Custom Button
================================= */
.btn-custom {
  border: 2px solid #007bff;
  color: #007bff;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin: 40px auto;
  display: block;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.btn-custom:hover {
  background: #007bff;
  color: #fff;
  transform: scale(1.05);
}

/* ================================
   Lightbox Modal
================================= */
#lightboxModal .modal-dialog {
  max-width: 100%;
  margin: 0;
}

#lightboxModal .modal-content {
  height: 100vh;
  border: none;
  border-radius: 10px;
  background: linear-gradient(145deg, #020a195b, #00000056);
  animation: zoomIn 0.4s ease;
  overflow: hidden;
}

#lightboxModal .modal-body {
  padding: 0;
  background: rgba(1, 11, 20, 0.207);
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightboxImg {
  border-radius: 20px;
  
  max-height: 100vh;
  object-fit: contain;
  transition: transform 0.4s ease;
}
#lightboxImg:hover {
  transform: scale(1.03);
}

.lightbox-nav {
  height: 60px;
  width: 60px;
  position: absolute;
  top: 49%;
  transform: translateY(-50%);
  font-size: 4rem;
  color: white;
  cursor: pointer;
  padding: 10px;
  /* background: rgba(0, 0, 0, 0.895); */
  border-radius: 80%;
  transition: background 0.3s ease;
}
/* .lightbox-nav:hover { background: rgba(0,0,0,0.7); } */
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

#lightboxCaption {
  font-size: 1.1rem;
  color: #f1f1f1;
  margin-top: 15px;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

#lightboxModal .btn-close {
  width: 40px;
  height: 40px;
  filter: invert(1);
  opacity: 0.9;
  background-color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}
#lightboxModal .btn-close:hover {
  transform: rotate(90deg);
  opacity: 1;
}

/* ================================
   Animations
================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blink {
  50% { border-color: transparent; }
}
