body {
    
}

#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%;
    }


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

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

input[type="text"], input[type="email"], input[type="checkbox"] , input[type="tel"], input[type="date"], input[type="phone"] {
    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 {
            position: relative;
            z-index: 1;
        }

.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 {
      position: relative;
      z-index: 1;
    }

    .thank-you-message h1 {
      color: white;
      font-weight: 400;
      font-size: 3rem;
      margin-bottom: 1.5rem;
    }

    .thank-you-message p {
      color: white;
      font-weight: 300;
      font-size: 1.25rem;
      line-height: 1.6;
    }

  .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 select {
  padding-top: 8px;
  padding-bottom: 8px;
  vertical-align: middle;
  line-height: 1.4; /* Match input line-height */
}

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

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

.section-card {
  background-color: rgba(242, 242, 242, 0.7);
  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;
}

/* Hide Flag Container */
   /* Hide only the flag, but keep the country code visible */
.iti__flag {
  display: none !important;
}

.iti__arrow {
  display: none !important;
}

/* Show the flag container and selected flag (for the country code) */
.iti__flag-container {
  display: block !important;
}

.iti__selected-flag {
  display: flex !important;
  align-items: center;
  padding: 0 8px 0 12px !important;
  background-color: #f8f8f8;
  border-right: 1px solid #ddd;
}

/* Style the selected dial code */
.iti__selected-dial-code {
  margin-left: 0 !important;
  color: #333;
  font-weight: 600;
}

    /* Phone Input Styling */
    .iti {
      margin-top: 0.5rem;
      margin-bottom: 1rem;
      width: 100%;
      display: block;
    }

    #phone, #pPhone {
      width: 100%;
      padding: 12px 12px 12px 80px !important; /* Add left padding for country code */
      font-size: 14px;
      border: 1px solid #ddd;
      border-radius: 4px;
      outline: none;
      transition: border-color 0.3s;
    }

    #phone:focus {
      border-color: #3498db;
    }

    #pPhone:focus {
      border-color: #3498db;
    }

    #phone::placeholder {
      color: #999;
    }

    #pPhone::placeholder {
      color: #999;
    }

    /* Error Styling */
    .error-message {
      color: #e74c3c;
      font-size: 12px;
      margin-top: 5px;
      display: none;
    }

    .error-message.show {
      display: block;
    }

    #phone.error {
      border-color: #e74c3c;
    }

    #pPhone.error {
      border-color: #e74c3c;
    }

/* Country List Dropdown Styling */
.iti__country-list {
  box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
  border-radius: 4px !important;
  max-height: 200px !important;
  background-color: white !important;
}

.iti__country {
  padding: 8px 12px !important;
  color: #333 !important;
  background-color: white !important;
}

.iti__country:hover {
  background-color: #f5f5f5 !important;
  color: #333 !important;
}

.iti__country.iti__highlight {
  background-color: #e8f4fd !important;
  color: #333 !important;
}

.iti__country.iti__active {
  background-color: #3498db !important;
  color: white !important;
  font-weight: 600 !important;
}

/* Preferred countries section styling */
.iti__country.iti__preferred {
  background-color: white !important;
  color: #333 !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

.iti__country.iti__preferred:hover {
  background-color: #f5f5f5 !important;
  color: #333 !important;
}

.iti__country.iti__preferred.iti__highlight {
  background-color: #e8f4fd !important;
  color: #333 !important;
}

.iti__country.iti__preferred.iti__active {
  background-color: #3498db !important;
  color: white !important;
}
