.page-login {
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #f5f5f5; /* Light background for default body */
  color: #333333;
  font-family: 'Arial', sans-serif;
}

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

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

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

.page-login__main-title {
  font-size: 3.2em;
  font-weight: bold;
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-login__btn {
  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.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__btn--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #8B0000; /* Dark red text for contrast */
  border: 2px solid #FFD700;
}

.page-login__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-login__btn--secondary {
  background-color: #8B0000; /* Dark red secondary button */
  color: #FFD700; /* Gold text for contrast */
  border: 2px solid #8B0000;
}

.page-login__btn--secondary:hover {
  background-color: #6b0000;
  transform: translateY(-2px);
}

.page-login__section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-login__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Dark red for section titles */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

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

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

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

.page-login__info-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-login__info-card:hover {
  transform: translateY(-10px);
}

.page-login__card-icon {
  width: 200px; /* Enforce minimum size for content images */
  height: 150px;
  margin-bottom: 20px;
  border-radius: 8px; /* Square for content images */
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-login__card-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-login__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-login__process-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: step-counter;
}

.page-login__process-item {
  background-color: #ffffff;
  border-left: 5px solid #FFD700;
  margin-bottom: 25px;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-left: 70px;
}

.page-login__process-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #8B0000;
  color: #FFD700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-login__process-step-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 10px;
}

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

.page-login__action-area {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #f0f0f0;
  border-radius: 12px;
}

.page-login__action-text {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-login__security-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.page-login__security-item-description {
  font-size: 1em;
  line-height: 1.7;
  color: #444444;
}

.page-login__security-banner {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 60px;
  border-radius: 12px;
  object-fit: cover;
}

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

.page-login__faq-item {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  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: #8B0000;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

.page-login__faq-item[open] .page-login__faq-question {
  background-color: #FFD700;
  color: #8B0000;
  border-bottom-color: #FFD700;
}

.page-login__faq-item[open] .page-login__faq-toggle {
  content: '-';
}

.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: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #444444;
}

.page-login__faq-answer p {
  margin-bottom: 10px;
}

.page-login__faq-link {
  color: #8B0000;
  text-decoration: underline;
  font-weight: bold;
}

.page-login__faq-link:hover {
  color: #FFD700;
}

.page-login__cta-bottom-section {
  background: linear-gradient(135deg, #8B0000, #FFD700);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  margin-top: 80px;
  border-radius: 15px;
}

.page-login__cta-title {
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

  .page-login__hero-description,
  .page-login__cta-description {
    font-size: 1.1em;
  }

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

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

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

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

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

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

  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

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

  .page-login__info-cards {
    grid-template-columns: 1fr;
  }

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

  .page-login__process-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.1em;
    left: 10px;
  }

  .page-login__process-step-title {
    font-size: 1.4em;
  }

  .page-login__security-item-title {
    font-size: 1.4em;
  }

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

  .page-login__faq-toggle {
    font-size: 1.3em;
  }

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

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

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

  .page-login__card-icon,
  .page-login__security-banner,
  .page-login__hero-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all content images within .page-login are responsive and don't overflow */
  .page-login img {
    max-width: 100%;
    height: auto;
    display: block; /* To prevent extra space below images */
  }
}

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

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

  .page-login__btn {
    font-size: 1em;
    padding: 12px 25px;
  }

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

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

  .page-login__card-title {
    font-size: 1.3em;
  }

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

  .page-login__security-item-title {
    font-size: 1.2em;
  }

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

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