.page-login {
  color: #333333; /* Default text color for light background */
  background-color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-login__hero-section {
  background-color: #0A2463; /* Main brand color */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

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

.page-login__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Accent color for title */
}

.page-login__description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__hero-image-wrapper {
  margin-bottom: 40px;
}

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

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

.page-login__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700; /* Accent color */
  color: #0A2463; /* Main color for text */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-login__cta-button--secondary {
  background-color: #ffffff;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-login__cta-button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #e6c200;
}

.page-login__form-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.page-login__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-login__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-login__login-card {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
  border-top: 5px solid #FFD700;
}

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

.page-login__form-group {
  display: flex;
  flex-direction: column;
}

.page-login__form-label {
  font-size: 1em;
  margin-bottom: 8px;
  color: #0A2463;
  font-weight: 600;
}

.page-login__form-input {
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-login__form-input:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25);
  outline: none;
}

.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;
  gap: 8px;
}

.page-login__forgot-password,
.page-login__register-link {
  color: #0A2463;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-login__submit-button {
  padding: 15px 25px;
  background-color: #0A2463;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-login__register-prompt {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95em;
}

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

.page-login__section-intro {
  text-align: center;
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.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: #f0f2f5;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #FFD700;
  transition: transform 0.3s ease;
}

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

.page-login__process-step-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-login__process-step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-login__security-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.page-login__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-login__security-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 5px solid #0A2463;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-login__security-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.page-login__security-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-login__security-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-login__security-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

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

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

.page-login__faq-item {
  background-color: #f0f2f5;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px 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.15em;
  font-weight: 600;
  color: #0A2463;
  cursor: pointer;
  background-color: #f0f2f5;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-item[open] .page-login__faq-question {
  background-color: #e5e7eb;
  border-bottom-color: #FFD700;
}

.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 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
}

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

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

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

  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__cta-button {
    width: 100%;
  }

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

  .page-login__login-card {
    padding: 30px;
  }

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

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

  .page-login__security-icon {
    width: 150px;
    height: 150px;
  }

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

  .page-login__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Ensure all images within .page-login are responsive and don't overflow */
  .page-login img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
}

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

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

  .page-login__login-card {
    padding: 20px;
  }
}