.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherited from shared.css, assumed dark */
}

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #007bff);
  color: #FFFFFF;
  overflow: hidden;
}

.page-register__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-register__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F8FF;
}

.page-register__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin-top: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-register__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__btn-primary:hover {
  background-color: #007bff;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  display: inline-block;
  background: #FFFFFF;
  color: #26A9E0;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
}

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

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

.page-register__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #26A9E0;
}

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

.page-register__benefits-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

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

.page-register__benefit-card:hover {
  transform: translateY(-5px);
}

.page-register__benefit-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__card-text {
  color: #666666;
}

.page-register__steps-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-register__steps-section .page-register__section-title {
  color: #FFFFFF;
}

.page-register__steps-section .page-register__section-description {
  color: #F0F8FF;
}

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

.page-register__step-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.page-register__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #FFFFFF;
  color: #26A9E0;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-register__steps-section .page-register__card-title {
  color: #FFFFFF;
}

.page-register__steps-section .page-register__card-text {
  color: #F0F8FF;
}

.page-register__cta-buttons {
  text-align: center;
  margin-top: 40px;
}

.page-register__faq-section {
  padding: 80px 0;
  background-color: #F7F9FC;
  color: #333333;
}

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

.page-register__faq-section .page-register__section-description {
  color: #555555;
}

.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;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #FFFFFF;
  color: #333333;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #f0f0f0;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #666666;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

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

.page-register__cta-section {
  padding: 80px 0;
  background-color: #EA7C07;
  text-align: center;
  color: #FFFFFF;
}

.page-register__cta-section .page-register__section-title {
  color: #FFFFFF;
}

.page-register__cta-section .page-register__section-description {
  color: #F0F8FF;
  margin-bottom: 40px;
}

.page-register__cta-section .page-register__btn-primary {
  background: #FFFFFF;
  color: #EA7C07;
}

.page-register__cta-section .page-register__btn-primary:hover {
  background-color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: 2.8em;
  }

  .page-register__section-title {
    font-size: 2em;
  }

  .page-register__hero-image-wrapper {
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 15px 30px;
  }

  .page-register__main-title {
    font-size: 2.2em;
  }

  .page-register__hero-description {
    font-size: 1em;
  }

  .page-register__hero-image-wrapper {
    max-width: 100%;
    margin-top: 15px;
  }

  .page-register__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }

  .page-register__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 50px 0;
  }

  .page-register__benefits-grid,
  .page-register__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__benefit-card,
  .page-register__step-card {
    padding: 25px;
  }

  .page-register__benefit-image {
    height: 200px;
  }

  .page-register__card-title {
    font-size: 1.3em;
  }

  .page-register__container {
    padding: 0 15px;
  }

  /* Mobile image and container responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__hero-image-wrapper,
  .page-register__benefit-card,
  .page-register__step-card,
  .page-register__faq-item,
  .page-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-register__cta-button,
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 1.8em;
  }

  .page-register__hero-description {
    font-size: 0.9em;
  }

  .page-register__section-title {
    font-size: 1.5em;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}