.noisy-bg {
  position: relative;
  background: #101010;
  ;
  overflow: hidden;
}

.noisy-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='noiseFilter'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23noiseFilter)'/></svg>");
  opacity: 10%;
  pointer-events: none;
}




.noisy-bg-city {
  position: relative;
  background: #101010;
  ;
  overflow: hidden;
}

.noisy-bg-city::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='noiseFilter'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23noiseFilter)'/></svg>");
  opacity: 50%;
  pointer-events: none;
}

.rounded-gradient-border {

  padding: 1px;
  background: linear-gradient(360deg, rgba(242, 101, 34, 0.4), rgba(255, 255, 255, 0.4));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.figma-gradient-border {
  position: relative;
  padding: 1px;
  overflow: hidden;
}

.figma-gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 12px;
  background: linear-gradient(149.21deg, #F26522 0%, #CC1F00 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.gradient-border {
  border: 1px solid transparent;
  border-image-source: linear-gradient(90deg, #F26522 0%, #ED1C24 100%);
  border-image-slice: 1;
}

.rounded-border {
  position: relative;
  border-radius: 12px;
  /* adjust as needed */
  background: linear-gradient(90deg, #F0CB91 0%, #EA8045 100%);
}

.white-border {
  position: relative;
  border-radius: 12px;
  /* adjust as needed */
  background: linear-gradient(90deg, #F26522 0%, #FFFFFF 100%);
}


@keyframes noiseMove {
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }

  50% {
    -webkit-transform: translate(-5%, -5%);
    transform: translate(-5%, -5%);
  }

  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}

@media (max-width: 768px) {
  .figma-gradient-border::before {
    display: none;
  }
}


@font-face {
  font-family: 'Klavika';
  src: url('fonts/fonnts.com-Klavika_Basic.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Klavika';
  src: url('fonts/fonnts.com-Klavika_Basic_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}



@font-face {
  font-family: 'Klavika Condensed';
  src: url('fonts/fonnts.com-Klavika_Condensed_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Klavika Light';
  src: url('fonts/fonnts.com-Klavika_Basic_Light.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}




html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Klavika', sans-serif;
}

* {
  max-width: 100%;
  box-sizing: border-box;
}


.custom-swiper-pagination .swiper-pagination-bullet {
  background-color: gray;
  opacity: 0.5;
  width: 10px;
  height: 10px;
}

.custom-swiper-pagination .swiper-pagination-bullet-active {
  background-color: #F26522 !important;
  opacity: 1 !important;
}

.slick-dots li div {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: gray;
  opacity: 0.5;
}

.slick-dots li.slick-active div {
  background-color: #F26522 !important;
  opacity: 1 !important;
}

.inno-text {
  color: #CC1F00;
}

.text {
  color: #F26522;
}

.mobile-timeline {
  display: none;
}

.desktop-timeline {
  display: block;
}


@media (max-width: 768px) {
  .mobile-timeline {
    display: block;
  }

  .desktop-timeline {
    display: none;
  }
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


/* Hide scrollbar */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Override noisy-bg-city background */
.date-div:hover {
  background: linear-gradient(to right, #F26522, #CC1F00) !important;
  background-image: none !important;
}

/* Change text on hover */
.date-div .date-text {
  position: relative;
}

.date-div:hover .date-text {
  visibility: hidden;
}

.date-div:hover .date-text::before {
  content: "Apply Now";
  visibility: visible;
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  white-space: nowrap;
  color: black;
  font-weight: 600;
}

.noisy-bg-city:hover {
  background: linear-gradient(to right, #D9B381 100%, #DCAE7B 100%, #EA945C 100%) !important;
}

.noisy-bg-city:hover::before {
  content: none !important;
  display: none !important;
}

.gradient-text {
  background: linear-gradient(to right, #F26522, #ED1C24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-family: 'Klavika Condensed';
}

.gradient-text-Journey {
  background: #F26522;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-family: 'Klavika Condensed';
}

.card-glow-image {
  position: relative;
  z-index: 0;
  background: linear-gradient(to bottom right, #0C0702 15%, #292112 41%, #4D4126 62%, #6E5E37 74%, #B59D5E 88%, #3B2D19 100%);
}


.modal-overlay {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.modal {
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
}

.modal.active {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}



.demo-day {
  position: relative;
  padding: 0.5px;
  /* thickness of border */
  background: linear-gradient(90deg, #F26522 0%, #CC1F00 100%);
  border-radius: 10px;
}

.demo-day-inner {
  background: #000;
  /* your inner background */
  height: 100%;
  width: 100%;
  border-radius: 10px;
}

.timeline-item-glow {
  position: relative;
  background: linear-gradient(to right, #F26522 0%, #ED1C24 100%) !important;


}

.timeline-item-solid {
  background-color: #FB986A;
  border: none;
  box-shadow: none;
}

.timeline-item {
  position: relative;
  background: transparent;
  border: 1px solid #D9B280;
  border-radius: .5rem;

}

.card-wrapper {
  position: relative;
  -webkit-transition: -webkit-transform 0.4s ease-out;
  transition: transform 0.4s ease-out;
}

.card-wrapper::after {
  content: '';
  position: absolute;
  top: -1px;
  /* small offset around card */
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 0.5rem;
  /* keep corners rounded */
  background: #F1D299;
  opacity: 0;
  filter: blur(12px);
  /* soft glow */
  z-index: -1;
  /* behind the card */
  -webkit-transition: opacity 0.4s ease-in-out;
  transition: opacity 0.4s ease-in-out;
}

.card-wrapper:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  /* zoom in only */
}

.card-wrapper:hover::after {
  opacity: 1;
  /* show glow */
}


.card-content-wrapper {
  -webkit-transition: filter 0.5s ease-in-out;
  transition: filter 0.5s ease-in-out;
}

.card-wrapper:hover .card-content-wrapper {
  filter: blur(5px);
}

.click-prompt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  z-index: 20;
}

.card-wrapper:hover .click-prompt {
  opacity: 1;
}

/* Responsive Media Queries */

/* Laptop (max-width: 1024px) */
@media (max-width: 1024px) {

  /* Navigation */
  nav .max-w-\[1440px\] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* About Section */
  #about .max-w-4xl {
    max-width: 90%;
  }

  #about h2 {
    font-size: 2.25rem;
    /* 36px */
  }

  #about p {
    font-size: 1.125rem;
    /* 18px */
  }


  /* Prizes Section */
  #prizes .max-w-\[1200px\] {
    max-width: 95%;
  }

  #prizes h2 {
    font-size: 2.5rem;
  }

  /* Innovation Themes */
  #themes .max-w-\[1250px\] {
    max-width: 95%;
  }

  #themes h2 {
    font-size: 2.25rem;
  }

  /* Adjust grid for themes if needed */
  #themes .grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Timeline / Journey */
  section.relative.w-full.max-w-\[1440px\] {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* Slingshot Campus Days */
  section.relative.py-12.px-4.md\:px-0 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {

  /* General Section Padding */
  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Navigation */
  nav .max-w-\[1440px\] {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* About Section */
  #about h2 {
    font-size: 2rem;
    /* 32px */
  }

  #about p {
    font-size: 1rem;
    /* 16px */
  }

  /* Prizes Section */
  #prizes h2 {
    font-size: 2rem;
  }

  /* Ensure swiper or grid stacks properly */
  #prizes .md\:grid {
    display: none;
    /* Hide desktop grid if not already handled by tailwind md:hidden */
  }

  #prizes .md\:hidden {
    display: block;
    /* Show mobile swiper */
  }

  /* Innovation Themes */
  #themes h2 {
    font-size: 1.875rem;
    /* 30px */
  }
}


.card-content-wrapper {
  -webkit-transition: filter 0.5s ease-in-out;
  transition: filter 0.5s ease-in-out;
}

.card-wrapper:hover .card-content-wrapper {
  filter: blur(5px);
}

.click-prompt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  z-index: 20;
}

.card-wrapper:hover .click-prompt {
  opacity: 1;
}

/* Responsive Media Queries */

/* Laptop (max-width: 1400px) */
@media (max-width: 1400px) {

  /* Navigation */
  nav .max-w-\[1440px\] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Banner Video Fix */
  /* Target the video in the first fold */
  #firstFold+video,
  section>div.hidden.md\:block>video {
    height: auto !important;
    min-height: auto;
    object-fit: cover;
    object-position: center;
    width: 100%;
    max-width: 100%;
    max-height: 80vh;
  }



  /* About Section */
  #about .max-w-4xl {
    max-width: 90%;
  }

  #about h2 {
    font-size: 2.25rem;
    /* 36px */
  }


}

.card-wrapper:hover .card-content-wrapper {
  filter: blur(5px);
}

.click-prompt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  z-index: 20;
}

.card-wrapper:hover .click-prompt {
  opacity: 1;
}

/* Responsive Media Queries */

/* Laptop (max-width: 1024px) */
@media (max-width: 1024px) {

  /* Navigation */
  nav .max-w-\[1440px\] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* About Section */
  #about .max-w-4xl {
    max-width: 90%;
  }

  #about h2 {
    font-size: 2.25rem;
    /* 36px */
  }

  #about p {
    font-size: 1.125rem;
    /* 18px */
  }

  /* Prizes Section */
  #prizes .max-w-\[1200px\] {
    max-width: 95%;
  }

  #prizes h2 {
    font-size: 2.5rem;
  }

  /* Innovation Themes */
  #themes .max-w-\[1250px\] {
    max-width: 95%;
  }

  #themes h2 {
    font-size: 2.25rem;
  }

  /* Adjust grid for themes if needed */
  #themes .grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Timeline / Journey */
  section.relative.w-full.max-w-\[1440px\] {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* Slingshot Campus Days */
  section.relative.py-12.px-4.md\:px-0 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {

  /* General Section Padding */
  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Navigation */
  nav .max-w-\[1440px\] {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* About Section */
  #about h2 {
    font-size: 2rem;
    /* 32px */
  }

  #about p {
    font-size: 1rem;
    /* 16px */
  }

  /* Prizes Section */
  #prizes h2 {
    font-size: 2rem;
  }

  /* Ensure swiper or grid stacks properly */
  #prizes .md\:grid {
    display: none;
    /* Hide desktop grid if not already handled by tailwind md:hidden */
  }

  #prizes .md\:hidden {
    display: block;
    /* Show mobile swiper */
  }

  /* Innovation Themes */
  #themes h2 {
    font-size: 1.875rem;
    /* 30px */
  }

  .textwhocanparticipate p {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }


}


.card-content-wrapper {
  -webkit-transition: filter 0.5s ease-in-out;
  transition: filter 0.5s ease-in-out;
}

.card-wrapper:hover .card-content-wrapper {
  filter: blur(5px);
}

.click-prompt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  z-index: 20;
}

.card-wrapper:hover .click-prompt {
  opacity: 1;
}

/* Responsive Media Queries */

/* Laptop (max-width: 1024px) */
@media (max-width: 1024px) {

  /* Navigation */
  nav .max-w-\[1440px\] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Banner Video Fix */
  /* Target the video in the first fold */
  #firstFold+video,
  section>div.hidden.md\:flex>video {
    height: auto !important;
    min-height: 50vh;
    object-fit: cover;
  }

  /* About Section */
  #about .max-w-4xl {
    max-width: 90%;
  }

  #about h2 {
    font-size: 2.25rem;
    /* 36px */
  }

  #about p {
    font-size: 1.125rem;
    /* 18px */
  }



  /* Prizes Section */
  #prizes .max-w-\[1200px\] {
    max-width: 95%;
  }

  #prizes h2 {
    font-size: 2.5rem;
  }

  /* Innovation Themes */
  #themes .max-w-\[1250px\] {
    max-width: 95%;
  }

  #themes h2 {
    font-size: 2.25rem;
  }

  /* Themes Grid Fix: 2 cards per row */
  #themes .grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
    /* Spacing between rows */
  }

  /* Timeline / Journey */
  section.relative.w-full.max-w-\[1440px\] {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* Slingshot Campus Days */
  section.relative.py-12.px-4.md\:px-0 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {

  /* General Section Padding */
  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Navigation */
  nav .max-w-\[1440px\] {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Banner Video Fix */
  #firstFold+video,
  section>div.hidden.md\:flex>video {
    height: auto !important;
    min-height: 40vh;
  }

  /* About Section */
  #about h2 {
    font-size: 2rem;
    /* 32px */
  }



  /* Timeline */
  .desktop-timeline {
    display: none;
  }

  .mobile-timeline {
    display: block;
  }

  /* Ideathon / Demo Day Toggle */
  #ideathonBtn,
  #demoDayBtn {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }

  /* Modals */
  .modal {
    padding: 1.5rem;
  }

  .modal h2 {
    font-size: 1.5rem;
  }
}

.card-wrapper::after {
  content: '';
  position: absolute;
  top: -1px;
  /* small offset around card */
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 0.5rem;
  /* keep corners rounded */
  background: #F1D299;
  opacity: 0;
  filter: blur(12px);
  /* soft glow */
  z-index: -1;
  /* behind the card */
  transition: opacity 0.4s ease-in-out;
}

.card-wrapper:hover {
  transform: scale(1.05);
  /* zoom in only */
}

.card-wrapper:hover::after {
  opacity: 1;
  /* show glow */
}


.card-content-wrapper {
  transition: filter 0.5s ease-in-out;
}

.card-wrapper:hover .card-content-wrapper {
  filter: blur(5px);
}

.click-prompt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 20;
}

.card-wrapper:hover .click-prompt {
  opacity: 1;
}

/* Cookies Popup CSS */
:root {
  --cp-primary: #3463af;
  --cp-primary-hover: #194792;
  --cp-text-dark: #0f172a;
  --cp-text-body: #101223;
  --cp-bg-white: #ffffff;
  --cp-grey-border: #d2d6da;
  --cp-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.cookie-popup-container {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  position: absolute;
  bottom: 2.5rem;
  right: 1rem;
  width: 90vw;
  max-width: 400px;
  background-color: var(--cp-bg-white);
  border-radius: 0.375rem;
  box-shadow: var(--cp-shadow);
  z-index: 9999;
  overflow: hidden;
  box-sizing: border-box;
}

.cookie-content-wrapper {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cp-text-dark);
  margin: 0;
}

.cookie-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--cp-text-body);
  margin: 0;
}

.cookie-link {
  color: var(--cp-primary);
  text-decoration: underline;
  cursor: pointer;
}

.cookie-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.cookie-btn {
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.cookie-btn-outlined {
  background-color: transparent;
  border: 1px solid var(--cp-primary);
  color: var(--cp-primary);
}

.cookie-btn-outlined:hover {
  background-color: var(--cp-primary);
  color: var(--cp-bg-white);
}

.cookie-btn-filled {
  background-color: var(--cp-primary);
  border: 1px solid var(--cp-primary);
  color: var(--cp-bg-white);
  box-shadow: 0px 2px 24px rgba(0, 0, 0, 0.06);
}

.cookie-btn-filled:hover {
  background-color: var(--cp-primary-hover);
  border-color: var(--cp-primary-hover);
}

/* Cookie Mobile */
@media (max-width: 768px) {
  .cookie-popup-container {
    right: 0;
    bottom: 1.25rem;
    width: auto;
    margin: 0 0.75rem;
  }

  .cookie-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cookie-btn {
    width: 100%;
  }
}