.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background is white */
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 60px 20px; /* Base padding */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #017439; /* Brand primary color */
  color: #FFFFFF;
  overflow: hidden;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Custom color for register/login font */
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-register__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-register__btn-primary, .page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  text-align: center;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background-color: #C30808; /* Custom Register color */
  color: #FFFF00; /* Custom Register/Login font color */
  border: 2px solid #C30808;
}

.page-register__btn-primary:hover {
  background-color: #A00707;
  border-color: #A00707;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  background-color: #FFFFFF;
  color: #017439; /* Brand primary color */
  border: 2px solid #FFFFFF;
}

.page-register__btn-secondary:hover {
  background-color: #F0F0F0;
  border-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* General Section Styling */
.page-register__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
  color: #017439; /* Brand primary color for titles */
}

.page-register__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

.page-register__dark-bg .page-register__section-title {
  color: #FFFF00; /* Yellow for titles on dark background */
}

.page-register__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

/* Why Register Section */
.page-register__why-register-section {
  padding: 80px 0;
}

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

.page-register__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background-color: #f8f8f8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-register__feature-icon {
  width: 100%; /* Ensure full width within item */
  max-width: 250px; /* Limit max size */
  height: auto;
  margin-bottom: 25px;
  object-fit: contain;
}

.page-register__feature-heading {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-register__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
}

.page-register__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #FFFF00; /* Yellow circle */
  color: #017439;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-register__step-heading {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-register__step-text {
  font-size: 1em;
  color: #f0f0f0;
}