:root {
  --sm: 640px;
  --md: 768px;
  --lg: 1024px;
  --xl: 1280px;
  --xxl: 1536px;
  --xxxl: 1800px;
}
@font-face {
  font-family: "Gotham-Book";
  src: url("../assets/fonts/Gotham-Book.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham-Medium";
  src: url("../assets/fonts/Gotham-Medium.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham-Bold";
  src: url("../assets/fonts/Gotham-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova Rg";
  src: url("../assets/fonts/ProximaNova-Bold.eot");
  src:
    url("../assets/fonts/ProximaNova-Bold.eot?#iefix")
      format("embedded-opentype"),
    url("../assets/fonts/ProximaNova-Bold.woff2") format("woff2"),
    url("../assets/fonts/ProximaNova-Bold.woff") format("woff"),
    url("../assets/fonts/ProximaNova-Bold.ttf") format("truetype"),
    url("../assets/fonts/ProximaNova-Bold.svg#ProximaNova-Bold") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova Rg";
  src: url("../assets/fonts/ProximaNova-Regular.eot");
  src:
    url("../assets/fonts/ProximaNova-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("../assets/fonts/ProximaNova-Regular.woff2") format("woff2"),
    url("../assets/fonts/ProximaNova-Regular.woff") format("woff"),
    url("../assets/fonts/ProximaNova-Regular.ttf") format("truetype"),
    url("../assets/fonts/ProximaNova-Regular.svg#ProximaNova-Regular")
      format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova Rg";
  src: url("../assets/fonts/ProximaNova-RegularIt.eot");
  src:
    url("../assets/fonts/ProximaNova-RegularIt.eot?#iefix")
      format("embedded-opentype"),
    url("../assets/fonts/ProximaNova-RegularIt.woff2") format("woff2"),
    url("../assets/fonts/ProximaNova-RegularIt.woff") format("woff"),
    url("../assets/fonts/ProximaNova-RegularIt.ttf") format("truetype"),
    url("../assets/fonts/ProximaNova-RegularIt.svg#ProximaNova-RegularIt")
      format("svg");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova Cn Rg';
    src: url('../assets/fonts/ProximaNovaCond-Bold.eot');
    src: url('../assets/fonts/ProximaNovaCond-Bold.eot?#iefix') format('embedded-opentype'),
        url('../assets/fonts/ProximaNovaCond-Bold.woff2') format('woff2'),
        url('../assets/fonts/ProximaNovaCond-Bold.woff') format('woff'),
        url('../assets/fonts/ProximaNovaCond-Bold.ttf') format('truetype'),
        url('../assets/fonts/ProximaNovaCond-Bold.svg#ProximaNovaCond-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.font-GothamBook {
  font-family: "Gotham-Book";
}
.font-GothamMedium {
  font-family: "Gotham-Medium";
}
.font-GothamBold {
  font-family: "Gotham-Bold";
}
.font-ProximaNova {
  font-family: "Proxima Nova Rg";
}
.font-ProximaNovaCond {
  font-family: "Proxima Nova Cn Rg";
}

body {
  background-color: #fff;
}

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

section{
  scroll-margin-top: 50px;
}

[type="email"] {
  background-color: transparent;
}

.\[\&\:not\(\[data-te-collapse-collapsed\]\)\]\:text-primary:not(
  [data-te-collapse-collapsed]
) {
  color: #000 !important;
}

[type="text"] {
  background-color: transparent;
  height: 50px;
  color: black;
}

input,
select {
  color: black;
  font-family: "Proxima Nova Rg";
  border-top: none;
  border-bottom: none;
  border-left: none;
  border-right: none;
}

input:focus,
select:focus {
  border: 1px solid #e80707 !important;
  --tw-ring-shadow: none !important;
}

input::placeholder,
textarea::placeholder {
  color: black !important;
  font-family: "Proxima Nova Rg";
}

/* Footer */
footer {
  padding-top: 60px;
  padding-bottom: 30px;
}
footer p {
  color: #777777;
}
/* Add your styles for the initial and scrolled navigation bar here */
.navbar {
  background-color: #fff;
  transition: background-color 0.3s;
}
/*.navbar.scrolled {
  background-color: #fff;
  /* Change this to your desired background color
}*/
.mkland {
  width: 35%;
  margin-left: 10px;
}
.lh-1 {
  line-height: 1;
}
/* Loader */
@-webkit-keyframes loader {
  0% {
    width: 0;
  }
  20% {
    width: 10%;
  }
  25% {
    width: 24%;
  }
  43% {
    width: 41%;
  }
  56% {
    width: 50%;
  }
  66% {
    width: 52%;
  }
  71% {
    width: 60%;
  }
  75% {
    width: 76%;
  }
  94% {
    width: 86%;
  }
  100% {
    width: 100%;
  }
}
@keyframes loader {
  0% {
    width: 0;
  }
  20% {
    width: 10%;
  }
  25% {
    width: 24%;
  }
  43% {
    width: 41%;
  }
  56% {
    width: 50%;
  }
  66% {
    width: 52%;
  }
  71% {
    width: 60%;
  }
  75% {
    width: 76%;
  }
  94% {
    width: 86%;
  }
  100% {
    width: 100%;
  }
}
.progress-bar {
  width: 95%;
  max-width: 95%;
  left: 50%;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  margin-top: 30px;
}
.progress {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}
.bar {
  margin-top: 25px !important;
  margin-bottom: 0 !important;
}
.progress-bar {
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  padding: 0;
  display: none;
}
.progress-bar span {
  display: block;
}
.bar {
  background: 0 0;
}
.progress {
  -webkit-animation: loader 8s ease infinite;
  animation: loader 8s ease infinite;
  background: #dc0000;
  color: #fff;
  padding: 5px;
  width: 0;
  margin-top: 25px;
  margin-bottom: 25px;
}
.progress-bar {
  position: relative;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  background-color: transparent;
}
/*custom*/
.reg-color {
  color: #fff;
}
.half-bg {
  background: linear-gradient(180deg, #eed6c7 10%, #eed6c7 10%);
}

body {
  font-family: sans-serif;
  overflow-x: hidden;
}
.region-btn {
  color: black;
  text-transform: uppercase;
  font-family: "Proxima Nova Rg";
}
.region-btn.active {
  border: 1px solid #fca168;
  color: #000;
}
#dropdown {
  width: 90%;
}
.project-card,
.back,
.front {
  min-height: 600px;
}

.project-card.klangvalley:nth-child(7),
.project-card.klangvalley:nth-child(8),
.project-card.klangvalley:nth-child(9),
.project-card.klangvalley.active:nth-child(8),
.project-card.klangvalley.active:nth-child(9) {
  display: none;
}

.prizes-slider .owl-nav button.owl-prev,
.prizes-slider .owl-nav button.owl-next {
  width: 80px;
  color: black;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: grid;
  place-items: center;
  outline: none;
}

.prizes-slider .owl-nav button.owl-prev {
  left: -3%;
}

.prizes-slider .owl-nav button.owl-next {
  right: -3%;
}

.prizes-slider .owl-dots {
  margin-top: 40px;
  text-align: center;
}
.prizes-slider button.owl-dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: #fcb081 !important;
  margin: 4px;
}
.prizes-slider button.owl-dot.active {
  background: #fc7724 !important;
}

.grab-slider .owl-dots {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: -65%;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1440px) {
  .grab-slider .owl-dots {
    bottom: -60%;
  }
}

@media (max-width: 1280px) {
  .grab-slider .owl-dots {
    bottom: -90%;
  }
}

@media (max-width: 1024px) {
  .grab-slider .owl-dots {
    bottom: -90%;
  }
}

@media (max-width: 640px) {
  .grab-slider .owl-dots {
    bottom: -80%;
  }
}

.grab-slider button.owl-dot {
  height: 12px;
  width: 12px;
  border-radius: 100%;
  border: 2px solid #242021;
  margin: 3px;
}
.grab-slider button.owl-dot.active {
  background: #242021;
}

.grab-slider .owl-stage-outer {
  overflow: visible !important;
}

.grab-slider .owl-item {
  opacity: 0;
  transition: opacity 1000ms ease;
}

.grab-slider .owl-item.active {
  opacity: 1;
  transition: opacity 1000ms ease;
}

@media (max-width: 1600px) {
  .project-card,
  .back,
  .front {
    min-height: 505px;
  }
}
@media (max-width: 1300px) {
  .project-card,
  .back,
  .front {
    min-height: 525px;
  }
}
@media (max-width: 960px) {
  html,
  body {
    overflow-x: hidden;
  }
  #shrink,
  #grow {
    display: none;
  }
  .project-card,
  .back,
  .front {
    height: fit-content;
    min-height: 500px;
  }

  #logo-navbar {
    display: none !important;
  }
  .project-card.klangvalley:nth-child(5),
  .project-card.klangvalley:nth-child(6),
  .project-card.klangvalley:nth-child(7),
  .project-card.klangvalley:nth-child(8),
  .project-card.klangvalley:nth-child(9),
  .project-card.klangvalley.active:nth-child(5),
  .project-card.klangvalley.active:nth-child(6),
  .project-card.klangvalley.active:nth-child(7),
  .project-card.klangvalley.active:nth-child(8),
  .project-card.klangvalley.active:nth-child(9) {
    display: none;
  }
}
@media (max-width: 500px) {
  input::placeholder,
  textarea::placeholder,
  input,
  select {
    font-size: 14px;
  }
  .project-card,
  .back,
  .front {
    height: fit-content;
    min-height: 475px;
  }
  input::placeholder,
  textarea::placeholder,
  select {
    font-size: 14px;
  }
  .prizes-slider .owl-nav button.owl-prev,
  .prizes-slider .owl-nav button.owl-next {
    width: 40px;
  }
  .prizes-slider button.owl-dot {
    border: 1px solid white;
  }
  .grab-slider button.owl-dot {
    width: 8px;
    height: 8px;
    border: 1px solid black;
  }
  .grab-slider .owl-dots {
    bottom: -15%;
  }
}

/* Mobile Menu Specific Styles */
@media (max-width: 1024px) {
  /* Mobile menu overlay */
  #mobileMenuOverlay {
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.6);
  }

  /* Mobile menu positioning and sizing */
  #mobileMenu {
    overflow-y: auto;
  }

  /* Mobile menu item hover effects */
  .mobile-menu-link {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 4px 0;
  }

  .mobile-menu-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
  }

  /* Ensure mobile toggle button is properly sized */
  #mobileMenuToggleBtn {
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }

  #mobileMenuToggleBtn:active {
    transform: scale(0.95);
  }

  /* Hide desktop menu items on mobile */
  #example-collapse-navbar {
    display: none !important;
  }

  /* Make mobile navbar compact by default */
  #brandLogo {
    width: 70px !important;
    min-width: 60px;
    transition: all 0.3s ease;
  }

  /* Mobile navbar compact spacing */
  .nav-pad {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  /* Mobile toggle button compact size */
  #mobileMenuToggleBtn {
    width: 50px !important;
    height: 50px !important;
  }

  .mobile-toggle-img {
    width: 50px !important;
    height: 50px !important;
  }

  #mobileBarTop,
  #mobileBarMid,
  #mobileBarBot {
    width: 16px !important;
  }

  /* Mobile navbar: transparent at top, white when scrolled */
  #siteNav {
    backdrop-filter: none;
    background-color: transparent !important;
  }

  #siteNav.bg-white {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
  }
}

/* Extra small mobile adjustments */
@media (max-width: 640px) {
  #mobileMenu {
    min-height: 60vh;
  }

  .mobile-menu-link {
    font-size: 24px !important;
  }

  #mobileMenuToggleBtn {
    width: 50px !important;
    height: 50px !important;
  }

  .mobile-toggle-img {
    width: 50px !important;
    height: 50px !important;
  }

  #mobileBarTop,
  #mobileBarMid,
  #mobileBarBot {
    width: 16px !important;
  }
}


@keyframes flip-top {
	to {
		transform: rotateX(90deg);
	}
}
@keyframes flip-bottom {
	to {
		transform: rotateX(0deg);
	}
}

/* Base scale (100%) */
.countdown { --scale: 1; }

.countdown .cards { gap: calc(15px * var(--scale)); }
.countdown .card { font-size: calc(40px * var(--scale)); }
.countdown .flip-card { margin: calc(5px * var(--scale)) auto; }

.countdown .top-half,
.countdown .bottom-half,
.countdown .top-flip,
.countdown .bottom-flip {
  font-family: "Proxima Nova Cn Rg", sans-serif;
  font-size: calc(50px * var(--scale));
  height: calc(42px * var(--scale));
  width: calc(82px * var(--scale));
  padding: calc(5px * var(--scale));
  overflow: hidden;
  text-align: center;
  will-change: transform !important;
}

.cards {
		display: flex;
		gap: 15px;
}
.card {
  text-align: center;
  font-size: 40px;
}
.flip-card {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 5px auto;
}
.top-half,
.bottom-half,
.top-flip,
.bottom-flip {
  font-family: "Proxima Nova Cn Rg", sans-serif;
  font-size: 55px;
  height: 45px;
  width: 80px;
  padding: 4px;
  overflow: hidden;
  text-align: center;
  will-change: transform !important;
}
.top-half,
.top-flip {
  color: #fcf2e8;
  border-radius: 5px 5px 0 0;
  background-color: #383838;
}
.top-flip::before {
  bottom: -5px;
  left: -5px;
}
.top-flip::after {
  bottom: -5px;
  right: -5px;
}
.bottom-half,
.bottom-flip {
  color: #fcf2e8;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  border-radius: 0 0 5px 5px;
  background-color: #222222;
  box-shadow: 0 -2px 5px 0 rgba(71, 83, 115, 0.7) inset;
}
.bottom-half::before,
.bottom-flip::before {
  top: -5px;
  left: -5px;
}
.bottom-half::after {
  top: -5px;
  right: -5px;
}
.top-flip {
  position: absolute;
  transform-origin: bottom;
  transform: rotateX(0deg);
  animation: flip-top 0.5s ease-in forwards;
}
.bottom-flip {
  position: absolute;
  bottom: 0;
  transform-origin: top;
  transform: rotateX(
    90deg
  );
  animation: flip-bottom 0.5s ease-out 0.5s;
}

.countdown-ended-banner {
  text-align: center;
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 22px);
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #ffefef;
  color: #b20000;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .countdown .top-half,
  .countdown .bottom-half,
  .countdown .top-flip,
  .countdown .bottom-flip {
    font-size: calc(36px * var(--scale));
    height: calc(32px * var(--scale));
    width:  calc(62px * var(--scale));
  }  

  .top-half,
  .bottom-half,
  .top-flip,
  .bottom-flip {
    font-size: 40px;
    height: 34px;
    width: 60px;
  }
}

.countdown-ended-banner2 {
  text-align: center;
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 22px);
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #ffefef;
  color: #b20000;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .top-half2,
  .bottom-half2,
  .top-flip2,
  .bottom-flip2 {
    font-size: 40px;
    height: 34px;
    width: 60px;
  }
}

/* Ribbon cross-fade */
.project-card .ribbon-text {
  opacity: 1;
  transition: opacity .35s ease;
  will-change: opacity;
}
.project-card .ribbon-text.fade-out {
  opacity: 0;
}

.sticky-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;       /* adjust to your palette */
    color: #fff;
    padding: 6px 12px;
    box-shadow: 0 -10px 30px rgba(0,0,0,.15);
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;          /* avoid intercepting clicks when hidden */
    transition: opacity .35s ease, transform .35s ease;
  }
  .sticky-banner.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .sticky-banner .banner-inner {
    text-align: center;
  }
  @media (prefers-reduced-motion: reduce) {
    .sticky-banner { transition: none; }
  }
