html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

.cat-overlay {
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  cursor: pointer;
  transition: all .5s ease
}

.hidden {
  display: none
}

.rightcol.cat-overlay span.img,
.leftcol.cat-overlay span.img {
  top: 50%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block
}

.rightcol span.img,
.leftcol span.img {
  display: none
}

/* Programme Highlights arrows */
.service_content_a1,
.service_content_a2,
.service_content_a3 {
  position: relative
}

.service_content_a1:after,
.service_content_a2:after,
.service_content_a3:after {
  background: url(../assets/hiw-arrow.png);
  width: 90px;
  height: 50px;
  margin: 0 auto;
  display: block;
  z-index: 1;
  text-align: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 60px;
  right: -83px;
}

.how-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
}

.how-row .col-md-3 {
  flex: 0 0 20%;
  max-width: 20%;
  min-width: 220px;
  scroll-snap-align: start;
}

/* Timeline info buttons clickable above content */
.modal-header1 {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 10;
}

/*.modal-header1 .close1{position:absolute;right:10px;top:10px;z-index:10000;cursor:pointer}*/
.timeline .content {
  position: relative;
  z-index: 1;
  padding-right: 50px;
}

.modal-header1 .close1 img {
  pointer-events: none
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 24px;
  font-style: normal;
  text-shadow: none;
}

p,
li {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  font-style: normal;
  text-shadow: none;
}

section.seervice_sec_bg {
  padding-top: 80px;
  background-color: white;
}

.section-heading h2 {
  font-weight: 500;
  color: #3F2B56;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 1px;
  background-color: #EAC473;
  margin: 20px auto 40px;
}

.header_overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
}

.header_overlay_text p {
  position: absolute;
  margin: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 18px;
  color: #fff;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
}

.header_overlay_logo img {
  width: 180px;
  object-fit: contain;
}

.header_overlay_logo {
  text-align: center;
  background-color: white;
  padding: 16px 22px;
  border-radius: 16px;
  position: absolute;
  top: 36px;
  left: 44px;
}

.header_content {
  padding: 0;
}

.header_content h1 {
  font-weight: 600;
  font-size: 4rem;
  line-height: 1.2;
  font-style: normal;
  text-shadow: none;
  max-width: 800px;
  margin: 0 auto 30px;
}

.header_content p {
  font-weight: 400;
  font-size: 24px;
  font-style: normal;
  text-shadow: none;
  margin-bottom: 40px;
}

.header_content a {
  font-weight: 500;
  font-size: 20px;
  font-style: normal;
  text-shadow: none;
  background-color: #EFCE8B;
  color: #3F2B56;
  padding: 10px 30px;
}

.header_content a:hover,
.header_content a:active {
  background-color: #E0B860 !important;
  color: #3F2B56 !important;
}

/* Shiny Button Effect */
.shiny-btn {
  position: relative;
  overflow: hidden;
}

.shiny-btn:active {
  background-color: #E0B860 !important;
  color: #3F2B56 !important;
  border-color: transparent !important;
}

.shiny-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: none;
  z-index: 1;
}

.shiny-btn:hover::before {
  left: 125%;
  transition: left 0.7s ease;
}


.header_back {
  background-size: cover;
  background-attachment: fixed;
}

.about-section {
  padding: 100px 0;
  background-color: #3F2B56;
  color: #fff;
  position: relative;
}

.about-section img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  object-fit: cover;
}

.about-section h2 {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  font-style: normal;
  text-shadow: none;
  margin-bottom: 24px;
}

.about-section p {
  font-weight: 400;
  font-size: 16px;
  font-style: normal;
  text-shadow: none;
  text-align: center;
  line-height: 2;
  width: 85%;
  margin: 0 auto;
}

.join-section {
  display: flex;
  align-items: center;
  position: relative;
  background-color: #F3EFF6;
}

.join-section-content {
  width: 50%;
  padding: 0 80px;
}

.join-section-content ul {
  padding-left: 24px;
}

.join-section-content h2 {
  color: #3F2B56;
}

.join-section-image {
  width: 50%;
}

.terms-and-conditions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

.terms-and-conditions p {
  font-size: 14px;
  margin-bottom: 0;
}

.terms-and-conditions img {
  width: 20px;
  height: 20px;
}

.join-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seervice_sec_bg p {
  font-size: 14px;
  text-align: center;
  padding: 0 16px;
}

.terms-and-conditions p {
  padding: 0;
}

.seervice_sec_bg sub {
  display: inline-block;
  line-height: 1.4;
  margin-top: 8px;
  color: #5C5C5C;
}

.service_content_image {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

section.programe {
  padding: 80px 0;
  background-image: url(../assets/programme-bg.png);
}

a.link {
  color: #F26424;
  word-wrap: break-word;
}

.ready-to-join-divider {
  border: 1px solid #CBB7D8;
  margin: 50px 0;
}

.time_container p {
  margin-bottom: 0;
  font-size: 14px;
}

.time_container h2 {
  margin: 10px 0;
  font-size: 14px;
}

.judges-section {
  background-image: url(../assets/panel-bg.jpg);
  background-repeat: no-repeat;
  padding: 70px 0;
  background-size: cover;
}

.judges-section h2 {
  color: #fff;
}

.judges-list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
}

.judges-list .pad15 {
  text-align: center;
  width: 235px;
}

.judges-list .pad15 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.judges-list .pad15 h3 {
  font-size: 18px;
  font-weight: 700;
  color: #EAC473;
  margin: 25px 0 0;
}

.judges-list .pad15 p {
  font-size: 14px;
  margin-bottom: 0;
}

.time_line_head {
  padding: 0;
}

.judges-section .section-heading h2::after {
  background-color: #fff;
}

/* Prize Section */
.prize-section {
  background-image: url(../assets/award-bg.jpg);
  position: relative;
  overflow: hidden;
  padding: 20px 0 100px 0;
  background-size: cover;
}

.prize-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #2d4a5c;
}

.prize-section-title {
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  padding-top: 80px;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.prize-section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background-color: #fff;
  margin: 15px auto 0;
}

.prize-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.prize-card {
  width: 300px;
  background-color: #D6EEF2;
  border-radius: 12px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: transform 0.3s ease;
}

.prize-card:hover {
  transform: translateY(-5px);
}

.prize-icon {
  width: 80px;
  height: 80px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.prize-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.prize-info {
  text-align: center;
}

.prize-label {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: 500;
}

.prize-amount {
  color: #212529;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.prize-dimension {
  background-color: #4db3c4;
  color: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
}

.trophy-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.trophy-image {
  max-width: 100%;
  transform: scale(1.2);
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}


@media screen and (max-width: 991px) {
  .prize-section {
    background-size: cover;
    padding: 60px 0;
  }
  
  .prize-section-title {
    font-size: 28px;
    padding-top: 40px;
    margin-bottom: 40px;
  }
  
  .trophy-visual {
    margin-top: 40px;
  }
  
  .trophy-visual::before {
    width: 300px;
    height: 300px;
  }

  .judges-section {
    background-size: cover;
    background-position: center;
  }
}

@media screen and (max-width: 767px) {
  .prize-card {
    width: 100%;
    flex-direction: row;
    text-align: center;
    padding: 20px;
    gap: 40px;
  }

  .seervice_sec_bg p {
    padding: 0;
  }
  
  .prize-icon {
    margin-bottom: 0;
  }
  
  .prize-amount {
    font-size: 24px;
  }

  .trophy-image {
    transform: scale(1);
  }

  .trophy-visual {
    margin-top: 0;
  }

  .judges-section {
    background-size: cover;
    background-position: center;
  }

  .judges-list .pad15 img {
    width: 80%;
    height: 80%;
    object-fit: cover;
  }

  .terms-and-conditions p {
    text-align: left;
  }
}

/* Ready to Join Section */
.ready-to-join-section {
  background-color: #f5f5f5;
  padding: 80px 0;
}

.ready-to-join-content {
  margin: 0 auto;
  text-align: center;
}

.ready-to-join-title {
  background: linear-gradient(90deg, #3E2956 0%, #885ABC 100%);
  color: transparent;
  background-clip: text;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
}

.ready-to-join-subtitle {
  color: #212529;
  font-size: 16px;
  margin-bottom: 40px;
}

.btn-register-team {
  font-weight: 500;
  font-size: 20px;
  font-style: normal;
  text-shadow: none;
  background-color: #EFCE8B;
  color: #3F2B56;
  padding: 10px 30px;
}

.btn-register-team:hover,
.btn-register-team:active,
.btn-register-team:focus {
  background-color: #E0B860;
  color: #3F2B56;
}

.info-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
}

.info-block {
  flex: 1 1 0;
  min-width: 0;
  background-color: #fff;
  border-width: 1px 1px 1px 3px;
  border-style: solid;
  border-color: #CBB7D8;
  border-radius: 8px;
  padding: 25px;
  text-align: left;
}

.info-block p {
  margin: 0;
  color: #212529;
  font-size: 14px;
  line-height: 1.6;
}

.info-link {
  color: #007bff;
  text-decoration: underline;
  font-weight: 600;
}

.info-link-email {
  color: #dc3545;
  text-decoration: underline;
  font-weight: 600;
}

.info-link-email:hover {
  color: #c82333;
  text-decoration: underline;
}

/* Joint Initiative Section */
.joint-initiative-section {
  background-color: #EBE9EE;
  padding: 60px 0;
  border-top: 1px solid #e0e0e0;
}

.joint-initiative-content {
  max-width: 800px;
  text-align: center;
}

.joint-initiative-title {
  color: black;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 40px;
}

.joint-initiative-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.joint-initiative-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}

.joint-initiative-logos img {
  max-width: 160px;
  height: auto;
}

.joint-initiative-logos-sgx img {
  max-width: 250px;
}

.joint-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.joint-logo img {
  max-width: 200px;
  height: auto;
}

.joint-logo p {
  color: #212529;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

/* Footer Section */
.footer-section {
  background-color: #3F2B56;
  padding: 30px 0;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  color: #fff;
  font-size: 14px;
  margin: 0;
}

@media screen and (max-width: 991px) {
  .ready-to-join-title {
    font-size: 36px;
  }
  
  .joint-initiative-logos {
    gap: 40px;
  }
}

@media screen and (max-width: 767px) {
  header.header_back {
    height: 80vh;
  }

  .ready-to-join-title {
    font-size: 32px;
  }
  
  .ready-to-join-subtitle {
    font-size: 16px;
  }
  
  .btn-register-team {
    padding: 12px 30px;
    font-size: 16px;
  }
  
  .info-block {
    padding: 20px;
  }
  
  .joint-initiative-section {
    padding: 40px 0;
  }
  
  .joint-initiative-logos {
    flex-direction: column;
    gap: 30px;
  }

  .joint-initiative-container {
    flex-direction: column;
    gap: 30px;
  }

  .joint-initiative-title {
    margin-bottom: 20px;
  }
}

.content .labels {
  display: inline-block;
  margin: 10px 0;
  padding: 5px 10px;
  background-color: #F6E6C2;
  font-weight: 14px;
  color: black;
  border-radius: 5px;
}

.labels.labels-purple {
  background-color: #E8DFEE;
}

.labels.labels-blue {
  background-color: #B1E0E9;
}

.content {
  border-radius: 15px;
  border-width: 2px;
  border-color: #EAC473;
  /* cursor: pointer; */
}

/* .content:hover {
  background-color: #F6E6C2;
}

.content:hover .close1 img {
  filter: brightness(0);
} */

.right::before {
  border-color: transparent #EAC473 transparent transparent;
}

.left::before {
  border-color: transparent transparent transparent #EAC473;
}

/* Responsive refinements */
@media screen and (max-width: 1200px) {
  .header_content h1 {
    font-size: 58px;
  }

  .header_content p {
    font-size: 20px;
  }

  .header_overlay_logo {
    top: 20px;
    left: 20px;
    padding: 12px 16px;
  }
}

@media screen and (max-width: 991px) {
  .header_overlay {
    padding: 120px 24px 80px;
    min-height: 520px;
  }

  .header_content {
    text-align: center;
  }

  .header_content h1 {
    font-size: 48px;
  }

  .header_content p {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .header_content a {
    font-size: 18px;
  }

  .header_overlay_text p {
    padding: 14px 16px;
  }

  .join-section {
    flex-direction: column;
  }

  .join-section-content {
    width: 100%;
    padding: 40px 24px;
    text-align: center;
  }

  .join-section-image {
    width: 100%;
    order: -1;
  }

  .about-section {
    padding: 70px 0;
  }

  .about-section p {
    width: 100%;
    padding: 0 12px;
  }

  .judges-list {
    flex-wrap: wrap;
    gap: 40px;
  }

  .prize-cards {
    gap: 16px;
  }

  .trophy-visual::before {
    width: 240px;
    height: 240px;
  }

  .ready-to-join-content {
    padding: 0;
  }
}

@media screen and (max-width: 767px) {
  .service_content_a1:after,
  .service_content_a2:after,
  .service_content_a3:after {
    display: none;
  }

  .col-md-3.text-center {
    margin-bottom: 20px;
  }

  .prize-section .col-lg-6.col-md-12.text-center {
    order: -1;
    margin-bottom: 20px;
  }

  .trophy-visual {
    order: -1;
    margin-bottom: 20px;
  }

  .header_overlay {
    padding: 100px 16px 60px;
    flex-direction: column;
  }

  .header_overlay_logo {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    order: 1;
  }

  .header_overlay_logo img {
    width: 100%;
    height: auto;
  }

  .header_overlay .container {
    order: 2;
    width: 100%;
  }

  .header_content h1 {
    font-size: 32px;
    margin-bottom: 16px;
    line-height: 1.2;
    max-width: 100%;
  }

  .header_content p {
    font-size: 14px;
  }

  .header_content a {
    font-size: 16px;
    padding: 10px 24px;
  }

  .join-section-image img {
    object-fit: contain;
  }

  .prize-cards {
    flex-direction: column;
    align-items: stretch;
  }

  .prize-card {
    width: 100%;
  }

  .info-blocks {
    flex-direction: column;
    gap: 16px;
  }

  .trophy-visual::before {
    width: 200px;
    height: 200px;
  }

  .header_overlay_text p {
    font-size: 14px;
  }

  .service-item {
    margin-bottom: 25px;
  }

  .about-section, 
  section.programe, 
  .judges-section, 
  .prize-section, 
  .ready-to-join-section,
  section.seervice_sec_bg,
  .joint-initiative-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .join-section-content {
    padding: 40px 15px;
  }
  
  h1, h2, h3 {
    word-wrap: break-word; 
  }
  
  .section-heading h2,
  .about-section h2,
  .join-section-content h2,
  .prize-section-title,
  .ready-to-join-title {
    font-size: 22px;
  }

  .about-section p, .join-section-content p{
    font-size: 14px;
  }

  .join-section-content h2, .join-section-content p {
    text-align: left;
  }

  .join-section-content ul li {
    font-size: 14px;
    text-align: left;
  }

  p {
    font-size: 14px;
  }

  .ready-to-join-subtitle {
    font-size: 16px;
  }

  p {
    margin-bottom: 15px;
  }
  
  .section-heading h2::after {
    margin: 15px auto 30px;
  }
}

/* FAQ Section Styles */
.faq {
  padding: 80px 0;
  background-color: #F3EFF6;
}

.faq .section-heading h2::after {
  background-color: #CBB7D8;
}

.faq .accordion {
  border: none;
}

.faq .accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  margin-bottom: 15px;
  background-color: #ffffff;
  transition: box-shadow 0.3s ease;
}

.faq .accordion-button {
  background-color: #ffffff;
  border-radius: 15px !important;
  border: none;
  padding: 20px 25px;
  font-weight: 500;
  color: #333;
  box-shadow: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.faq .accordion-button::after {
  display: none;
}

.faq .accordion-button:not(.collapsed) {
  background-color: #ffffff;
  color: #333;
  box-shadow: none;
}

.faq .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq .faq-icon-wrapper {
  margin-left: 15px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.faq .faq-icon-wrapper i {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 18px;
}

.faq .accordion-button.collapsed .faq-icon-wrapper .bi-plus-lg {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.faq .accordion-button.collapsed .faq-icon-wrapper .bi-dash-lg {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.faq .accordion-button:not(.collapsed) .faq-icon-wrapper .bi-plus-lg {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.faq .accordion-button:not(.collapsed) .faq-icon-wrapper .bi-dash-lg {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.faq .faq-question {
  flex: 1;
  text-align: left;
  color: black;
}

.faq .accordion-body {
  padding: 0px 25px 20px;
  color: black;
  line-height: 1.6;
}

.faq .accordion-body a.link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .faq {
    padding: 50px 0;
  }
  
  .faq .accordion-button {
    padding: 15px 20px;
    font-size: 15px;
  }
  
  .faq .accordion-body {
    padding: 15px 20px;
    font-size: 14px;
  }
}