.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: #0A4B2C; /* Deep Green for hero background */
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 20px;
}

.page-register__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-register__description {
  font-size: clamp(1em, 1.5vw, 1.25em);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Section Titles */
.page-register__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-register__text-block {
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-register__text-secondary {
  color: #A7D9B8; /* Text Secondary */
}

/* Buttons */
.page-register__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-register__btn-lg {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-register__btn-xl {
  padding: 20px 40px;
  font-size: 1.3em;
  margin-top: 30px;
}

/* Form Section */
.page-register__form-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-register__step-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-register__step-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.page-register__step-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__step-card p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-register__cta-container {
  text-align: center;
  margin-top: 60px;
}

/* Features Section */
.page-register__features-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-register__feature-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

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

.page-register__feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.page-register__feature-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__feature-card p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

/* Important Notes Section */
.page-register__important-notes-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-register__note-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-register__note-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__note-item p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-register__faq-item {
  background-color: #11271B; /* Card BG */
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
}

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

.page-register__faq-item summary:hover {
  background-color: #1e3a2a; /* Slightly darker for hover */
}

.page-register__faq-qtext {
  flex-grow: 1;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '−';
}

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.7;
}

/* CTA Section */
.page-register__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #08160F; /* Background */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-section {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: auto;
  }

  .page-register__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-register__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-register__description {
    font-size: clamp(0.9em, 4vw, 1.1em);
    margin-bottom: 25px;
  }

  .page-register__section-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-register__text-block {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-register__btn-primary,
  .page-register__btn-lg,
  .page-register__btn-xl {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px !important;
    font-size: 1.1em !important;
  }

  .page-register__cta-container {
    margin-top: 40px;
  }

  .page-register__form-section,
  .page-register__features-section,
  .page-register__important-notes-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 50px 0;
  }

  .page-register__steps-grid,
  .page-register__features-grid,
  .page-register__notes-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-register__step-card,
  .page-register__feature-card,
  .page-register__note-item,
  .page-register__faq-item {
    padding: 20px;
  }

  .page-register__step-image,
  .page-register__feature-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  .page-register__step-title,
  .page-register__feature-title,
  .page-register__note-title {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .page-register__faq-list {
    margin-top: 30px;
  }

  .page-register__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-register__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

/* Ensure all images are responsive and do not cause overflow */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile specific for images and containers */
@media (max-width: 768px) {
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__form-section,
  .page-register__features-section,
  .page-register__important-notes-section,
  .page-register__faq-section,
  .page-register__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by .page-register__container */
    /* padding-right: 15px; */
    overflow: hidden !important; /* Prevent content overflow */
  }
}

/* No filter on images */
.page-register img {
  filter: none;
}