main {
  width: 100%;
  height: 90dvh;
}

.site-content {
}

.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 90dvh;
  background-image: url('/static/core/img/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 20px;
}

h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 2rem;
}

h1 span {
  color: #2196f3;
}

h2 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2
  color: #ffffff;
}

.tagline {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #ffffff;
}

#cta-btn {
  background: none;
  cursor: pointer;
  border: 5px solid #2196f3;
  color: #ffffff;
  border-radius: 15px;
  height: 80px;
  font-weight: bold;
  font-size: 2rem;
  padding: 0 16px 0 16px;
}

/*
#modal-body {
  height: 80dvh;
}
*/

#cta-modal {
  top: 10%;
  left: 5%;
  width: 90dvw;
  max-width: 100%;
  border: none;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

#cta-modal::backdrop {
  backdrop-filter: blur(2px);
}

#step-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #333333; 
  background-color: #1e1e1e;
}

.x-btn {
  align-self: flex-end;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 3rem;
  color: #2196f3;
}

#step-container svg {
  display: block;
  width: 64px;
  height: 64px;
  fill: #2196f3;
}

.form-intro {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0;
  padding-bottom: 5px;
}

.lead-form {
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px;
}

.form-text {
  font-size: 2.2rem;
/*  margin-left: 10px; */
  padding: 0;
}

#contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#id_name,
#id_email {
  margin: 0;
  padding-left: 5px;
  font-size: 2rem;
  border-radius: 2px;
  height: 3.2rem;
  width: 100%;
  background-color: #333333;
  color: #ffffff;
  border: 1px solid #444444;
}

#id_details::placeholder,
#id_name::placeholder,
#id_email::placeholder {
  color: #b0b0b0;
  opacity: 1;
  font-size: 1.6rem;
  font-style: italic;
}

#id_details:focus,
#id_name:focus,
#id_email:focus {
  border-color: #2196F3;
}

#id_details:focus::placeholder,
#id_name:focus::placeholder,
#id_email:focus::placeholder {
  color: #2196F3;
}

input[type="checkbox"] {
  accent-color: #2196F3;
}

.details {
  width: 100%;
}

input[type="text"],
textarea {
  font-size: 1.6rem;
  margin: 0;
  padding-left: 5px;
  width: 100%;
  border-radius: 5px;
  background-color: #333333;
  color: #ffffff;
  border: 1px solid #444444;
  resize: vertical; 
}

textarea:focus {
  border-color: #2196F3;
  outline: none;
}

textarea::placeholder {
  color: #b0b0b0;
  opacity: 1;
  font-style: italic;
}


#subscribe {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#newsletter-text {
  font-size: 1.8rem;
  display: inline-block; 
  margin-bottom: 5px;
}

.checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox label {
  display: flex;
  align-items: center;
}

.checkbox-text {
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: 5px;
}

#id_is_subscribed_business {
  width: 1.8rem;  
  height: 1.8rem;  
  cursor: pointer;
}

#id_is_subscribed_residential {
  width: 1.8rem;  
  height: 1.8rem;  
  cursor: pointer;
}

.step {
  font-size: 5rem;
}

#name-error,
#email-error,
#details-error {
  display: block;
  margin: 5px 0 0 0;
  font-size: 1.4rem;
  color: #f44336;
  padding: 0;
}

#privacy-msg {
  margin: 4px 0 0 0;
  padding: 0;
  color: #aaaaaa;
  font-size: 1.2rem;
}

.confirmation {
  font-size: 1.4rem;
}

/*
.btn-continue,
.btn-back {
  background: none;
  border: none;
  background-color: #2196f3;
  color: #ffffff;
  cursor: pointer;
  height: 4rem;
  width: 10rem;
  border-radius: 5px;
  padding: 5px;
  font-weight: bold;
  font-size: 2rem;
}
*/
.btn-continue,
.btn-back {
  all: unset; /* resets all inherited junk cleanly */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2196f3;
  color: #ffffff;
  cursor: pointer;
  height: 3.5rem;
  width: 9rem;
  border-radius: 12px;
  padding: 0 1.25rem;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  margin: 20px 0 20px 0;
}

.btn-continue:hover,
.btn-back:hover {
  background-color: #1e88e5;
  transform: translateY(-1px);
}

.btn-continue:active,
.btn-back:active {
  transform: translateY(0);
  background-color: #1976d2;
}

#cta-submit-btn {
  background-color: #2196f3;
}

.confirmation-message {
  width: 90%;
  font-size: 1.4rem;
  margin: 5px 0 5px 0;
}

.confirmation-data {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.confirmation-data p {
  margin: 0;
  padding: 0;
}

#details-confirm {
  margin-top: 10px;
  font-size: 1.4rem;
  max-height: 100px;
  overflow: scroll; 
  padding: 2px;
}

img {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

@media (min-width: 480px) {
  h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
  }

  h1 span {
    color: #2196f3;
  }

  h2 {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2
    color: #ffffff;
  }
  .tagline {
    font-size: 2.3rem;
    line-height: 1.5;
    color: #ffffff;
  }
}

@media (min-width: 768px) {
  #cta-modal {
    top: 10%;
    left: 30%;
    width: 40dvw;
  }
}

@media (min-width: 1024px) {
  #cta-modal {
    top: 10%;
    left: 35%;
    width: 30dvw;
  }
}
