* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  overflow-x: hidden;
}


body {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.center-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);

  color: white;
  text-align: center;
}

.center-text h1{
  font-weight: 500;
    font-size: 48px;
}
section{
  max-width: 1440px;
}
.tab-content{
  display: flex;
  justify-content: center;
  padding: 0 120px 20px;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 40px;
    overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.tab-frame {
  width: 100%;
  max-width: 1150px;
  height: calc(100vh - 120px); /* tabs + padding */
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tabs {
  scrollbar-width: none; /* Firefox */
}

.tab {
  border: 2px solid #00b7ff;
  padding: 8px 24px;
  background: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.tab.active {
  background: #00b7ff;
  color: white;
}

.content {
  display: none;
  /* height:calc(30vh - 40px);  */
  /* min-height: 500px; */
  align-items: center;
  justify-content: space-around;
    width: 100%;
  height: 100%;
}

.content.active {
  display: flex;
}

/* Tab 1 */
/* .hero {
  position: relative;
} */
 .hero-container {
  width: 100%;
  position: relative;
}
.mobile_bg{
  display: none;
}
.hero img,
.video-thumb{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.center-text {
  position: absolute;
  color: white;
  text-align: center;
  width: 100%;
}

/* Tab 2 */
/* .video-section video {
  width: 100%;

} */


/* Tab 3 */
.mission {
  background: #00b7ff;
  color: white;
  padding: 60px;
  text-align: left;
  width: 100%;
  /* max-width: 1050px; */
  /* min-width: 1150px; */
   /* max-height: calc(100vh - 100px); */
     overflow-y: auto;
  /* white-space: nowrap; */
  -webkit-overflow-scrolling: touch;
}

.mission::-webkit-scrollbar {
  display: none;
}
.mission {
  scrollbar-width: none; /* Firefox */
}
.span-letter{
  font-size: 64px;
}

/* Tab 4 */
.slider {
  position: relative;      
  width: 100%;
  /* max-width: 980px; */ 
}
.slider-viewport {
  overflow: visible; /* allows side peek */
  width: 100%;
}
.slide {
  max-height: calc(100vh - 160px);
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: relative;
}
.slide img {
  display: block;
  max-height: calc(80vh - 0px);
  width: 100%;
  /* object-fit: contain; */
}

.active-slide {
  opacity: 1;
  /* transform: scale(1); */
}

.prev-slide,
.next-slide {
    /* opacity: 0.35; */
  /* transform: scale(0.9); */
}
.prev-slide::after,
.next-slide::after {
  content: "";
  position: absolute;
  inset: 0;
   background: rgba(0, 0, 0, 0.55); /* adjust darkness here */
  pointer-events: none;
}
.active-slide::after {
  display: none;
}


.slider-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* .slider img {
  width: 100%;
  display: block;
    
} */
.slider .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 10;

  background-color: rgba(56, 56, 56, 0.65);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}


.slider .prev {
  left: 4%;
  background-image: url("./assets/defaultLArrow.png");
}

.slider .next {
  right: 4%;
  background-image: url("./assets/defaultRArrow.png");
}


/* .slider .arrow:hover {
  background: rgba(0, 0, 0, 0.75);
} */
/* FULL-BLEED override ONLY for goodhub messages */
#tab4.slider {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
#tab4 .slider-viewport {
  width: 100%;
  overflow: visible;
}
.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: visible;
}

#tab4.full-bleed {
  padding: 0;
}

#tab4.content{
  /* width: unset; */
  max-width: 780px;
  width: 100%;
}

/* Tab 5 */
.join{
  /* padding-top: 10px;
  align-items: flex-start; */
  /* gap: 50px; */
  max-width: 900px !important;
  width: 100%;
  /* justify-content: unset; */
  /* max-width: 1050px; */
  /* max-height: calc(100vh - 200px); */
}
.join h1{
  font-weight: 600;
    font-size: 64px;
    margin-bottom: 40px;
}
.join .phone {
  width: 200px;
}
.join form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.join input{
    padding: 12px;
    border: 1px solid rgb(189, 188, 188);
}
.join input:focus {
  outline: none;
border: 1px solid rgb(189, 188, 188);
}
 .join button {
  margin-top: 20px;
  padding: 12px;
  border: 2px solid #00b7ff;
  background-color: white;
  color: black;
  width: 200px;
}
video {
  outline: none;
}

/* iOS Safari */
video::-webkit-media-controls {
  display: none !important;
}

video::-webkit-media-controls-panel {
  display: none !important;
}

video::-webkit-media-controls-play-button {
  display: none !important;
}

video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

/* Android Chrome */
video::-webkit-media-controls-enclosure {
  display: none !important;
}

.join button:hover {
  background-color: #00b7ff;
  color: white;
  cursor: pointer;
}
.d-flex {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 300px;
}

.mission-text {
  max-width: 900px;
  max-height: calc(100vh - 100px);
}

.mission p {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.mission .highlight {
  font-size: 22px;
  font-weight: bold;
}

.mission .footer-text {
  font-size: 20px;
}

.footer-text span {
 font-size: 48px;
}
.video-wrapper {
  position: relative;
  width: 100%;
  cursor: pointer;
  /* min-width: 1150px; */
 /* max-height: calc(100vh - 100px); */
}

/* .video-thumb {
  width: 100%;
  display: block;
  max-width: 1150px;
 
  max-height: calc(100vh - 100px);
} */

.video-wrapper video {
  width: 100%;
  display: none;
   /* max-height: calc(100vh - 100px); */
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
  z-index: 5;
}

.play-btn.visible {
  opacity: 1;
}
.play-btn img {
  width: 50px;
  height: 50px;
}


.footer-block {
  /* margin-top: 40px; */
  display: inline-flex;
   padding-bottom: 30px;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items:center;
  margin-top: -9px;
  margin-left: 4px;
}

.brand {
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.tagline {
  font-size: 24px;
  margin-top: 1px;
  font-weight: 400;
}
.turnstile-wrap {
  min-height: 65px;
}

.error-text {
  color: red;
  font-size: 14px;
  display: none;
  margin-top: -17px;
}

.form-message {
  font-size: 14px;
  display: none;
  margin-top: -17px;
  width: 100%;
}

.form-message.success {
  color: #1a7f37;
  display: block;
}

.form-message.error {
  color: red;
  display: block;
}

.thank-you-panel {
  max-width: 520px;
  margin-top: 8px;
}

.thank-you-panel h2 {
  font-weight: 600;
  font-size: 48px;
  margin-bottom: 24px;
  line-height: 1.1;
}

.thank-you-panel p {
  font-size: 20px;
  line-height: 1.6;
}

input.error {
  border: 1px solid red;
}
.join input{
  font-size: 16px;
}
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}
.tabs-wrapper {
  position: relative;
}

/* arrows */
.tabs-arrow {
  display: none;
}
.hide-desktop{
  display: none;
}
@media (max-width: 768px) {
    .tab-content:has(#tab4.active) .content {
display: block;
margin: 0;
    }
    .tab{
    padding: 8px 24px;
  }
  .tab-content{
    padding: 0 20px 20px;
  }
  .footer-block {
  display: unset;
  padding-bottom: 45px;
}
  .tabs {
    justify-content: flex-start;
    padding: 20px;
  }
   .hero-container{
    height: 100%;
  }
    .desktop_bg{
    display: none;
  }
  .mobile_bg{
    display: block;
    object-fit: unset !important;
  }
  .hero img{
 object-fit: none;
  }
  .video-wrapper{
    min-width: unset;
  }
  .join .phone{
    width: 150px;
  }
  .join{
    /* gap: 90px; */
    justify-content: flex-start;
  }
    #tab4.slider {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .mission {
    padding: 10px;
  }
  .slide img{
    max-height: calc(100vh - 621px);
  }
  .brand{
    font-size: 32px;
  }
  .desktop-only {
  display: none;
}

  .mobile-only {
   display: block;
    gap: 16px;
    width: 100%;
  }

  .tab4-mobile img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
   .tabs-arrow {
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: rgb(255 255 255);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  cursor: pointer;
  z-index: 5;
  transition: background-color 0.3s ease;
}

/* LEFT ARROW */
.tabs-arrow.left {
  left: 6px;
  background-image: url("./assets/defaultLArrow.webp");
}

.tabs-arrow.left:hover {
  background-image: url("./assets/hoverLArrow.png");
}

/* RIGHT ARROW */
.tabs-arrow.right {
  right: 6px;
  background-image: url("./assets/defaultRArrow.webp");
}

.tabs-arrow.right:hover {
  background-image: url("./assets/hoverArrow.png");
}

/* Hide when not needed */
.tabs-arrow.hidden {
  display: none;
}

}
@media (max-width: 768px) {
  /* When Tab 4 is active, remove tab-frame from layout */
  .tab-content:has(#tab4.active) .tab-frame {
    display: none;
  }
  .center-text {
   top: 27%;
  }
  .center-text h1{
    font-size: 66px;
    font-weight: 500;
     line-height: 0.6;
   -webkit-text-stroke: 0.2px currentColor;
  }
.mobile-font{
  font-size: 40px;
  font-weight: 400; 
   -webkit-text-stroke: 0;
}
  /* Let Tab 4 take full width */
  #tab4.active {
    width: 100%;
    max-width: 100%;
  }
    .tab-frame {
    height: calc(100vh - 120px); /* better than 100vh on mobile */
  }
    #tab2.video-section {
    /* height: 100svh;
    align-items: stretch; */
    align-items: baseline;
  }
    .video-wrapper {
    /* height: 100%; */
    width: 100%;
    position: relative;
  }
   .video-wrapper video,
  .video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover; /* IMPORTANT */
  }
  .play-btn {
    /* top: 40%; */
  }
}

@media (max-width: 468px) {
  
  .join{
    gap: 10px;
  }
  .join h1{
    margin: 0;
    font-size: 47px;
  }
}

@media (max-width: 468px) {

  .join {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

 .hide-desktop{
    display: block;
  }
  .join form h1 {
  display: none;
  }
  .join form {
    order: 3;
    width: 100%;
    align-items: center;
  }

  .join .d-flex {
    width: 100%;
  }

  .join button {
    width: 100%;
  }
}

