/* style/register.css */

/* Base styles for the register page */
.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000; /* Body background is black */
}

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

/* Header spacing to prevent content from being covered by fixed nav bar */
.page-register__hero-spacing {
  padding-top: 120px; /* Desktop default */
  background-color: #0A2463; /* Match primary brand color */
  padding-bottom: 40px;
}

.page-register__main-heading {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main heading */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-register__section-heading {
  font-size: 2.2em;
  color: #FFD700; /* Gold for section headings */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-register__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

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

.page-register__text-block a:hover {
  text-decoration: underline;
}

.page-register__keyword-highlight {
  color: #FFD700;
  font-weight: bold;
}

/* Section styles */
.page-register__dark-bg {
  background-color: #0A2463;
  color: #ffffff;
}

.page-register__light-bg {
  background-color: #1a1a1a; /* Dark gray for contrast with body, still dark */
  color: #ffffff;
}

.page-register__intro-section,
.page-register__guide-section,
.page-register__benefits-section,
.page-register__faq-section,
.page-register__cta-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.page-register__button-group {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 200px;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #0A2463; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-register__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Step-by-step guide */
.page-register__step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__step-item {
  background-color: #0A2463; /* Dark blue background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #FFD700;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__step-icon {
  background-color: #FFD700; /* Gold icon background */
  color: #0A2463; /* Dark blue text */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
  font-size: 1.6em;
  color: #FFD700; /* Gold title */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__info-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  width: 100%;
}

.page-register__info-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  margin-bottom: 8px;
  border-radius: 5px;
  color: #ffffff;
  font-size: 1em;
  display: flex;
  align-items: center;
}

.page-register__info-list li::before {
  content: '✓';
  color: #FFD700;
  margin-right: 10px;
  font-weight: bold;
}

.page-register__step-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 2px solid #FFD700;
}

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

.page-register__benefit-card {
  background-color: #1a1a1a; /* Dark gray background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #FFD700;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid #FFD700;
  padding: 10px;
  box-sizing: border-box;
}

.page-register__card-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold title */
  margin-bottom: 15px;
  font-weight: 600;
}

/* FAQ section */
.page-register__faq-list {
  margin-top: 40px;
}

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.3);
  background-color: #0A2463; /* Dark blue background */
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0A2463;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-register__faq-question:hover {
  background: #1e3a70;
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Gold text */
  pointer-events: none;
}

.page-register__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg); /* Rotate for '−' to look like 'x' or close */
  color: #ffffff;
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #1e3a70; /* Slightly lighter dark blue for answer background */
  border-radius: 0 0 8px 8px;
  color: #f0f0f0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

/* CTA Section */
.page-register__cta-section {
  text-align: center;
}

/* Responsive design */
@media (max-width: 1024px) {
  .page-register__main-heading {
    font-size: 2.8em;
  }
  .page-register__section-heading {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-spacing {
    padding-top: 100px; /* Mobile default */
    padding-bottom: 30px;
  }

  .page-register__main-heading {
    font-size: 2.2em;
    padding: 0 10px;
  }

  .page-register__section-heading {
    font-size: 1.8em;
    padding: 0 10px;
  }

  .page-register__text-block {
    font-size: 1em;
    padding: 0 10px;
  }

  .page-register__intro-section,
  .page-register__guide-section,
  .page-register__benefits-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 40px 0;
  }

  .page-register__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: calc(100% - 40px); /* Adjust for padding */
    margin: 0 auto;
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-register__step-list,
  .page-register__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-register__faq-toggle {
    font-size: 1.8em;
    width: 28px;
    height: 28px;
  }

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

  .page-register__faq-item.active .page-register__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image adaptation */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__step-item,
  .page-register__benefit-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-register__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-register__main-heading {
    font-size: 1.8em;
  }
  .page-register__section-heading {
    font-size: 1.5em;
  }
  .page-register__step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-register__step-title {
    font-size: 1.4em;
  }
  .page-register__benefit-icon {
    width: 80px;
    height: 80px;
  }
  .page-register__card-title {
    font-size: 1.3em;
  }
}