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

.page-login__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-login__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px; /* Limit hero container width */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-login__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 51, 102, 0.7); /* Dark blue overlay for text readability */
  border-radius: 12px;
}

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

.page-login__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-login__hero-button {
  display: inline-block;
  background-color: #FFCC00; /* Gold button */
  color: #003366; /* Dark blue text */
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__hero-button:hover {
  background-color: #e6b800; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

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

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

.page-login__section-title {
  font-size: 2.5em;
  color: #003366; /* Dark blue for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-login__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  border-radius: 2px;
}

.page-login__bg-dark {
  background-color: #003366; /* Dark blue background */
  color: #ffffff;
}

.page-login__bg-dark .page-login__section-title {
  color: #FFCC00; /* Gold for titles on dark background */
}

.page-login__bg-dark .page-login__section-title::after {
  background-color: #ffffff;
}

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

.page-login__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-login__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-login__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-login__card-icon {
  width: 250px; /* Min size 200px */
  height: 187px; /* Maintain aspect ratio for 400x300 display */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 2px solid #FFCC00;
}

.page-login__card-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-login__card-text {
  font-size: 1em;
  color: #555555;
}

.page-login__process-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-top: 50px;
}

.page-login__process-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
  padding-left: 80px;
}

.page-login__process-item:last-child {
  margin-bottom: 0;
}

.page-login__process-step-number {
  counter-increment: step-counter;
  width: 50px;
  height: 50px;
  background-color: #FFCC00;
  color: #003366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-login__process-content {
  flex-grow: 1;
}

.page-login__process-title {
  font-size: 1.8em;
  color: #FFCC00; /* Gold for process titles on dark background */
  margin-bottom: 10px;
}

.page-login__process-text {
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-login__action-area {
  text-align: center;
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-login__action-button {
  display: inline-block;
  background-color: #FFCC00;
  color: #003366;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-login__action-button--secondary {
  background-color: #ffffff;
  color: #003366;
  border: 2px solid #FFCC00;
}

.page-login__action-button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #e6b800;
}

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

.page-login__security-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-login__security-icon {
  width: 250px; /* Min size 200px */
  height: 187px; /* Maintain aspect ratio for 400x300 display */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  border: 2px solid #003366;
}

.page-login__security-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

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

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

.page-login__faq-item {
  background-color: #002b5c; /* Slightly lighter dark blue for FAQ item */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-login__faq-item[open] {
  background-color: #003366;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.3em;
  font-weight: bold;
  color: #FFCC00; /* Gold for question */
  cursor: pointer;
  user-select: none;
}

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

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

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

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

.page-login__contact-prompt {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.page-login__contact-prompt p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-login__contact-button {
  display: inline-block;
  background-color: #FFCC00;
  color: #003366;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-login__cta-section {
  text-align: center;
  background: linear-gradient(135deg, #003366, #004488); /* Gradient background */
  color: #ffffff;
  padding: 80px 20px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1200px;
}

.page-login__cta-section .page-login__section-title {
  color: #FFCC00;
}

.page-login__cta-section .page-login__section-title::after {
  background-color: #ffffff;
}

.page-login__cta-button {
  display: inline-block;
  background-color: #FFCC00;
  color: #003366;
  padding: 18px 45px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

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

/* Responsive Design */
@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: 2em;
  }

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

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

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

  .page-login__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }

  .page-login__hero-content {
    padding: 15px;
  }

  .page-login__hero-button,
  .page-login__action-button,
  .page-login__contact-button,
  .page-login__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

  .page-login__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

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

  .page-login__card,
  .page-login__security-card {
    padding: 25px;
  }

  .page-login__card-icon,
  .page-login__security-icon {
    width: 200px; /* Ensure images are not smaller than 200px */
    height: 150px;
    max-width: 100%; /* Important for mobile content images */
    height: auto; /* Important for mobile content images */
  }

  .page-login__process-item {
    padding-left: 60px;
  }

  .page-login__process-step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }

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

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

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

  .page-login__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  .page-login__cta-section {
    padding: 60px 15px;
  }

  .page-login__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Prevent horizontal scroll on mobile for main content */
  .page-login {
    overflow-x: hidden;
  }
}

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

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

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

  .page-login__hero-button,
  .page-login__action-button,
  .page-login__contact-button,
  .page-login__cta-button {
    width: 100%;
    max-width: 280px;
  }

  .page-login__action-area {
    flex-direction: column;
    align-items: center;
  }

  .page-login__card-icon,
  .page-login__security-icon {
    width: 200px; /* Ensure images are not smaller than 200px */
    height: 150px;
  }
}