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

.page-login__hero-section {
  position: relative;
  background-color: #1A2E40; /* Main brand color for hero background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-login__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Accent color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__hero-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

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

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

.page-login__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
  overflow: hidden;
}

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

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

.page-login__login-form-section {
  position: relative;
  overflow: hidden;
}

.page-login__form-container {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: #fcfcfc;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.page-login__form-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.1;
}

.page-login__form-title,
.page-login__process-title,
.page-login__security-title,
.page-login__faq-title,
.page-login__cta-title {
  font-size: 2.5em;
  color: #1A2E40; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 30px;
}

.page-login__form-intro,
.page-login__process-intro,
.page-login__security-intro,
.page-login__faq-intro,
.page-login__cta-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

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

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

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

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

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

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

.page-login__login-button {
  background-color: #FFD700; /* Accent color for login button */
  color: #1A2E40;
  padding: 15px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-login__register-prompt {
  text-align: center;
  margin-top: 20px;
  font-size: 1em;
  color: #555555;
}

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

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

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

.page-login__process-item,
.page-login__security-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FFD700; /* Accent color for list item border */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.page-login__process-item h3,
.page-login__security-item h3 {
  color: #1A2E40;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-login__process-item p,
.page-login__security-item p {
  color: #666666;
  font-size: 0.95em;
}

.page-login__security-image {
  width: 800px;
  height: 600px;
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

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

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

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

.page-login__faq-question-button:hover {
  background-color: #2e4a64;
}

.page-login__faq-question-button[aria-expanded="true"] {
  background-color: #FFD700; /* Accent color when expanded */
  color: #1A2E40;
}

.page-login__faq-arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ffffff;
  transition: transform 0.3s ease;
}

.page-login__faq-question-button[aria-expanded="true"] .page-login__faq-arrow {
  border-top-color: #1A2E40;
  transform: rotate(180deg);
}

.page-login__faq-answer {
  padding: 0 25px;
  background-color: #ffffff;
  color: #666666;
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-login__faq-answer[hidden] {
  display: none;
}

.page-login__faq-answer.page-login__faq-answer--expanded {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-login__faq-image {
  width: 800px;
  height: 600px;
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.page-login__cta-section {
  text-align: center;
  background-color: #1A2E40; /* Main brand color for CTA background */
  color: #ffffff;
  padding: 60px 20px;
  margin-bottom: 0; /* Remove bottom margin for CTA before footer */
}

.page-login__cta-title {
  color: #FFD700; /* Accent color for CTA title */
}

.page-login__cta-description {
  color: #e0e0e0;
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-login__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for CTA button */
  color: #1A2E40;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-login__cta-image {
  width: 1200px;
  height: 675px;
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: 2.8em;
  }
  .page-login__form-title,
  .page-login__process-title,
  .page-login__security-title,
  .page-login__faq-title,
  .page-login__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-login__hero-section {
    padding: 60px 15px;
  }
  .page-login__hero-title {
    font-size: 2.2em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__hero-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-login__login-form-section,
  .page-login__process-section,
  .page-login__security-section,
  .page-login__faq-section,
  .page-login__cta-section {
    margin: 20px auto;
    padding: 30px 15px;
  }
  .page-login__form-title,
  .page-login__process-title,
  .page-login__security-title,
  .page-login__faq-title,
  .page-login__cta-title {
    font-size: 1.8em;
  }
  .page-login__process-list,
  .page-login__security-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-login__process-item h3,
  .page-login__security-item h3 {
    font-size: 1.2em;
  }
  .page-login__faq-question-button {
    font-size: 1em;
    padding: 15px 20px;
  }
  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-login img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
  .page-login__security-image,
  .page-login__faq-image,
  .page-login__cta-image {
    width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
  .page-login__login-form-section .page-login__form-image {
    min-width: 200px;
    min-height: 200px;
  }
  .page-login__hero-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 1.8em;
  }
  .page-login__form-title,
  .page-login__process-title,
  .page-login__security-title,
  .page-login__faq-title,
  .page-login__cta-title {
    font-size: 1.5em;
  }
  .page-login__hero-button {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-login__faq-question-button {
    font-size: 0.95em;
  }
  .page-login__cta-button {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}