/* GLOBAL RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f6fa;
  color: #333;
  line-height: 1.6;
}

/* BANNER */
/* BANNER SECTION */
.banner {
  background: linear-gradient(90deg, #0048ff, #5896ff);
  color: white;
  padding: 40px 20px 30px;
  text-align: center;
}

.banner-content.centered {
  max-width: 800px;
  margin: 0 auto;
}

.logo-top {
  height: 80px;
  display: block;
  margin: 0 auto 10px;
}

.company-name {
  font-weight: 600;
  font-size: 16px;
  display: block;
  margin-bottom: 20px;
  color: #e0eaff;
}

.title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.survey-description {
  font-size: 15px;
  line-height: 1.7;
  color: #f0f8ff;
}

/* Responsive for small devices */
@media (max-width: 600px) {
  .logo-top {
    height: 60px;
  }

  .title {
    font-size: 24px;
  }

  .company-name {
    font-size: 14px;
  }

  .survey-description {
    font-size: 14px;
  }
}


/* FORM CONTAINER */
.survey-wrapper {
  max-width: 960px;
  margin: 40px auto;
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* FORM QUESTION BLOCKS */
.survey-form .form-group {
  margin-bottom: 30px;
}

.survey-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
}

.survey-form input[type="text"],
.survey-form input[type="number"],
.survey-form input[type="tel"],
.survey-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border 0.3s;
}

 .survey-form input[type="text"]:focus,
.survey-form input[type="number"]:focus,
.survey-form input[type="tel"]:focus,
.survey-form textarea:focus {
  border-color: #0048ff;
}


/* RADIO OPTIONS */

.radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;

}

.radio-inline {
  display: flex;
  align-items: center;
  background: #f0f4ff;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccdfff;
  font-size: 14px;
  color: #0048ff;
  cursor: pointer;
  transition: background 0.2s;
}

.radio-inline:hover {
  background: #e5efff;
}

.radio-inline input[type="radio"] {
  margin-right: 8px;
  accent-color: #0048ff;
}

.radio-inline:hover {
  background: #ccdfff;
}
 
.radio-inline.selected {
  background: #0048ff;
  color: white;
  border-color: #0033cc;
  font-weight: bold;
  transition: 0.2s ease;
}



/* Gradient Background Section Wrappers */
.section-wrapper {
  background: linear-gradient(120deg, #f0f8ff, #ffffff);
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.section-wrapper:hover {
  transform: translateY(-2px);
}

 

.survey-form input[type="radio"] {
  margin-right: 6px;
  accent-color: #0048ff;
}

.survey-form div label[for] {
  cursor: pointer;
  font-weight: 400;
}

/* SUBMIT BUTTON */
.survey-form button[type="submit"] {
  margin-top: 20px;
  width: 100%;
  background: #0048ff;
  color: white;
  padding: 14px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.survey-form button:hover {
  background: #003ce6;
}

/* SPINNER */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid #0048ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* THANK YOU MESSAGE */
.thank-you {
  margin-top: 30px;
  text-align: center;
  font-size: 18px;
  color: green;
  font-weight: 600;
}

/* SUBMISSION POPUP */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.popup {
  background: white;
  max-width: 400px;
  margin: 150px auto;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
}

.popup h3 {
  margin-top: 0;
}

.popup button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #0048ff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .title {
    font-size: 24px;
  }

  .survey-description {
    font-size: 14px;
  }

  .survey-wrapper {
    padding: 25px 20px;
  }

  .logo-top {
    height: 60px;
  }
}


.company-name {
  font-weight: 600;
  font-size: 16px;
  display: block;
  margin-bottom: 20px;
  color: #cce4ff;
  letter-spacing: 0.5px;
}


/*.section-wrapper {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}*/

.section-heading {
  font-size: 20px;
  font-weight: 600;
  color: #0048ff;
  margin-bottom: 20px;
  border-left: 5px solid #0048ff;
  padding-left: 10px;
}


.feedback-index {
  max-width: 700px;
  margin: 30px auto 20px;
  padding: 20px;
  background: #f0f6ff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: left;
}

.feedback-index h3 {
  margin-bottom: 15px;
  color: #0048ff;
  font-size: 18px;
}

.legend-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legend-item {
  background: #ffffff;
  border: 1px solid #c8dcff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  min-width: 150px;
  text-align: center;
  color: #003b99;
}



.survey-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border 0.3s;
  resize: vertical;
}


 

