/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Matches shared.css body background */
}

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

.page-register__dark-bg {
  background-color: #017439; /* Main brand color for dark sections */
  color: #ffffff;
}

.page-register__light-bg {
  background-color: #ffffff; /* Custom background color for light sections */
  color: #333333; /* Dark text for light background */
}

.page-register__text-white {
  color: #ffffff;
}

.page-register__text-link {
  color: #007bff;
  text-decoration: underline;
}

/* Hero Section */
.page-register__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

.page-register__hero-section .page-register__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-register__hero-content {
  margin-bottom: 40px;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for register/login font, applied to H1 for prominence */
  font-weight: bold;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin-top: 30px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

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

.page-register__btn-primary {
  background-color: #C30808; /* Custom Register color */
  color: #000000; /* Black for WCAG AA contrast on #C30808 (4.74:1) */
  border: 2px solid #C30808;
  margin: 10px;
}

.page-register__btn-primary:hover {
  background-color: #ff3333;
  border-color: #ff3333;
  color: #ffffff;
}

.page-register__btn-secondary {
  background-color: #ffffff;
  color: #000000; /* Black for WCAG AA contrast on #FFFFFF */
  border: 2px solid #017439; /* Border with main brand color */
  margin: 10px;
}

.page-register__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
  border-color: #017439;
}

.page-register__btn-large {
  min-width: 250px;
  padding: 18px 35px;
  font-size: 1.2em;
}

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

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

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

.page-register__benefit-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439; /* Main brand color for card titles */
}

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

/* Steps Section */
.page-register__steps-section .page-register__container {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-register__step-item {
  background-color: #f9f9f9;
  color: #333333;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #017439;
  color: #ffffff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-register__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}