/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body styles */
  body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    background-color: #f8f8f8;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;

  }
  
  body::before {
    content: "";
    position: absolute;
    top: 100px; /* Offset by the height of the header */
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/model.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    opacity: 0.12;
    z-index: -1;
  }
  
  .header, .footer, .form-container, #progress-container, .question-container {
    position: relative;
    z-index: 1;
  }
  
  
  /* Header styles - center logo */
  .header {
    width: 100%;
    height: 100px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center; /* Center logo */
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    z-index: 1000;
  }
  
  /* Footer styles */
  .footer {
    background-color: #f8f8f8;
    color: #555;
    padding: 10px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    height: 100px; /* Standard height similar to header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px; /* Space between button and text */
    margin-top: 100px; /* Space between the body content and footer */
  }
  
  .footer p {
    margin: 0;
  }
  
  .footer a {
    color: #C8102E;
    text-decoration: none;
    margin: 0 20px;
  }
  
  .footer a:hover {
    text-decoration: underline;
  }
  
  /* Container for urgent button below the form */
  .urgent-button-container {
    text-align: center;
    margin-top: 40px; /* 40px space above the button */
  }
  
  /* Urgent call button below the form */
  .urgent-call-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    color: #C8102E;
    border: 1px solid #C8102E;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    width: 200px; /* Fixed width for button */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-align: center;
  }
  
  /* Hover effect */
  .urgent-call-button:hover {
    background-color: #C8102E;
    color: white;
    transform: scale(1.05);
  }
  
  .logo {
    max-width: 100px;
    max-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo-image {
    max-width: 100%;
    max-height: 100%;
  }
  
  /* Main content container */
  .question-container {
    margin-top: 170px;
    margin-bottom: 20px;
    text-align: center;
    padding: 0 10px;
    max-width: 90%;
  }
  
  #progress-container {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 20px; /* Add gap between progress bar and form */
  }
  
  #progress-bar {
    height: 10px;
    background-color: #C8102E; /* Red from the logo */
    width: 0;
    transition: width 0.4s ease;
  }
  
  .form-container {
    background-color: white;
    padding: 40px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    text-align: left;
    margin: 0 auto; /* Center the container */
    margin-bottom: 120px;
    overflow-y: auto;
    max-height: 80vh;

  }
  
  h1 {
    font-size: 1.5em;
  }
  
  /* Main header style */
  #main-header {
    color: #333333; /* Slightly off-black */
    font-size: 1.85em; /* Make the main header bigger */
  }
  
  #question-header {
    color: #000000; /* Pure black */
  }
  
  /* Opt-in text styles */
  .opt-in-text {
    font-size: 0.8em; /* Smaller font size */
    color: #666; /* Lighter gray color for subtlety */
    margin-top: 10px;
    line-height: 1.4; /* Improved readability */
    text-align: left;
  }
  
  /* Step styles */
  .step {
    display: none;
  }
  
  .step.active {
    display: block;
  }
  
  /* Radio and checkbox groups */
  .radio-group,
  .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .radio-group label,
  .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  
  input[type="radio"],
  input[type="checkbox"] {
    accent-color: #C8102E; /* Red from the logo */
  }
  
  /* Input group (for text inputs) */
  .input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .input-group label {
    flex-basis: 100%;
    margin-bottom: 10px;
    display: block; /* Display labels as block to stack them */
  }
  
  .input-group input[type="text"],
  input[type="email"],
  input[type="tel"],
  select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }
  
  /* Textarea styles */
  textarea {
    width: 100%; /* Adjust width as needed */
    height: 150px; /* Adjust height as needed */
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    resize: vertical;
    margin: 0 auto; /* Center textareas */
  }
  
  textarea::placeholder {
    color: #999;
  }
  
  /* Button group */
  .button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }
  
  button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
  }
  
  #prev-button {
    background-color: white;
    color: #C8102E; /* Red from the logo */
    border: 1px solid #C8102E;
  }
  
  #prev-button:hover {
    background-color: #C8102E; /* Red from the logo */
    color: white;
  }
  
  #next-button {
    background-color: #C8102E; /* Red from the logo */
    color: white;
  }
  
  #next-button:hover {
    background-color: white;
    color: #C8102E; /* Red from the logo */
    border: 1px solid #C8102E;
  }
  
  .submit-button {
    background-color: #C8102E; /* Red from the logo */
    color: white;
    width: 100%;
    margin-top: 20px;
    display: none; /* Initially hidden */
  }
  
  .submit-button:hover {
    background-color: transparent;
    color: #C8102E; /* Red from the logo */
    border: 1px solid #C8102E;
  }
  
  .thank-you-container {
    background-color: white;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    text-align: center;
    margin-top: 150px;
  }
  