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

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

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

.page-login__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

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

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

.page-login__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A2A4E;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

.page-login__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
  display: block;
}

.page-login__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #1A2A4E;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-login__info-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-login__info-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-login__text-block {
  flex: 1;
  min-width: 300px;
  padding-right: 20px;
}

.page-login__text-block p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-login__secondary-cta {
  display: inline-block;
  background-color: #1A2A4E; /* Dark blue button */
  color: #FFD700;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-login__secondary-cta:hover {
  background-color: #3f4a6e;
}

.page-login__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-login__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-login__process-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__process-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  text-align: left;
}

.page-login__process-item::before {
  counter-increment: step-counter;
  content: "Step " counter(step-counter);
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: #FFD700;
  color: #1A2A4E;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9em;
}

.page-login__process-step-title {
  font-size: 1.5em;
  color: #1A2A4E;
  margin-top: 15px;
  margin-bottom: 15px;
}

.page-login__process-item p {
  font-size: 1em;
}

.page-login__process-cta {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  background-color: #FFD700;
  color: #1A2A4E;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-login__process-cta:hover {
  background-color: #e5c100;
  transform: translateY(-3px);
}

.page-login__security-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-login__security-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-login__security-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__security-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 4px;
  min-width: 200px;
  min-height: 200px;
}

.page-login__card-title {
  font-size: 1.4em;
  color: #1A2A4E;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-login__security-card p {
  font-size: 1em;
  text-align: left;
}

.page-login__learn-more-link {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  color: #1A2A4E;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-login__learn-more-link:hover {
  color: #FFD700;
  border-color: #1A2A4E;
}

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

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

.page-login__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 15px;
  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%;
  background-color: #1A2A4E;
  color: #ffffff;
  border: none;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.page-login__faq-icon::before, .page-login__faq-icon::after {
  content: '';
  position: absolute;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-login__faq-icon::before {
  width: 100%;
  height: 2px;
  top: 9px;
  left: 0;
}

.page-login__faq-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 9px;
}

.page-login__faq-question.is-active .page-login__faq-icon::after {
  transform: scaleY(0);
}

.page-login__faq-answer {
  padding: 0 30px;
  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 p {
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0;
}

.page-login__faq-item.is-active .page-login__faq-answer {
  max-height: 500px; /* Adjust based on max content height */
  padding-top: 20px;
  padding-bottom: 20px;
}

.page-login__contact-support-link {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  color: #1A2A4E;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-login__contact-support-link:hover {
  color: #FFD700;
  border-color: #1A2A4E;
}

.page-login__cta-section {
  padding: 80px 0;
  background-color: #1A2A4E;
  color: #ffffff;
  text-align: center;
}

.page-login__cta-section .page-login__section-title {
  color: #FFD700;
  margin-top: 0;
}

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

.page-login__final-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2A4E;
  padding: 18px 50px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-bottom: 20px;
}

.page-login__final-cta-button:hover {
  background-color: #e5c100;
  transform: translateY(-5px);
}

.page-login__register-link {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  margin-top: 20px;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.8em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-login__main-title {
    font-size: 2.2em;
  }
  .page-login__hero-description {
    font-size: 1.1em;
  }
  .page-login__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__info-container {
    flex-direction: column;
    gap: 30px;
  }
  .page-login__text-block {
    padding-right: 0;
  }
  .page-login__process-item::before {
    top: -10px;
    left: 15px;
    font-size: 0.8em;
    padding: 3px 10px;
  }
  .page-login__process-step-title {
    font-size: 1.3em;
  }
  .page-login__security-grid {
    grid-template-columns: 1fr;
  }
  .page-login__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-login__faq-answer p {
    padding: 15px 20px;
  }
  /* Ensure images in content areas are responsive and don't overflow */
  .page-login__info-block img,
  .page-login__security-card img,
  .page-login__hero-image img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size even on mobile */
    min-height: 200px; /* Enforce min size even on mobile */
  }
  .page-login__content-wrapper {
    padding: 0 15px;
  }
  .page-login__faq-answer {
    padding: 0 15px;
  }
  .page-login__faq-answer p {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__cta-button,
  .page-login__secondary-cta,
  .page-login__process-cta,
  .page-login__final-cta-button {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
}