/* Reset and base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #dbedff, #4377d1, #0158c5); 
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Header styling */
header.site-header {
  width: 100%;
  text-align: center;
  padding: 1em 0 0.5em 0; /* tighter top and bottom spacing */
  background-color: #308ee5;
  border-bottom: 2px solid #6aa7d6;
  color: #ffffff;
}

header.site-header .tagline {
  font-size: 16px;
  margin-top: 0.5em;
  margin-bottom: 0; /* removes extra space below */
  color: #ffffff;
}


/* Footer styling */
.site-footer {
  width: 100%;
  text-align: center;
  font-size: 0.9em;
  padding: 2em 0;
  background-color: #0251b4;
  border-top: 2px solid #6aa7d6;
  color: #ffffff;
  margin-top: 2em;
}

/* Footer content container */
.footer-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1em;
}

/* Footer links */
.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #cce6ff;
}

.site-footer .disclaimer{
font-size:12px;
}


.logo {
  max-width: 300px;
  height: auto;
}

.page-title {
  text-align: center;
  margin: 1em 0;
  font-size: 1.5em;
  color: #0b5cae; 
}

.page-title-terms{
 text-align: center;
  margin: 1em 0;
  font-size: 2em;
  color: #000000; 
}


h1 {
  font-size: 1.8em;
  margin: 0.5em 0;
}

.privacy-note {
  background-color: #e2e2e2;
  border-left: 4px solid #0077cc;
  padding: 1em;
  margin: 1em auto;
  max-width: 800px;
  font-size:  0.90em;
  line-height: 1.5;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  animation: fadeIn 1s ease-in-out;
}

.privacy-note strong {
  color: #0077cc;
}

/* Form container */
.form-container {
  background-color: #e6f2ff;
  border: 1px solid #000;
  border-radius: 10px;
  padding: 1.5em;
  max-width: 800px;
  margin: 1em auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* soft shadow */
  animation: fadeIn 1.8s ease-in-out;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

form h2 {
  text-align: center;
  margin-bottom: 1em;
}

/* Form fields */
.form-group {
  background-color: #fff;
  padding: 1.2em;
  margin-bottom: 1.2em;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.form-group:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1em;
  max-width: 600px;
  margin: 0 auto 1em auto;
}

.progress-step {
  flex: 1;
  text-align: center;
  position: relative;
  overflow: visible; /* ✅ ensures line isn't clipped */
}

.progress-step::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-radius: 50%;
  background-color: #ccc;
  border: 2px solid #999;
  position: relative;
  z-index: 2;
}

.progress-step.completed::before {
  background-color: #0077cc;
  border-color: #0077cc;
}

.progress-step.completed::after {
  background-color: #0077cc; /* blue line for completed steps */
}

.progress-step.current::before {
  background-color: #fdd835;
  border-color: #0077cc;
}

.progress-step::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: #ccc;
  z-index: 1; /* ✅ changed from -1 to 1 */
  pointer-events: none; /* ✅ ensures it doesn't interfere with clicks */
}

.progress-step:last-child::after {
  display: none;
}

.progress-step.completed.next-is-current::after {
  background-color: #0077cc; /* blue line */
}

.pulse {
  animation: pulseGlow 1.2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0px rgba(0, 119, 204, 0.6);
    background-color: #0077cc; /* base blue */
  }
  50% {
    box-shadow: 0 0 12px rgba(0, 119, 204, 1);
    background-color: #3399ff; /* lighter blue pulse */
  }
  100% {
    box-shadow: 0 0 0px rgba(0, 119, 204, 0.6);
    background-color: #0077cc; /* back to base */
  }
}

.option-box {
  display: inline-block;
  padding: 1em;
  margin: 0.5em;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  min-width: 120px;
  text-align: center;
  transition: all 0.3s ease;
}

.option-box:hover {
  border-color: #0077cc;
  background-color: #e6f2ff;
}

.option-box.selected {
  border-color: #fdd835;
  background-color: #fff8dc;
  box-shadow: 0 0 0 4px rgba(253, 216, 53, 0.3);
}

.nav-btn {
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  background-color: #0077cc;
  color: white;
  cursor: pointer;
  margin: 10px;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

#backBtn {
  margin-left: 0;
}

#nextBtn {
  margin-left: auto;
}

.back-btn {
  background-color: #ccc;
  color: #333;
}

.next-btn {
  background-color: #0077cc;
  color: white;
}

.quote-btn {
  display: none; /* Start hidden */
  width: 100%;
  max-width:600px;
  padding: 0.8em;
  font-size: 1.1em;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.quote-btn:hover {
  background-color: #005fa3;
}

.help-back-btn {
  display: inline-block;
  width: 100%;
  padding: 0.8em;
  font-size: 1.1em;
  background-color: #ccc;
  color: #333;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 1em;
}

.help-back-btn:hover {
  background-color: #aaa;
}


label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: bold;
  font-size: 1.3em;
}

.form-control {
  width: 100%;
  padding: 0.6em;
  font-size: 1.2em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Submit button */
.submit-btn {
  display: block;
  width: 100%;
  padding: 0.8em;
  font-size: 1.1em;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #005fa3;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.validation-message {
  font-size: 0.95em;
  font-weight: bold;
}


.policy-container {
  max-width: 700px;
  margin: 2em auto;
  padding: 1em;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.policy-container h2 {
  color: #000000;
  margin-top: 1.5em;
  font-size: 1.4em;
}

.policy-container p {
  color: #000000;
  font-size: 1em;
}

.back-link{
color:#000000;
}

.quote-container {
  max-width: 1200px;
  margin: 2em auto;
  padding: 1em;
}

.quote-header{
margin: 0 auto;
text-align: center;
}

.quote-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  max-width: 100%;
  overflow-x: hidden;
}

.quote-card {
  flex: 0 0 300px;
  max-width: 300px;
  margin: 0 auto;
  background-color: #ffffff;
  color: #333;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.quote-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 5px;
  margin-bottom: 1em;
}

.quote-card p {
  margin-bottom: 1em;
}

.quote-card ul {
  text-align: left;
  margin: 0 auto;
  padding-left: 10px;
  max-width: 260px;
}


.quote-summary-box {
  max-width: 700px;
  margin: 2em auto;
  padding: 2em;
  background-color: #ffffff;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.quote-summary-box h2 {
  font-size: 1.6em;
  color: #0251b4;
  margin-bottom: 1em;
}

.quote-grid {
  display: grid;
  grid-template-columns: 35% 65%; /* Wider right column */
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  max-width: 600px;
  margin: 2em auto;
  font-family: sans-serif;
  color: #000;
}

.cell {
  padding: 0.75em;
  border-bottom: 1px solid #000;
  position: relative;
}

.cell.label {
  font-weight: bold;
  text-align: left; /* Left-align label */
  font-size:25px;
}

.cell.value {
  text-align: left; /* Left-align value */
  font-weight: bold;
  line-height: 1.4;
  font-size:30px;
  color:#4060f4;
}

.cell.value .note {
  display: block;
  font-weight: normal;
  font-style: italic;
  font-size: 0.95em;
  margin-top: 0.2em;
  color: #000;
}

/* Vertical divider closer to left */
.cell:nth-child(odd) {
  border-right: 1px solid #000;
}
.quote-grid .cell.label:nth-child(1),
.quote-grid .cell.label:nth-child(2),
.quote-grid .cell.label:nth-child(3),
.quote-grid .cell.label:nth-child(4) {
  display: flex;
  align-items: center;
  min-height: 3.5em; /* Adjust as needed */
}


.note {
  font-size: 12px;
  margin-top: 0.3em;
  color: #000000;
  font-style: italic;
}

.quote-disclaimer {
  font-size: 0.9em;
  color: #666;
  margin-top: 1.5em;
}

.next-steps {
  margin-top: 2em;
  text-align: left;
}

.next-steps h3 {
  font-size: 1.2em;
  color: #0251b4;
  margin-bottom: 0.5em;
}

.next-steps p {
  font-size: 1em;
  color: #333;
  line-height: 1.6;
}

.appointment-note {
  color: #555;
  display: block;
  margin-top: 10px;
  font-size: 0.9em;
}
.appointment-box {
  background-color: white;
  border: 2px solid black;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  width: 100%;
  margin: 30px auto;
}

.appointment-box p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333;
}
 .book-button {
      display: block;
      margin: 2em auto;
      padding: 1em 2em;
      background-color: #fdd835;
      color: #000;
      font-weight: bold;
	  font-size:20px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
	  text-decoration: none;
	  max-width: 600px;
	  width: 100%;
	  box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.3);
	  border-color: #000000;
	  border-width: 1px;
	  text-align: center;
    }

.quote-card.selected {
  background-color: #e6f2ff; /* light blue */
  border: 2px solid #fdd835; /* yellow border */
  box-shadow: 0 0 0 4px rgba(253, 216, 53, 0.3);
}

.select-btn {
  margin-top: 1em;
  padding: 0.6em 1.2em;
  background-color: #fdd835;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.quote-card.selected .select-btn {
  background-color: #ccc;
  color: #666;
  cursor: default;
  pointer-events: none;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1em auto;
  text-align: left;
  max-width: 260px;
}

.feature-block {
  text-align: left;
  margin: 1em auto;
  max-width: 260px;
  font-size: 0.95em;
  line-height: 1.5;
}

.feature-block p {
  margin-bottom: 0.8em;
}

.price-block {
  text-align: left;
  padding: 0 1em;
  margin-bottom: 0.5em;
}

.monthly-price {
  font-size: 40px;
  font-weight: bold;
  color: #0077cc;
  display: inline-block;
  margin-bottom: 0.2em;
  line-height: 1;
}

.price-suffix {
  font-size: 0.55em;
  color: #333;
  font-weight: normal;
  margin-left: 2px;
}

.tooltip-ref {
  font-size: 12px;
  color: #0077cc;
  vertical-align: super;
  position: relative;
  margin-left: 2px;
}

.tooltip-ref .tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 250px;
  background-color: #f9f9f9;
  color: #333;
  text-align: left;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.5em;
  position: absolute;
  z-index: 10;
  bottom: 40%;
 left: 50%;
  transform: translateX(-50%);
  font-size: 14px;;
  line-height: 1.3;
  transition: opacity 0.3s ease;
}

.tooltip-ref:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.or-line {
  font-size: 0.95em;
  color: #333;
  margin-top: 0.1em;
}

.duke-rebate-banner {
  display: flex;
  align-items: flex-start;
  background-color: #d0e8ff; /* Medium light blue */
  padding: 1em;
  border-radius: 8px;
  font-family: sans-serif;
  color: #000;
  max-width: 800px;
  margin: 1em auto;
}

.duke-rebate-banner .icon {
  font-size: 2.5em;
  color: #0251b4;
  flex-shrink: 0;
}

.duke-rebate-banner .text {
  font-size: 1em;
  line-height: 1.2;
  text-align: left;
}

.duke-rebate-banner .more-info {
  font-size: 0.8em;
  margin-left: 4px;
}

.image-wrapper {
  text-align: center;
}

.included-caption {
  font-size: 1em;
  font-weight: bold;
  color: #0077cc;
  margin-top: -0.5em;
  margin-bottom: 1em;
}

#quoteFormWrapper1 {
  width: 100%;
  max-width: 700px;
  margin: 20px auto 0 auto; /* centers the wrapper */
}

#formContainer1 {
  width: 100%;
  margin-top: 40px;
  text-align: center; /* centers the button */
  margin-bottom:20px;
}

#quoteForm1 {
  width: 90%;
  max-width: 700px;
  margin: 0 auto; /* centers the form */
  padding: 24px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
}

#quoteForm1 label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
  text-align: left;
}

#quoteForm1 input,
#quoteForm1 textarea {
  display: block;
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 16px;
}

#quoteForm1 textarea {
  min-height: 120px;
  resize: vertical;
  font-size: 15px;
  padding: 10px;
  border: 1px solid #bbb;
  border-radius: 6px;
  background-color: #f9f9f9;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

#quoteForm1 button {
  padding: 10px;
  background-color: #fdd835;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  max-width:300px;
  font-size: 14px;
}

#showFormBtn1 {
  display: block;
  margin: 2em auto;
  padding: 1em 2em;
  background-color: #a5cdfe;
  color: #000;
  font-weight: bold;
  font-size: 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  max-width: 600px;
  width: 100%;
  box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.3);
  border-color: #000000;
  border-width: 1px;
  text-align: center;
}

#confirmationMessage1 {
  display: none;
  max-width: 700px;
  margin: 0 auto;
  padding: 24px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.google-reviews {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
  border-radius: 10px;
}

.google-reviews h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #333;
}

.review-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.review-box {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 300px;
  flex: 1 1 300px;
  text-align: left;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.google-icon {
  width: 75px;
  height: 75px;
  margin-right: 10px;
}

.reviewer-name {
  font-weight: bold;
  color: #555;
}

.review-text {
  font-size: 1em;
  color: #444;
  line-height: 1.4;
}

.measurement-appointment{
background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 40px auto;
  padding: 20px;
  gap: 30px;
}

.measurement-image img {
  width: 450px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.measurement-text {
  flex: 1;
  text-align: left;
}

.measurement-text p {
  font-size: 1.1em;
  color: #333;
  margin-bottom: 20px;
}

.measurement-button {
  display: inline-block;
  background-color: #000;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 10px;
}

.measurement-button:hover {
  background-color: #444;
}

.measurement-note {
  color: #555;
  display: block;
  margin-top: 10px;
  font-size: 0.9em;
  text-align: center;
}

@media (min-width: 1030px) {
  .quote-card {
    flex: 0 0 360px;
    max-width: 360px;
  }

  .monthly-price {
    font-size: 40px;
  }

  .price-block {
    padding: 0 1.2em;
  }
}

.review-banner {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}



@media (max-width: 1030px) {
  .quote-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .monthly-price {
    flex-wrap: wrap;
    font-size: 27px;
  }

  .tooltip-ref {
    font-size: 12px;
  }

  .tooltip-ref .tooltip-text {
    left: auto;
    right: 0;
    bottom: 140%;
    width: 90vw;
  }
}

@media (max-width: 960px) {
  .quote-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }
  .form-control {
  font-size: 1.4em;
}
}

/* Responsive tweaks */
@media (max-width: 648px) {
  .form-container,
  .privacy-note {
    padding: 1em;
    font-size: 0.85em;
  }
  h1 {
    font-size: 1.5em;
  }

  .submit-btn {
    font-size: 1em;
  }

 .quote-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

.quote-card ul {
  padding-left: 30px;
}
.monthly-price {
  font-size: 25px;
}
.payment-column {
    flex: 1 1 100%;
    padding: 1em;
  }

  .payment-amount {
    font-size: 1.4em;
  }

  .discount-note {
    font-size: 0.85em;
  }

  .cell {
  padding: 0.35em;
}

.cell.label {
  font-weight: bold;
  text-align: left; /* Left-align label */
  font-size:15px;
}

.cell.value {
  text-align: left; /* Left-align value */
  font-weight: bold;
  line-height: 1.4;
  font-size:20px;
  color:#4060f4;
}

.cell.value .note {
  display: block;
  font-weight: normal;
  font-style: italic;
  font-size: 0.85em;
  margin-top: 0.2em;
  color: #000;
}

.tooltip-ref .tooltip-text {
    bottom: auto;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 280px;
  }

.quote-btn {
  width: 100%;
  max-width:300px;
}
.back-btn {
  max-width:100px;
  font-size:14px;
}

.book-button {
	  font-size:16px;
    }

.duke-rebate-banner .icon {
 display: none;
}
.review-box {
    max-width: 100%;
  }

  .review-text {
    font-size: 0.95em;
  }
  .measurement-appointment {
    flex-direction: column;
    text-align: center;
  }

  .measurement-image img {
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
  }

  .measurement-text {
    text-align: center;
  }
}
