* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lexend', sans-serif;
    font-size: 15px;
    color: #3a3a3a;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Offset for sticky menu */
}

#header {
    top: 0;
    position: sticky;
}

header {
    height: 90px;
    font-weight: 400;
    background-color: #fcfcfc;
    /* background-color: rgba(250, 250, 250, 0.85); */
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 80%;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

nav ul li {
    position: relative; /* Required for dropdown positioning */
    margin: 0 10px;
}

nav ul li a {
    display: flex;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #f2f2f2;
}

.link-btn {
    background-color: #0092f6;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px 15px;
    text-decoration: none;
}

.link-btn:hover {
    background-color: #0073c0;
}

/* Dropdown Menu */
nav ul li ul.dropdown {
    display: none; /* Hide dropdown initially */
    position: absolute;
    top: 100%; /* Position below parent <li> */
    left: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    z-index: 1000;
}

nav ul li ul.dropdown li {
    width: 150px; /* Set a fixed width for dropdown items */
}

nav ul li ul.dropdown li a {
    padding: 10px 15px;
    display: block;
    text-align: left;
}

nav ul li ul.dropdown li a:hover {
    background-color: #f2f2f2;
}

/* Show Dropdown on Hover */
nav ul li:hover>ul.dropdown {
    display: block; /* Show dropdown when hovering over parent <li> */
}

footer {
    height: 40px;
    background: #3a3a3a;
    font-weight: 400;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer a, footer p  {
    color: #eee;
    font-size: 12px;
    text-align: center;
}

.news {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    line-height: 25px;

    /* Scroll */
    flex: 1;
    overflow-y: auto;
}

.news li {
    margin: 10px 0px;
    text-decoration: none;
}

.news a,
.text-page a {
    color: #f97c00;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 90px - 40px); /* Subtracts header and footer heights */
}

.cover {
  position: relative;
  width: 100vw; /* force full browser width */
  height: calc(100vh - 90px); /* keep header in mind */
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 25px;
}

.cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.3), rgba(0,0,0,0.2));
  z-index: 0;
  pointer-events: none; /* Allows clicks to go through */
}

.cover-content {
	 position: relative;
  z-index: 1;
    max-width: 50%;
    padding: 22px 22px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 5px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.content {
    background-color: rgb(247, 251, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 90px - 40px); /* Subtract header and footer */
    padding: 45px 0px;
}

.content-left {
    height: 100%;
    display: flex;
    width: 55%;
    margin-right: 20px;
}

.content-right {
    height: 100%;
    display: flex;
    width: 30%;
}

.content-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 22px 22px;
    background-color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 5px;

    /* Scroll */
    flex: 1;
    overflow-y: auto;
}

.content-text p {
    
}

.sponsors {
  text-align: center;
  padding: 45px 0;
}

.sponsors h3 {
  font-size: 35px;
  margin-bottom: 30px;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sponsor-logos img {
  height: 150px; /* Larger on desktop */
  max-width: 250px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sponsor-logos img:hover {
  transform: scale(1.05);
}


@media (max-width: 768px) {
  .sponsor-logos img {
    height: 60px;
    max-width: 180px;
  }

  .sponsors h3 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .sponsor-logos img {
    height: 50px;
    max-width: 150px;
  }

  .sponsors h3 {
    font-size: 24px;
  }
}

main h1 {
    font-size: 48px;
    color: #f97c00;
}

main h2 {
    font-size: 26px;
    color: #142a3a;
    font-weight: 800;
    margin: 8px 0px;
}

main h3 {
    font-size: 20px;
    color: #1d3d55;
    font-weight: 600;
    margin: 8px 0px;
}

main h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 3px 0;
}

main p {
    line-height: 25px;
    margin: 8px 0;
}


/* .action-btn a {
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

.action-btn:hover {
    background-color: #0073c0;

}

.action-btn {
    padding: 10px 15px;
    margin-top: 20px;
    margin-bottom: 8px;
    background: #0092f6;
    color: #fff;
    outline: none;
    border: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
} */

.text-page {
    width: 80%;
    margin: 40px 0px;
}

.text-page ul {
    margin-left: 30px;
}

.text-page li {
    padding: 5px 0px;
}

.text-page p {
    font-weight: 400;
    line-height: 25px;
    margin: 15px 0;
}

.text-page h1 {
    margin: 25px 0px;
    font-size: 32px;
}

.text-page h2 {
    font-size: 26px;
    margin: 25px 0px;
}

.text-page h3 {
    margin: 25px 0px;
}

.content-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0px 20px 20px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin: 15px 0px;
}

.table th {
    display: flex;
    justify-content: left;
}
.table tr{
    line-height: 30px;
}

.content-group {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.content-box-small {
    display: flex;
    width:40%;
    flex-direction: column;
    padding: 0px 20px 20px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin: 15px 0px;
}

.content-box-small-mid {
  display: flex;
  flex-direction: column;
  padding: 0px 20px 20px 20px;
  background-color: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin: 15px auto;        /* ✅ centers it horizontally */
  width: fit-content;       /* ✅ shrink-wrap content */
  max-width: 100%;          /* ✅ prevent overflow on small screens */
}

.content-group img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 10px;
    height: 46vh;
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}

.bx-menu {
    font-size: 30px;
}

.box-icon {
    display: none;
}

@media only screen and (max-width: 1024px) {
    nav {
        position: relative;
        flex-direction: column;
    }
    
    .box-icon {
        display: flex;
        top: 10px;
        right: 20px;
    }
    
    nav ul {
        background-color: #fafafa;
        display: none;
        position: fixed;
        top: 60px;
        right: 50px;
        width: 180px;
        padding: 6px;
        border-radius: 5px;
    }

    .showmenu {
        display: block;
        color: whitesmoke;
    }

    nav ul li {
        padding: 2% 0;
    }

    nav ul li a {
        color: #222;
    }

    main h1 {
        font-size: 34px;
    }

    main h2 {
        font-size: 20px;
    }

    .cover-content {
        max-width: 90%;
    }
    
    .content-box-small {
        width: 100%;
    }

    .content {
        flex-direction: column;
        height: auto;
    }

    .content-left {
        width: 90%;
        margin: 10px 0;
    }

    .content-right {
        width: 90%;
        margin: 10px 0;
    }
	

}

.cover-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 8px;
  max-width: 1000px;
  width: 80%;
  text-align: left;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
  margin: 0;
  margin-left: 25px; /* left-aligned on desktop */
}

.cover-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Important: keeps it *behind* everything */
}

.cover-content.animate-in {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .cover-content {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

.cover-content.animate-in {
  transform: translateY(0);
  opacity: 1;
}

.timeline {
  position: relative;
  height: 300px;
  margin: 40px 0;
  padding-left: 40px;
}

.timeline-line {
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #ddd;
  animation: grow-line 1s ease-out forwards;
}

.timeline-event:last-of-type .dot {
  animation: glow-dot 0.8s ease-out 0.9s forwards, pulse-glow 2s infinite 1.6s;
}
.timeline-event {
  position: absolute;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-event .dot {
  width: 16px;
  height: 16px;
  background-color: red;
  border-radius: 50%;
  transform: scale(0);
  animation: pop-dot 0.5s ease-out forwards;
}

.timeline-event:nth-child(2) .dot {
  animation-delay: 0.3s;
}
.timeline-event:nth-child(3) .dot {
  animation-delay: 0.6s;
}
.timeline-event:nth-child(4) .dot {
  animation-delay: 0.9s;
}
.timeline-event:nth-child(5) .dot {
  animation-delay: 1.2s;
}

.timeline-event .label {
  font-weight: 500;
  color: #333;
}

@keyframes grow-line {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}

@keyframes pop-dot {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes glow-dot {
  0% {
    transform: scale(0);
    opacity: 0;
    box-shadow: 0 0 0 rgba(255, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 0, 0, 1);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
  }
}

.timeline-line {
  z-index: 0;
}
.timeline-event {
  z-index: 1;
}

#header {
  position: sticky;
  top: 0;
  z-index: 10;
}

.black-btn {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.black-btn:hover {
  background-color: #222;
}

.progress-container {
  width: 100%;
  background-color: #eee;
  border-radius: 10px;
  height: 14px;
  margin-top: 10px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

#progress-bar {
  height: 100%;
  background-color: #e63946; /* red */
  width: 0%;
  border-radius: 10px;
  transition: width 0.5s ease-in-out;
}

.tabs {
  margin-top: 30px;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  background-color: #f0f0f0;
  color: #222;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.tab-btn.active {
  background-color: #0092f6;
  color: #fff;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.committee-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.committee-role h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1d3d55;
  margin-bottom: 5px;
}

.committee-role p {
  margin: 2px 0;
  font-size: 15px;
  color: #333;
}

.sponsor-table {
  width: 100%;
  max-width: 1000px; /* wider table */
  margin: 30px auto;
  border-collapse: collapse;
  font-size: 15px; /* slightly bigger */
  background-color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sponsor-table th,
.sponsor-table td {
  padding: 16px 20px; /* more spacing */
  text-align: center;
  border: 1px solid #ddd;
  vertical-align: middle;
}

.sponsor-table th {
  background-color: #0092f6;
  color: #fff;
  font-size: 16px;
}

.sponsor-table .price {
  font-weight: normal;
  font-size: 13px;
  color: #eee;
  display: block;
  margin-top: 4px;
}

.sponsor-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.sponsor-table tr:hover {
  background-color: #f3faff;
}

.slide-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.transport-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  background-color: white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.transport-table th,
.transport-table td {
  border: 1px solid #ddd;
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.transport-table th {
  background-color: #0092f6;
  color: white;
  font-weight: 600;
}

.transport-table .subtext {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.transport-table tr:nth-child(even) {
  background-color: #f9f9f9;
}


.sticky-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #ffffff;
  color: #222;
  font-size: 13px;
  padding: 6px 40px 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid #ccc;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.sticky-banner a {
  color: #0092f6;
  font-weight: 500;
  text-decoration: underline;
}

.banner-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner-close {
  background: none;
  border: none;
  color: #000;
  font-size: 18px;
  cursor: pointer;
  padding: 0 10px;
  line-height: 1;
}