/* style/register.css */

/* Base styles for the register page */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #0a0a0a (dark), so text should be light */
  background-color: transparent; /* Inherit from body, which is #0a0a0a from shared.css */
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden; /* Ensure no overflow */
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it takes full width of its container */
  margin-bottom: 30px; /* Space between image and content */
  box-sizing: border-box;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-register__hero-content {
  max-width: 900px;
  width: 100%; /* Ensure it takes full width of its container */
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-register__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-register__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Light color for description on dark background */
}

/* General Section Styles */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-register__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-register__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #FFFFFF; /* White for sub-titles on dark background */
  margin-top: 30px;
  margin-bottom: 20px;
  border-bottom: 2px solid #26A9E0;
  padding-bottom: 10px;
}

.page-register__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: #e0e0e0; /* Slightly off-white for body text */
}

.page-register__list,
.page-register__numbered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-register__numbered-list {
  list-style-type: decimal;
}

.page-register__list li,
.page-register__numbered-list li {
  margin-bottom: 10px;
}

.page-register__nested-list {
  list-style-type: circle;
  margin-left: 20px;
  margin-top: 10px;
}

/* Image Grid/Display */
.page-register__image-grid {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.page-register__image-item {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

.page-register__btn-primary,
.page-register__btn-secondary,
.page-register a[class*="button"],
.page-register a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure buttons adapt to container width */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-register__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
  box-shadow: 0 5px 15px rgba(38, 169, 224, 0.4);
}

.page-register__btn-primary:hover {
  background-color: #1a8cc2;
  border-color: #1a8cc2;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(38, 169, 224, 0.6);
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-register__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(38, 169, 224, 0.6);
}

.page-register__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* FAQ Section */
.page-register__faq-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-register__faq-item summary {
  list-style: none; /* Hide default marker for details tag */
}
.page-register__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.1); /* Light brand color tint */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-register__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-left: 15px;
  line-height: 1;
}

.page-register__faq-answer {
  padding: 15px 20px 20px;
  font-size: 1em;
  color: #e0e0e0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: clamp(2em, 4.5vw, 3.2em);
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 10px 15px 40px;
  }
  .page-register__hero-content {
    padding: 0 15px;
  }
  .page-register__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em) !important; /* Mobile H1 font size override */
    line-height: 1.3 !important;
  }
  .page-register__hero-description {
    font-size: 0.95em;
  }
  .page-register__container {
    padding: 30px 15px;
  }
  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-register__sub-title {
    font-size: 1.3em;
  }
  .page-register__text-block,
  .page-register__list li,
  .page-register__numbered-list li,
  .page-register__faq-answer {
    font-size: 0.95em;
  }

  /* Images responsive */
  .page-register img {
    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__image-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Buttons responsive */
  .page-register__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important; /* Adjust padding for smaller screens */
    font-size: 1em !important;
  }

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

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: clamp(1.6em, 7vw, 2.5em) !important;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__sub-title {
    font-size: 1.2em;
  }
}