body {
    background-image: url('../img/bg.png'); /* Adjust path if needed */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* ==================== Masthead ======================= */
.masthead {
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.hero-title {
    font-size: clamp(2rem, 8vw, 6rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.05em; /* slight increase in spacing */
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.4);
    word-break: break-word;
    max-width: 100%;
}



/* ==================== Top Buttons ================== */

 .custom-button-row {
  	display: flex;
  	flex-wrap: nowrap;
  	width: 100%;
  	gap: 5px; /* Small gap between buttons */
  	margin-bottom: 2px; /* Small gap below the buttons */
	padding-top: 10px; /* Small gap below the buttons */
}

.custom-button-box {
  flex: 1;
  background-color: rgba(231, 29, 43, 0.65); /* 0.85 is 85% opaque */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.0rem;
  

  /* Flexbox for centering */
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  text-align: center;
  padding: 0.2rem;
  min-height: 50px; /* Ensures vertical centering works */

  /* Rounded corners */
  border-radius: 8px; /* Adjust the value for more or less roundness */
}

.custom-button-box2 {
  flex: 1;
  border: 0px solid #b9d531; /* 1px orange border */
  background-color: rgba(231, 29, 43, 0.0); /* 0.85 is 85% opaque */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  

  /* Flexbox for centering */
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  text-align: center;
  padding: 0.6rem;
  min-height: 60px; /* Ensures vertical centering works */

  /* Rounded corners */
  border-radius: 8px; /* Adjust the value for more or less roundness */
}

/* Optional: Add responsiveness tweaks */
@media (max-width: 768px) {
  .custom-button-box {
    font-size: 1rem;
    padding: 0.6rem;
    line-height: 1.0;
    white-space: normal;
  }
}


section#video:first-of-type {
  margin-top: 5px; /* Adds a 5px gap between the button and the video */
  margin-bottom: 0px; /* Adds a 5px gap between the ticker and the video */
}


/* ==================== Nav Bar ================== */

  .navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #e71d2b;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

  .navbar-brand-center {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: 1050;
  }


  .d-flex.align-items-center {
    position: fixed;
    right: 10px;
    top: 10px;
    padding: 10px;
    z-index: 1050;
  }

  @media (max-width: 991.98px) {
    .navbar-toggler {
      z-index: 1050;
    }
  }

  .navbar.scrolled {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  }

  @media (max-width: 991.98px) {
    .navbar {
      background-color: #e71d2b; !important;
    }

    .navbar-collapse {
      background-color: #e71d2b;
    }

    .navbar-nav .nav-link {
      color: white !important;
    }

    .navbar-text {
      color: white !important;
    }
  }

  .navbar-nav {
    margin-left: 1rem; /* Bring links closer to logo */
	padding-top: 0rem; /* Bring links closer to logo */
  }

  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.8);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transform: scale(1.2); /* slightly smaller icon */
  }

  .navbar-toggler {
    border: 2.5px solid rgba(255, 255, 255, 1);
    padding: 0.4rem;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
  }




/* ==================== Video Background ======================= */
.video-header {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.desktop-video {
    display: block;
}

.mobile-video {
    display: none;
}


.after-video-bg {
    background-image: url('../img/bg.png');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.play-sound-btn {
  background-color: rgba(255, 255, 255, 0.25);
  border: 2px solid white;
  color: white;
  font-size: 1.125rem;
  border-radius: 50%;
  width: 37.5px;
  height: 37.5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 9999;
}

.play-sound-btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
}


/* ==================== Mobile-Specific ======================= */
@media (max-width: 768px) {
    .desktop-video {
        display: none;
    }

    .mobile-video {
        display: block;
    }
}


.desktop-banner {
  display: block;
}

.mobile-banner {
  display: none;
}

@media (max-width: 768px) {
  .desktop-banner {
    display: none;
  }

  .mobile-banner {
    display: block;
  }
}


/* ==================== Google Map ======================= */

.map-wrapper {
  margin-left: 10px;
  margin-right: 10px;
}

/* ==================== Overlay ======================= */

.overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10; /* Important! Higher than the video */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    pointer-events: none; /* Optional - lets clicks go through */
}

.overlay-top,
.overlay-middle,
.overlay-bottom {
    pointer-events: auto; /* Allow clicks if needed */
    text-align: center;
}

/* Optional padding styles */
.overlay-top {
    padding-top: 7rem;
}

.overlay-middle {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-bottom {
    margin: 0;
    padding: 0 1rem 20px 1rem; /* Add 20px padding at the bottom */
    background-color: rgba(0, 0, 0, 0.0); /* Optional styling */
}

.overlay-bottom-left {
  position: absolute;
  bottom: 80px;    /* <-- 30px from the bottom, as you requested */
  left: 0px;
  text-align: center;
  margin: 0;
  padding: 0 1rem 0 1rem;
  background-color: rgba(0, 0, 0, 0.0);
  z-index: 11;     /* Just above video, like .overlay-bottom */
  pointer-events: auto;
}





/* ==================== Sections ================== */


  

  .container {
    width: 100%;
    max-width: 1200px; /* limit size on desktop */
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

/* ==================== Ticker ================== */

/* Container with floating particles */
.ticker-particles-bg {
  position: relative;
  overflow: hidden;
  background-color: #000;
}

/* Base particle styles */
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatTwinkle linear infinite;
}

/* Colored particles */
.particle.red { background-color: red; }
.particle.blue { background-color: #00aaff; }
.particle.yellow { background-color: yellow; }
.particle.green { background-color: #00ff66; }

/* Twinkling + floating animation */
@keyframes floatTwinkle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  30% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(-15px) translateX(15px);
    opacity: 0.3;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0;
  }
}

/* Particle sizes, positions, colors and speeds */
.particle:nth-child(1) {
  width: 5px; height: 5px;
  top: 10%; left: 5%;
  animation-duration: 5s; animation-delay: 0s;
}
.particle:nth-child(2) {
  width: 6px; height: 6px;
  top: 20%; left: 15%;
  animation-duration: 4.5s; animation-delay: 1s;
}
.particle:nth-child(3) {
  width: 4px; height: 4px;
  top: 30%; left: 25%;
  animation-duration: 6s; animation-delay: 0.5s;
}
.particle:nth-child(4) {
  width: 7px; height: 7px;
  top: 40%; left: 35%;
  animation-duration: 5.5s; animation-delay: 1.5s;
}
.particle:nth-child(5) {
  width: 6px; height: 6px;
  top: 50%; left: 45%;
  animation-duration: 4s; animation-delay: 2s;
}
.particle:nth-child(6) {
  width: 5px; height: 5px;
  top: 60%; left: 55%;
  animation-duration: 4.5s; animation-delay: 0.3s;
}
.particle:nth-child(7) {
  width: 4px; height: 4px;
  top: 70%; left: 65%;
  animation-duration: 5s; animation-delay: 1s;
}
.particle:nth-child(8) {
  width: 6px; height: 6px;
  top: 80%; left: 75%;
  animation-duration: 5.5s; animation-delay: 2.3s;
}
.particle:nth-child(9) {
  width: 5px; height: 5px;
  top: 90%; left: 85%;
  animation-duration: 4s; animation-delay: 1.8s;
}
.particle:nth-child(10) {
  width: 7px; height: 7px;
  top: 25%; left: 80%;
  animation-duration: 6s; animation-delay: 0.7s;
}
.particle:nth-child(11) {
  width: 4px; height: 4px;
  top: 15%; left: 90%;
  animation-duration: 5s; animation-delay: 1.2s;
}
.particle:nth-child(12) {
  width: 5px; height: 5px;
  top: 65%; left: 20%;
  animation-duration: 4.5s; animation-delay: 2s;
}

/* Your existing ticker */
.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  margin: 0 0 10px 0;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.ticker {
  display: inline-block;
  padding-left: 100%;
  animation: scrollTicker 45s linear infinite;
}

.ticker span {
  font-size: 2.2rem;
  font-weight: bold;
  color: #b9d531;
  display: inline-block;
  white-space: nowrap;
  line-height: 2.1;
  letter-spacing: 0.1em;
}

@keyframes scrollTicker {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 991px) {
  .container {
    padding: 0 2rem;
  }
}




/* ==================== Fonts ======================= */
.bungee-spice-regular {
    font-family: "Bungee Spice", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.cal-sans-regular {
    font-family: "Cal Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.cal-sans-bold {
    font-family: "Cal Sans", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.londrina-solid-thin {
    font-family: "Londrina Solid", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.londrina-solid-light {
    font-family: "Londrina Solid", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.londrina-solid-regular {
    font-family: "Londrina Solid", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.londrina-solid-black {
    font-family: "Londrina Solid", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.wallpoet-regular {
  font-family: "Wallpoet", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* ==================== buttons ======================= */

.btn-primary {
    background-color: #ff4081;
    border-color: #ff4081;
    font-family: 'Cal Sans', sans-serif;
    font-weight: bold;
    border-radius: 8px;
    padding: 12px 20px;
}

.btn-primary:hover {
    background-color: #e73370;
    border-color: #e73370;
}

/* Rounded top corners for the image */
.rounded-top {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Black box with only bottom corners rounded */
.register-box {
    background-color: black;
    padding: 15px 0;
    margin-top: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    width: 100%;
}

.register-boxwhite {
    background-color: white;
    padding: 15px 0;
    margin-top: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    width: 100%;
}


.btn-register {
    background-color: #f47c00;
    border-color: #f47c00;
    color: white;
    font-family: 'Cal Sans', sans-serif;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-register:hover {
    background-color: #d76c00; /* Slightly darker orange for hover effect */
    border-color: #d76c00;
}




 .btn-apply {
    background-color: #e71d2b;
    color: white !important;
    border-radius: 0;
    border: none;
    font-size: 1.25rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    padding:  0.1rem 1.5rem;
    text-decoration: none;
  }

  /* Make sure text inside the button (including arrow span) inherits white */
  .btn-apply, .btn-apply * {
    color: white !important;
  }

  /* Arrow styling */
  .btn-apply .arrow-right {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid white;
    margin-left: 10px;
  }


/* ==================== buttons ======================= */

   section {
      height: auto;
      display: flex;
      justify-content: center;
      align-items: center;
	  padding: 10px 0px 10px 0px;
    }

    #reveal-section {
      background-color: #f8f9fa;
      position: relative;
    }

    .reveal-container {
      position: relative;
      width: 900px;
      height: 400px;
      overflow: hidden;
      border-radius: 00%;
    }

    .top-image,
    .bottom-image {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 0%;
    }

    .top-image {
      z-index: 2;
      transition: clip-path 0.2s linear;
      clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
    }


/* ==================== Contact Page ======================= */


 .contact-col {
    border: 1px solid black;
    border-radius: 10px;
    background-color: transparent;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100px;
    box-sizing: border-box;
    width: 100%;
  }

  .contact-col img {
    max-height: 40px;
    object-fit: contain;
    margin-right: 0.75rem;
    flex-shrink: 0;
  }

  .contact-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact-title {
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.2;
  }

  .contact-detail {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  @media (max-width: 576px) {
    .contact-col {
      height: auto;
      padding: 0.5rem 0.75rem;
    }

    .contact-title {
      font-size: 0.95rem;
    }

    .contact-detail {
      font-size: 0.85rem;
    }
  }


/* ==================== counter style ======================= */

  .app-wrapper {
      font-family: 'Wallpoet', monospace;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0;
      padding: 0;
      color: #C8C5C5;
    }

    .counter-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      background: linear-gradient(to bottom right, #133d2d, #0a1f16);
      border: 2px solid #C8C5C5;
      padding: 4px 6px;
      border-radius: 6px;
      box-shadow: 0 0 8px #2de68088;
    }

    .counter-label-top {
      font-size: 0.78rem;
      color: #C8C5C5;
      margin-bottom: 1px;
      text-align: center;
    }

    .counter-display {
      display: flex;
      margin: 2px 0; /* Reduced vertical spacing */
    }

    .digit-container {
      width: 26px;
      height: 35px;
      overflow: hidden;
      position: relative;
      margin: 0 1px;
    }

    .digit-strip {
      position: absolute;
      top: 0;
      width: 100%;
    }

    .digit {
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      color: #C8C5C5;
      text-shadow: 0 0 3px #ececec;
    }

    .counter-label-bottom {
      font-size: 0.5rem;
      color: #6fb18a;
      letter-spacing: 0.04rem;
      margin-top: 1px;
      text-align: center;
    }


/* ==================== 2nd Video Button ======================= */


/* Position the reveal container properly */
.reveal-container {
  position: relative;
}

/* Position the button at bottom center of video */
.video-overlay-btn {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 11;
  pointer-events: auto;
}




/* ==================== Submit Button Coloring ======================= */

.custom-red {
  background-color: #e71d2b;
  border-color: #e71d2b;
  color: white; /* Optional, improves contrast */
}

.custom-red:hover {
  background-color: #c51a26;
  border-color: #b01721;
}
