/* style/register.css */
.page-register {
  padding-top: var(--header-offset, 120px);
  background-color: #f5f5f5;
  color: #333333;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-register__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a; /* Dark background for hero text contrast */
  color: #ffffff;
  padding: 0;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
  filter: brightness(0.7);
}

.page-register__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  width: 90%;
  z-index: 10;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-register__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

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

.page-register__hero-button,
.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold main color */
  color: #8B0000; /* Deep red auxiliary color */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__hero-button:hover,
.page-register__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-register__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep red auxiliary color */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-register__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__cta-section,
.page-register__related-resources-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-radius: 8px;
}

.page-register__value-section {
  margin-top: -80px;
  position: relative;
  z-index: 1;
}

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

.page-register__feature-item {
  text-align: center;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

.page-register__feature-item:hover {
  transform: translateY(-5px);
}

.page-register__feature-icon {
  width: 250px;
  height: 187px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-register__feature-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-register__feature-description {
  font-size: 1em;
  color: #666666;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-register__step-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
  background-color: #fcfcfc;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #FFD700;
}

.page-register__step-item:nth-child(even) {
  flex-direction: row-reverse;
  border-right: 5px solid #FFD700;
  border-left: none;
}

.page-register__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #FFD700;
  min-width: 60px;
  text-align: center;
}

.page-register__step-content {
  flex: 1;
}

.page-register__step-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-register__step-description {
  font-size: 1.05em;
  color: #555555;
  margin-bottom: 20px;
}

.page-register__step-button {
  display: inline-block;
  background-color: #8B0000;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-register__step-button:hover {
  background-color: #b30000;
}

.page-register__step-image {
  width: 400px;
  height: 266px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.page-register__condition-item {
  background-color: #fcfcfc;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  border-left: 4px solid #8B0000;
}

.page-register__condition-title {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-register__condition-description {
  font-size: 1em;
  color: #666666;
}

.page-register__condition-description a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-register__condition-description a:hover {
  text-decoration: underline;
}

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

.page-register__faq-item {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

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

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

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: #666666;
  border-top: 1px solid #eee;
}

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

.page-register__faq-answer ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-top: 10px;
}

.page-register__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-register__faq-answer a:hover {
  text-decoration: underline;
}

.page-register__cta-section {
  text-align: center;
  background-color: #8B0000; /* Auxiliary color for CTA background */
  color: #ffffff;
  padding: 80px 20px;
}

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

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

.page-register__related-resources-section {
  padding-bottom: 80px;
}

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

.page-register__resource-card {
  display: block;
  background-color: #fcfcfc;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333333;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-register__resource-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-register__resource-card h3 {
  font-size: 1.4em;
  color: #8B0000;
  padding: 15px 20px 0;
  margin-bottom: 5px;
}

.page-register__resource-card p {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.5em;
  }

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

  .page-register__step-item {
    flex-direction: column;
    text-align: center;
  }

  .page-register__step-item:nth-child(even) {
    flex-direction: column;
    border-left: 5px solid #FFD700;
    border-right: none;
  }

  .page-register__step-image {
    width: 100%;
    max-width: 600px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 80px);
  }

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

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

  .page-register__hero-button,
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-register__section-title {
    font-size: 2em;
    margin-top: 40px;
  }

  .page-register__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-register__value-section,
  .page-register__steps-section,
  .page-register__conditions-section,
  .page-register__faq-section,
  .page-register__cta-section,
  .page-register__related-resources-section {
    padding: 40px 0;
  }

  .page-register__feature-icon,
  .page-register__step-image,
  .page-register__resource-image {
    max-width: 100%;
    height: auto;
    width: 100%;
  }

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

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

  .page-register__hero-content {
    width: 95%;
    padding: 15px;
  }
}

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

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

  .page-register__hero-button,
  .page-register__cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }

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

  .page-register__step-number {
    font-size: 2.5em;
  }

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

  .page-register__condition-item {
    padding: 20px;
  }

  .page-register__faq-question {
    font-size: 1em;
  }
}