/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  color: #333333; /* Default dark text for light background */
  background-color: #f8f8f8; /* Light background for the page */
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Fixed header spacing */
.page-register__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-register__section-title {
  font-size: 3em;
  color: #000080; /* Auxiliary color for main titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  background-color: #000080; /* Dark blue background */
  color: #ffffff;
  padding: 80px 20px;
  overflow: hidden;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 1;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 10px;
  box-sizing: border-box;
  text-align: center;
}

.page-register__btn-primary {
  background-color: #FFD700;
  color: #000080; /* Dark blue text on gold button */
  border: 2px solid #FFD700;
}

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

.page-register__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

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

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

.page-register__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-register__guide-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-register__guide-step-title {
  font-size: 1.5em;
  color: #000080;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-register__guide-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 60px auto 0 auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Requirements Section */
.page-register__requirements-section {
  padding: 80px 0;
  background-color: #000080; /* Dark blue background */
  color: #ffffff;
}

.page-register__requirements-section .page-register__section-title {
  color: #FFD700; /* Gold title on dark background */
}

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

.page-register__requirements-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__requirements-item-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__requirements-item-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

.page-register__promo-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-register__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-register__promo-card-title {
  font-size: 1.4em;
  color: #000080;
  margin-bottom: 10px;
  padding: 0 20px;
  font-weight: bold;
}

.page-register__promo-card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 30px;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #000080;
  color: #ffffff;
}

.page-register__security-section .page-register__section-title {
  color: #FFD700;
}

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

.page-register__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__security-icon {
  width: 300px; /* Minimum width > 200px */
  height: 225px; /* Minimum height > 200px */
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-register__security-item-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__security-item-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000080;
  cursor: pointer;
  background-color: #e0e0e0;
  border-bottom: 1px solid #d0d0d0;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-question h3 {
  margin: 0;
  flex-grow: 1;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

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

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-register__faq-answer p {
  margin: 0;
}

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

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

.page-register__cta-section .page-register__section-intro {
  color: #f0f0f0;
}

/* General image styling to prevent filters */
.page-register img {
  filter: none !important; /* Absolutely no filters */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Apply header offset for mobile hero */
  }

  .page-register__hero-title {
    font-size: 2.5em;
  }

  .page-register__hero-description {
    font-size: 1.1em;
  }

  .page-register__section-title {
    font-size: 2em;
  }

  .page-register__section-intro {
    font-size: 1em;
  }

  .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;
    margin: 10px 0 !important; /* Stack buttons vertically */
  }

  .page-register__cta-section .page-register__btn-primary,
  .page-register__cta-section .page-register__btn-secondary {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__guide-steps,
  .page-register__requirements-list,
  .page-register__promo-cards,
  .page-register__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-register__guide-item,
  .page-register__requirements-item,
  .page-register__promo-card,
  .page-register__security-item {
    padding: 25px;
  }

  .page-register__promo-image {
    height: 200px; /* Adjust for smaller screens */
  }

  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-register__container,
  .page-register__hero-section,
  .page-register__guide-section,
  .page-register__requirements-section,
  .page-register__promotions-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__cta-section,
  .page-register__promo-card,
  .page-register__guide-item,
  .page-register__requirements-item,
  .page-register__security-item,
  .page-register__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-register__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__btn-primary,
  .page-register__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}