/* RESET & BASE STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* The root canvas stays dark to prevent white gaps at the bottom */
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #0f1724;
}

/* The body stays transparent so your fixed background image shows through */
body {
  margin: 0;
  padding: 3rem 1rem;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

/* Your fixed background image layer */
.bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0f1724;
  background-image: linear-gradient(to bottom,
      rgba(15, 23, 36, 0.85),
      rgba(15, 23, 36, 0.92)),
    url('jdbackground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

hr {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 2rem 0;
}

/* HEADER SECTION */
.header-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jdmainlogo {
  display: block;
  width: 100%;
  max-width: 520px;
  /* Adjust this number to scale the logo size up or down */
  height: auto;
  margin: 0 auto;
}

.subtitle {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #d0d7e1;
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
}

.location {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #7d8b9e;
  margin-bottom: 1.5rem;
}

/* ROTATING TEXT BANNER */
#rotating-text {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1em, 4vw, 1.25em);
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  color: #E0DBFFC2;
  text-transform: uppercase;
  min-height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.1em;
}

/* SOCIAL ICONS */
.social-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.social-row a {
  color: #ffffff;
  font-size: 1.1rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.social-row a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* BUTTON STYLES */
.btn-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  height: 3.25rem;
  background-color: #3D5D82;
  background-image: linear-gradient(20deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 1.625rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  background-color: #486d99;
}

/* MAILING LIST SECTION */
.section-title {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.25em;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.input-field {
  width: 100%;
  height: 3.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.625rem;
  padding: 0 1.5rem;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.input-field::placeholder {
  color: #6b7c93;
}

.input-field:focus {
  border-color: #3D5D82;
  background: rgba(255, 255, 255, 0.09);
}

.form-disclaimer {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #6b7c93;
  margin-top: 1rem;
}

.form-disclaimer span {
  display: block;
  font-size: 0.55rem;
  opacity: 0.7;
  margin-top: 0.2rem;
}

/* FOOTER */
footer {
  margin-top: 1.5rem;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: #5c6b7e;
}

footer .social-row {
  margin-top: 1rem;
  margin-bottom: 0;
}