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

.page-login__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 0;
}

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

.page-login__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-login__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Additional overlay for text contrast */
}

.page-login__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold accent for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  max-width: 900px;
}

.page-login__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
}

.page-login__cta-button {
  display: inline-block;
  background-color: #DC143C; /* Deep red for CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-login__cta-button:hover {
  background-color: #ff4d6a;
  transform: translateY(-2px);
}

.page-login__form-section,
.page-login__process-section,
.page-login__security-section,
.page-login__faq-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-login__section-title {
  font-size: 2.5em;
  color: #0A2342; /* Main brand color for section titles */
  text-align: center;
  margin-bottom: 20px;
}

.page-login__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__form-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f9f9f9;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__submit-button {
  width: 100%;
  background-color: #FFD700; /* Gold accent for submit button */
  color: #0A2342;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}

.page-login__submit-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-login__form-links {
  text-align: center;
  margin-top: 20px;
}

.page-login__forgot-password,
.page-login__register-link {
  color: #0A2342;
  text-decoration: none;
  margin: 0 10px;
  font-size: 0.95em;
}

.page-login__forgot-password:hover,
.page-login__register-link:hover {
  text-decoration: underline;
  color: #DC143C;
}

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

.page-login__process-item {
  background-color: #f0f8ff;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__process-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-login__process-heading {
  font-size: 1.5em;
  color: #0A2342;
  margin-bottom: 10px;
}

.page-login__process-text {
  color: #666666;
}

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

.page-login__security-item {
  background-color: #fdfae6;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__security-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-login__security-heading {
  font-size: 1.4em;
  color: #0A2342;
  margin-bottom: 10px;
}

.page-login__security-text {
  color: #666666;
}

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

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

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

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

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-login__faq-answer {
  padding: 15px 25px;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  color: #555555;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.8em;
  }
  .page-login__hero-description {
    font-size: 1.1em;
  }
  .page-login__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-login__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-login__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-login__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__section-description {
    font-size: 0.95em;
  }
  .page-login__form-container {
    padding: 20px;
  }
  .page-login__submit-button {
    font-size: 1.1em;
  }
  .page-login__form-links {
    flex-direction: column;
  }
  .page-login__forgot-password,
  .page-login__register-link {
    margin: 5px 0;
  }
  .page-login__process-list,
  .page-login__security-list {
    grid-template-columns: 1fr;
  }
  .page-login__hero-image,
  .page-login__process-image,
  .page-login__security-icon {
    max-width: 100%;
    height: auto;
  }
  .page-login__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-login__faq-answer {
    padding: 10px 20px;
  }
  /* Content area images must not overflow */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__hero-description {
    font-size: 0.9em;
  }
  .page-login__cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-login__section-title {
    font-size: 1.6em;
  }
}