/* Reset & base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f4f4;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

 .logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.logo-container img {
  max-height: 30px;
  width: auto;
  object-fit: contain;
}

h1, h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Progress bar */
.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  list-style: none;
  padding: 0;
}

.progress-bar li {
  width: 100%;
  text-align: center;
  position: relative;
  color: #ccc;
  font-weight: 600;
  font-size: 0.9rem;
}

.progress-bar li.active {
  color: #05721c;
}

.progress-bar li::before {
  content: attr(data-step);
  display: block;
  margin: 0 auto 8px;
  background: #ccc;
  color: white;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
}

.progress-bar li.active::before {
  background: #05721c;
}

.progress-bar li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  right: 0;
  width: 100%;
  height: 3px;
  background: #ccc;
  z-index: -1;
}

.progress-bar li.active:not(:last-child)::after {
  background: #05721c;
}

/* Form labels and inputs */
form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

form label > input[type="checkbox"] {
  vertical-align: middle;
  margin-right: 10px;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input[readonly] {
  background-color: #f9f9f9;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="file"]:focus {
  border-color: #05721c;
  outline: none;
  box-shadow: 0 0 5px rgba(5,114,28,0.5);
}

/* Navigation buttons */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.nav-buttons button {
  margin-top: 2rem;
  background: #05721c;
  color: white;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
}

.nav-buttons button:hover {
  background-color: #04ac28;
}

/* Section styles with fade-in */
.section {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.section.active {
  display: block;
  opacity: 1;
}

/* Checkbox spacing */
input[type="checkbox"] {
  margin-right: 8px;
}

/* Error messages */
.error-message {
  color: red;
  font-size: 0.9em;
  margin-top: 4px;
}

 /* Progress bar */
  .progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
  }

  .progress-bar li {
    width: 100%;
    text-align: center;
    position: relative;
    color: #ccc;
    font-weight: 600;
    font-size: 0.9rem;
  }

  .progress-bar li.active {
    color: #05721c;
  }

  .progress-bar li::before {
    content: attr(data-step);
    display: block;
    margin: 0 auto 8px;
    background: #ccc;
    color: white;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
  }

  .progress-bar li.active::before {
    background: #05721c;
  }

  .progress-bar li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 0;
    width: 100%;
    height: 3px;
    background: #ccc;
    z-index: -1;
  }

  .progress-bar li.active:not(:last-child)::after {
    background: #05721c;
  }

 /* Responsive styles */
  @media (max-width: 600px) {
    form {
    max-width: 90%;
    padding: 2rem;
  }
    .nav-buttons {
      flex-direction: column;
      gap: 10px;
    }

    .nav-buttons button {
      width: 100%;
    }

    .progress-bar {
      flex-direction: column;
      gap: 15px;
    }

    .progress-bar li:not(:last-child)::after {
      display: none; /* Remove horizontal connector in vertical mode */
    }
  }