.Home-main-content-wrapper {
  margin-top: 50px;
}

.Home-introduction-email-hyperlink {
  color: #003d7c;
  text-decoration: underline;
}

.Home-main-content-title {
  color: #003d7c;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 10px;
}

.Home-main-content-title-event {
  color: white;
  font-size: 2em;
  font-weight: 700;
  margin: 24px 0px;
}

.Home-main-content-main-text-two-column-wrapper-introduction {
  display: flex;
  max-width: 100%;
  gap: 30px;
  /* flex-wrap: wrap; */
  justify-content: space-between;
}

.Home-main-content-main-text-two-column-wrapper {
  display: flex;
  max-width: 100%;
  gap: 15px;
  /* flex-wrap: wrap; */
  justify-content: space-between;
}

.Home-main-content-main-text-column {
  /* min-width: 350px; */
  /* max-width: 800px; */
  width: 50%;
  /* width: 50%; */
  /* max-width: 600px; */
}

@media (max-width: 800px) {
  .Home-main-content-main-text-two-column-wrapper-introduction {
    display: flex;
    max-width: 100%;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
  }

  .Home-main-content-main-text-two-column-wrapper {
    display: flex;
    max-width: 100%;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
  }

  .Home-main-content-main-text-column {
    width: 100%;
  }
}

.Home-main-content-highlight-section-wrapper {
  background-color: #003d7c;
  margin-top: 50px;
}

.Home-main-content-highlight-section-wrapper-event {
  background-color: #003d7c;
}

.Home-main-content-session-wrapper-event {
  margin-bottom: 50px;
  background-color: #003d7c;
}

.Home-main-content-highlight-section-inner-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 0px 50px 0px 50px;
  align-items: center;
}

.Home-main-content-highlight-section-inner-wrapper-event {
  gap: 40px;
  padding: 50px 50px 50px 50px;
}

.Home-main-content-highlight-section-text {
  color: white;
}

.Home-main-content-img {
  width: 400px;
}

@media (max-width: 800px) {
  .Home-main-content-img {
    width: 320px;
  }
  .Home-main-content-highlight-section-wrapper {
    background-color: #003d7c;
    margin-top: 100px;
    height: 350px;
  }
  .Home-main-content-highlight-section-inner-wrapper {
    display: flex;
    flex-direction: column;
    padding: 0px 50px 0px 50px;
    align-items: center;
  }

  .Home-main-content-highlight-section-img {
    top: -100px;
    position: relative;
    height: 212px;
    width: 350px;
  }

  .Home-main-content-highlight-section-text {
    color: white;
    top: -100px;
    position: relative;
  }
}

.Home-main-content-session-wrapper {
  /* margin-bottom: 50px; */
}

.Home-main-content-smart-nation-img-wrapper {
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.Home-main-content-smart-nation-img {
  width: 350px;
}

#hero-wrapper {
  height: 400px;
  width: 100%;
}

#hero-wrapper .carousel-wrapper,
#hero-carousel {
  height: 400px;
  width: 100%;
}
/* 
.carousel-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  background: linear-gradient(180deg, #002a55 0%, rgba(217, 217, 217, 0) 100%);
} */

#hero-carousel {
  img {
    left: 0;
    bottom: 0;
    min-width: 100%;
    max-width: none;
    height: 400px;
    object-fit: cover;
  }
}

.carousel-fade {
  .carousel-inner {
    .item {
      opacity: 0;
      transition: opacity 1s ease;
    }

    .item::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0) 50%);
    }

    .active {
      opacity: 1;
    }

    .active.left,
    .active.right {
      left: 0;
      opacity: 0;
      z-index: 1;
    }

    .next.left,
    .prev.right {
      opacity: 1;
    }
  }
}

.carousel-textbox {
  position: absolute;
  z-index: 2;
  margin-top: 20px;
  margin-left: 50px;
  padding: 30px;
  max-width: 800px;
  height: 200px;
}

.carousel-textbox-title {
  color: white;
  font-weight: 700;
  font-size: 3em;
}

.carousel-textbox-description {
  color: white;
  font-weight: 500;
  font-size: 16px;
}

.carousel-textbox-link {
  text-decoration: none !important;
  color: white !important;
  font-weight: 500;
}

.carousel-textbox-button {
  background-color: transparent;
  border: 1px solid white;
  color: white;
  border-radius: 0;
  padding: 0.9em 1.5em;
  width: 200px;
}

@media (max-width: 800px) {
  .carousel-textbox {
    position: absolute;
    z-index: 2;
    margin-top: 20px;
    margin-left: 0px;
    padding-bottom: 30px;
    max-width: 500px;
    min-width: 300px;
    height: 150px;
    text-align: center;
  }

  .carousel-textbox-description {
    display: none;
  }
}

.Home-main-content-smart-nation-i {
  color: #d85600;
  font-weight: 700;
}

.Home-main-content-smart-nation-nnovation {
  color: #003d7c;
  font-weight: 700;
}

.Home-main-content-smart-nation-40 {
  color: #d85600;
  font-weight: 700;
}

.Event-wrapper {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 30px;
}

@media (max-width: 1200px) {
  .Event-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    align-items: center;
  }
}

.Event-box {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.Event-box-date-highlight {
  width: 80px;
  height: 72px;
  padding: 20px;
  background-color: #ef7c00;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  left: 35px;
  position: relative;
  bottom: -20px;
}

.Event-box-date-highlight-month {
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.Event-box-date-highlight-day {
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.Event-box-main-content {
  width: 350px;
  padding: 45px 35px 35px 35px;

  border-radius: 10px;
  background: #fff;
}

.Event-box-main-content-title {
  color: #003d7c;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.Event-box-main-content-host {
  font-size: 14px;
  font-weight: 300;
  color: darkslategrey;
}

.Event-box-main-content-titlehost-container {
  min-height: 110px;
  margin-bottom: 20px;
}

.Event-box-main-content-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  min-height: 50px;
  margin-bottom: 5px;
  height: auto;
}

.material-symbols-outlined {
  color: #ef7c00;
}

.view-all-button-wrapper {
  border-radius: 10px;
  background: #fff;
  align-items: center;
  display: flex;
  justify-content: center;
  width: 150px;
  height: 35px;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
  margin-bottom: 20px;
}

.view-all-button-wrapper:hover {
  background: #ef7c00;
  transition: all 0.15s ease-in-out;
}

.view-all-button-text {
  color: #003d7c;
  background-color: transparent;
  border: none;
  font-weight: 700;
  align-items: center;
  display: flex;
  justify-content: center;
}

.view-all-button-href {
  text-decoration: none !important;
}

.Highlights-container {
  display: flex;
  flex-wrap: nowrap; /* Allows items to wrap to the next line */
  gap: 48px; /* Space between the highlight boxes */
  justify-content: space-between;
  transition: transform 0.5s ease-in-out;
  overflow: hidden; /* Hide overflow to prevent scrollbars */
}

.Highlights-header {
  font-size: 36pt; /* Increase the font size */
  color: white; /* Keep the text color white */
  font-weight: 700; /* Make the text bold */
  text-align: center;
  margin-bottom: 30px; /* Add spacing below the header */
}

.Highlights-grid-container {
  display: flex;
  background-color: #013C7C;
  flex-wrap: wrap; /* Allow items to wrap to the next row */
  row-gap: 30px; /* Space between grid items */
  column-gap: 25px;
  justify-content: flex-start; /* Center the grid items */
  padding: 20px;
  margin-bottom: 0px;
}

.Highlights-card {
  flex: 0 0 calc(25% - 20px); /* 4 items per row (adjust as needed) */
  box-sizing: border-box;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0px;
  transition: transform 0.3s ease;
}

@media (max-width: 1200px) {
  .Highlights-card {
    flex: 0 0 calc(33.33% - 20px); /* 2 items per row on medium screens */
  }
}

@media (max-width: 768px) {
  .Highlights-container {
    flex: 0 0 calc(50% - 20px); /* 2 items per row on small screens */
  }
}

@media (max-width: 480px) {
  .Highlights-card {
    flex: 0 0 calc(100% - 20px); /* 1 item per row on extra small screens */
  }
}


.Highlights-card-text {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}

.Highlights-card button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 6px 12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 10px;
  margin: 3px 2px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.Highlights-card:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

.Highlights-card img {
  width: 100%;
  height: 150px; /* Fixed height for images */
  object-fit: cover; /* Ensure the image fits without distortion */
  border-radius: 10px 10px 0 0; /* Rounded corners for the top of the card */
}

.Highlights-card-paper-title {
  color: #ef7c00;
  font-size: 12px;
  font-weight: 700;
}

.Highlights-card-authors {
  font-size: 9px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 200;
}

.Highlights-card-remarks {
  padding-top: 12px;
  font-size: 11px;
  font-weight: 200;
}

.Highlights-card-details {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.Highlights-card-details p {
  margin: 0;
  font-weight: 300;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  animation: fadeIn 0.4s ease; /* Add fade-in animation */
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 750px;
  max-height: 80%; /* Limit the height of the modal */
  overflow-y: auto; /* Enable vertical scrolling for the content */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.4s ease; /* Add slide-down animation */
}

@keyframes fadeIn {
  from {
    opacity: 0.25;
    transform: translateY(75px); /* Optional: Add a slight upward motion */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.Highlights-container.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

.Highlights-arrow {
  background-color: transparent;
  color: #ff8c00;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 500%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.Highlights-arrow:disabled {
  color: #ccc; /* Grey out the disabled button */
  cursor: not-allowed; /* Change cursor to indicate it's disabled */
}

.Highlights-arrow:not(:disabled):hover {
  color: #d85600; /* Change color on hover */
}

.left-arrow {
  left: 5%;
}

.right-arrow {
  right: 5%;
}

#highlight-buttons button {
  margin-right: 10px; /* Add space between buttons */
}

#highlight-buttons button:last-child {
  margin-right: 0; /* Remove margin for the last button */
}

.blue-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.Highlights-box {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(33.33% - 20px); /* 3 items per row on larger screens */
  min-height: 30vh;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.Highlights-box:hover {
  transform: scale(1.02); /* Slight scale on hover */
}

@media (max-width: 1200px) {
  .Highlights-box {
    flex: 1 1 calc(50% - 20px); /* 2 items per row on medium screens */
  }
}

@media (max-width: 768px) {
  .Highlights-container {
    flex-direction: column;
  }
}

.Highlights-box-text {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}

.Highlight-cover-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0px 0px;
}

.Highlights-box-details {
  display: flex;
  align-items: center;
  gap: 8px;
}

.Highlights-box-details p {
  margin: 0;
  font-weight: 300;
}

.Highlights-paper-title {
  color: #ef7c00;
  font-size: 16px;
  font-weight: 700;
}

.Highlights-authors {
  font-size: 12px;
  font-weight: 200;
}

.Highlights-remarks {
  padding-top: 12px;
  font-size: 14px;
  font-weight: 200;
}

.Highlights-download-link-container {
  padding-top: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #ef7c00;
  gap: 8px;
}

.Highlights-download-link-container:hover {
  color: #d85600;
  text-decoration: none;
}
