/* General Reset */
body {
  background-color: #1a1c2c;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Loader Overlay */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    26,
    28,
    44,
    0.9
  ); /* Semi-transparent dark background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Loader Animation */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top-color: #11dfdf;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Loader Animation Keyframes */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@font-face {
  font-family: "Quinzey";
  src: url("../fonts/Quinzey_Bold.otf") format("opentype");
  font-weight: 900; /* Bold */
  font-style: normal;
}

/* Class for headings */
.quinzey-headings-h4 {
  font-family: "Quinzey", sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  color: #11dfdf; /* Green color */
  font-size: 32px;
}

/* Center Form */
.container {
  position: absolute; /* Position it on top of everything */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center it */
  width: 100%;
  max-width: 420px;
  background: #0c0d1f; /* Semi-transparent background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 8px solid #11dfdf8f;
  box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.192),
    5px 5px 15px rgba(0, 0, 0, 0.623),
    inset -5px -5px 15px rgba(255, 255, 255, 0.144),
    inset 5px 5px 15px rgba(0, 0, 0, 0.815);
  z-index: 10; /* Ensure it stays above the background */
}

.logo {
  width: 120px;
  margin-bottom: 10px;
  border-radius: 10%;
}

.card h1 {
  color: #11dfdf;
}

h3.subtitle {
  color: #fff;
  font-size: 19px;
}

h5.subtitle {
  width: 100%;
  color: #fff;
  font-size: 16px;
  font-weight: 200;
  line-height: 1.5;
}

.form-group input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  width: 100%;
  padding: 15px;
  margin-top: 10px;
  font-size: 15px;
  background: linear-gradient(to bottom right, #11dfdf, #007676) !important;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}
button:hover {
  background: linear-gradient(to bottom right, #007676, #11dfdf) !important;
}

.card {
  background-color: #0c0d1f;
  border-radius: 0.5rem;
  padding: 0.5rem;
  max-width: 300px;
  margin: 0 auto;
  display: none; /* Hide non-active steps properly */
  animation: fade 350ms ease-in-out forwards;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
  gap: 0.25em;
}

.form-group:last-child {
  margin: 0;
}

.form-group > label {
  font-weight: bold;
  font-size: 0.8em;
  color: #333;
}

.form-group > input {
  border: 1px solid #333;
  border-radius: 0.25em;
  font-size: 1rem;
  padding: 0.25em;
}

.step-title {
  margin: 0;
  margin-bottom: 1rem;
  text-align: center;
}

.card.active {
  display: block; /* Show only active step */
  animation: slide 450ms 125ms ease-in-out both;
}

.multi-step-form {
  overflow: hidden;
  position: relative;
}

.hide {
  display: none;
}

@keyframes slide {
  0% {
    transform: translateX(200%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.75);
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* Fix Animations */
@keyframes logoPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* .logo-animation {
  animation: logoPulse 2s ease-in-out infinite;
} */

@media screen and (min-width: 340px) and (max-width: 575px) {
  .container {
    width: 100%;
    max-width: 100px;
    background: #0c0d1f;
    padding-top: 0em;
    padding-bottom: 3em;
    padding-left: 8em;
    padding-right: 5em;
    border: 8px solid #11dfdf8f;
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.192),
      5px 5px 15px rgba(0, 0, 0, 0.623),
      inset -5px -5px 15px rgba(255, 255, 255, 0.144),
      inset 5px 5px 15px rgba(0, 0, 0, 0.815);
    z-index: 10; /* Ensure it stays above the background */
    text-align: center;
  }

  .card {
    background-color: #0c0d1f;
    border-radius: 0.5rem;
    padding: 0.5rem;
    max-width: 300px;
    margin: 0 auto;
    display: none; /* Hide non-active steps properly */
    animation: fade 350ms ease-in-out forwards;
  }
}

@media screen and (max-width: 576px) {
  .container {
    width: 100%;
    max-width: 270px;
    background: #0c0d1f;
    padding: 20px;
    padding-top: 3em;
    padding-bottom: 3em;
    border: 8px solid #11dfdf8f;
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.192),
      5px 5px 15px rgba(0, 0, 0, 0.623),
      inset -5px -5px 15px rgba(255, 255, 255, 0.144),
      inset 5px 5px 15px rgba(0, 0, 0, 0.815);
    z-index: 10; /* Ensure it stays above the background */
    text-align: center;
  }

  .card {
    background-color: #0c0d1f;
    border-radius: 0.5rem;
    padding: 0.5rem;
    max-width: 300px;
    margin: 0 auto;
    display: none; /* Hide non-active steps properly */
    animation: fade 350ms ease-in-out forwards;
  }
}

/* Responsive Fix */
@media screen and (min-width: 577px) and (max-width: 992px) {
  .container {
    max-width: 420px;
  }
}

/* CONSRT TOGGLE */
.consent-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-left: 2em;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: not-allowed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4caf50;
  transition: 0.4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.consent-text {
  font-size: 14px;
  color: #333;
}

@media screen and (min-width: 340px) and (max-width: 575px) {
  .consent-container {
    margin-left: 0;
  }
  .switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 18px;
  }

  .slider:before {
    left: 1px;
    height: 12px;
    width: 13px;
  }
  .consent-text {
    font-size: 14px;
    color: #333;
  }
  h5.subtitle {
    width: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: 200;
    line-height: 1.5;
  }
}

/* BACKGROUND */
.bg-container {
  width: 100%;
  min-height: 100vh;
  pointer-events: none;
}

.bgAnimation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-template-rows: repeat(20, 1fr);
  background: #000;
  filter: saturate(2);
  overflow: hidden;
  z-index: -1;
}

.colorBox {
  z-index: 2;
  filter: brightness(1.1);
  transition: 2s ease;
  position: relative;
  margin: 2px;
  background: #000;
}

.colorBox:hover {
  background: #11dfdf;
  transition-duration: 0s;
}

.backgroundAmim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #11dfdf;
  filter: blur(100px);
  animation: animBack 6s linear infinite;
}

@keyframes animBack {
  0% {
    top: -60px;
  }
  100% {
    top: 120%;
  }
}

.footer {
  text-align: center;
  padding: 15px;
  background-color: #1a1c2c;
  color: #ffffff;
  font-size: 14px;
  position: relative;
  bottom: 0;
  width: 100%;
  /* box-shadow: 0px 0px 10px #008080;  */
  /* border-top: 1px solid #008080;  */
}

.footer a {
  color: #00cccc; /* Teal to match the glow */
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
  color: #66ffff; /* Slightly brighter on hover */
}
