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

.page-login__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-login__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px; /* Max width for the hero content container */
  margin: 0 auto;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7; /* Slightly dim the background image for text readability */
}

.page-login__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-login__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-login__hero-button {
  display: inline-block;
  padding: 15px 30px;
  margin: 0 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 200px; /* Ensure button is large enough */
  font-size: 1.1em;
}

.page-login__hero-button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-login__hero-button--login:hover {
  background-color: #e0a73d;
}

.page-login__hero-button--register {
  background-color: #FFFFFF; /* Register color */
  color: #000000;
  border: 1px solid #FCBC45;
}

.page-login__hero-button--register:hover {
  background-color: #f0f0f0;
}

.page-login__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-login__section {
  margin-bottom: 60px;
  padding: 40px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.page-login__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 25px;
  text-align: center;
}

.page-login__section-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Max width for content images */
  margin: 20px auto 30px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-login__section-image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 50%; /* Adjust for floating image */
}

.page-login__section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-login__process-list {
  list-style-type: decimal;
  padding-left: 40px;
  margin-bottom: 30px;
}

.page-login__process-item {
  margin-bottom: 25px;
}

.page-login__process-step-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
}

.page-login__process-item p {
  font-size: 1.05em;
  color: #444444;
}

.page-login__process-cta-button, .page-login__security-cta-button, .page-login__faq-cta-button, .page-login__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  padding: 15px 40px;
  background-color: #FCBC45;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-login__process-cta-button:hover, .page-login__security-cta-button:hover, .page-login__faq-cta-button:hover, .page-login__cta-button:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

.page-login__security-tips {
  list-style-type: none;
  padding: 0;
}

.page-login__tip-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-login__tip-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-login__tip-item p {
  color: #444444;
}

.page-login__faq-list {
  margin-top: 30px;
}

.page-login__faq-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
}

.page-login__faq-question {
  background-color: #f5f5f5;
  color: #000000;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #eaeaea;
}

.page-login__faq-question:focus {
  outline: none;
  box-shadow: 0 0 0 2px #FCBC45;
}

.page-login__faq-icon {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-login__faq-question[aria-expanded="true"] .page-login__faq-icon {
  transform: rotate(180deg);
}

.page-login__faq-answer {
  padding: 0 25px;
  background-color: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-login__faq-answer--visible {
  max-height: 500px; /* Adjust as needed for content length */
  padding: 15px 25px 25px 25px;
}

.page-login__faq-answer p {
  margin-bottom: 0;
  color: #444444;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: 2.8em;
  }
  .page-login__hero-description {
    font-size: 1.1em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__section-image--right {
    float: none;
    margin: 20px auto 30px auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-login__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-login__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-login__hero-button {
    padding: 12px 25px;
    margin: 0 5px 15px 5px;
    min-width: 150px;
    font-size: 1em;
  }
  .page-login__section {
    padding: 25px;
    margin-bottom: 40px;
  }
  .page-login__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-login__section p {
    font-size: 1em;
  }
  .page-login__process-list {
    padding-left: 20px;
  }
  .page-login__process-step-title {
    font-size: 1.4em;
  }
  .page-login__tip-title {
    font-size: 1.3em;
  }
  .page-login__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-login__faq-answer--visible {
    padding: 10px 20px 20px 20px;
  }
  .page-login__hero-section .page-login__hero-image, .page-login__content-area img, .page-login__section-image {
    max-width: 100%;
    height: auto;
  }
  .page-login__content-area {
    padding: 20px 15px;
  }
  .page-login {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 1.8em;
  }
  .page-login__hero-description {
    font-size: 0.9em;
  }
  .page-login__hero-button {
    display: block;
    margin: 10px auto;
  }
  .page-login__section-title {
    font-size: 1.6em;
  }
  .page-login__process-step-title {
    font-size: 1.2em;
  }
  .page-login__tip-title {
    font-size: 1.1em;
  }
  .page-login__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-login__process-cta-button, .page-login__security-cta-button, .page-login__faq-cta-button, .page-login__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}