/* Event Template CSS */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
body {
  font-family: 'Roboto', sans-serif;
}

.event-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 0 0 0;
}

/* Main Title Section */
.event-heading h2 {
  font-family: 'Inter', serif;
  color: #1c4386;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  position: relative;
  cursor: pointer;
  margin: 0;
  margin-bottom: 20px;
  padding-bottom: 5px;
}

.event-heading h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2.3px;
  background-color: #1c4386;
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.event-heading h2:hover::after {
  width: 110%;
  /* You can adjust the width as needed */
}

/* Photo Section */
.event-photo {
  width: 100%;
  padding: 40px 0;
  background: #f8f9fa;
}

.event-photo .event-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.event-photo .event-container img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-photo .event-container center {
  margin-top: 30px;
}
.event-btn {
  width: 100%;
  max-width: 130px;
  height: 40px;
  color: #fff;
  font-weight: 500;
  font-family: 'Lato', sans-serif;
  background: linear-gradient(135deg, #1c4386 0%, #245aa3 100%);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  display: inline-block;
  outline: none;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(28, 67, 134, 0.3);
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  padding: 0 1rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.event-btn:hover::before {
  left: 100%;
}

.event-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(28, 67, 134, 0.4);
  background: linear-gradient(135deg, #245aa3 0%, #1c4386 100%);
}

.event-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(28, 67, 134, 0.3);
}

.event-btn:focus {
  box-shadow: 0 4px 15px rgba(28, 67, 134, 0.3),
    0 0 0 3px rgba(28, 67, 134, 0.2);
}
.event-btn a {
  /* remove default a styles */
  text-decoration: none !important;
  color: inherit;
}
/* Seperator */
.event-seperator {
  width: 100%;
  padding: 20px 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-lines {
  height: 2px;
  width: 50%;
  background: linear-gradient(to right, transparent, #1c4386, transparent);
  position: relative;
}

.event-diamond {
  width: 12px;
  height: 12px;
  background: #1c4386;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* About Section */
.event-about {
  width: 100%;
  background: white;
}

.event-about .event-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.event-about h1 {
  font-size: 2.2rem;
  color: #1c4386;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.event-about h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1c4386, #2c5aa0);
}

.event-box {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin: 40px;
}

/* Timeline Section */
/* Timeline Section */
.event-timeline {
  position: relative;
  width: 660px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 1em 0;
  list-style-type: none;
}

.event-timeline:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: ' ';
  display: block;
  width: 6px;
  height: 100%;
  margin-left: -3px;
  background: rgb(80, 80, 80);
  background: linear-gradient(
    to bottom,
    rgba(80, 80, 80, 0) 0%,
    rgb(80, 80, 80) 8%,
    rgb(80, 80, 80) 92%,
    rgba(80, 80, 80, 0) 100%
  );
  z-index: -1;
}

.event-timeline li {
  padding: 1em 0;
}

.event-timeline li:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.event-direction-l {
  position: relative;
  width: 300px;
  float: left;
  text-align: right;
}

.event-direction-r {
  position: relative;
  width: 300px;
  float: right;
}

.event-flag-wrapper {
  position: relative;
  display: inline-block;
  text-align: center;
}

.event-flag {
  position: relative;
  display: inline;
  background: #1c4386;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
}

.event-direction-l .event-flag {
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.event-direction-r .event-flag {
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.event-direction-l .event-flag:before,
.event-direction-r .event-flag:before {
  position: absolute;
  top: 50%;
  right: -40px;
  content: ' ';
  display: block;
  width: 12px;
  height: 12px;
  margin-top: -10px;
  background: #fff;
  border-radius: 10px;
  border: 4px solid #1c4386;
  z-index: 0;
}

.event-direction-r .event-flag:before {
  left: -40px;
}

.event-direction-l .event-flag:after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-left-color: rgb(248, 248, 248);
  border-width: 8px;
  pointer-event: none;
}

.event-direction-r .event-flag:after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -8px;
  border: solid transparent;
  border-right-color: rgb(248, 248, 248);
  border-width: 8px;
  pointer-event: none;
}

.event-desc {
  margin: 1em 0.75em 0 0;
  font-size: 0.77777em;
  font-style: italic;
  line-height: 1.5em;
}

.event-direction-r .event-desc {
  margin: 1em 0 0 0.75em;
}

/* Timeline Section - Responsive */
@media (max-width: 768px) {
  .event-timeline {
    width: 360px;
  }

  .event-direction-l {
    position: relative;
    width: 150px;
    float: left;
    text-align: right;
    font-size: 12px;
  }

  .event-direction-r {
    position: relative;
    width: 150px;
    float: right;
    font-size: 12px;
  }
}
/* Objectives Section */
.event-objectives {
  width: 100%;
  background: white;
}

.event-objectives .event-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.event-objectives h1 {
  font-size: 2.2rem;
  color: #1c4386;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.event-objectives h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1c4386, #2c5aa0);
}

/* Prizes Section */
.event-prize-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.event-p {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
  padding: 25px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.event-p:hover {
  transform: translateY(-5px);
}

.event-p-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.event-p-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-p-text h3 {
  color: #1c4386;
  margin-bottom: 10px;
}

.event-list-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Incubatees Section */
.event-incubatees {
  width: 100%;
  background: #f8f9fa;
}

.event-incubatees .event-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.event-incubatees h1 {
  font-size: 2.2rem;
  color: #1c4386;
  margin-bottom: 40px;
  text-align: center;
}

.event-container2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.event-person {
  width: 200px;
  text-align: center;
}

.event-container-inner {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
}

.event-container-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-container-inner:hover img {
  transform: scale(1.1);
}

.event-divider {
  width: 50px;
  height: 3px;
  background: #1c4386;
  margin: 15px auto;
}

.event-name {
  font-weight: 600;
  color: #333;
}

.event-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.event-name a:hover {
  color: #1c4386;
}

/* Responsive Design */
@media (max-width: 768px) {
  .event-main-title h1 {
    font-size: 2rem;
  }

  .event-about h1,
  .event-evaluation h1,
  .event-objectives h1,
  .event-incubatees h1 {
    font-size: 1.8rem;
  }

  .event-p {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .event-main-title h1 {
    font-size: 1.8rem;
  }

  .event-about h1,
  .event-evaluation h1,
  .event-objectives h1,
  .event-incubatees h1 {
    font-size: 1.6rem;
  }

  .event-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .event-box {
    font-size: 1rem;
  }

  .event-container2 {
    flex-direction: column;
    align-items: center;
  }
}
