.page-login {
  color: #333333; /* Default text color for light body background */
}

.page-login__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px; /* Minimum height for hero section */
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF; /* Light text on dark hero background */
}

.page-login__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the background image for text readability */
}

.page-login__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

.page-login__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-login__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.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, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-login__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-login__button--register {
  background-color: #000000; /* Register button background for contrast */
  color: #FFFFFF; /* Register button text color */
  border: 2px solid #FCBC45;
}

.page-login__button--register:hover {
  background-color: #333333;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.page-login__section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border-bottom: 1px solid #EEEEEE;
}

.page-login__section:last-of-type {
  border-bottom: none;
}

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

.page-login__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-login__content-wrapper p {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
  max-width: 800px;
  color: #333333;
}

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

.page-login__ordered-list, .page-login__unordered-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  width: 100%;
}

.page-login__list-item {
  background-color: #F9F9F9;
  border-left: 5px solid #FCBC45;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.page-login__list-item p {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  text-align: left;
}

.page-login__button--explore, .page-login__button--login-process, .page-login__button--security-info, .page-login__button--more-faq {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 20px;
}

.page-login__button--explore:hover, .page-login__button--login-process:hover, .page-login__button--security-info:hover, .page-login__button--more-faq:hover {
  background-color: #333333;
  border-color: #FCBC45;
  transform: translateY(-2px);
}

.page-login__faq-section {
  background-color: #F0F0F0;
}

.page-login__faq-item {
  background-color: #FFFFFF;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #E0E0E0;
  width: 100%;
  max-width: 800px;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-toggle {
  font-size: 1.5em;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

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

.page-login__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  border-top: 1px solid #E0E0E0;
}

.page-login__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF; /* Light text on dark CTA background */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 400px;
}

.page-login__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Dim the background image */
}

.page-login__cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

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

.page-login__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

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

.page-login__button--login-cta, .page-login__button--register-cta {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-login__button--login-cta {
  background-color: #FCBC45;
  color: #000000;
}

.page-login__button--login-cta:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-login__button--register-cta {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-login__button--register-cta:hover {
  background-color: #333333;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

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

@media (max-width: 768px) {
  .page-login__hero-section {
    min-height: 450px;
    padding: 40px 15px;
  }
  .page-login__main-title {
    font-size: 2.5em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__button {
    width: 100%;
    max-width: 300px;
  }
  .page-login__section {
    padding: 60px 15px;
  }
  .page-login__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-login__content-wrapper p {
    font-size: 1em;
    text-align: left;
  }
  .page-login__image {
    max-width: 100%;
    height: auto;
  }
  .page-login__list-title {
    font-size: 1.2em;
  }
  .page-login__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-login__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-login__cta-section {
    min-height: 300px;
    padding: 40px 15px;
  }
  .page-login__cta-title {
    font-size: 2em;
  }
  .page-login__cta-description {
    font-size: 1em;
  }
  .page-login__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  /* Ensure all images within .page-login do not overflow */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 2em;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__cta-title {
    font-size: 1.8em;
  }
  .page-login__button {
    font-size: 1em;
    padding: 12px 25px;
  }
}