/* Extracted from index.html inline <style> blocks. Keep in sync via index.html <link>. */

    body {
      font-family: 'Kanit', -apple-system, BlinkMacSystemFont, sans-serif;
    }

/* Floating startup Apply card with live countdown. Always visible, high z-index
   (like the nav menu) and outside #smooth-content so position:fixed holds. */
.floating-apply-card {
  position: fixed !important;
  right: 18px;
  bottom: 18px;
  z-index: 99998 !important;
  width: 252px;
  max-width: calc(100vw - 24px);
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px 15px;
  text-align: center;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .30);
  animation: facIn .5s ease both;
}
@keyframes facIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.fac-label {
  font-size: .82rem;
  font-weight: 700;
  color: #1f2a44;
  line-height: 1.25;
  margin-bottom: 6px;
}
.fac-countdown {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fc702f;
  letter-spacing: .3px;
  margin-bottom: 11px;
  font-variant-numeric: tabular-nums;
}
.fac-btn {
  display: block;
  background: linear-gradient(135deg, #ff834a, #fc702f);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(252, 112, 47, .45);
  transition: transform .15s ease, box-shadow .2s ease;
}
.fac-btn:hover,
.fac-btn:focus {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(252, 112, 47, .55);
}
@media (max-width: 575.98px) {
  .floating-apply-card {
    right: 12px;
    bottom: 12px;
    width: 210px;
    padding: 12px 12px 13px;
  }
  .fac-countdown { font-size: 1.15rem; }
}

/* Date badge holding a range (e.g. 14–30) — smaller & no-wrap so it fits on one line. */
.date-number.date-range {
  font-size: 1rem;
  white-space: nowrap;
}

/* Re-enable a dimmed modal backdrop (main.min.css hides it with display:none). */
.modal-backdrop {
  display: block !important;
  background-color: #000 !important;
}
.modal-backdrop.fade { opacity: 0 !important; }
.modal-backdrop.show { opacity: .6 !important; }

/* Apply modal: loading spinner shown until the embedded form finishes loading. */
.apply-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.apply-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(252, 112, 47, .25);
  border-top-color: #fc702f;
  animation: applySpin .8s linear infinite;
}
@keyframes applySpin { to { transform: rotate(360deg); } }

/* Thin separators between menu items */
.nav-sep {
  align-self: center;
  color: rgba(255, 255, 255, .45);
  font-weight: 300;
  pointer-events: none;
  user-select: none;
}

/* "Apply" menu item: same shape as the rest, but stands out with a soft glow. */
.apply-menu {
  text-shadow: 0 0 10px rgba(255, 255, 255, .65);
}
.apply-menu:hover,
.apply-menu:focus {
  color: #fff !important;
}

/* Digital Tool image: parallax is desktop-only. Neutralize any transform on
   small screens so the image can never overlap adjacent content. */
@media (max-width: 991.98px) {
  .digital-parallax-img {
    transform: none !important;
    will-change: auto;
  }
}

/* Pitch format cards: medium-height image area. The photos are near-square, so
   a short/wide box would crop them hard top & bottom; 280px shows much more of
   the subject while staying shorter than the original 400px. The image stays
   TALLER than the box (140%) so its vertical parallax pans within the hidden
   overflow instead of revealing white space. Centered. */
.image6 {
  height: 280px;
}
.image6 img {
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center;
}

/* ---------- */

    /* =====================================================
       CSS VARIABLES
       ===================================================== */
    :root {
      --blue-primary: #5f80cf;
      --orange-primary: #ff834a;
      --orange-secondary: #fc702f;
      --orange-gradient: linear-gradient(135deg, #ff834a 0%, #fc702f 100%);
      --nav-height: 70px;
      --scroll-offset: 50px;
    }

    @media (max-width: 991px) {
      :root {
        --scroll-offset: 80px;
      }
    }

    /* =====================================================
       UTILITY CLASSES
       ===================================================== */
    .bg-blue-primary {
      background-color: var(--blue-primary) !important;
    }

    .bg-orange {
      background-color: var(--orange-primary) !important;
    }

    .txt-orange {
      color: var(--orange-primary) !important;
    }

    .txt-blue {
      color: var(--blue-primary) !important;
    }

    .white-shadow {
      text-shadow: 0 0 25px rgba(255, 255, 255, 0.5) !important;
    }

    .letter-spacing-2 {
      letter-spacing: 2px;
    }

    .transition-all {
      transition: all 0.4s ease;
    }

    .opacity-90 {
      opacity: 90%;
    }

    .orange-grad-bg {
      background: var(--orange-gradient) !important;
      box-shadow: 0 0 16px var(--orange-primary) !important;
    }

    .textclearall .highlight {
      color: rgba(255, 255, 255, 0.15);
    }

    /* Scroll offset for navigation anchors */
    .section-anchor,
    section[id] {
      scroll-margin-top: var(--scroll-offset);
    }

    /* =====================================================
       NAVIGATION - Desktop
       ===================================================== */
    .sponsor-nav-menu {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      z-index: 99999 !important;
      padding-top: 15px !important;
      pointer-events: none !important;
      display: flex !important;
      justify-content: center !important;
    }

    .sponsor-nav-menu .nav {
      pointer-events: auto !important;
      box-shadow: 0 10px 40px rgba(159, 162, 177, 0.8) !important;
      position: relative !important;
      max-width: none !important;
      overflow: visible !important;
    }

    @media (max-width: 991px) {
      .sponsor-nav-menu {
        display: none !important;
      }
    }

    .nav-item1 {
      position: relative;
    }

    /* Underline bar removed — the active/hover section already turns blue. */
    .nav-item1:before {
      display: none !important;
    }

    .nav-item1:not(.is-active):hover,
    .nav-item1.is-active {
      color: var(--blue-primary) !important;
      text-shadow: 0 0 7px #fff;
    }

    /* Editions Dropdown */
    .editions-dropdown {
      position: relative;
      display: flex;
      align-items: center;
    }

    .editions-dropdown>a {
      cursor: pointer;
    }

    .editions-dropdown .dropdown-arrow {
      font-size: 0.7em;
      margin-left: 4px;
      transition: transform 0.3s ease;
    }

    .editions-dropdown:hover .dropdown-arrow {
      transform: rotate(180deg);
    }

    .editions-dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      min-width: 160px;
      background: rgba(95, 128, 207, 0.98);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 10px;
      padding: 8px 0;
      margin-top: 10px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 100000;
    }

    .editions-dropdown-menu::before {
      content: '';
      position: absolute;
      top: -8px;
      left: 50%;
      transform: translateX(-50%);
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-bottom: 8px solid rgba(95, 128, 207, 0.98);
    }

    .editions-dropdown::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      height: 15px;
      background: transparent;
    }

    .editions-dropdown:hover .editions-dropdown-menu {
      opacity: 1;
      visibility: visible;
    }

    .editions-dropdown-item {
      display: block;
      padding: 10px 20px;
      color: white;
      text-decoration: none;
      font-size: 1rem;
      font-weight: 500;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .editions-dropdown-item:hover {
      background: var(--orange-primary);
      color: white;
    }

    /* =====================================================
       HERO SECTION
       ===================================================== */
    .hero {
      min-height: 100dvh;
      padding-top: 80px;
    }

    .hero-logo {
      max-width: 350px;
    }

    .hero-event-logos {
      max-width: 300px;
    }

    @media (min-width: 576px) {

      .hero-logo,
      .hero-event-logos {
        max-width: 380px;
      }
    }

    @media (min-width: 992px) {

      .hero-logo,
      .hero-event-logos {
        max-width: 450px;
      }
    }

    @media (min-width: 1200px) {

      .hero-logo,
      .hero-event-logos {
        max-width: 500px;
      }
    }

    /* =====================================================
       CTA BUTTONS
       ===================================================== */
    .cta-primary {
      background: var(--orange-gradient) !important;
      box-shadow: 0 0 16px var(--orange-primary) !important;
      transition: all 0.3s ease;
    }

    .cta-primary:hover {
      transform: scale(1.05);
      box-shadow: 0 0 30px var(--orange-primary) !important;
      color: white !important;
    }

    .cta-secondary {
      transition: all 0.3s ease;
    }

    .cta-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: scale(1.02);
    }

    .cta-btn:hover {
      transform: scale(1.05);
      background: var(--blue-primary) !important;
      color: white !important;
    }

    /* Full width buttons on mobile */
    @media (max-width: 575.98px) {
      .w-100.w-sm-auto {
        width: 100% !important;
        max-width: 300px;
      }
    }

    @media (min-width: 576px) {
      .w-100.w-sm-auto {
        width: auto !important;
      }
    }

    /* =====================================================
       VIDEO PLAYER
       ===================================================== */
    .video-js {
      border-radius: 1rem !important;
      overflow: hidden;
    }

    .video-js .vjs-big-play-button {
      display: none !important;
    }

    .video-js .vjs-play-progress,
    .video-js .vjs-volume-level {
      background-color: var(--orange-primary) !important;
    }

    .video-js .vjs-slider:focus {
      box-shadow: 0 0 1em var(--orange-primary);
    }

    .video-js .vjs-control-bar {
      background: rgba(0, 0, 0, 0.6);
      border-radius: 0 0 1rem 1rem;
    }

    .video-js:hover .vjs-control-bar {
      opacity: 1;
    }

    .video-js.vjs-has-started .vjs-poster {
      display: none;
    }

    .video-container .video-js {
      position: relative;
      width: 100%;
      aspect-ratio: 16/9;
    }

    /* Unmute Overlay */
    .unmute-overlay {
      z-index: 10;
      pointer-events: none;
    }

    .unmute-btn {
      pointer-events: auto;
      cursor: pointer;
      animation: unmutePulse 2s ease-in-out infinite;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .unmute-btn:hover {
      background: var(--orange-primary) !important;
      border-color: var(--orange-primary) !important;
      transform: scale(1.05);
      animation: none;
    }

    .unmute-btn .wave {
      width: 3px;
      background: white;
      border-radius: 2px;
      animation: waveAnim 1s ease-in-out infinite;
    }

    .unmute-btn .wave:nth-child(1) {
      height: 8px;
      animation-delay: 0s;
    }

    .unmute-btn .wave:nth-child(2) {
      height: 16px;
      animation-delay: 0.15s;
    }

    .unmute-btn .wave:nth-child(3) {
      height: 12px;
      animation-delay: 0.3s;
    }

    .unmute-btn .wave:nth-child(4) {
      height: 18px;
      animation-delay: 0.45s;
    }

    @keyframes waveAnim {

      0%,
      100% {
        transform: scaleY(1);
      }

      50% {
        transform: scaleY(0.5);
      }
    }

    @keyframes unmutePulse {

      0%,
      100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
      }

      50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(255, 131, 74, 0.2);
      }
    }

    .unmute-overlay.fade-out {
      animation: fadeOutOverlay 0.5s ease-out forwards;
    }

    @keyframes fadeOutOverlay {
      to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
      }
    }

    /* =====================================================
       SCROLL INDICATOR
       ===================================================== */
    .container-scrolldown {
      width: 24px;
      height: 24px;
    }

    .chevron {
      position: absolute;
      width: 28px;
      height: 8px;
      opacity: 0;
      left: 50%;
      margin-left: -14px;
      transform: scale3d(0.5, 0.5, 0.5);
      animation: moveChevron 3s ease-out infinite;
    }

    .chevron:first-child {
      animation: moveChevron 3s ease-out 1s infinite;
    }

    .chevron:nth-child(2) {
      animation: moveChevron 3s ease-out 2s infinite;
    }

    .chevron:before,
    .chevron:after {
      content: "";
      position: absolute;
      top: 0;
      height: 100%;
      width: 51%;
      background: #fff;
    }

    .chevron:before {
      left: 0;
      transform: skew(0deg, 30deg);
    }

    .chevron:after {
      right: 0;
      width: 50%;
      transform: skew(0deg, -30deg);
    }

    @keyframes moveChevron {
      25% {
        opacity: 1;
      }

      33% {
        opacity: 1;
        transform: translateY(30px);
      }

      67% {
        opacity: 1;
        transform: translateY(40px);
      }

      100% {
        opacity: 0;
        transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
      }
    }

    @media (max-width: 767.98px) {
      .container-scrolldown {
        width: 18px;
        height: 18px;
      }

      .chevron {
        width: 20px;
        height: 6px;
        margin-left: -10px;
        animation: moveChevronMobile 3s ease-out infinite;
      }

      .chevron:first-child {
        animation: moveChevronMobile 3s ease-out 1s infinite;
      }

      .chevron:nth-child(2) {
        animation: moveChevronMobile 3s ease-out 2s infinite;
      }

      .scroll-text {
        font-size: 0.65rem;
      }

      @keyframes moveChevronMobile {
        25% {
          opacity: 1;
        }

        33% {
          opacity: 1;
          transform: translateY(18px);
        }

        67% {
          opacity: 1;
          transform: translateY(24px);
        }

        100% {
          opacity: 0;
          transform: translateY(32px) scale3d(0.5, 0.5, 0.5);
        }
      }
    }

    /* =====================================================
       CARDS & COMPONENTS
       ===================================================== */
    .benefit-card:hover {
      transform: translateY(-12px) scale(1.02);
    }

    /* Jury Cards */
    .jury-card {
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
      min-height: 100px;
    }

    .jury-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .jury-logo {
      max-height: 50px;
      object-fit: contain;
    }

    .jury-card:hover .jury-logo {
      filter: grayscale(0%);
      transform: scale(1.05);
    }

    .jury-category-badge {
      letter-spacing: 0.5px;
    }

    .jury-badge-vc {
      background-color: var(--blue-primary) !important;
    }

    /* Target Section */
    .target-dot {
      width: 8px;
      height: 8px;
      background: var(--orange-primary);
      border-radius: 50%;
    }

    .vertical-tag {
      background: linear-gradient(135deg, rgba(95, 128, 207, 0.1) 0%, rgba(95, 128, 207, 0.05) 100%);
      transition: all 0.3s ease;
    }

    .vertical-tag:hover {
      background: linear-gradient(135deg, rgba(255, 131, 74, 0.15) 0%, rgba(255, 131, 74, 0.08) 100%);
      transform: translateX(5px);
    }

    /* Package Section */
    .package-arrow {
      width: 0;
      height: 0;
      border-top: 8px solid transparent;
      border-bottom: 8px solid transparent;
      border-left: 10px solid var(--orange-primary);
    }

    .package-arrow:first-child {
      opacity: 0.5;
    }

    /* CTA Box */
    .cta-box::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
      pointer-events: none;
    }

    .rotate-180 {
      transform: rotate(180deg);
    }

    /* =====================================================
       OWL CAROUSEL
       ===================================================== */
    .owl-carousel .owl-stage {
      display: flex;
    }

    .owl-carousel .owl-item {
      display: flex;
    }

    .owl-carousel .owl-item>div {
      width: 100%;
    }

    /* Mobile Menu Active State */
    .hamburger-content-alt .nav-item.active,
    .hamburger-content-alt span.nav-item.active {
      background: rgba(255, 255, 255, 0.1);
    }

    /* Finalist Cards */
    .finalist-card {
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
    }

    .finalist-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .finalist-card:hover .finalist-logo {
      filter: grayscale(0%);
      transform: scale(1.05);
    }

    .finalist-logo {
      filter: grayscale(20%);
      transition: all 0.3s ease;
    }

         .custom-play-button {
                      position: absolute;
                      top: 50%;
                      left: 50%;
                      transform: translate(-50%, -50%);
                      width: 100px;
                      height: 100px;
                      background: rgba(255, 131, 74, 0.9);
                      border-radius: 50%;
                      display: flex;
                      align-items: center;
                      justify-content: center;
                      cursor: pointer;
                      transition: all 0.3s ease;
                      z-index: 100;
                      pointer-events: auto;
                      animation: pulse 2s infinite;
                    }

                    @keyframes pulse {

                      0%,
                      100% {
                        box-shadow: 0 0 0 0 rgba(255, 131, 74, 0.7);
                      }

                      50% {
                        box-shadow: 0 0 0 20px rgba(255, 131, 74, 0);
                      }
                    }

                    .custom-play-button:hover {
                      transform: translate(-50%, -50%) scale(1.1);
                      animation: none;
                      background: rgba(255, 131, 74, 1);
                    }

                    .custom-play-button svg {
                      width: 40px;
                      height: 40px;
                      fill: white;
                      margin-left: 4px;
                    }

                    .custom-play-button.hidden {
                      opacity: 0;
                      pointer-events: none;
                      transition: opacity 0.3s ease;
                    }

                    .video-wrapper {
                      position: relative;
                    }

                    @media (max-width: 767px) {
                      .custom-play-button {
                        width: 80px;
                        height: 80px;
                      }

                      .custom-play-button svg {
                        width: 32px;
                        height: 32px;
                      }
                    }

/* ---------- */

        .white-overlay {
          filter: brightness(0) invert(1);
        }

        .white-overlay:hover {
          filter: brightness(0) invert(1) !important;
        }
