/* style/register.css */
.page-register {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-register__section-title {
  font-size: 2.5rem;
  color: #0A2463; /* Primary brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-register__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 80px 0;
  background-color: #0A2463; /* Use primary color as fallback background */
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

.page-register__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  color: #E0B000; /* Secondary brand color for emphasis */
}

.page-register__hero-description {
  font-size: 1.3rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-register__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-register__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-register__button--primary {
  background-color: #E0B000; /* Secondary brand color */
  color: #0A2463; /* Primary brand color for text */
  border: 2px solid #E0B000;
}

.page-register__button--primary:hover {
  background-color: #ffc400;
  border-color: #ffc400;
}

.page-register__button--secondary {
  background-color: transparent;
  color: #E0B000; /* Secondary brand color */
  border: 2px solid #E0B000;
}

.page-register__button--secondary:hover {
  background-color: #E0B000;
  color: #0A2463;
}

.page-register__button--large {
  padding: 18px 40px;
  font-size: 1.3rem;
}

.page-register__button--text-link {
  background: none;
  border: none;
  color: #0A2463;
  text-decoration: underline;
  padding: 0;
  font-size: 1rem;
}

.page-register__button--text-link:hover {
  color: #E0B000;
}

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

.page-register__value-section {
  background-color: #f9f9f9;
}

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

.page-register__value-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-register__value-item:hover {
  transform: translateY(-10px);
}

.page-register__value-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 200px; /* Minimum size for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__value-heading {
  font-size: 1.8rem;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-register__value-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555555;
}

.page-register__steps-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-register__steps-image {
  flex: 1 1 45%;
  width: 100%;
  max-width: 600px;
  height: auto;
  min-height: 200px; /* Minimum size for content images */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-register__steps-list {
  flex: 1 1 45%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
  padding-left: 60px;
}

.page-register__step-item:last-child {
  margin-bottom: 0;
}

.page-register__step-number {
  position: absolute;
  left: 0;
  top: 0;
  background-color: #0A2463; /* Primary brand color */
  color: #ffffff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.page-register__step-heading {
  font-size: 1.6rem;
  color: #0A2463;
  margin-bottom: 5px;
}

.page-register__step-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555555;
}

.page-register__conditions-section {
  background-color: #f9f9f9;
}

.page-register__conditions-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-register__conditions-content {
  flex: 1 1 45%;
}

.page-register__conditions-image {
  flex: 1 1 45%;
  width: 100%;
  max-width: 500px;
  height: auto;
  min-height: 200px; /* Minimum size for content images */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-register__conditions-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #555555;
}

.page-register__conditions-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #555555;
}

.page-register__conditions-item {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 25px;
  background-color: #0A2463; /* Primary brand color */
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover,
.page-register__faq-question[aria-expanded="true"] {
  background-color: #0d3680;
}

.page-register__faq-icon {
  display: block;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.page-register__faq-icon::before,
.page-register__faq-icon::after {
  content: '';
  position: absolute;
  background-color: #E0B000; /* Secondary brand color */
  transition: transform 0.3s ease;
}

.page-register__faq-icon::before {
  width: 100%;
  height: 2px;
  top: 9px;
  left: 0;
}

.page-register__faq-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 9px;
}

.page-register__faq-question[aria-expanded="true"] .page-register__faq-icon::after {
  transform: rotate(90deg) scaleX(0); /* Hide vertical bar when expanded */
}

.page-register__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #fcfcfc;
  color: #333333;
}

.page-register__faq-answer p {
  padding: 20px 0;
  margin: 0;
  line-height: 1.7;
  font-size: 1.05rem;
}

.page-register__faq-question[aria-expanded="true"] + .page-register__faq-answer {
  max-height: 300px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-register__cta-section {
  background: linear-gradient(135deg, #0A2463, #1f4f8f);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-register__cta-title {
  font-size: 2.8rem;
  color: #E0B000;
  margin-bottom: 20px;
}

.page-register__cta-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-register__hero-title {
    font-size: 2.8rem;
  }
  .page-register__hero-description {
    font-size: 1.1rem;
  }
  .page-register__section-title {
    font-size: 2rem;
  }
  .page-register__steps-wrapper,
  .page-register__conditions-wrapper {
    flex-direction: column;
  }
  .page-register__steps-image,
  .page-register__conditions-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 400px;
    padding: 60px 0;
  }
  .page-register__hero-title {
    font-size: 2.2rem;
  }
  .page-register__hero-description {
    font-size: 1rem;
  }
  .page-register__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-register__button--large {
    font-size: 1.1rem;
    padding: 15px 25px;
  }
  .page-register__section-title {
    font-size: 1.8rem;
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
  .page-register__steps-item,
  .page-register__conditions-item {
    padding-left: 50px;
  }
  .page-register__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  .page-register__step-heading {
    font-size: 1.4rem;
  }
  .page-register__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-register__faq-answer p {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-register__cta-title {
    font-size: 2.2rem;
  }
  .page-register__cta-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8rem;
  }
  .page-register__section-title {
    font-size: 1.5rem;
  }
  .page-register__hero-content {
    padding: 15px;
  }
  .page-register__hero-actions {
    gap: 10px;
  }
  .page-register__button {
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-register__value-item,
  .page-register__steps-item,
  .page-register__conditions-item,
  .page-register__faq-item {
    padding: 20px;
  }
  .page-register__faq-question {
    font-size: 1rem;
  }
  .page-register__cta-title {
    font-size: 1.8rem;
  }
}