.page-register {
  background-color: #FFFFFF;
  color: #333333; /* Default text color for light background */
  padding-top: 10px; /* Small top padding for the first section */
}

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background-color: #017439;
  color: #FFFFFF;
  gap: 20px;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-register__hero-content {
  max-width: 800px;
  width: 100%;
}

.page-register__main-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-register__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-register__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__cta-button--register,
.page-register__submit-button--register,
.page-register__cta-button--final {
  background-color: #C30808;
  color: #FFFF00;
}

.page-register__cta-button--register:hover,
.page-register__submit-button--register:hover,
.page-register__cta-button--final:hover {
  background-color: #e00b0b;
  transform: translateY(-2px);
}

.page-register__form-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.page-register__form-container {
  flex: 1;
  max-width: 600px;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #017439;
  margin-bottom: 20px;
  text-align: center;
}

.page-register__section-description {
  font-size: 1rem;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 30px;
  text-align: center;
}

.page-register__registration-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-register__form-group {
  display: flex;
  flex-direction: column;
}

.page-register__form-label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333333;
}

.page-register__form-input {
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1rem;
  color: #333333;
  background-color: #f0f0f0;
}

.page-register__form-input::placeholder {
  color: #888888;
}

.page-register__form-input:focus {
  border-color: #017439;
  outline: none;
  box-shadow: 0 0 0 2px rgba(1, 116, 57, 0.2);
}

.page-register__checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.page-register__checkbox {
  width: 18px;
  height: 18px;
  accent-color: #017439;
}

.page-register__checkbox-label {
  font-size: 0.9rem;
  color: #555555;
}

.page-register__link {
  color: #017439;
  text-decoration: none;
  font-weight: 600;
}

.page-register__link:hover {
  text-decoration: underline;
}

.page-register__submit-button {
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  width: 100%;
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 25px;
  font-size: 1rem;
  color: #555555;
}

.page-register__link--login {
  color: #C30808;
}

.page-register__link--login:hover {
  text-decoration: underline;
}

.page-register__form-image-wrapper {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__form-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: contain;
}

.page-register__benefits-section {
  padding: 60px 20px;
  background-color: #e9f5ed;
  text-align: center;
}

.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

.page-register__benefit-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
}

.page-register__benefit-icon {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-register__benefit-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
}

.page-register__benefit-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
}

.page-register__cta-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
}

.page-register__cta-content {
  flex: 1;
  max-width: 700px;
}

.page-register__cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-register__cta-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-register__cta-image-wrapper {
  flex: 1;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__cta-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .page-register__form-section {
    flex-direction: column;
    align-items: center;
  }

  .page-register__form-container,
  .page-register__form-image-wrapper {
    max-width: 100%;
  }

  .page-register__cta-section {
    flex-direction: column;
  }

  .page-register__cta-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section,
  .page-register__form-section,
  .page-register__benefits-section,
  .page-register__cta-section {
    padding: 30px 15px;
  }

  .page-register__hero-image,
  .page-register__form-image,
  .page-register__benefit-icon,
  .page-register__cta-image {
    max-width: 100%;
    height: auto;
  }

  .page-register__main-title {
    font-size: 2.2rem;
  }

  .page-register__hero-description {
    font-size: 1rem;
  }

  .page-register__section-title {
    font-size: 1.8rem;
  }

  .page-register__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-register__form-container {
    padding: 25px;
  }

  .page-register__cta-title {
    font-size: 2rem;
  }
}