/* Body */
body {
  font-size: 1rem;
  font-family: 'source-sans-pro', sans-serif;
}

h1 {
  font-size: 3em;
  font-weight: 900;
  margin-bottom: 0;
}

h2 {
  font-family: 'Times New Roman', serif;
  font-size: 1.5em;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 40px;
  color: #BBB;
}

section {
  margin-top: 60px;
}

/* Media Queries */
@media (max-width: 767px) {
  body {
    font-size: 1.4em;
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.3em;
  }
}

/* Navbar */
.navbar {
  /*background-color: transparent;*/
  background-color: #180614;
  border: none;
  position: relative;
  z-index: 10;
}

.navbar a {
   color: whitesmoke;
  text-decoration: none;
}

.navbar a:hover {
   color: whitesmoke;
  text-decoration: none;
}

.navbar a:visited {
   color: whitesmoke;
  text-decoration: none;
}

.navbar a:active {
   color: #ff944d;
  text-decoration: none;
}

.navbar-brand {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-brand img {
  height: 100px;
  transform: translateY(25px);
}

@media (min-width: 992px) {
  .navbar-brand {
    top: -15px;
    left: 10%;
    height: auto;
    z-index: 11;
  }

  .navbar-brand img {
    height: 120px;
  }

  .navbar-nav {
    padding-top: 12px;
  }
}

  .navbar-toggler {
    color: ghostwhite; /* Optional: makes the border of the toggle button ghostwhite */
  }

  .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='ghostwhite' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

/* Hero Section */
#section-hero {
  margin-top: 0;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.carousel-inner,
.carousel-item {
  height: 100%;
  width: 100%;
}

.carousel-item {
  background-position: center;
  background-size: cover;
  min-height: 400px;
}

.carousel-control-prev,
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 75% 75%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px;
}

/* Hide carousel controls by default */
#hero-carousel .carousel-control-prev,
#hero-carousel .carousel-control-next {
  display: none;
}

.hero-badge-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

#section-hero .hero-badge {
  margin: 200px 0 250px;
  width: 100%;
}

@media (max-width: 768px) {
  #section-hero {
    min-height: 300px;
  }

  .hero-badge {
    max-width: 80%;
  }
}

/* === Glint/Shimmer Effect on Logo === */
.logo-wrapper {
  position: relative;
  display: inline-block;
  /*transform-origin: center center;*/
  margin-top: 0;
  /*margin-bottom: -270px; /* tweak as needed */
}

.logo-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.1) 100%);
  transform: skewX(-20deg);
  z-index: 2;
  opacity: 0;
}

/*.logo-wrapper img {
  transform: scale(0.35);
  transform-origin: center center;
}*/

  .logo-wrapper img {
  width: 22vw;               /* scales with viewport */
  max-width: 300px;          /* cap max size */
  min-width: 140px;          /* optional floor */
  height: auto;
  display: block;
  margin-top: 105%;
  transition: width 0.3s ease;
}

.carousel-item.active .shimmer-on-show::before {
  animation: shimmer 1.2s ease-in-out 0.5s forwards;
}

@keyframes shimmer {
  0% {
    left: -75%;
    opacity: 1;
  }
  100% {
    left: 125%;
    opacity: 0;
  }
}

/* === Reveal from Left to Right === */
.image-reveal-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 5%;
  mask-image: linear-gradient(to right, black 0%, black 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 100%);
}

.image-reveal {
  opacity: 1;
  clip-path: inset(0 100% 0 0);
  animation: maskReveal 1.2s ease-out 0.8s forwards;
}

/*.image-reveal-wrapper img {
  transform: scale(0.55);
  transform-origin: center center;
}*/

.image-reveal-wrapper img {
  width: 32vw;
  max-width: 400px;
  min-width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: width 0.3s ease;
}

@keyframes maskReveal {
  0% {
    clip-path: inset(0 100% 0 0); /* Hidden from right */
  }
  100% {
    clip-path: inset(0 0% 0 0);   /* Fully visible */
  }
}

@media (max-width: 768px) {
  .logo-wrapper img {
    width: 40vw;
  }

  .image-reveal-wrapper img {
    width: 50vw;
  }

  .logo-wrapper {
    margin-top: 25%;
  }

  .image-reveal-wrapper {
    margin-top: 5%;
  }
}

.slide-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -220px; /* pull entire block up instead of fighting per-element positioning */
}

#section-intro h1{
  font-size: 85px;
  font-weight: bolder;
  color: #d5d7db;
}

/* Buzzwords Section */
#section-buzzwords i {
  font-size: 5em;
}

#section-buzzwords {
  font-weight: 600;
}

/* Cards Section */
#section-cards {
  background-color: #f3f4f5;
}

/*#section-cards img {
  width: 100%;
}*/

#section-cards .card {
  margin-bottom: 60px;
  background-color: whitesmoke;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#section-cards .card h3 {
  font-size: 1em;
  font-weight: 600;
  padding: 0 20px;
  margin-top: 15px;
}

#section-cards .card p {
  font-size: .8em;
  padding: 80 20px 20px 20px;
  margin-top: auto;
}

#section-cards li {
  list-style: none;
}

#section-cards .card .img-wrapper {
  overflow: hidden;
  position: relative;
  height: 140px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
}

#section-cards .card img {
  max-width: 70%;
  transition: .2s;
  object-fit: contain;
}

#section-cards .card:hover img {
  transform: scale(1.1, 1.1);
  filter: grayscale(100%);
}

#section-cards .card .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(254, 121, 70, 0.65);
  opacity: 0;
  transition: .2s;
  color: whitesmoke;
}

#section-cards .card .img-overlay span {
  position: absolute;
  text-align: center;
  width: 100px;
  left: 50%;
  margin-left: -50px;
  height: 100px;
  top: 50%;
  margin-top: -80px;
  font-size: 100px;
}

#section-cards .card:hover .img-overlay {
  opacity: 1;
}

/* === CTA Section === */
.cta-section {
  background-color: #ffffff;
  padding: 60px 20px 0 20px;
  text-align: center;
}

.cta-container {
  max-width: 2800px;
  margin: 0 auto;
}

.cta-subtext {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 10px;
  color: #000;
}

.cta-headline {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #000;
}

.cta-image-wrapper {
  position: relative;
  display: inline-block;
}

.cta-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.cta-button {
  position: absolute;
  top: 63.5%;
  left: 50%;
  transform: translate(-50%, -58%);
  background-color: #fe7946;
  color: #f8f8ff;
  border: none;
  padding: 8px 16px;
  font-size: 18px;
  font-weight:600;
  text-align: center;
  border-radius: 4px;
  max-width: 180px;
  width: 100%;
  height: 75px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #e66d3c;
}

.cta-button:active,
.cta-button.active {
  background-color: #fe7946; /* Keep the original background */
  transform: translate(-50%, -58%); /* Ensure the transform stays the same */
  opacity: 1; /* Make sure nothing is causing it to fade */
}

.cta-button:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(254, 121, 70, 0.5); /* A subtle focus ring can improve visibility */
}

@media (max-width: 992px) {
  .cta-headline {
    font-size: 24px;
  }

  .cta-subtext {
    font-size: 16px;
  }

  .cta-button {
    font-size: 13px;
    height: 32px;
  }
}

@media (max-width: 768px) {
  .cta-image img {
    max-width: 220px;
  }

  .cta-button {
    top: 63%;
  }
}

@media (max-width: 576px) {
  .cta-subtext {
    font-size: 15px;
  }

  .cta-headline {
    font-size: 20px;
  }

  .cta-button {
    font-size: 12px;
    height: 30px;
    padding: 5px 10px;
  }
}

.cta-button,
.cta-button:link,
.cta-button:visited,
.cta-button:hover,
.cta-button:active,
.cta-button:focus {
  text-decoration: none;
}

.fade-message {
    position: relative;
    margin: 10px 0;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    display: none; /* Hidden by default, fades in when needed */
}
.alert-info {
    background-color: #17a2b8;
    color: white;
}
.alert-success {
    background-color: #28a745;
    color: white;
}
.alert-danger {
    background-color: #dc3545;
    color: white;
}

#section-sponsors {
  background-image: url('/static/imgs/site/patterns/tiled_pattern_jersey.png');
  background-repeat: repeat;
  background-size: contain;
  position: relative;
  color: whitesmoke;
}

#section-sponsors .overlay {
  /*background-color: rgba(0, 0, 0, 0.25); /* Dark overlay for readability */
  width: 100%;
  height: 100%;
  padding: 60px 0 0 0;
}

.sponsor-section img {
  max-height: 100px;
  filter: brightness(0) invert(1); /* optional: if logos are dark and background is dark */
}


/* Footer */
.footer {
  background-color: #180614;
  color: whitesmoke;
  text-align: center;
  padding: 0 0 20px 0; 
}

.footer-logo img {
  max-height: 120px;
  display: block;
}

/* ≥ 1400px */
@media (min-width: 1400px) {
  .footer-logo img {
    margin-left: 165px; /* adjust as needed */
  }
}

/* 1200px–1399px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .footer-logo img {
    margin-left: 135px; /* adjust as needed */
  }
}

/* 990px–1199px */
@media (min-width: 990px) and (max-width: 1199.98px) {
  .footer-logo img {
    margin-left: 105px; /* adjust as needed */
  }
}

/* 765px–989px */
@media (min-width: 765px) and (max-width: 989.98px) {
  .footer-logo img {
    margin-left: 65px; /* adjust as needed */
  }
}

/* < 765px: center it */
@media (max-width: 764.98px) {
  .footer-logo img {
    margin-left: auto;
    margin-right: auto;
  }
}

.footer a {
  color: whitesmoke;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.social-icons img {
  width: 30px;
  margin: 0 10px;
}

/* Media Query for Small Screens */
@media screen and (max-width: 767px) {
  .rotator {
    position: relative;
    height: 200px;
    margin-bottom: 40px;
  }

  .rotator div {
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
  }

  .rotator div,
  .rotator h4 {
    font-size: 140%;
  }
}

@media only screen and (max-width: 720px) {
  #section-cards li:nth-child(6n) {
    color: aqua;
  }
}


/* Basic Reset 
body, ul, li, h2, h3, a, button {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}*/

.register-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  font-size: 1.25rem;
  background-color: #0070f3;
  color: white;
  border: none;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.registration-container {
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.hidden {
  display: none;
}

.stripe-form {
  margin-bottom: 2rem;
}

#card-element {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  margin-bottom: 1rem;
}

.stripe-form button {
  width: 100%;
  padding: 1rem;
  background-color: #28a745;
  color: white;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
}

/* Other options list */
.other-options ul {
  list-style: none;
}

.other-options li {
  margin-bottom: 0.75rem;
}

.other-options a {
  display: block;
  padding: 0.75rem;
  background: #eaeaea;
  border-radius: 5px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s;
}

.other-options a:hover {
  background: #dcdcdc;
}

/* Larger screen adjustments */
@media (min-width: 768px) {
  .registration-container {
    display: flex;
    gap: 2rem;
  }

  .stripe-form, .other-options {
    flex: 1;
  }

  .other-options ul {
    padding-left: 0;
  }
}


/* Default (mobile-first) — stacked */
.name-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.name-fields input {
  width: 100%;
  box-sizing: border-box;
}

/* 500px to 767px — side by side */
@media (min-width: 500px) and (max-width: 767px) {
  .name-fields {
    flex-direction: row;
  }

  .name-fields input {
    flex: 1;
  }
}

/* 768px and up — back to stacked */
@media (min-width: 768px) {
  .name-fields {
    flex-direction: column;
  }

  .name-fields input {
    width: 100%;
  }
}



.auth-container {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 2rem;
  max-width: 700px;
  margin: auto;
}

/* Box styles */
.auth-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border-radius: 8px;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex: 1;
}

.auth-box h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #333;
}

.auth-box form {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.75rem;
}

.auth-box input {
  margin: 0 !important;
  padding: 0.75rem !important;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-spacer {
  flex-grow: 1;
}

.form-footer {
  margin-top: auto;
  padding-bottom: 2.5rem; /* slight increase */
}

.auth-box button {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  background-color: #ff2172 !important;
  border-color: #ff2172 !important;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.auth-divider {
  text-align: center;
  font-weight: bold;
  color: #888;
  position: relative;
}

.auth-divider span {
  background: #f9f9f9;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .auth-container {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
  }

  .auth-box {
    width: 45%;
  }

  .auth-divider {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    width: 10%;
  }

  .auth-divider span {
    background: transparent;
    padding: 0;
  }
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  padding-right: 2.5rem; /* space for the button */
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: #555;
}

.toggle-password:focus {
  outline: none;
}

input:-webkit-autofill,
input:-internal-autofill-selected {
  background-color: #fff !important;
  color: #000 !important;
}

input[data-lastpass-icon-root],
div[data-lastpass-icon-root],
iframe[data-lastpass-icon-root] {
  display: none !important;
}

/* Styling for the logout button at the top-right corner */
        #logoutButton {
            position: absolute;
            top: 20px;
            right: 20px;
            padding: 10px 20px;
            background-color: #ff4b5c;
            color: white;
            border: none;
            cursor: pointer;
            font-size: 16px;
        }
        
        #logoutButton:hover {
            background-color: #d13a46;
        }
