/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
}

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

.page-register__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: #26A9E0; /* Brand primary color for titles */
  margin-bottom: 40px;
  line-height: 1.2;
}

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

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background: #26A9E0; /* Primary brand color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-register__btn-primary:hover {
  background: #1e87b7;
  border-color: #1e87b7;
}

.page-register__btn-secondary {
  background: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-register__btn-secondary:hover {
  background: #f0f8ff;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* HERO SECTION */
.page-register__hero-section {
  padding-top: 10px; /* Small top padding, not --header-offset */
  background: linear-gradient(to bottom, #f0f8ff, #ffffff);
  margin-bottom: 60px;
}

.page-register__hero-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
}

.page-register__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.page-register__hero-text {
  text-align: center;
  max-width: 900px;
}

.page-register__main-title {
  font-size: clamp(32px, 5vw, 48px); /* Responsive font size */
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__description {
  font-size: 20px;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* STEPS SECTION */
.page-register__steps-section {
  margin-bottom: 80px;
}

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

.page-register__step-item {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-register__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.page-register__step-title {
  font-size: 24px;
  color: #333333;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__step-item p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

.page-register__step-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

/* BENEFITS SECTION */
.page-register__benefits-section {
  background: #26A9E0; /* Primary brand color background */
  padding: 80px 0;
  margin-bottom: 80px;
  color: #FFFFFF; /* White text for dark background */
}

.page-register__benefits-section .page-register__section-title {
  color: #FFFFFF;
}

.page-register__benefits-section .page-register__section-intro-text {
  color: #e0f2f7; /* Lighter text for intro on dark bg */
}

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

.page-register__benefit-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__benefit-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.page-register__benefit-card img {
  width: 100%;
  max-width: 400px; /* Max width for images in cards */
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-register__benefit-card .page-register__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-register__benefit-card p {
  font-size: 16px;
  color: #e0f2f7;
}

/* INFO SECTION */
.page-register__info-section {
  margin-bottom: 80px;
}

.page-register__content-area {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  color: #333333;
}

.page-register__content-area h3 {
  font-size: 28px;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-register__content-area p {
  margin-bottom: 20px;
}

.page-register__content-area ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-register__content-area li {
  margin-bottom: 10px;
}

.page-register__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

/* FAQ SECTION */
.page-register__faq-section {
  margin-bottom: 80px;
}

details.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-register__faq-item summary.page-register__faq-question::-webkit-details-marker {
  display: none;
}
details.page-register__faq-item summary.page-register__faq-question:hover {
  background: #f5f5f5;
}
.page-register__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #26A9E0; /* Brand color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-register__faq-item .page-register__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}
.page-register__faq-answer p {
  margin-bottom: 0;
}

/* CTA BOTTOM SECTION */
.page-register__cta-bottom-section {
  background: linear-gradient(to right, #26A9E0, #1e87b7);
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
}

.page-register__cta-bottom-section .page-register__section-title {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-register__cta-bottom-section p {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: #e0f2f7;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .page-register__container {
    padding: 0 15px;
  }
  .page-register__section-title {
    font-size: 32px;
  }
  .page-register__main-title {
    font-size: clamp(28px, 4vw, 42px);
  }
  .page-register__description {
    font-size: 18px;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-register__hero-section,
  .page-register__steps-section,
  .page-register__benefits-section,
  .page-register__info-section,
  .page-register__faq-section,
  .page-register__cta-bottom-section {
    margin-bottom: 60px;
  }
  .page-register__benefits-section,
  .page-register__cta-bottom-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  /* General */
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-register__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-register__section-intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* HERO Section */
  .page-register__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    margin-bottom: 40px;
  }
  .page-register__hero-content-wrapper {
    padding: 15px;
  }
}