/* style/register.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-register-bg: #C30808;
  --button-register-text: #FFFF00;
  --background-light: #FFFFFF;
}

.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

.page-register__text-center {
  text-align: center;
}

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

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

.page-register__section-title--white {
  color: var(--text-light);
}

.page-register__section-intro {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-dark);
}

.page-register__section-intro--white {
  color: var(--text-light);
}

.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);
  background-color: var(--primary-color);
  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;
  width: 100%;
}

.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;
}

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

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

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

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-register-bg);
  color: var(--button-register-text);
  text-decoration: none;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button:hover {
  background: darken(var(--button-register-bg), 10%); /* Example: a slightly darker red */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__btn-primary {
  background: var(--button-register-bg);
  color: var(--button-register-text);
}

.page-register__btn-register {
  background: var(--button-register-bg);
  color: var(--button-register-text);
}

.page-register__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-register__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-register__dark-section .page-register__link-text {
  color: var(--button-register-text);
}

.page-register__dark-section .page-register__link-text:hover {
  text-decoration: underline;
}

.page-register__why-join-section .page-register__section-title,
.page-register__account-verification-section .page-register__section-title,
.page-register__after-register-section .page-register__section-title,
.page-register__faq-section .page-register__section-title,
.page-register__final-cta-section .page-register__section-title {
  color: var(--primary-color);
}

.page-register__why-join-section .page-register__section-intro,
.page-register__account-verification-section .page-register__section-intro,
.page-register__after-register-section .page-register__section-intro,
.page-register__faq-section .page-register__section-intro {
  color: var(--text-dark);
}

.page-register__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__card {
  background: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-register__card-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  display: block; /* Ensure it behaves as a block element */
  margin-left: auto;
  margin-right: auto;
}

.page-register__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__card-text {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.6;
}

.page-register__how-to-register-section {
  background-color: var(--primary-color);
}

.page-register__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-register__step-item {
  background: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: left;
}

.page-register__step-number {
  width: 50px;
  height: 50px;
  background-color: var(--button-register-bg);
  color: var(--button-register-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__step-text {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.6;
}

.page-register__step-list {
  list-style: disc inside;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-left: 20px;
  color: var(--text-dark);
}

.page-register__step-list li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-register__image-promo {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

.page-register__image-promo img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__callout-text {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.page-register__callout-text--white {
  color: var(--text-light);
}

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

.page-register__security-item {
  background: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  border: 1px solid #e0e0e0;
}

.page-register__security-item h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__security-item p {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.6;
}