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

.page-login__hero-section {
  background-color: #0A2E36; /* Dark background for hero */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-login__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-login__hero-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-login__login-form-wrapper {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  max-width: 400px;
  margin: 0 auto 40px auto;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-login__login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-login__form-group {
  text-align: left;
}

.page-login__label {
  display: block;
  margin-bottom: 8px;
  color: #FFD700;
  font-weight: bold;
}

.page-login__input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  background-color: #0A2E36;
  color: #ffffff;
  font-size: 1em;
}

.page-login__input::placeholder {
  color: #cccccc;
}

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
}

.page-login__remember-me {
  display: flex;
  align-items: center;
  color: #f0f0f0;
}

.page-login__checkbox {
  margin-right: 8px;
}

.page-login__forgot-password {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  color: #e6c200;
}

.page-login__login-button,
.page-login__cta-button,
.page-login__final-login-button {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: #FFD700;
  color: #0A2E36;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-login__login-button:hover,
.page-login__cta-button:hover,
.page-login__final-login-button:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-login__register-prompt {
  margin-top: 20px;
  color: #f0f0f0;
  font-size: 0.95em;
}

.page-login__register-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__register-link:hover {
  color: #e6c200;
}

.page-login__hero-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

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

.page-login__section-title {
  font-size: 2.5em;
  color: #0A2E36;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-login__section-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-login__image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 40px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-login__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-login__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 600px;
}

.page-login__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 600px;
}

.page-login__image--bottom {
  margin-top: 60px;
}

.page-login__process-list,
.page-login__security-list,
.page-login__why-choose-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-login__list-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-login__list-title {
  font-size: 1.5em;
  color: #0A2E36;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__list-item p {
  font-size: 1em;
  color: #555555;
}

.page-login__process-list .page-login__list-item:nth-child(odd) {
  background-color: #ffffff;
}

.page-login__process-list .page-login__list-item:nth-child(even) {
  background-color: #f0f5f6;
}

.page-login__faq-section {
  background-color: #f0f5f6;
  padding: 80px 20px;
}

.page-login__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-login__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #0A2E36;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-toggle {
  font-size: 1.5em;
  color: #FFD700;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  transform: rotate(45deg);
}

.page-login__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #555555;
}

.page-login__final-cta {
  background-color: #0A2E36;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-login__final-cta .page-login__section-title {
  color: #FFD700;
}

.page-login__final-cta .page-login__section-paragraph {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: 2.8em;
  }

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

  .page-login__image--right,
  .page-login__image--left {
    float: none;
    margin: 30px auto;
    width: 100%;
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding-top: var(--header-offset, 80px);
  }

  .page-login__hero-title {
    font-size: 2.2em;
  }

  .page-login__hero-description {
    font-size: 1em;
  }

  .page-login__login-form-wrapper {
    padding: 30px 20px;
  }

  .page-login__login-button,
  .page-login__cta-button,
  .page-login__final-login-button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-login__section-title {
    font-size: 1.8em;
  }

  .page-login__section-paragraph {
    font-size: 0.95em;
  }

  .page-login__list-title {
    font-size: 1.3em;
  }

  .page-login__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-login__image {
    max-width: 100%;
    height: auto; /* Ensures image scales proportionally */
  }

  .page-login__content-area {
    padding: 40px 15px;
  }

  /* Enforce minimum image size for content area */
  .page-login img {
    min-width: 200px;
    min-height: 200px;
  }

  .page-login__image--right, .page-login__image--left {
    margin-left: auto;
    margin-right: auto;
  }

  .page-login__hero-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 1.8em;
  }

  .page-login__hero-description {
    font-size: 0.9em;
  }

  .page-login__section-title {
    font-size: 1.5em;
  }

  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-login__forgot-password {
    align-self: flex-end;
  }
}