/* style/register.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #EA7C07; /* From custom color for "Login" */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #26A9E0;
  --border-color: #e0e0e0;
}

/* Base styles for the register page content */
.page-register {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--background-light); /* Assuming shared.css sets body background to white */
  line-height: 1.6;
  padding-bottom: 60px; /* General padding for bottom section */
}

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

.page-register__section {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.page-register__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-register__section-intro {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

/* Dark background section specific styles */
.page-register__dark-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-register__dark-section .page-register__section-title {
  color: var(--text-light);
}

.page-register__dark-section .page-register__section-intro {
  color: rgba(255, 255, 255, 0.9);
}

/* Hero Section */
.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: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #a8e0f9 100%); /* Light blue gradient */
  overflow: hidden;
}

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

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 800px; /* Adjust max-width for image in hero */
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-register__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-register__hero-description {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

.page-register__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color); /* Login color as CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 22px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-register__cta-button:hover {
  background: #c26506; /* Darken on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-register__card {
  background: var(--background-light);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-register__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-register__card-text {
  font-size: 16px;
  color: #555555;
  flex-grow: 1; /* Allow text to grow and fill space */
}

/* Step-by-step Guide Section */
.page-register__steps-wrapper {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.page-register__step {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-register__step--reverse {
  flex-direction: row-reverse;
  text-align: right;
}

.page-register__step-image {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  height: auto;
  object-fit: cover;
}

.page-register__step-content {
  flex: 1;
  max-width: 50%;
}

.page-register__step-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-register__step-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
}

.page-register__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 17px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
}

.page-register__btn-primary:hover {
  background: #c26506;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-register__tips-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  margin-top: 60px;
  text-align: left;
}

.page-register__tips-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-register__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
}

.page-register__tips-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-register__tips-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* App Promo Section */
.page-register__section--app-promo {
  text-align: left;
}

.page-register__app-promo-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-register__app-text {
  flex: 1;
}