.page-register {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

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

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as per instruction */
  margin-bottom: 40px;
  background-color: #F4F7FB; /* Match background for seamless blend */
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block; /* Ensure it's a block element */
  margin-bottom: 30px;
}

.page-register__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-register__main-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-register__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 30px;
}

.page-register__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-register__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-register__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
}

.page-register__btn--primary:hover {
  opacity: 0.9;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-register__btn--secondary {
  background-color: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-register__btn--secondary:hover {
  background-color: #2F6BFF;
  color: #FFFFFF;
}

.page-register__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-register__steps-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  margin-bottom: 40px;
}

.page-register__steps-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-register__step-item {
  flex: 1 1 calc(33% - 40px);
  max-width: 350px;
  text-align: center;
  background-color: #F4F7FB;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  min-height: 250px; /* Ensure cards have some height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
}

.page-register__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2D3D;
  margin-bottom: 15px;
}

.page-register__step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-register__benefits-section {
  padding: 60px 0;
  background-color: #F4F7FB;
  margin-bottom: 40px;
}

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

.page-register__benefit-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding-bottom: 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 450px; /* Ensure cards have some height */
}

.page-register__benefit-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-register__benefit-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1F2D3D;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-register__benefit-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1F2D3D;
  padding: 0 15px;
}

.page-register__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #FFFFFF;
  margin-bottom: 40px;
}

.page-register__cta-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #1F2D3D;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-register__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

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

.page-register__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
}

.page-register__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-register__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-register__steps-list {
    flex-direction: column;
    align-items: center;
  }

  .page-register__step-item {
    flex: 1 1 100%;
    max-width: 450px;
  }

  .page-register__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-register__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__btn {
    width: 100%;
    max-width: 280px;
  }

  .page-register__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-register__hero-description,
  .page-register__cta-description {
    font-size: 1rem;
  }

  .page-register__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .page-register__hero-image,
  .page-register__steps-section img,
  .page-register__benefits-section img,
  .page-register__cta-section img,
  .page-register__faq-section img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure content images are not too small */
    min-height: 200px; /* Ensure content images are not too small */
  }

  .page-register__benefit-image {
    height: 200px; /* Adjust height for smaller screens */
  }

  .page-register__benefit-card {
    min-height: 400px;
  }

  .page-register__step-item {
    min-height: auto;
  }

  .page-register__faq-question {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-register__container {
    padding: 15px;
  }

  .page-register__btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .page-register__step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem;
  }

  .page-register__step-title {
    font-size: 1.2rem;
  }

  .page-register__benefit-title {
    font-size: 1.1rem;
  }
}