.page-login {
  color: #333333; /* Dark text for light body background */
  background-color: #f4f4f4;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-login__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
  text-align: center;
  color: #ffffff; /* Light text on dark/rich background */
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-login__hero-container {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-login__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #F3C500; /* Gold accent for title */
  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-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-login__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  min-width: 200px;
  text-align: center;
}

.page-login__button--primary {
  background-color: #F3C500; /* Gold accent */
  color: #0A246A; /* Dark blue text */
}

.page-login__button--primary:hover {
  background-color: #e0b400;
  transform: translateY(-2px);
}

.page-login__button--secondary {
  background-color: #0A246A; /* Dark blue */
  color: #F3C500; /* Gold accent text */
  border: 2px solid #F3C500;
}

.page-login__button--secondary:hover {
  background-color: #071c4c;
  transform: translateY(-2px);
}

.page-login__section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__section-title {
  font-size: 2.2em;
  color: #0A246A; /* Dark blue */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-login__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #F3C500;
  border-radius: 2px;
}

.page-login__content-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.page-login__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-login__image {
  flex: 1;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure images are not too small */
  height: auto;
}

.page-login__image--left {
  margin-right: 20px;
}

.page-login__image--right {
  margin-left: 20px;
}

.page-login__text {
  flex: 1;
  font-size: 1.1em;
  color: #555555;
}

.page-login__process-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-login__process-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

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

.page-login__process-step-title {
  font-size: 1.4em;
  color: #0A246A;
  margin-bottom: 10px;
}

.page-login__action-center {
  text-align: center;
  margin-top: 40px;
}

.page-login__security-list {
  list-style: none;
  padding: 0;
  flex: 1;
}

.page-login__security-item {
  background-color: #f9f9f9;
  border-left: 5px solid #F3C500;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-login__security-heading {
  font-size: 1.3em;
  color: #0A246A;
  margin-bottom: 8px;
}

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

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

.page-login__faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #0A246A; /* Dark blue background for questions */
  color: #ffffff;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-question-text {
  flex-grow: 1;
}

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

.page-login__faq-question.active .page-login__faq-icon {
  transform: rotate(45deg);
}

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

.page-login__faq-answer.open {
  max-height: 200px; /* Adjust based on expected content height */
  padding: 20px 25px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-login__hero-title {
    font-size: 2.2em;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-login__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-login__image--left,
  .page-login__image--right {
    margin: 0 0 20px 0;
  }
  .page-login__image {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    min-height: 400px;
  }
  .page-login__hero-title {
    font-size: 1.8em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: unset;
    width: 100%;
  }
  .page-login__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__section {
    margin: 20px auto;
    padding: 20px;
  }
  .page-login__section-title {
    font-size: 1.6em;
  }
  .page-login__process-item,
  .page-login__security-item {
    padding: 15px;
  }
  .page-login__process-step-title,
  .page-login__security-heading {
    font-size: 1.2em;
  }
  .page-login__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-login__faq-answer.open {
    padding: 15px 20px;
  }
  /* Ensure content images are responsive and don't overflow */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
  /* Specific rule for content images to prevent small sizes */
  .page-login__image {
    min-width: 200px; /* Still enforce minimum size even on mobile if possible */
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 1.5em;
  }
  .page-login__hero-container {
    padding: 20px 15px;
  }
  .page-login__section-title {
    font-size: 1.4em;
  }
  .page-login__faq-question {
    font-size: 0.95em;
  }
  .page-login__text {
    font-size: 1em;
  }
}