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

.page-login__hero-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  background-color: #003366; /* Main brand color for hero background */
  color: #ffffff;
  overflow: hidden; /* Ensure image doesn't overflow */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Blend with background color */
  z-index: 0;
}

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

.page-login__main-heading {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for main heading */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-login__button--primary {
  background-color: #FFD700;
  color: #003366;
}

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

.page-login__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

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

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

.page-login__section {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-login__section-heading {
  font-size: 2em;
  color: #003366;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.page-login__section-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  text-align: center;
}

.page-login__form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.05);
}

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

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

.page-login__form-input {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.page-login__form-input:focus {
  border-color: #FFD700;
  outline: none;
}

.page-login__form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.page-login__button--submit {
  background-color: #003366;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-grow: 1;
}

.page-login__button--submit:hover {
  background-color: #002244;
}

.page-login__link {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__link:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-login__no-account-text {
  text-align: center;
  margin-top: 25px;
  font-size: 0.95em;
  color: #555555;
}

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

.page-login__process-item {
  background-color: #f0f8ff;
  border: 1px solid #e0eaf5;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

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

.page-login__process-image {
  width: 100%; /* Ensure images are responsive within their grid item */
  max-width: 400px; /* Limit max width to prevent overflow on larger screens */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-login__process-title {
  font-size: 1.4em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-login__process-text {
  font-size: 0.95em;
  color: #666666;
}

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

.page-login__security-item {
  background-color: #fdfdfd;
  border-left: 5px solid #003366;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-login__security-title {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-login__security-text {
  font-size: 0.95em;
  color: #555555;
}

.page-login__security-footer-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1em;
  color: #555555;
}

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

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

.page-login__faq-question {
  display: block;
  padding: 18px 25px;
  font-size: 1.15em;
  color: #003366;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  background-color: #e6f0f9;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-toggle {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

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

.page-login__call-to-action-section {
  background-color: #003366;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin: 60px auto;
  max-width: 1200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.page-login__call-to-action-heading {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-login__call-to-action-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__cta-image {
  width: 100%;
  max-width: 800px; /* Adjust based on desired display size */
  height: auto;
  margin-top: 30px;
  border-radius: 8px;
  object-fit: cover;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-login__main-heading {
    font-size: 2.2em;
  }

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

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

  .page-login__process-list, .page-login__security-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding: 60px 15px;
  }

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

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

  .page-login__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__button {
    width: 100%;
    max-width: 300px;
  }

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

  .page-login__section {
    padding: 30px 20px;
  }

  .page-login__section-heading {
    font-size: 1.6em;
  }

  .page-login__form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-login__button--submit {
    width: 100%;
  }

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

  .page-login__process-image, .page-login__cta-image {
    max-width: 100%; /* Ensure content images are responsive on mobile */
    height: auto;
  }

  .page-login__call-to-action-heading {
    font-size: 2em;
  }

  .page-login__call-to-action-description {
    font-size: 1em;
  }

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

  .page-login__faq-toggle {
    right: 20px;
  }
}

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

  .page-login__hero-section {
    padding: 40px 10px;
  }

  .page-login__section {
    padding: 25px 15px;
  }

  .page-login__section-heading {
    font-size: 1.4em;
  }

  .page-login__form-wrapper {
    padding: 20px;
  }
}

/* Ensure all images within .page-login are responsive and not smaller than 200px where applicable */
.page-login img {
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
  object-fit: cover;
}

.page-login__hero-image {
  min-width: unset; /* Hero image can be smaller than 200px if it's a background effect */
  min-height: unset;
}

/* Override min-width/height for specific images that are decorative and smaller, if necessary, but generally avoid */
/* Example: If you had tiny decorative icons, you'd override them here, but the rule states NO small icons */
/* This implies all images in content are >= 200px */