:root {
  --brand-blue: #010142;
  --light-blue: #b0cfff;
  --light-blue-alpha: #bbdaff6e;
  --accent-blue: #0000f4; /* Brighter blue for buttons */
  --white: #ffffff;
  /* --font-heading: "Bebas Neue", sans-serif;
  --font-body: "Poppins", sans-serif; */
  --font-heading: "Gelasio", serif;
  --font-body: "Gelasio", serif;
  --poopins: "Poppins", sans-serif;
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brand-blue);
  background-color: #f0f8ff;
  -webkit-font-smoothing: antialiased;
}

/* Texture Background for Hero */
.hero-section {
  background: url("/images/alt-bg-2.jpg") no-repeat center center;
  background-size: cover;
  padding: 130px 20px 80px;
  text-align: center;
  /* height: 60vh; */
}

.hero-logo {
  width: 100%;
  max-width: 1000px;
  /* margin-bottom: 1rem; */
}

.hero-flex {
  display: flex;
  max-width: 1000px;
  margin: auto;
  gap: 2rem;
  align-items: center;
}

.hero-flex p {
  font-size: 1.2rem;
  text-align: left;
  font-weight: 700;
  margin-top: 2rem;
}

.hero-inner-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-inner-flex img {
  width: 250px;
}

.hero-inner-flex .dates {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-inner-flex h4,.hero-inner-flex h3, .hero-inner-flex h2 {
  margin: 0.5rem 0;
  line-height: 1;
  text-align: left;
}

.hero-inner-flex h2 {
  color: var(--brand-blue);
  font-size: 2.4rem;
}
.hero-inner-flex h3 {
  color: var(--accent-blue);
  font-size: 1.35rem;
}
.hero-inner-flex h4 {
  color: #000;
}

/* Nav Bar */
.top-nav {
  padding: 20px;
}

.nav-container {
  background: var(--light-blue);
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px 5px 30px;
  max-width: 800px;
  margin: 0 auto;
}

.btn-waitlist {
  background: var(--accent-blue);
  color: white;
  border: none;
  padding: 8px 25px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  font-size: 1.2rem;
  text-decoration: none;
}

/* Typography */
.main-title {
  font-size: clamp(3rem, 10vw, 6rem);
  margin: 10px 0;
  letter-spacing: -2px;
}

.description {
  max-width: 700px;
  margin: 0 auto;
  font-weight: 600;
  line-height: 1.4;
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: #000;
}

/* Ticker Bar */
.ticker-wrap {
  background: var(--brand-blue);
  color: white;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: bold;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.ticker {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Dates Section */
.dates-section {
  background: var(--light-blue);
  padding: 20px 20px;
  text-align: center;
  margin-top: 1.5rem;
}

.section-label {
  margin: 0;
  font-family: var(--font-heading); /* Bebas Neue */
  font-size: 3.5rem;
  color: var(--brand-blue); /* Navy text */
  margin-bottom: 40px;
  display: inline-block;
  position: relative;
  padding-bottom: 10px; /* Space between text and line */
  font-weight: 400;
}

/* The Bright Blue Underline */
.section-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px; /* Thick, architectural line */
  background-color: #0047ff; /* That bright, punchy blue from the buttons */
}

.date-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.date-card {
  display: flex;
  align-items: center; /* Vertical alignment */
  gap: 20px;
  margin-bottom: 20px;
}

.date-image {
  height: 120px; /* Adjust height to match the scale of your mockup */
  width: auto; /* Maintain aspect ratio */
  display: block;
}

.date-num {
  font-size: 4rem;
  font-weight: 200;
  font-family: var(--font-heading);
  font-size: 6rem; /* Large impact like the image */
  line-height: 1;
}
.location-info {
  text-align: left;
}

.location-info h3 {
  font-family: var(--font-heading); /* Bebas Neue */
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  margin: 0;
  color: var(--brand-blue);
}

.location-info p {
  font-family: var(--font-heading); /* Bebas Neue */
  font-weight: 500;
  font-size: 2rem;
  margin: 0;
  color: var(--accent-blue);
}
/* Form/Footer Area */
.form-footer-section {
  position: relative;
  background-color: #f8fbff; /* Very light blue to match texture */
  padding: 100px 0 0 0;
  overflow: hidden;
}

/* Watermark Text */
.watermark-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15vw;
  font-weight: 900;
  color: var(--light-blue-alpha);
  line-height: 0.8;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--font-heading);
}

/* The Dark Form Box */
.form-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end; /* Aligns form to the right */
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.form-box {
  background: #000428; /* Deep Midnight Blue */
  color: white;
  padding: 30px 20px;
  border-radius: 30px;
  width: 100%;
  width: 100%;
  max-width: 300px;
  min-width: 300px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-box h2 {
  font-size: 1.3rem;
  margin: 0 auto;
  border-bottom: 2px solid var(--accent-blue);
  display: inline-block;
  font-family: var(--font-heading);
  text-align: left;
}

.form-box p {
  font-size: 0.9rem;
  margin: 10px 0 20px;
  line-height: 1.4;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.85rem;
  text-align: left;
}

/* Inputs */
.form-box input,
.form-box select {
  width: 100%;
  padding: 8px 16px;
  margin-bottom: 8px;
  border-radius: 25px;
  border: none;
  font-weight: bold;
  box-sizing: border-box;
  font-family: var(
    --font-heading
  ); /* Matches the heavy uppercase style in image */
  font-size: 0.8rem;
  letter-spacing: 1px;
}


.form-message {
  font-size: 0.8rem
}

/* Custom Toggle Switch */
.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #b0cfff;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: blue;
}
input:checked + .slider:before {
  transform: translateX(30px);
}

.yes-label {
  font-weight: bold;
  font-size: 1.2rem;
}

/* Register Button */
.btn-register {
  background: blue;
  color: white;
  width: fit-content;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
  font-family: var(--font-heading);
  font-size: 1rem;
  background: var(--accent-blue);
  margin-top: 0.5rem;
}

.btn-register:hover {
  transform: scale(1.03);
}

/* Footer */
.main-footer {
  background: #000428;
  /* margin-top: 50px; */
  padding: 40px 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner-footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: white;
  position: relative;
  max-width: 1200px;
  width: 100%;
}

.footer-logo-circle {
  /* background: blue; */
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50px;
  top: -100px;
  font-weight: bold;
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.footer-logo-circle img {
  width: 100%;
}

.footer-content {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.social-icon {
  width: 50px;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--accent-blue);
}

.main-title {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.9;
  margin: 0;
}

.subtitle {
  font-family: var(--font-body);
  font-weight: 700;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  color: var(--accent-blue);
  font-size: 1.2rem;
}

.toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.marketing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  /* font-family: sans-serif; */
}

.toggle-track {
  position: relative;
  width: 100px;
  min-width: 100px;
  height: 35px;
  background-color: var(--accent-blue);
  border-radius: 32px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.toggle-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: 600;
  font-size: 13px;
  z-index: 1;
}

.toggle-text.no {
  left: 15px;
}

.toggle-text.yes {
  right: 15px;
}

.toggle-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: var(--light-blue);
  z-index: 2;
  transition: transform 0.3s ease;
}

.toggle-input:not(:checked) + .toggle-track {
  background-color: #999999;
}

.toggle-input:not(:checked) + .toggle-track .toggle-thumb {
  transform: translateX(100%);
}

.toggle-input:checked + .toggle-track {
  background-color: var(--accent-blue);
}

.toggle-input:checked + .toggle-track .toggle-thumb {
  transform: translateX(0);
}

.toggle-label-text {
  font-size: 0.77rem;
  text-align: left;
}

.footer-email a {
  color: white;
  text-decoration: none;
}

.desktop-pi-logo {
  display: block;
}

.mobile-pi-logo {
  display: none;
}

@media (max-width: 1400px) {
  .hero-section {
    min-height: 62vh
  }
}
@media (max-width: 1024px) {
  .hero-section {
    min-height: 72vh
  }

  .hero-flex {
    height: 50vh
  }
}

/* Mobile Tweak: Stack them if the screen is too narrow */
@media (max-width: 600px) {
  .date-card {
    flex-direction: column;
    text-align: center;
  }
  .location-info {
    text-align: center;
  }
  .date-image {
    height: 80px; /* Smaller on mobile */
  }

  .description {
    font-size: 1.1rem;
  }

  .marketing-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .toggle-label-text {
    width: 100%;
    text-align: left;
  }

  .toggle-text {
    font-size: 1rem;
  }

  .toggle-track {
    width: 110px;
    min-width: 110px;
    height: 35px;
  }

  .form-box h2 {
    font-size: 1.4rem;
  }
  .form-box p,.form-box input, .form-box select,.footer-email a {
    font-size: 1rem;
  }

  .main-footer {
    /* margin-top: 100px; */
    /* padding-top: 100px; */
    /* padding-bottom: 80px; */
    width: unset;
  }

  .footer-logo-circle {
    top: -200px;
    left: 50%;
    transform: translate(-50%);
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-social {
    gap: 1.5rem;
  }

  .social-icon {
    width: 32px;
  }


  .hero-inner-flex {
    flex-direction: column;
  }

  .hero-section, .hero-flex {
    min-height: unset;
    height: unset;
  }

  .hero-flex {
    flex-direction: column;
    margin-top: 2rem;
  }

  .hero-inner-flex img {
    width: 150px;
  }

  .hero-inner-flex {
    align-items: flex-start
  }

  .hero-inner-flex img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-flex p {
    /* margin-top: 150px; */
    font-size: 1rem;
  }

  .form-container {
    padding: 0;
    margin: 0;
  }
  .form-box {
    max-width: unset;
    min-width: unset;
  }

  .hero-flex .form-box p {
    margin-top: 10px;
  }

  .ticker-wrap {
    font-size: 1rem;
  }

  .marketing-toggle {
    display: block;
  }

  .hero-section {
    background: url("/images/NEW.jpg") no-repeat center center;
    padding: 20px 20px 40px;

  }

  .desktop-pi-logo {
    display: none;
  }
  
  .mobile-pi-logo {
    display: block;
    width: 40%;
    margin: 0 auto;
  }

}
