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

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

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

.page-login__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Darken image to ensure text readability */
  filter: brightness(0.6); /* Further darken for contrast */
}

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

.page-login__main-heading {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  line-height: 1.2;
}

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

.page-login__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for login button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 10px;
  border: 2px solid transparent;
}

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

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

.page-login__hero-button--secondary:hover {
  background-color: #F0F0F0;
  border-color: #E0A83A;
}

.page-login__section {
  padding: 60px 20px;
  background-color: #FFFFFF; /* Light background for content sections */
  text-align: center;
}

.page-login__section:nth-of-type(even) {
  background-color: #F8F8F8; /* Slightly different background for alternating sections */
}

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

.page-login__section-title {
  font-size: 2.5em;
  color: #000000; /* Main text color */
  margin-bottom: 30px;
}

.page-login__section-text {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

.page-login__grid-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-login__entrance-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-login__grid-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

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

.page-login__call-to-action-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  border: none;
}

.page-login__call-to-action-button:hover {
  background-color: #E0A83A;
  transform: translateY(-3px);
}

.page-login__process-list {
  list-style: none;
  counter-reset: process-step;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-login__process-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  position: relative;
  padding-left: 80px;
}

.page-login__process-item::before {
  counter-increment: process-step;
  content: "Step " counter(process-step);
  position: absolute;
  left: 30px;
  top: 30px;
  background-color: #FCBC45;
  color: #000000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
}

.page-login__process-heading {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-login__process-description {
  color: #555555;
}

.page-login__grid--security {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-login__security-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-login__security-heading {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
}

.page-login__security-text {
  color: #555555;
}

.page-login__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

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

.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;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-login__faq-item[open] .page-login__faq-question {
  background-color: #f0f0f0;
  border-bottom: none;
}

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

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

.page-login__faq-answer {
  padding: 20px 25px;
  background-color: #ffffff;
  color: #555555;
  font-size: 1em;
  border-top: 1px solid #e0e0e0;
}

.page-login__faq-item:not([open]) .page-login__faq-answer {
  display: none;
}

.page-login__faq-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-login__faq-button:hover {
  background-color: #E0A83A;
}

.page-login__text-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-login__text-link:hover {
  color: #E0A83A;
  text-decoration: underline;
}

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

.page-login__explore-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-login__explore-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-login__explore-heading {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-login__explore-link {
  color: #000000;
  text-decoration: none;
}

.page-login__explore-link:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-login__explore-description {
  color: #555555;
  margin-bottom: 20px;
}

.page-login__explore-button {
  display: inline-block;
  background-color: #000000;
  color: #FCBC45;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-login__explore-button:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.page-login__register-cta {
  background-color: #000000; /* Dark background for registration CTA */
  color: #ffffff;
  padding: 80px 20px;
}

.page-login__register-cta .page-login__section-title,
.page-login__register-cta .page-login__section-text {
  color: #ffffff;
}

.page-login__small-text {
  font-size: 0.9em;
  margin-top: 20px;
  color: #bbbbbb;
}

.page-login__contact-us .page-login__call-to-action-button--support {
  background-color: #000000;
  color: #FCBC45;
}

.page-login__contact-us .page-login__call-to-action-button--support:hover {
  background-color: #333333;
  color: #FFFFFF;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-login__main-heading {
    font-size: 2.8em;
  }

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

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

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

  .page-login__main-heading {
    font-size: 2.2em;
  }

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

  .page-login__hero-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 10px 5px;
  }

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

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

  .page-login__section-text {
    font-size: 0.95em;
  }

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

  .page-login__entrance-icon,
  .page-login__explore-image {
    max-width: 100%;
    height: auto;
  }

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

  .page-login__process-item::before {
    left: 15px;
    top: 25px;
  }

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

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

  /* Ensure all images within .page-login do not overflow */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-login__hero-button {
    display: block;
    margin: 10px auto;
    width: fit-content;
  }

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

  .page-login__faq-question {
    font-size: 1em;
  }
}