body {
    background-color: #003366;
}

#body1 {
    background-image: url('https://image.e.gemseducation.com/lib/fe2c11737364047e731375/m/1/ab2cb32b-3395-491e-971b-e779e273e0de.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'Arial', sans-serif;
}

#logoBlock-4 {
        display: block;
        margin: 0 auto;
        width: 240px;
        max-width: 100%;
    }

.container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: auto;
}

h2 {
    color: #333;
    font-weight: 600;
}

label {
    font-weight: 500;
    color: #555;
}

input[type="text"], input[type="email"], input[type="checkbox"] , input[type="tel"] {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.survey-options {
    display: block;
}

.slider-container {
    width: 100%; /* Ensures the slider takes up the full width */
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[type="range"] {
    width: 100%; /* Adjust the width of the slider */
    margin-bottom: 15px;
    -webkit-appearance: none;
    appearance: none;
    height: 15px;
    outline: none;
    border-radius: 5px;
    background: #ddd;
    transition: background 0.3s ease; /* Smooth background transition */
}

/* Webkit slider thumb styles (for Chrome, Safari, etc.) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--thumb-color, red); /* Default thumb color */
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease; /* Smooth transition */
}

/* Firefox slider thumb styles */
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--thumb-color, red); /* Default thumb color */
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease; /* Smooth transition */
}



.slider-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px; /* Adjust font size for the labels */
}

.slider-labels1 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px; /* Adjust font size for the labels */
}


.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.slider:hover {
    opacity: 1;
}


.slider-labels span {
    display: inline-block;
    width: 2%;
    text-align: center;
    margin-top: 10px;
}

.slider-labels1 span {
   display: inline-block;
   width: 2%;
   text-align: center;
   margin-top: 10px;
}

.survey-options2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px; /* Spacing between the options */
}

.option {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px; /* Adjust width as needed */
}

.option input[type="radio"] {
    margin-top: 10px; /* Space between label and radio button */
}

label {
    text-align: left;
}



input[type="submit"] {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.form-check-label {
    margin-left: 5px;
    color: #333;
}

hr {
    border-color: #ccc;
}

.invalid-feedback {
    color: #e74c3c;
    font-size: 0.9rem;
}

.alert-success {
    background-color: #d4edda; 
    color: #155724;
    border: 1px solid #c3e6cb; 
    padding: 15px; 
    border-radius: 5px; 
    font-size: 16px; 
    text-align: center; 
    margin: 20px 0;
    font-family: Arial, sans-serif; 
}

.alert-success2 {
    background-color: white; 
    color: #155724;
    border: 1px solid #c3e6cb; 
    padding: 15px; 
    border-radius: 5px; 
    font-size: 16px; 
    text-align: center; 
    margin: 20px 0;
    font-family: Arial, sans-serif; 
}

.fullWidth {
    width: 100%;
    height: 40%;
}

.fullWidth2 {
    width: 100%;
    height: 20%;
}

.greyed-out {
        background-color: #f0f0f0; /* Light grey background */
        color: #a0a0a0; /* Grey text color */
        border: 1px solid #ccc; /* Light grey border */
        resize: none; /* Prevent resizing */
    }

.small-info {
    font-size:14px;
    color: #8d8d8d;
    display: block;
    text-align: left;
}

.survey-invite {
    background-color: #f9f9f9;
    padding: 20px 25px;
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
    line-height: 1.6;
  }

  .survey-invite a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
  }

  .survey-invite a:hover {
    text-decoration: underline;
  }

  .survey-invite label {
    font-size: 18px;
    font-weight: 500;
  }

  .survey-invite p {
    margin: 10px 0 0 0;
  }

  .survey-button-container {
    text-align: center;
    margin: 20px 0;
  }

  .survey-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff; /* White font */
    background-color: #0070c9;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.3s ease;
  }

  .survey-button:hover {
    background-color: #005fa3;
  }

 .thank-you-message {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .thank-you-message h1 {
    font-size: 28px;
    color: #0070c9;
    margin-bottom: 16px;
    letter-spacing: 1px;
  }

  .thank-you-message p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .thank-you-message .signature {
    margin-top: 30px;
    font-style: italic;
    color: #555555;
  }
@media (max-width: 576px) {
    .small-info {
        font-size: 12px;
        text-align: center !important; /* Force center align on mobile */
        margin: 0 auto;
    }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;                
  row-gap: 0;
  margin-top: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-self: stretch; /* Ensure equal column alignment */
}

.form-group label {
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group input[readonly] {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 4px;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  height: 40px; /* Force same height */
  box-sizing: border-box;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  color: #333;
}

select option:disabled {
    color: #999;
    background-color: #eee;
  }

.section-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px 32px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}
