.page-register {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Explicitly set for clarity, though body is default white */
  line-height: 1.6;
}

/* Header offset for fixed header */
.page-register__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply offset to the first content section */
}

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

.page-register__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-register__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #017439, #0a9953); /* Gradient background with brand color */
  color: #ffffff;
  padding: 60px 0;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-register__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding: 20px;
  text-align: left;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-register__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  max-width: 700px;
  text-align: center;
  padding: 20px;
}

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center image */
}

/* Buttons */
.page-register__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-register__btn-primary:hover {
  background-color: #a00606; /* Darker red on hover */
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439; /* Brand primary color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  border: 2px solid #017439;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.page-register__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-register__hero-cta {
  margin-top: 20px;
}

.page-register__cta-container {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
}

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Video Section */
.page-register__video-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Dark background for this section */
  color: #ffffff;
}

.page-register__video-section .page-register__section-title {
  color: #ffffff;
}

.page-register__video-section .page-register__section-intro {
  color: #f0f0f0;
}

.page-register__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for video */
  margin: 0 auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-register__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-register__video-cta {
  margin-top: 40px;
}

/* Why Register Section */
.page-register__why-register-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
}

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

.page-register__feature-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-register__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-register__feature-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 300px; /* Max width for feature icons */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__feature-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Registration Steps Section */
.page-register__registration-steps-section {
  padding: 80px 0;
  background-color: #017439; /* Dark background */
  color: #ffffff;
}

.page-register__registration-steps-section .page-register__section-title {
  color: #ffffff;
}

.page-register__registration-steps-section .page-register__section-intro {
  color: #f0f0f0;
}

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

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00; /* Custom color for step numbers */
  background-color: #C30808; /* Custom color for step number background */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid #FFFF00;
}

.page-register__step-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__step-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
}

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

.page-register__security-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.page-register__security-subtitle {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__security-text {
  font-size: 1em;
  color: #555555;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #017439; /* Dark background */
  color: #ffffff;
}

.page-register__faq-section .page-register__section-title {
  color: #ffffff;
}

.page-register__faq-section .page-register__section-intro {
  color: #f0f0f0;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}