.page-login {
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  min-height: 700px; /* Adjust as needed */
  overflow: hidden;
  text-align: center;
}

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

.page-login__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay for text readability */
  padding: 40px;
  border-radius: 12px;
  color: #ffffff; /* Light text on dark overlay */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
}

.page-login__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  text-shadow: 0 0 10px rgba(252, 188, 69, 0.6);
}

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

.page-login__login-form-container {
  position: relative;
  display: inline-block;
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-login__form-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken background image for form contrast */
  z-index: 0;
}

.page-login__login-form {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.85); /* Slightly darker for form elements */
  padding: 40px;
  border-radius: 12px;
  color: #ffffff;
  text-align: left;
  min-width: 350px;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1em;
  font-weight: 600;
  color: #FCBC45;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #FCBC45;
  border-radius: 8px;
  background-color: #1a1a1a;
  color: #ffffff;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-login__form-input::placeholder {
  color: #888888;
}

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

.page-login__form-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-login__button {
  display: inline-block;
  padding: 14px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  text-align: center;
  flex-grow: 1;
}

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

.page-login__button--login:hover {
  background-color: #fca01a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(252, 188, 69, 0.4);
}

.page-login__button--register {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #FCBC45;
}

.page-login__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.2);
}

.page-login__forgot-password {
  display: block;
  text-align: center;
  margin-top: 15px;
  color: #FCBC45;
  text-decoration: none;
  font-size: 0.95em;
}

.page-login__forgot-password:hover {
  text-decoration: underline;
  color: #fca01a;
}

.page-login__content-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-login__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-login__process-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 30px;
  background-color: #FCBC45;
  color: #000000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(252, 188, 69, 0.3);
}

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

.page-login__process-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

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

.page-login__security-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__security-icon {
  width: 250px;
  height: 187.5px; /* Maintain aspect ratio for 400x300 */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-login__security-item p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
}

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

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

.page-login__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  position: relative;
  background-color: #ededed;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-login__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FCBC45;
}

.page-login__faq-item[open] .page-login__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

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

.page-login__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  background-color: #ffffff;
  border-top: 1px solid #f0f0f0;
}

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

.page-login__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-login__faq-answer a:hover {
  text-decoration: underline;
}

.page-login__faq-image {
  width: 600px;
  height: 450px; /* Maintain aspect ratio for 800x600 */
  object-fit: cover;
  margin-top: 50px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-login__cta-section {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 20px;
  border-radius: 15px;
  margin-bottom: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-login__cta-section .page-login__section-title {
  color: #FCBC45;
  text-shadow: none;
}

.page-login__cta-section .page-login__section-description {
  color: #f0f0f0;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.page-login__button--download {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-login__button--download:hover {
  background-color: #fca01a;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(252, 188, 69, 0.4);
}

.page-login__button--register-alt {
  background-color: #ffffff;
  color: #000000;
  padding: 18px 35px;
  font-size: 1.2em;
  border-radius: 10px;
  border: 2px solid #FCBC45;
}

.page-login__button--register-alt:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.page-login__cta-image {
  width: 600px;
  height: 450px; /* Maintain aspect ratio for 1000x750 */
  object-fit: cover;
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__hero-content {
    max-width: 700px;
    padding: 30px;
  }
  .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__faq-image,
  .page-login__cta-image {
    width: 100%;
    height: auto;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    min-height: 600px;
    padding: 40px 15px;
  }
  .page-login__hero-content {
    padding: 25px;
  }
  .page-login__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-login__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-login__login-form-container {
    width: 100%;
  }
  .page-login__login-form {
    min-width: unset;
    padding: 30px;
  }
  .page-login__form-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-login__button {
    width: 100%;
  }
  .page-login__content-section {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__section-description {
    font-size: 0.95em;
  }
  .page-login__process-list {
    grid-template-columns: 1fr;
  }
  .page-login__process-item {
    padding: 25px 20px 25px 60px;
  }
  .page-login__process-item::before {
    left: 15px;
    top: 25px;
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }
  .page-login__security-grid {
    grid-template-columns: 1fr;
  }
  .page-login__security-icon {
    width: 100%;
    height: auto;
    max-width: 300px;
    min-height: 200px; /* Ensure minimum size */
  }
  .page-login__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-login__faq-question::after {
    right: 20px;
  }
  .page-login__faq-answer {
    padding: 18px 20px;
  }
  .page-login__faq-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    min-height: 200px; /* Ensure minimum size */
  }
  .page-login__cta-section {
    padding: 60px 15px;
  }
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__button--download,
  .page-login__button--register-alt {
    padding: 15px 25px;
    font-size: 1.1em;
    width: 100%;
  }
  .page-login__cta-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    min-height: 200px; /* Ensure minimum size */
  }

  /* Force all content images to be responsive and not smaller than 200px in mobile */
  .page-login img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-login__main-title {
    font-size: 1.8em;
  }
  .page-login__hero-description {
    font-size: 0.9em;
  }
  .page-login__login-form {
    padding: 20px;
  }
  .page-login__form-label {
    font-size: 1em;
  }
  .page-login__form-input {
    padding: 10px 12px;
  }
  .page-login__button {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-login__section-title {
    font-size: 1.5em;
  }
  .page-login__faq-question {
    font-size: 1em;
    padding: 15px 18px;
  }
  .page-login__faq-question::after {
    right: 18px;
  }
  .page-login__faq-answer {
    padding: 15px 18px;
  }
  .page-login__cta-section {
    padding: 40px 15px;
  }
  .page-login__button--download,
  .page-login__button--register-alt {
    padding: 12px 20px;
    font-size: 1em;
  }
}