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

.page-login__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-login__hero-container {
  position: relative;
  width: 100%;
  height: auto;
}

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-login__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  padding: 20px;
  background: rgba(26, 32, 44, 0.7); /* Semi-transparent dark blue overlay */
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
}

.page-login__main-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold accent for title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-login__description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-login__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A202C; /* Dark text on gold */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-login__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-login__form-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  text-align: center;
}

.page-login__form-container {
  max-width: 500px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-login__form-title {
  font-size: 2em;
  color: #1A202C;
  margin-bottom: 30px;
}

.page-login__form-group {
  margin-bottom: 20px;
  text-align: left;
}

.page-login__form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #1A202C;
}

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__forgot-password {
  display: block;
  text-align: right;
  margin-top: -10px;
  margin-bottom: 20px;
  color: #1A202C;
  text-decoration: none;
  font-size: 0.95em;
}

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

.page-login__submit-button {
  background-color: #1A202C; /* Dark blue button */
  border: none;
  width: 100%;
  padding: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-login__submit-button:hover {
  background-color: #3a475d;
}

.page-login__submit-link {
  display: block;
  color: #ffffff; /* White text on dark blue */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  padding: 15px 0;
}

.page-login__register-text {
  margin-top: 20px;
  color: #555;
}

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

.page-login__register-link:hover {
  text-decoration: underline;
}

.page-login__explanation-section,
.page-login__process-section,
.page-login__security-section,
.page-login__faq-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.page-login__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.page-login__section-title {
  font-size: 2.2em;
  color: #1A202C;
  text-align: center;
  margin-bottom: 40px;
}

.page-login__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__explanation-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-login__process-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-login__process-step-title {
  font-size: 1.4em;
  color: #FFD700; /* Gold accent */
  margin-bottom: 10px;
}

.page-login__process-step-description {
  font-size: 1em;
  color: #555;
}

.page-login__security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-login__security-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-login__security-item:last-child {
  margin-bottom: 0;
}

.page-login__security-tip-title {
  font-size: 1.3em;
  color: #1A202C;
  margin-bottom: 8px;
}

.page-login__security-tip-description {
  font-size: 0.95em;
  color: #666;
}

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

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

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

.page-login__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-login__faq-question.active::after {
  content: '-';
  transform: rotate(0deg);
}

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

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

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

.page-login__cta-section {
  background-color: #1A202C; /* Dark blue background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-login__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-login__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-login__hero-content {
    padding: 15px;
  }

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

  .page-login__description {
    font-size: 1em;
  }

  .page-login__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-login__security-grid {
    grid-template-columns: 1fr;
  }

  .page-login__security-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-login__hero-content {
    width: 95%;
  }

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

  .page-login__description {
    font-size: 0.95em;
  }

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

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

  .page-login__explanation-section,
  .page-login__process-section,
  .page-login__security-section,
  .page-login__faq-section,
  .page-login__form-section,
  .page-login__cta-section {
    padding: 40px 15px;
  }

  .page-login__hero-section .page-login__hero-image,
  .page-login__explanation-section .page-login__explanation-image,
  .page-login__security-section .page-login__security-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all content images within .page-login do not overflow */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-login__description {
    font-size: 0.9em;
  }

  .page-login__form-title {
    font-size: 1.6em;
  }

  .page-login__process-list {
    grid-template-columns: 1fr;
  }

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

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