.page-register {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-register__section {
  padding: 60px 20px;
  text-align: center;
}

.page-register__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-register__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit;
  line-height: 1.2;
}

.page-register__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-register__highlight {
  font-weight: bold;
  color: inherit;
}

/* HERO Section */
.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: 10px; /* Small top padding as body handles header offset */
  background: linear-gradient(135deg, #26A9E0, #4AD8FF);
  color: #ffffff;
}

.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;
  order: 1;
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-register__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__intro-text {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f8ff;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__cta-button:hover {
  background: #D46A00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Why Register Section */
.page-register__why-register-section {
  background-color: #f8f8f8;
}

.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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-register__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Adjust max-width to ensure image is not too small but not too large */
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-register__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__feature-text {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

/* Registration Steps Section */
.page-register__registration-steps-section .page-register__section-title,
.page-register__registration-steps-section .page-register__section-description {
  color: #ffffff;
}

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

.page-register__step-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #EA7C07;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-register__step-text {
  font-size: 16px;
  color: #f0f8ff;
}

.page-register__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 40px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary:hover {
  background: #D46A00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-register__register-now-btn {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-register__register-now-btn:hover {
  background-color: #f0f0f0;
  color: #1a7fb2;
}

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

.page-register__benefit-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-register__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 280px; /* Ensure images are not too small */
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-register__benefit-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__benefit-text {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

/* Security and Privacy Section */
.page-register__security-privacy-section .page-register__section-title,
.page-register__security-privacy-section .page-register__section-description {
  color: #ffffff;
}

.page-register__security-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-register__security-image {
  width: 100%;
  height: auto;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-register__security-text {
  color: #f0f8ff;
  font-size: 17px;
}

.page-register__sub-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-register__security-text p {
  margin-bottom: 15px;
}

/* Payment Methods Section */
.page-register__payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__payment-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__payment-icon {
  width: 100%;
  height: auto;
  max-width: 200px; /* Adjust max-width to ensure image is not too small */
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-register__payment-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__payment-text {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

.page-register__payment-note {
  margin-top: 40px;
  font-size: 16px;
  color: #666666;
}

/* FAQ Section */
.page-register__faq-section {
  background-color: #f0f8ff;
}

.page-register__faq-list {
  margin-top: 40px;
  text-align: left;
}

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}

details.page-register__faq-item summary.page-register__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-register__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #555555;
}

/* Call to Action Bottom */
.page-register__call-to-action-bottom {
  background: linear-gradient(135deg, #26A9E0, #4AD8FF);
  color: #ffffff;
}

.page-register__call-to-action-bottom .page-register__section-title,
.page-register__call-to-action-bottom .page-register__section-description {
  color: #ffffff;
}

.page-register__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-register__btn-large {
  padding: 18px 50px;
  font-size: 20px;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__section-title {
    font-size: 32px;
  }
  .page-register__section-description {
    font-size: 17px;
  }
  .page-register__hero-image img {
    max-width: 800px;
  }
  .page-register__feature-card, .page-register__benefit-card, .page-register__payment-item {
    padding: 25px;
  }
  .page-register__feature-icon, .page-register__benefit-icon, .page-register__payment-icon {
    max-width: 200px;
  }
  .page-register__sub-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__hero-image {
    margin-bottom: 20px;
  }
  .page-register__hero-image img {
    border-radius: 4px;
  }
  .page-register__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
    margin-bottom: 10px;
  }
  .page-register__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-register__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-register__section {
    padding: 40px 15px;
  }
  .page-register__section-title {
    font-size: 28px;
  }
  .page-register__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* General image responsiveness for all images within .page-register */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-register__section,
  .page-register__container,
  .page-register__feature-card,
  .page-register__step-item,
  .page-register__benefit-card,
  .page-register__payment-item,
  .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;
  }
  .page-register__security-content {
    flex-direction: column;
  }
  .page-register__security-image {
    max-width: 100%;
  }
  .page-register__sub-title {
    font-size: 22px;
  }
  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-register__faq-qtext {
    font-size: 16px;
  }
  .page-register__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 20px 15px;
  }

  /* Ensure multiple buttons wrap */
  .page-register__cta-buttons,
  .page-register__button-group {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px; /* Space between stacked buttons */
  }
}

@media (max-width: 480px) {
  .page-register__section-title {
    font-size: 24px;
  }
  .page-register__main-title {
    font-size: clamp(1.8em, 9vw, 2.2em);
  }
  .page-register__section-description {
    font-size: 15px;
  }
  .page-register__feature-title, .page-register__benefit-title, .page-register__payment-title {
    font-size: 20px;
  }
  .page-register__step-title {
    font-size: 20px;
  }
  .page-register__feature-text, .page-register__step-text, .page-register__benefit-text, .page-register__payment-text, .page-register__payment-note {
    font-size: 15px;
  }
  .page-register__sub-title {
    font-size: 20px;
  }
}