.page-login {
  color: #333333;
}

.page-login__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f8f9fa;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

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

.page-login__hero-title {
  font-size: 2.8em;
  color: #007bff;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-login__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #555555;
}

.page-login__hero-button {
  display: inline-block;
  padding: 12px 25px;
  margin: 0 10px 15px 10px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  font-size: 1.1em;
}

.page-login__button--primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

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

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

.page-login__button--secondary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

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

.page-login__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image slightly for text readability */
  display: block;
}

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

.page-login__section-title {
  font-size: 2.2em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-login__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffc107;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-login__text-block p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-login__button--explore {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  background-color: #007bff;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-login__button--explore:hover {
  background-color: #0056b3;
}

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

.page-login__process-step {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-login__process-icon {
  width: 250px; /* Ensure image is not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid #ffc107;
  object-fit: cover;
}

.page-login__step-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
  min-height: 40px;
}

.page-login__process-step p {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  text-align: justify;
}

.page-login__cta-block {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #e9f7ff;
  border-radius: 12px;
  border: 1px solid #cce5ff;
}

.page-login__cta-block p {
  font-size: 1.3em;
  color: #0056b3;
  margin-bottom: 25px;
  font-weight: 500;
}

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

.page-login__security-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-login__security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-login__security-icon {
  width: 250px; /* Ensure image is not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid #007bff;
  object-fit: cover;
}

.page-login__security-subtitle {
  font-size: 1.4em;
  color: #ffc107;
  margin-bottom: 15px;
  min-height: 35px;
}

.page-login__security-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  text-align: justify;
}

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

.page-login__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px 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.1em;
  font-weight: bold;
  color: #007bff;
  cursor: pointer;
  background-color: #f0f8ff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-item[open] > .page-login__faq-question {
  background-color: #e6f2ff;
  border-bottom-color: #cce5ff;
}

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

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

.page-login__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  text-align: justify;
}

.page-login__cta-section {
  background-color: #007bff;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  border-radius: 15px;
  margin-bottom: 60px;
}

.page-login__cta-section .page-login__section-title {
  color: #ffffff;
}

.page-login__cta-section .page-login__section-title::after {
  background-color: #ffc107;
}

.page-login__cta-description {
  font-size: 1.3em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-login__cta-buttons .page-login__button--primary,
.page-login__cta-buttons .page-login__button--secondary {
  padding: 15px 35px;
  font-size: 1.2em;
  border-radius: 10px;
  min-width: 220px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-login__hero-title {
    font-size: 2.2em;
  }
  .page-login__hero-description {
    font-size: 1.1em;
  }
  .page-login__section-title {
    font-size: 1.8em;
  }
  .page-login__process-step,
  .page-login__security-item {
    padding: 25px;
  }
  .page-login__step-title,
  .page-login__security-subtitle {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    padding: 40px 15px;
  }
  .page-login__hero-title {
    font-size: 1.8em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__hero-button {
    width: 100%;
    margin: 0 auto 15px auto;
  }
  .page-login__content-area {
    padding: 40px 15px;
  }
  .page-login__section-title {
    font-size: 1.6em;
  }
  .page-login__process-grid,
  .page-login__security-grid {
    grid-template-columns: 1fr;
  }
  .page-login__process-icon,
  .page-login__security-icon {
    width: 250px;
    height: auto;
    max-width: 100%; /* Ensure images are responsive */
  }
  .page-login__text-block p,
  .page-login__process-step p,
  .page-login__security-item p,
  .page-login__faq-answer p {
    font-size: 0.95em;
  }
  .page-login__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-login__cta-section {
    padding: 50px 15px;
  }
  .page-login__cta-description {
    font-size: 1.1em;
  }
  .page-login__cta-buttons .page-login__button--primary,
  .page-login__cta-buttons .page-login__button--secondary {
    width: 100%;
    min-width: unset;
  }
  /* Mobile content image constraint */
  .page-login img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 1.5em;
  }
  .page-login__hero-description {
    font-size: 0.95em;
  }
  .page-login__hero-button {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-login__section-title {
    font-size: 1.4em;
  }
  .page-login__process-icon,
  .page-login__security-icon {
    width: 200px; /* Smallest allowed size for content images */
    height: auto;
  }
  .page-login__step-title,
  .page-login__security-subtitle {
    font-size: 1.2em;
  }
  .page-login__faq-question {
    font-size: 0.95em;
  }
  .page-login__cta-description {
    font-size: 1em;
  }
  .page-login__cta-buttons .page-login__button--primary,
  .page-login__cta-buttons .page-login__button--secondary {
    font-size: 1.1em;
    padding: 12px 25px;
  }
}