/* style/register.css */

/* --- General Styles for page-register --- */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff; /* Default body background */
}

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

.page-register__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #26A9E0; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-register__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px auto;
  object-fit: cover;
}

/* --- 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 header */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Blended brand colors */
  overflow: hidden; /* Prevent image 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;
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white for readability */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -80px; /* Overlap with image slightly */
}

.page-register__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 20px;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* --- CTA Button General Style --- */
.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background: #EA7C07; /* Login/Register specific color */
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-register__btn-secondary {
  background: #ffffff;
  color: #26A9E0; /* Primary color */
  border: 2px solid #26A9E0;
  margin-left: 20px; /* Space between buttons */
}

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