.page-register {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-register__hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1A237E, #3F51B5);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Overlay for text readability */
}

.page-register__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-register__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px; /* Ensure content height */
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFC107; /* Accent color for title */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.8;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FFC107; /* Accent color for CTA */
  color: #1A237E;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

.page-register__section-title {
  font-size: 2.5em;
  color: #1A237E; /* Main color for section titles */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-register__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFC107;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-register__value-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-register__value-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__value-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-register__value-icon {
  width: 250px; /* Minimum 200px */
  height: 187px; /* Maintain aspect ratio for 800x600 */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 2px solid #FFC107;
}

.page-register__value-heading {
  font-size: 1.6em;
  color: #1A237E;
  margin-bottom: 15px;
}

.page-register__value-text {
  font-size: 1em;
  color: #666666;
}

.page-register__steps-section {
  padding: 80px 0;
}

.page-register__steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
}

.page-register__step-item {
  background-color: #ffffff;
  margin-bottom: 25px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  padding-left: 90px;
}

.page-register__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 30px;
  width: 50px;
  height: 50px;
  background-color: #1A237E; /* Main color for step numbers */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-heading {
  font-size: 1.8em;
  color: #1A237E;
  margin-bottom: 10px;
}

.page-register__step-text {
  font-size: 1.05em;
  color: #666666;
  margin-bottom: 20px;
}

.page-register__step-button {
  display: inline-block;
  background-color: #FFC107;
  color: #1A237E;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-register__step-button:hover {
  background-color: #FFD700;
}

.page-register__conditions-section {
  padding: 80px 0;
  background-color: #f0f4f8;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-register__condition-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #1A237E; /* Main color accent */
}

.page-register__condition-heading {
  font-size: 1.5em;
  color: #1A237E;
  margin-bottom: 10px;
}

.page-register__condition-text {
  font-size: 0.95em;
  color: #666666;
}

.page-register__faq-section {
  padding: 80px 0;
}

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

.page-register__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-item summary {
  display: block;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #1A237E;
  background-color: #fdfdfd;
  position: relative;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-register__faq-item summary:hover {
  background-color: #f5f5f5;
}

.page-register__faq-item[open] summary {
  background-color: #e6eaf0;
}

.page-register__faq-toggle {
  position: absolute;
  right: 25px;
  font-size: 1.5em;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: translateY(-50%) rotate(45deg);
}

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
}

.page-register__faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
}

.page-register__cta-bottom-section {
  background-color: #1A237E; /* Main color background */
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

.page-register__cta-bottom-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-register__cta-bottom-title {
  font-size: 2.5em;
  color: #FFC107; /* Accent color */
  margin-bottom: 20px;
}

.page-register__cta-bottom-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-register__cta-bottom-small-text {
  font-size: 0.9em;
  margin-top: 25px;
  color: #cccccc;
}

.page-register__login-link {
  color: #FFC107;
  text-decoration: underline;
  font-weight: bold;
}

.page-register__login-link:hover {
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 0;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__section-intro {
    font-size: 1em;
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
  .page-register__step-item {
    padding-left: 75px;
  }
  .page-register__step-item::before {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    left: 20px;
    top: 25px;
  }
  .page-register__step-heading {
    font-size: 1.5em;
  }
  .page-register__conditions-list {
    grid-template-columns: 1fr;
  }
  .page-register__condition-heading {
    font-size: 1.3em;
  }
  .page-register__faq-item summary {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-register__faq-toggle {
    right: 20px;
  }
  .page-register__faq-answer {
    padding: 0 20px 18px;
  }
  .page-register__cta-bottom-title {
    font-size: 2em;
  }
  .page-register__cta-bottom-description {
    font-size: 1em;
  }
  
  /* Mobile content area images must not overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images are not smaller than 200px */
  .page-register__value-icon {
    width: 250px; /* Minimum 200px, still larger for mobile card */
    height: auto; /* Allow height to adjust */
    max-width: 100%;
  }
  .page-register__hero-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__value-icon {
    width: 200px; /* Minimum 200px */
    height: auto;
    max-width: 100%;
  }
}