.page-login {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
}

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

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

.page-login__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #FFFFFF;
}

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

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

.page-login__primary-button,
.page-login__secondary-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.3s ease;
  margin: 0 10px;
}

.page-login__primary-button {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for login button */
}

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

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

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

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

.page-login__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-login__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-login__login-form-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 40px;
}

.page-login__form-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-login__form-group {
  margin-bottom: 25px;
}

.page-login__form-label {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333333;
  font-size: 1.05em;
}

.page-login__form-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input:focus {
  border-color: #FCBC45;
  outline: none;
  box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.2);
}

.page-login__submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for login button */
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  text-decoration: none;
}

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

.page-login__form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95em;
  color: #666666;
}

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

.page-login__register-link:hover,
.page-login__forgot-password-link:hover {
  color: #e0a53b;
  text-decoration: underline;
}

.page-login__form-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-login__process-section {
  margin-bottom: 80px;
}

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

.page-login__process-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #FCBC45;
}

.page-login__process-item:nth-child(even) {
  border-left-color: #000000; /* Main color for variety */
}

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

.page-login__process-step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-login__security-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
}

.page-login__security-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1000px;
  width: 100%;
}

.page-login__security-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-login__security-tip-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-login__security-tip-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-login__security-image {
  margin-top: 50px;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-login__faq-section {
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__faq-container {
  max-width: 900px;
  width: 100%;
  margin-top: 40px;
}

.page-login__faq-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.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: #ffffff;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-login__faq-image {
  margin-top: 50px;
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-login__cta-section {
  background-color: #000000; /* Main color as background */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 0 20px 60px 20px;
}

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

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

.page-login__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 15px;
  min-width: 180px;
}

.page-login__cta-button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for login button */
}

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

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

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

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

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

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

  .page-login__login-form-section {
    flex-direction: column;
    gap: 30px;
  }

  .page-login__form-wrapper,
  .page-login__form-image {
    max-width: 100%;
  }

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

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

@media (max-width: 768px) {
  .page-login {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }

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

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

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

  .page-login__primary-button,
  .page-login__secondary-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 0 8px;
  }

  .page-login__content-area {
    padding: 40px 15px;
  }

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

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

  .page-login__form-wrapper,
  .page-login__form-image,
  .page-login__security-image,
  .page-login__faq-image {
    max-width: 100%;
    width: 100%;
    height: auto; /* Ensure images scale correctly */
  }

  .page-login__form-input {
    padding: 12px;
  }

  .page-login__submit-button {
    padding: 12px;
    font-size: 1em;
  }

  .page-login__process-item,
  .page-login__security-item {
    padding: 25px;
  }

  .page-login__process-step-title,
  .page-login__security-tip-title {
    font-size: 1.2em;
  }

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

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

  .page-login__cta-section {
    padding: 50px 15px;
    margin: 0 15px 40px 15px;
  }

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

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

  .page-login__cta-button {
    padding: 15px 25px;
    font-size: 1.1em;
    margin: 0 10px;
    min-width: 150px;
  }

  /* Ensure all content area images are responsive and do not overflow */
  .page-login__content-area img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-login__primary-button,
  .page-login__secondary-button {
    display: block;
    margin: 15px auto;
    width: 90%;
  }

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

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

  .page-login__cta-button {
    display: block;
    margin: 15px auto;
    width: 90%;
  }
}