/* style/register.css */

/* Custom Colors */
:root {
  --page-register-primary-color: #11A84E;
  --page-register-secondary-color: #22C768;
  --page-register-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-register-card-bg: #11271B;
  --page-register-background: #08160F;
  --page-register-text-main: #F2FFF6;
  --page-register-text-secondary: #A7D9B8;
  --page-register-border: #2E7A4E;
  --page-register-glow: #57E38D;
  --page-register-gold: #F2C14E;
  --page-register-divider: #1E3A2A;
  --page-register-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-register-text-main); /* Default text color for dark background */
  background-color: var(--page-register-background); /* Default background color */
}

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

.page-register__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-register-text-main);
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-register-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__dark-section {
  background-color: var(--page-register-background);
  color: var(--page-register-text-main);
  padding: 60px 0;
}

.page-register__light-bg {
  background-color: #ffffff; /* A clear light background for contrast */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-register__light-bg .page-register__section-title {
  color: #000000;
}

.page-register__light-bg .page-register__section-description {
  color: #555555;
}

.page-register__light-bg .page-register__card-title {
  color: #000000;
}

.page-register__light-bg .page-register__card-text {
  color: #333333;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--page-register-background);
  overflow: hidden; /* Ensure no overflow */
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-register__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-register__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--page-register-text-main);
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--page-register-text-secondary);
}

/* Buttons */
.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background: var(--page-register-button-gradient);
  color: #ffffff;
}

.page-register__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-register__btn-secondary {
  background: #ffffff;
  color: var(--page-register-primary-color);
  border: 2px solid var(--page-register-primary-color);
}

.page-register__btn-secondary:hover {
  background: var(--page-register-primary-color);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

/* Cards */
.page-register__card {
  background-color: var(--page-register-card-bg);
  border: 1px solid var(--page-register-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-register-text-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-register__card-title {
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--page-register-text-main);
}