/* style/register.css */

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

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

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

/* Descriptions */
.page-register__description,
.page-register__description-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box; /* Ensure padding doesn't push width */
  text-align: center;
}

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

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

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

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

.page-register__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 15px;
}

.page-register__btn-text:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  padding: 60px 0;
  background-color: #f8f8f8; /* Light background for hero */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
}

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-register__hero-content {
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.page-register__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: 800;
  color: #000000; /* Darker for contrast */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__hero-content .page-register__description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
}

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.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: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease;
  min-height: 250px; /* Minimum height to prevent small icons */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
}

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

.page-register__card-text {
  font-size: 1em;
  color: #555555;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark background */
  color: #ffffff; /* White text for dark background */
}

.page-register__guide-section .page-register__section-title {
  color: #ffffff; /* White title for dark background */
}

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

.page-register__guide-steps {
  flex: 1;
  min-width: 300px;
}

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 5px solid #ffffff;
}

.page-register__step-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-register__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-register__guide-image {
  flex: 1;
  min-width: 400px;
  max-width: 600px; /* Limit image width */
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

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

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

.page-register__promotion-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease;
  min-height: 400px; /* Ensure sufficient height for content and image */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribute content */
}

.page-register__promotion-card:hover {
  transform: translateY(-5px);
}

.page-register__promotion-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__promotion-card .page-register__card-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-top: 10px;
  margin-bottom: 15px;
}

.page-register__promotion-card .page-register__card-text {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1; /* Allow text to take available space */
}

.page-register__cta-full-promotions {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #ffffff; /* White text for dark background */
}

.page-register__faq-section .page-register__section-title {
  color: #ffffff;
}

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

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-register__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-register__faq-item[open] .page-register__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-register__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register__faq-qtext {
  flex-grow: 1;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
}

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

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

.page-register__cta-section .page-register__section-title {
  color: #26A9E0;
}

.page-register__cta-section .page-register__description-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
}

.page-register__cta-section .page-register__cta-buttons {
  margin-bottom: 40px;
}

.page-register__cta-image {
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Image responsive overrides - MUST BE PRESENT */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content area image CSS size lower bound (e.g., 200px) */
.page-register img {
  min-width: 200px; /* Ensure content images are not tiny */
  min-height: 200px;
  object-fit: cover; /* Maintain aspect ratio */
}

/* Specific overrides for small images, if any, to ensure minimum size */
/* For example, if there were small icons, they would need min-width/height */
/* but the prompt explicitly forbids small icons, so this serves as a safeguard */
.page-register__benefit-card img,
.page-register__promotion-card img {
    min-width: 200px;
    min-
    object-fit: cover;
}


/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__description,
  .page-register__description-text {
    font-size: 1em;
  }
  .page-register__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-register__hero-content .page-register__description {
    font-size: 1.1em;
  }
  .page-register__guide-content {
    flex-direction: column;
    text-align: center;
  }
  .page-register__guide-image {
    order: -1; /* Image above text on smaller screens for guide */
    margin-bottom: 30px;
  }
  .page-register__guide-steps {
    width: 100%;
  }
  .page-register__step-item {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-register__container {
    padding: 0 15px !important;
  }
  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-register__description,
  .page-register__description-text {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-register__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
  }
  .page-register__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-register__hero-image {
    margin-bottom: 30px;
  }
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Images responsive adaptation - MUST HAVE !important */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/videos/buttons must have these properties */
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__cta-section,
  .page-register__cta-buttons,
  .page-register__guide-content,
  .page-register__benefits-grid,
  .page-register__promotions-grid,
  .page-register__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are handled by .page-register__container */
  }

  .page-register__video-section {
    padding-top: 10px !important;
  }

  .page-register__benefit-card,
  .page-register__promotion-card {
    padding: 20px;
    min-height: unset; /* Allow height to adjust */
  }

  .page-register__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__main-title {
    font-size: clamp(1.4em, 7vw, 2em);
  }
  .page-register__hero-section {
    padding: 30px 0;
    padding-top: 10px !important;
  }
  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__promotions-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 50px 0;
  }
}

/* Ensure no filter is used on images */
.page-register img {
  filter: none !important;
}