/* Hero section background and layout */
.hero-section {
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
  color: var(--neutral-white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Ensure content is layered above background video */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Main heading style in hero section */
.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--neutral-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Subheading in hero section */
.hero-subtitle {
  font-size: 20px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Feedback form container */
form {
  max-width: 850px;
  margin: 0 auto;
  color: var(--secondary-blue);
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-top: 53px;
}

/* Fieldset container for grouping form sections */
fieldset {
  border: 2px solid #FFB84D;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* Legend styling inside fieldset */
legend {
  padding: 0 10px;
  font-weight: bold;
  color: #000000;
  font-size: 1.2rem;
}

/* Label styling for form inputs */
label {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
}

/* Style radio buttons */
input[type="radio"] {
  accent-color: var(--primary-orange);
}

/* Style checkboxes */
input[type="checkbox"] {
  accent-color: var(--primary-orange); 
}

/* Shared input styles */
input,
textarea,
select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Focus effect for inputs */
input:focus,
textarea:focus,
select:focus {
  border-color: #FFB84D;
  outline: none;
  box-shadow: 0 0 0 2px #c8f2cd;
}

/* Character counter below textarea */
.char-counter {
  font-size: 0.85rem;
  color: #555;
  text-align: right;
  margin-top: 0.25rem;
}

/* Rating stars container */
.rating {
  direction: rtl;
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  width: max-content;
  margin-left: 0;
}

/* Hide radio buttons in rating */
.rating input[type="radio"] {
  display: none;
}

/* Style star labels */
.rating label {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

/* Hover effect for rating stars */
.rating label:hover,
.rating label:hover~label {
  color: #FFB84D;
}

/* Reset all star colors when a radio is checked */
.rating input[type="radio"]:checked~label {
  color: #ccc;
}

/* Highlight selected stars */
.rating input[type="radio"]:checked+label,
.rating input[type="radio"]:checked+label~label {
  color: #FFA500;
}

/* File upload input styling */
input[type="file"] {
  padding: 0.3rem;
}

/* Checkbox and radio alignment tweaks */
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  margin-right: 0.5rem;
}

/* Invalid input field styling */
input:invalid,
textarea:invalid,
select:invalid {
  border-color: #FFB84D;
}

/* Focus state for invalid fields */
input:invalid:focus,
textarea:invalid:focus,
select:invalid:focus {
  box-shadow: 0 0 0 2px #fddede;
}

/* Error message display */
.error-message {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Call-to-action button styling */
.cta-btn {
  background: var(--primary-orange);
  color: var(--neutral-white);
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 17.6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

/* Secondary (reset) button styling */
.btn-secondary {
  background: var(--secondary-blue);
  color: var(--neutral-white);
  margin-left: 10px;
}

/* Heading style */
h3 {
  font-size: larger;
}

/* Special h4 label style for spacing and color */
.h4e {
  margin-top: 50px;
  color: var(--neutral-dark-gray);
}

/* Form label enhancements */
label {
  font-weight: 700;
  color: var(--secondary-blue);
  margin-bottom: 16px;
}

/* Heading color override */
h3 {
  color: var(--secondary-blue);
}

/* Default input font and color */
input {
  font-family: 'Arial', sans-serif;
  color: var(--secondary-blue);
}
