.page-register__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #017439;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-register__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__btn-primary {
  display: inline-block;
  background-color: #C30808;
  color: #FFFF00;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

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

.page-register__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: 2px solid #017439;
  cursor: pointer;
  margin-left: 20px;
}

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

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

.page-register__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #333333;
}

.page-register__section-title--white {
  color: #ffffff;
}

.page-register__advantages-section,
.page-register__how-to-register-section,
.page-register__after-registration-section,
.page-register__faq-section {
  padding: 80px 0;
  background-color: #f0f2f5; /* Consistent with body background */
  color: #333333;
}

.page-register__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-register__light-bg {
  background-color: #f0f2f5;
  color: #333333;
}

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

.page-register__advantage-card,
.page-register__step-card,
.page-register__benefit-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__advantage-card:hover,
.page-register__step-card:hover,
.page-register__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-register__advantage-image,
.page-register__step-image,
.page-register__benefit-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-register__card-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #017439;
}

.page-register__card-text {
  font-size: 1.05em;
  line-height: 1.7;
  color: #555555;
  flex-grow: 1;
}

.page-register__text-link {
  color: #017439;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-register__text-link:hover {
  color: #005a2e;
  text-decoration: underline;
}

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

.page-register__step-number {
  font-size: 3em;
  font-weight: 700;
  color: #C30808;
  margin-bottom: 20px;
}

.page-register__important-notes-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

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

.page-register__note-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-register__note-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFF00; /* Specific font color for titles in dark sections */
}

.page-register__note-text {
  font-size: 1.05em;
  line-height: 1.7;
  color: #f0f0f0;
}

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

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

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

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

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

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* This will be handled by JS */
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  line-height: 1.6;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px 25px 25px;
}

.page-register__cta-section {
  padding: 80px 20px;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-register__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__grid,
  .page-register__steps-grid,
  .page-register__notes-grid,
  .page-register__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
  }
  .page-register__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-register__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important;
  }
  .page-register__cta-section .page-register__btn-secondary {
    margin-left: 0 !important;
  }
  .page-register__advantages-section,
  .page-register__how-to-register-section,
  .page-register__after-registration-section,
  .page-register__faq-section,
  .page-register__important-notes-section,
  .page-register__cta-section {
    padding: 40px 0;
  }
  .page-register__container {
    padding: 0 15px !important;
  }
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-register__advantage-card,
  .page-register__step-card,
  .page-register__benefit-card,
  .page-register__note-item {
    padding: 20px;
  }
  .page-register__card-title {
    font-size: 1.4em;
  }
  .page-register__card-text,
  .page-register__note-text {
    font-size: 0.95em;
  }
  .page-register__faq-question {
    font-size: 1.05em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-register__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__hero-description,
  .page-register__cta-description {
    font-size: 0.9em;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-register__btn-primary--large,
  .page-register__btn-secondary--large {
    padding: 15px 25px;
    font-size: 1.1em;
  }
  .page-register__card-title {
    font-size: 1.2em;
  }
  .page-register__note-title {
    font-size: 1.3em;
  }
  .page-register__faq-question {
    font-size: 1em;
  }
}