/* style/register.css */

/* Base styles for the register page */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #FFFFFF */
  background-color: #FFFFFF;
}

/* 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); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #017439, #01a351); /* Gradient with brand color */
  color: #ffffff;
  overflow: hidden; /* For image positioning */
}

.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; /* Ensure content is above image if image is positioned absolutely */
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: absolute; /* Position image absolutely to allow content to overlay */
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0.3; /* Make it subtle */
  z-index: 0;
}

.page-register__hero-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  object-fit: cover; /* Cover the area */
  border-radius: 0; /* No border-radius for hero background-like image */
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px; /* Constrain content width */
  padding: 20px;
  background: rgba(0, 0, 0, 0.2); /* Semi-transparent background for text readability */
  border-radius: 10px;
}

.page-register__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color */
  line-height: 1.2;
}

.page-register__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #ffffff;
}

/* General button styles */
.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none; /* Remove default button border */
}

/* Specific button colors from custom config */
.page-register__btn-register {
  background: #C30808; /* Register button color */
  color: #FFFF00; /* Register button font color */
}

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

.page-register__btn-secondary {
  background: #ffffff;
  color: #017439; /* Brand primary color for text */
  border: 2px solid #017439;
  margin-left: 20px;
}

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

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

.page-register__section-title {
  font-size: 2.5em;
  color: #017439; /* Primary brand color */
  text-align: center;
  margin-bottom: 20px;
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #f9f9f9; /* Light background */
  color: #333333;
}

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

.page-register__benefit-item {
  background: #ffffff;
  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-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__benefit-item img {
  width: 100%;
  max-width: 250px; /* Constrain image size within card */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__benefit-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

/* Process Section */
.page-register__process-section {
  padding: 80px 0;
  background: #017439; /* Brand primary color as background */
  color: #ffffff;
}

.page-register__process-section .page-register__section-title {
  color: #FFFF00; /* Yellow text for title on dark background */
}

.page-register__process-section .page-register__section-description {
  color: #f0f0f0;
}

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

.page-register__step-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #FFFF00; /* Yellow for step number background */
  color: #017439; /* Primary color for step number text */
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  border: 3px solid #01a351;
}

.page-register__step-title {
  font-size: 1.6em;
  color: #FFFF00; /* Yellow for step title */
  margin-bottom: 15px;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  color: #333333;
}

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

.page-register__feature-item {
  background: #ffffff;
  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__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__feature-item img {
  width: 100%;
  max-width: 250px; /* Constrain image size within card */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}