/* style/register.css */
.page-register {
  color: #333333; /* Dark text for light body background #f4f4f4 */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-register__section-title {
  font-size: 2.5em;
  color: #1A2E40; /* Dark blue main color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-register__hero-section {
  background: linear-gradient(135deg, #1A2E40 0%, #0c1a26 100%);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-register__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-register__hero-content {
  max-width: 800px;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold accent */
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-register__hero-button,
.page-register__button {
  display: inline-block;
  background-color: #FFD700; /* Gold accent */
  color: #1A2E40; /* Dark blue text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-register__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

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

.page-register__value-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.page-register__value-text {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-register__value-image {
  flex: 1;
  text-align: center;
}

.page-register__value-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

.page-register__steps-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse; /* Image on left, steps on right */
}

.page-register__steps-image {
  flex: 1;
  text-align: center;
}

.page-register__steps-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

.page-register__step-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

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

.page-register__step-title {
  font-size: 1.4em;
  color: #1A2E40;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-register__step-description {
  font-size: 1em;
  color: #555555;
}

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

.page-register__conditions-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.page-register__conditions-intro {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-register__conditions-list {
  list-style: disc inside;
  margin-bottom: 30px;
  padding-left: 20px;
}

.page-register__condition-item {
  margin-bottom: 10px;
  font-size: 1em;
  color: #555555;
}

.page-register__condition-item strong {
  color: #1A2E40;
}

.page-register__conditions-image {
  flex: 1;
  text-align: center;
}

.page-register__conditions-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 25px;
  background-color: #1A2E40; /* Dark blue for question background */
  color: #ffffff; /* White text */
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

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

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

.page-register__faq-question[aria-expanded="true"] .page-register__faq-icon {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-register__faq-answer p {
  padding-bottom: 20px;
  margin: 0;
  color: #555555;
}

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

.page-register__cta-section {
  background-color: #1A2E40; /* Dark blue background */
  color: #ffffff;
  text-align: center;
  padding: 60px 0;
}

.page-register__cta-text {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #FFD700; /* Gold accent */
}

.page-register__button--primary {
  background-color: #FFD700;
  color: #1A2E40;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__value-grid,
  .page-register__steps-grid,
  .page-register__conditions-grid {
    flex-direction: column;
  }
  .page-register__steps-grid {
    flex-direction: column;
  }
  .page-register__hero-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description,
  .page-register__value-text,
  .page-register__conditions-intro,
  .page-register__cta-text {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__hero-section,
  .page-register__value-section,
  .page-register__steps-section,
  .page-register__conditions-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 40px 0;
  }
  .page-register__hero-image img,
  .page-register__value-image img,
  .page-register__steps-image img,
  .page-register__conditions-image img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }
  .page-register__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer p {
    padding-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__hero-button,
  .page-register__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__hero-container,
  .page-register__value-grid,
  .page-register__steps-grid,
  .page-register__conditions-grid {
    gap: 20px;
  }
  .page-register__step-item {
    padding: 20px;
  }
  .page-register__step-title {
    font-size: 1.2em;
  }
}