:root {
  --primary-color: #017439;
  --auxiliary-color: #FFFFFF;
  --register-button-color: #C30808;
  --login-button-color: #C30808;
  --register-login-font-color: #FFFF00;
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --background-light: #FFFFFF;
  --border-color: #e0e0e0;
}

.page-register {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-light-bg); /* Default text color for light body background */
  background: var(--background-light); /* Body background is white */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-register a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register a:hover {
  color: #005f2c; /* Slightly darker green on hover */
}

.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary-color);
  line-height: 1.3;
}

.page-register__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__dark-bg {
  background: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-register__dark-bg .page-register__section-title {
  color: var(--text-color-dark-bg);
}

.page-register__dark-bg .page-register__section-description {
  color: var(--text-color-dark-bg);
}

.page-register__light-bg {
  background: var(--background-light);
  color: var(--text-color-light-bg);
}

/* Hero Section */
.page-register__hero-section {
  padding: 80px 0;
  text-align: center;
}

.page-register__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark-bg);
}

.page-register__hero-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-register__registration-form-wrapper {
  background: var(--background-light);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 350px;
  max-width: 500px;
  text-align: left;
}

.page-register__form-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

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

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color-light-bg);
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.page-register__checkbox {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  accent-color: var(--primary-color);
}

.page-register__checkbox-label {
  font-size: 15px;
  color: var(--text-color-light-bg);
}

.page-register__link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-register__link:hover {
  color: #005f2c;
}

.page-register__submit-button {
  width: 100%;
  padding: 15px;
  background-color: var(--register-button-color); /* Custom register button color */
  color: var(--register-login-font-color); /* Custom register font color */
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
}

.page-register__submit-button:hover {
  background-color: #a30606; /* Slightly darker red on hover */
  transform: translateY(-2px);
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 20px;
  font-size: 15px;
  color: var(--text-color-light-bg);
}

.page-register__hero-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
}

.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__benefit-card {
  background: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__benefit-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-register__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-register__card-text {
  font-size: 16px;
  color: var(--text-color-light-bg);
}

/* How to Register Section */
.page-register__how-to-register-section {
  padding: 80px 0;
}

.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__step-card {
  background: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-register__step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
}

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

.page-register__feature-item {
  text-align: center;
  padding: 20px;
  background: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-register__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-register__feature-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-register__feature-text {
  font-size: 15px;
  color: var(--text-color-light-bg);
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
}

.page-register__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__promo-card {
  background: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
}

.page-register__promo-card img {
  width: 100%;
  height: 200px; /* Consistent height for promo images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
}

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

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--background-light);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-register__faq-item.active .page-register__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--primary-color);
}

.page-register__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-register__faq-question:active {
  background: #eeeeee;
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Rotate for 'x' effect, or change to '-' */
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  font-size: 15px;
  color: var(--text-color-light-bg);
  background: #f9f9f9;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to ensure content expands */
  padding: 20px !important;
  opacity: 1;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 5px 5px;
}

/* Final CTA Section */
.page-register__final-cta-section {
  padding: 80px 0;
  text-align: center;
}

/* Buttons */
.page-register__cta-container {
  margin-top: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__submit-button { /* Include submit button for consistency */
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-register__btn-primary {
  background-color: var(--register-button-color); /* Custom register button color */
  color: var(--register-login-font-color); /* Custom register font color */
  border: none;
}

.page-register__btn-primary:hover {
  background-color: #a30606; /* Darker red */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__btn-secondary {
  background-color: var(--auxiliary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-register__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-register__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Global Image Styling for Content Area - Must be >= 200px */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block; /* Ensures proper spacing and max-width */
  object-fit: cover; /* Default object-fit */
}

.page-register__benefit-card img,
.page-register__feature-item img,
.page-register__promo-card img {
  min-width: 200px;
  min-height: 200px;
  width: 100%; /* Ensure they fill their container, while respecting min-width/height */
  height: auto;
}