.page-login {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below the fixed header */
}

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

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

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

.page-login__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.8;
}

.page-login__button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  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.2s ease;
  min-width: 200px;
  text-align: center;
}

.page-login__button--primary {
  background-color: #F2C94C; /* Accent color for primary button */
  color: #0A2342;
  border: 2px solid #F2C94C;
}

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

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

.page-login__button--secondary:hover {
  background-color: rgba(242, 201, 76, 0.1);
  transform: translateY(-2px);
}

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

.page-login__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-login__title {
  font-size: 2.5em;
  color: #0A2342;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-login__text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 20px;
  text-align: justify;
}

.page-login__image {
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 800px;
  height: 600px;
  object-fit: cover;
}

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

.page-login__process-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__process-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-login__process-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C94C;
  margin-right: 25px;
  min-width: 60px;
  text-align: center;
}

.page-login__process-step-title {
  font-size: 1.5em;
  color: #0A2342;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-login__process-description {
  font-size: 1em;
  color: #666666;
}

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

.page-login__tip-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__tip-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-login__tip-title {
  font-size: 1.4em;
  color: #0A2342;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-login__tip-description {
  font-size: 0.95em;
  color: #666666;
}

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

.page-login__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-login__faq-question {
  background-color: #0A2342;
  color: #ffffff;
  padding: 20px 30px;
  width: 100%;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-icon {
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.page-login__faq-question.page-login__faq-question--active .page-login__faq-icon {
  transform: rotate(180deg);
}

.page-login__faq-answer {
  padding: 0 30px;
  background-color: #fefefe;
  color: #444444;
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

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

.page-login__faq-question.page-login__faq-question--active + .page-login__faq-answer {
  max-height: 500px; /* Adjust as needed for content length */
  padding-bottom: 20px;
}

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

.page-login__cta-title {
  font-size: 2.8em;
  color: #F2C94C;
  margin-bottom: 20px;
}

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

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

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

  .page-login__title {
    font-size: 2em;
  }

  .page-login__image {
    width: 100%;
    height: auto;
    max-width: 600px;
  }

  .page-login__process-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-login__process-item::before {
    margin-right: 0;
    margin-bottom: 15px;
  }

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

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

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

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

  .page-login__button-group {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-login__title {
    font-size: 1.8em;
  }

  .page-login__text {
    font-size: 0.95em;
  }

  .page-login__image {
    max-width: 100%;
    height: auto;
  }

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

  .page-login__tip-title {
    font-size: 1.2em;
  }

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

  .page-login__faq-answer p {
    padding: 15px 0;
  }

  .page-login__cta-title {
    font-size: 2em;
  }

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

  /* Ensure all images within .page-login are responsive and do not overflow */
  .page-login img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Enforce minimum size for content images */
  }
  .page-login__hero-image {
    min-width: unset;
  }
  .page-login__image {
    min-width: 200px;
  }
}