/* style/resources-how-to-register.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #26A9E0;
  --button-login-color: #EA7C07;
}

.page-resources-how-to-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

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

.page-resources-how-to-register__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-resources-how-to-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark);
}

.page-resources-how-to-register__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-resources-how-to-register__dark-bg .page-resources-how-to-register__section-title {
  color: var(--text-color-light);
}

.page-resources-how-to-register__dark-bg .page-resources-how-to-register__section-intro {
  color: var(--text-color-light);
}

.page-resources-how-to-register__light-bg {
  background-color: var(--background-light);
  color: var(--text-color-dark);
}

/* Hero Section */
.page-resources-how-to-register__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-resources-how-to-register__hero-content {
  flex: 1;
  padding-right: 40px;
  z-index: 1;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  padding-left: 20px;
}

.page-resources-how-to-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-light);
}

.page-resources-how-to-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

.page-resources-how-to-register__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 0;
}

.page-resources-how-to-register__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-resources-how-to-register__btn-primary,
.page-resources-how-to-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-how-to-register__btn-primary {
  background-color: var(--button-login-color);
  color: var(--text-color-light);
  border: 2px solid var(--button-login-color);
}

.page-resources-how-to-register__btn-primary:hover {
  background-color: #d16b00;
  border-color: #d16b00;
}

.page-resources-how-to-register__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-how-to-register__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Advantages Section */
.page-resources-how-to-register__advantages-section {
  padding: 80px 0;
}

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

.page-resources-how-to-register__advantage-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-color-dark);
}

.page-resources-how-to-register__advantage-card:hover {
  transform: translateY(-10px);
}

.page-resources-how-to-register__card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-how-to-register__card-text {
  font-size: 1em;
  color: var(--text-color-dark);
}

/* Guide Section */
.page-resources-how-to-register__guide-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.page-resources-how-to-register__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
  text-align: center;
}

.page-resources-how-to-register__step-title {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-how-to-register__step-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 800px;
  color: var(--text-color-dark);
}

.page-resources-how-to-register__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-how-to-register__step-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
  max-width: 600px;
  color: var(--text-color-dark);
}

.page-resources-how-to-register__step-list li {
  background-color: #eaf8ff;
  padding: 12px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-resources-how-to-register__step-list li strong {
  color: var(--primary-color);
  margin-right: 8px;
}

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

/* Tips Section */
.page-resources-how-to-register__tips-section {
  padding: 80px 0;
}

.page-resources-how-to-register__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-how-to-register__tips-list li {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 20px 30px;
  margin-bottom: 15px;
  border-radius: 10px;
  font-size: 1.1em;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: var(--text-color-light);
}

.page-resources-how-to-register__tips-list li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2em;
  line-height: 1;
}

.page-resources-how-to-register__tips-list li strong {
  color: var(--secondary-color);
}

/* Next Steps Section */
.page-resources-how-to-register__next-steps-section {
  padding: 80px 0;
}

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

.page-resources-how-to-register__next-step-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-color-dark);
}

.page-resources-how-to-register__next-step-card:hover {
  transform: translateY(-10px);
}

.page-resources-how-to-register__next-step-card .page-resources-how-to-register__card-title {
  color: var(--primary-color);
}

.page-resources-how-to-register__next-step-card .page-resources-how-to-register__btn-secondary {
  margin-top: 20px;
}

/* FAQ Section */
.page-resources-how-to-register__faq-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

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

.page-resources-how-to-register__faq-item {
  background-color: var(--secondary-color);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: var(--text-color-dark);
}

.page-resources-how-to-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--secondary-color);
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-resources-how-to-register__faq-question:hover {
  background-color: #f5f5f5;
}

.page-resources-how-to-register__faq-title {
  font-size: 1.2em;
  color: var(--primary-color);
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.page-resources-how-to-register__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-resources-how-to-register__faq-item.active .page-resources-how-to-register__faq-toggle {
  transform: rotate(0deg);
}

.page-resources-how-to-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-color-dark);
}

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

.page-resources-how-to-register__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Final CTA Section */
.page-resources-how-to-register__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-resources-how-to-register__cta-final-section .page-resources-how-to-register__btn-primary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-how-to-register__hero-content {
    padding-right: 20px;
  }

  .page-resources-how-to-register__hero-title {
    font-size: 3em;
  }
}

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

  .page-resources-how-to-register__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }

  .page-resources-how-to-register__hero-content {
    padding: 0 20px;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .page-resources-how-to-register__hero-title {
    font-size: 2.5em;
  }

  .page-resources-how-to-register__hero-image-wrapper {
    padding: 0 20px;
  }

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

  .page-resources-how-to-register__advantages-grid,
  .page-resources-how-to-register__next-steps-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-how-to-register__step-item {
    padding: 0 15px;
  }

  .page-resources-how-to-register__step-list {
    padding: 0 15px;
  }

  .page-resources-how-to-register__tips-list li,
  .page-resources-how-to-register__faq-question,
  .page-resources-how-to-register__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-resources-how-to-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-how-to-register__section,
  .page-resources-how-to-register__card,
  .page-resources-how-to-register__container,
  .page-resources-how-to-register__hero-image-wrapper,
  .page-resources-how-to-register__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-resources-how-to-register__btn-primary,
  .page-resources-how-to-register__btn-secondary,
  .page-resources-how-to-register a[class*="button"],
  .page-resources-how-to-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-resources-how-to-register__cta-buttons,
  .page-resources-how-to-register__button-group,
  .page-resources-how-to-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;
  }

  .page-resources-how-to-register__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-resources-how-to-register__step-list li {
    padding-left: 10px;
    padding-right: 10px;
  }
}