/* style/register.css */

/* Custom CSS Variables for easier color management */
:root {
  --primary-color: #017439; /* Main brand green */
  --secondary-color: #FFFFFF; /* Main brand white */
  --register-btn-bg: #C30808; /* Custom red for register/login buttons */
  --register-btn-text: #FFFF00; /* Custom yellow for register/login button text */
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-light: #e0e0e0;
  --bg-light-grey: #f9f9f9;
}

.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--secondary-color); /* Body background is white */
}

/* --- Hero Section --- */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Apply header offset here */
  padding-bottom: 60px; /* Additional padding for content below header offset */
  padding-left: 20px;
  padding-right: 20px;
  background: var(--primary-color); /* Using primary color as background for hero */
  color: var(--text-light); /* Light text on dark background */
  overflow: hidden; /* Ensure no overflow */
}

.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 any potential background effects */
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 1000px; /* Limit image width for better presentation */
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Global image size requirement */
  min-height: 200px; /* Global image size requirement */
}

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

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

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}