.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* body padding-top handles header offset */
  background: linear-gradient(135deg, #017439, #025d2e);
  color: #ffffff;
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-register__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login Font */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-register__hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-register__btn-register {
  background: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login Font */
}

.page-register__btn-register:hover {
  background: #a80707;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-register__section {
  padding: 80px 20px;
  text-align: center;
  background: #FFFFFF; /* Default background for light sections */
  color: #333333; /* Default text color for light sections */
}

.page-register__dark-section {
  background: #017439;
  color: #ffffff;
}

.page-register__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-register__section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: inherit;
}

.page-register__dark-section .page-register__section-title {
  color: #FFFF00;
}

.page-register__section-description {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  color: inherit;
}

/* Form Section */
.page-register__form-section {
  background: #f9f9f9;
  padding: 60px 20px;
}

.page-register__registration-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.page-register__form-group {
  margin-bottom: 25px;
}

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

.page-register__form-input {
  width: calc(100% - 20px);
  padding: 14px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  color: #333333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__captcha-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.page-register__form-input--captcha {
  flex-grow: 1;
}

.page-register__captcha-image {
  border-radius: 8px;
  height: 48px; /* Adjusted height for better visual */
  object-fit: contain;
  width: auto;
  min-width: 120px; /* Ensure it's not too small */
}

.page-register__form-checkbox {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #555555;
}

.page-register__form-checkbox input {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  accent-color: #017439;
}

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

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

.page-register__submit-button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__login-prompt {
  margin-top: 30px;
  font-size: 16px;
  color: #555555;
}

.page-register__btn-login {
  background: #C30808; /* Login color */
  color: #FFFF00; /* Register/Login Font */
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__btn-login:hover {
  background: #a80707;
  transform: translateY(-2px);
}

/* Benefits Section */
.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__benefit-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-register__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-register__benefit-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-register__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-register__benefit-card p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
  flex-grow: 1;
}

/* Steps Section */
.page-register__steps-section {
  background: #f0f0f0;
}

.page-register__steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-register__step-number {
  font-size: 36px;
  font-weight: 800;
  color: #017439;
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.page-register__step-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  color: #333333;
}

.page-register__step-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

.page-register__link--small {
  font-size: 14px;
  margin-top: 10px;
  display: inline-block;
}

/* Security Section */
.page-register__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__feature-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-register__feature-item img {
  
  
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

.page-register__feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-register__feature-item p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
  flex-grow: 1;
}

/* CTA Download Section */
.page-register__cta-download {
  background: linear-gradient(90deg, #017439, #025d2e);
  color: #ffffff;
  padding: 80px 20px;
}

.page-register__cta-download .page-register__section-title {
  color: #FFFF00;
}

.page-register__cta-download .page-register__section-description {
  color: #ffffff;
}

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-register__btn-primary {
  background: #C30808; /* Register color for primary action */
  color: #FFFF00; /* Register/Login Font */
}

.page-register__btn-primary:hover {
  background: #a80707;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__btn-secondary {
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-register__btn-secondary:hover {
  background: #f0f0f0;
  color: #005f2c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-register__faq-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.page-register__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #333333;
  font-weight: 600;
}

details.page-register__faq-item summary.page-register__faq-question::-webkit-details-marker {
  display: none;
}

details.page-register__faq-item summary.page-register__faq-question:hover {
  background: #f5f5f5;
  color: #017439;
}

.page-register__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
}

.page-register__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 25px 20px;
  background: #fcfcfc;
  border-top: 1px solid #eee;
  border-radius: 0 0 10px 10px;
  color: #555555;
  font-size: 15px;
  line-height: 1.7;
}

/* Responsive Styling */
@media (max-width: 1024px) {
  .page-register__hero-image {
    margin-bottom: 20px;
  }
  .page-register__main-title {
    font-size: clamp(26px, 4.5vw, 44px);
  }
  .page-register__hero-description {
    font-size: clamp(15px, 1.9vw, 19px);
  }
  .page-register__cta-button {
    padding: 14px 35px;
    font-size: 17px;
  }
  .page-register__section {
    padding: 70px 15px;
  }
  .page-register__section-title {
    font-size: clamp(22px, 3.5vw, 36px);
  }
  .page-register__section-description {
    font-size: clamp(14px, 1.7vw, 17px);
  }
  .page-register__registration-form {
    padding: 30px;
  }
  .page-register__benefit-card {
    padding: 25px;
  }
  .page-register__feature-item {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__hero-image {
    border-radius: 8px;
  }
  .page-register__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-register__hero-description {
    font-size: clamp(14px, 2.5vw, 16px);
  }
  .page-register__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-register__section {
    padding: 50px 15px;
  }
  .page-register__section-title {
    font-size: clamp(20px, 5vw, 30px);
  }
  .page-register__section-description {
    font-size: clamp(14px, 2.8vw, 16px);
  }
  .page-register__registration-form {
    padding: 25px;
  }
  .page-register__form-input {
    font-size: 15px;
  }
  .page-register__form-group--captcha {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-register__captcha-wrapper {
    width: 100%;
  }
  .page-register__captcha-image {
    min-width: unset;
    width: 100px;
    height: 40px;
  }
  .page-register__submit-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-register__login-prompt .page-register__btn-login {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-top: 15px;
  }
  .page-register__benefits-grid, .page-register__security-features {
    grid-template-columns: 1fr;
  }
  .page-register__benefit-card, .page-register__feature-item {
    padding: 20px;
  }
  .page-register__card-title, .page-register__feature-title {
    font-size: 20px;
  }
  .page-register__steps-list {
    margin-top: 30px;
  }
  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  details.page-register__faq-item summary.page-register__faq-question { padding: 15px; }
  .page-register__faq-qtext { font-size: 15px; }
  .page-register__faq-toggle { font-size: 24px; width: 24px; }
  details.page-register__faq-item .page-register__faq-answer { padding: 0 15px 15px; }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: clamp(22px, 7vw, 32px);
  }
  .page-register__hero-description {
    font-size: clamp(13px, 3vw, 15px);
  }
  .page-register__registration-form {
    padding: 20px;
  }
  .page-register__form-label {
    font-size: 14px;
  }
  .page-register__form-input {
    font-size: 14px;
    padding: 12px 8px;
  }
  .page-register__form-checkbox label {
    font-size: 13px;
  }
  .page-register__captcha-image {
    width: 90px;
    height: 35px;
  }
  .page-register__login-prompt {
    font-size: 14px;
  }
  .page-register__card-title {
    font-size: 18px;
  }
  .page-register__benefit-card p {
    font-size: 14px;
  }
  .page-register__step-content h3 {
    font-size: 18px;
  }
  .page-register__step-content p {
    font-size: 14px;
  }
  .page-register__feature-title {
    font-size: 18px;
  }
  .page-register__feature-item p {
    font-size: 14px;
  }
  .page-register__btn-primary, .page-register__btn-secondary {
    font-size: 15px;
    padding: 12px 25px;
  }
  .page-register__faq-qtext {
    font-size: 14px;
  }
  .page-register__faq-toggle {
    font-size: 22px;
  }
  details.page-register__faq-item summary.page-register__faq-question { padding: 12px; }
  details.page-register__faq-item .page-register__faq-answer { padding: 0 12px 12px; }
}