/* style/register.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --login-button-color: #EA7C07;
  --background-white: #ffffff;
  --border-color: #e0e0e0;
}

/* Base styles for the register page content */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light body background */
  background-color: var(--background-white); /* Fallback for content sections if shared body background is transparent */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-register__section {
  padding: 60px 0;
  text-align: center;
}

.page-register__section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-weight: bold;
}

.page-register__content-area {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-register__content-area p {
  margin-bottom: 15px;
  font-size: 17px;
}

.page-register__text-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-register__text-link:hover {
  color: #1a7bbd; /* Slightly darker primary on hover */
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px 60px; /* Adjust padding-top based on main .page-register */
  background: linear-gradient(135deg, var(--primary-color), #5cbceb); /* Gradient background with primary color */
  color: var(--text-color-light);
  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;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-register__hero-content {
  text-align: center;
  width: 100%;
}

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

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

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

.page-register__btn-primary {
  background: var(--login-button-color); /* Use login color for primary action */
  color: var(--text-color-light);
  box-shadow: 0 6px 15px rgba(234, 124, 7, 0.3);
}

.page-register__btn-primary:hover {
  background: #d46e06; /* Slightly darker on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(234, 124, 7, 0.4);
}

.page-register__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 6px 15px rgba(38, 169, 224, 0.2);
}

.page-register__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(38, 169, 224, 0.3);
}

/* Benefits Section */
.page-register__benefits-section {
  background-color: var(--background-white);
  padding-bottom: 80px;
}

.page-register__benefits-section .page-register__section-title {
  color: var(--primary-color);
}

.page-register__benefits-section .page-register__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-register__benefits-section .page-register__text-block {
  flex: 1;
}

.page-register__benefits-section .page-register__image-block {
  flex: 1;
  min-width: 400px; /* Ensure image block has a reasonable size */
}

.page-register__benefits-section .page-register__image-block img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-register__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}