
/* ======== Start Events Section ======== */

.sections-title {
  text-align: center;
  margin-bottom: 0;
}

.section-title__title {
  font-size: 32px;
  font-weight: bold;
  color: #00629B;
  position: relative;
  display: inline-block;
  margin-bottom: 6px;
}

.underline-hover {
  position: relative;
  height: 25px;
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.underline-hover::before,
.underline-hover::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 2px;
  background-color: #00629B;
  transition: width 0.5s ease;
}

.underline-hover::before {
  right: 50%;
  transform: translateY(-50%);
  transform-origin: right;
}

.underline-hover::after {
  left: 50%;
  transform: translateY(-50%);
  transform-origin: left;
}

.diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background-color: #00629B;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 2;
}

.underline-hover::before,
.underline-hover::after {
  width: 60px; 
}

.timeline-section {
  background-color: #fff;
  padding: 50px 0;
}

.timeline {
  position: relative;
  width: 90%;
  margin: auto;
  padding: 20px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: #ccc;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}


/* Timeline Dot */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 12px;
  width: 14px;
  height: 14px;
  background-color: #00629B;
  border-radius: 50%;
  z-index: 2;
}

/* Timeline Container */
.timeline-container {
  width: 50%;
  position: relative;
  padding: 20px 40px;
}

.timeline-container.left {
  left: 0;
  text-align: right;
}

.timeline-container.right {
  left: 50%;
  text-align: left;
}

.timeline-container.left::before {
  left: auto;
  right: -7px; 
}

.timeline-container.right::before {
  left: -7px; 
}


/* Card Content */


/* Date Label */
.event-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 500px;
  margin: 20px auto;
  text-align: center;
  transition: transform 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 85, 184, 0.5);

}

.card-date {
  display: inline-block;
  background-color: #00629B;
  color: white;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-weight: bold;
}

.card-title {
  font-size: 20px;
  color: #00629B;
  font-weight: 700;
  margin: 12px 0;
}

/* Image Zoom Effect */
.image-wrapper {
  overflow: hidden;
  border-radius: 10px;
  margin: 15px 0;
}

.card-image {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  display: block;
}

.card-description {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 10px;
}

/* Button Styling */
.read-more-btn {
  position: relative;
  background: linear-gradient(135deg, #0056d2, #1a73e8);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 85, 184, 0.2);
}

.read-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: skewX(-20deg);
  animation: shine 3.5s infinite; 
  z-index: 2;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.read-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 85, 184, 0.4);
}


/* Responsive */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 10px;
  }

  .timeline-container {
    padding-left: 40px;
  }

  .timeline-container::before {
    left: 2px;
  }
}

.timeline-end {
  text-align: center;
  margin-top: 40px;
}

.timeline-end {
  position: relative;
  width: 100%;
  margin-top: 50px;
  text-align: center;
  z-index: 5;
}
.timeline-explore {
  position: relative;
  width: 100%;
  margin-top: 40px;
  text-align: center;
  z-index: 5;
}

.scroll-down-hint {
  display: inline-block;
  color: #0056d2;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.scroll-down-hint:hover {
  color: #003f9e;
}

.scroll-down-hint i {
  display: block;
  font-size: 22px;
  margin-top: 6px;
  animation: bounceDown 1.4s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

.scroll-down-hint span {
  color: #00629B;
  animation: glowText 1.8s infinite;
}

@keyframes glowText {
  0%, 100% {
    text-shadow: 0 0 4px #66b2ff;
  }
  50% {
    text-shadow: 0 0 15px #0056d2;
  }
}

.section-description {
  font-size: 1.1rem;
  color: #666; 
  text-align: center;
  margin-top: 1px;
  margin-bottom: 5px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.decor-line {
  width: 60px;
  height: 3px;
  background-color: #00629B;
  border: none;
  margin: 10px auto 30px auto;
  border-radius: 5px;
}


/* ======== End Events Section ======== */

 .modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
      }

      .modal-content {
        background-color: white;
        margin: 3% auto;
        padding: 30px;
        width: 80%;
        max-width: 900px;
        border-radius: 12px;
        position: relative;
      }

      .close-btn {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 24px;
        cursor: pointer;
      }

      .video-container {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        margin-top: 20px;
      }

      .video-container iframe {
        position: absolute;
        width: 100%;
        height: 100%;
        border: none;
      }


  .events-intro {
  text-align: center;
  padding: 40px 20px 10px;
  background-color: #f9fbff;
}

.section-title__title {
  font-size: 36px;
  color: #00629B;
  font-weight: bold;
  margin-bottom: 0;
}

.underline-hover {
  position: relative;
  height: 20px;
  margin: 10px auto 0;
  width: 100%;
}

.underline-hover::before,
.underline-hover::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 2px;
  background-color: #00629B;
}

.underline-hover::before {
  right: 50%;
  transform: translateY(-50%);
}

.underline-hover::after {
  left: 50%;
  transform: translateY(-50%);
}

.diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background-color: #00629B;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 2;
}

.section-description {
  font-size: 1.1rem;
  color: #555;
  margin-top: 12px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.decor-line {
  width: 60px;
  height: 3px;
  background-color: #00629B;
  border: none;
  margin: 20px auto 0;
  border-radius: 5px;
}
