/* style/register.css */

/* Base styles for the register page */
.page-register {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Inherited from body, explicit for clarity */
}

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

.page-register__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
  color: #ffffff;
  background-color: #26A9E0;
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of the image wrapper */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-register__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.page-register__hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffffff;
}

.page-register__hero-description {
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: 40px;
  line-height: 1.5;
  color: #ffffff;
}

/* Buttons */
.page-register__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-register__cta-buttons--center {
  justify-content: center;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-register__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc4;
  border-color: #1a8cc4;
}

/* Advantages Section */
.page-register__advantages-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-register__advantage-item {
  text-align: center;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__advantage-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__advantage-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__advantage-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-register__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 50px;
}

.page-register__guide-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-register__step-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-register__step-text {
  font-size: 17px;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 30px;
}

.page-register__step-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__info-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 600px;
  text-align: left;
}

.page-register__info-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.5;
}

.page-register__list-label {
  font-weight: 700;
  color: #26A9E0;
}

/* Notes Section */
.page-register__notes-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-register__notes-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-register__note-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-register__note-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__note-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-register__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-register__promotion-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-register__card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 20px 10px 20px;
  color: #26A9E0;
}

.page-register__card-text {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-register__promotion-card .page-register__cta-button {
  margin: 0 20px 20px 20px;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-register__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #333333;
  list-style: none; /* For details/summary */
}

.page-register__faq-question::-webkit-details-marker {
  display: none;
}

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-left: 15px;
}

.page-register__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
}

/* Final CTA Section */
.page-register__final-cta-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

/* Dark background for sections */
.page-register__dark-bg .page-register__section-title,
.page-register__dark-bg .page-register__section-description {
  color: #ffffff;
}

/* Light background for sections */
.page-register__light-bg .page-register__section-title,
.page-register__light-bg .page-register__section-description {
  color: #333333;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-register__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
  }
  .page-register__section-title {
    font-size: clamp(24px, 3.5vw, 40px);
  }
}

@media (max-width: 768px) {
  .page-register__container {
    padding: 0 15px;
  }

  .page-register__hero-section {
    min-height: 450px;
    padding: 10px 15px 40px 15px;
  }

  .page-register__hero-image-wrapper {
    max-height: 400px;
  }

  .page-register__hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-register__hero-description {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 30px;
  }

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__cta-button {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-register__advantages-grid,
  .page-register__promotion-cards,
  .page-register__notes-list {
    grid-template-columns: 1fr;
  }

  .page-register__advantages-section,
  .page-register__guide-section,
  .page-register__notes-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding: 50px 0;
  }

  .page-register__section-description {
    margin-bottom: 30px;
  }

  .page-register__step-title {
    font-size: 24px;
  }

  .page-register__info-list {
    margin: 20px auto;
  }

  .page-register__faq-question {
    font-size: 16px;
    padding: 15px;
  }

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

  /* Mobile image, video, button adaptation */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-image-wrapper,
  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper,
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  .page-register__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-register__video-section {
    padding-top: 10px !important;
  }
}