.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark sections */
  background-color: var(--black-color); /* Inherit from body for contrast */
}

.page-login__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-login__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding for first section */
  padding-bottom: 60px;
  text-align: center;
  background-color: #0d0d0d; /* Dark background for hero */
  color: #ffffff;
  overflow: hidden;
}

.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;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-login__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-login__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

.page-login__form-wrapper {
  background: #ffffff; /* White background for the form */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

.page-login__login-form {
  color: #333333; /* Dark text for the form */
}

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

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

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

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.page-login__remember-me {
  display: flex;
  align-items: center;
  font-size: 0.95em;
  color: #555555;
}

.page-login__checkbox {
  margin-right: 8px;
}

.page-login__forgot-password-link {
  color: #26A9E0;
  text-decoration: none;
  font-size: 0.95em;
}

.page-login__forgot-password-link:hover {
  text-decoration: underline;
}

.page-login__btn-login {
  width: 100%;
  padding: 14px 20px;
  background-color: #EA7C07; /* Custom login button color */
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-login__btn-login:hover {
  background-color: #d16e06;
}

.page-login__register-text {
  text-align: center;
  margin-top: 25px;
  font-size: 0.95em;
  color: #555555;
}

.page-login__register-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-login__register-link:hover {
  text-decoration: underline;
}

.page-login__section {
  padding: 60px 0;
}

.page-login__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-login__dark-bg {
  background-color: #0d0d0d; /* Darker background for contrast */
  color: #ffffff;
}

.page-login__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit from section background */
}

.page-login__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: inherit;
}

.page-login__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-login__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-login__content-grid--reverse .page-login__image-wrapper {
  order: 2;
}

.page-login__content-grid--reverse .page-login__text-block {
  order: 1;
}

.page-login__text-block p {
  margin-bottom: 15px;
  color: inherit;
}

.page-login__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-login__list {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
  color: inherit;
}

.page-login__list li {
  margin-bottom: 8px;
}

.page-login__image-wrapper {
  text-align: center;
}

.page-login__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-login__ordered-list {
  list-style: decimal inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: inherit;
}

.page-login__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-login__faq-item {
  background-color: #26A9E0; /* Brand color for FAQ item background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #ffffff;
  background-color: #26A9E0;
  list-style: none; /* For details/summary native marker */
}

.page-login__faq-question::-webkit-details-marker {
  display: none;
}

.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 18px;
  font-size: 1em;
  line-height: 1.6;
  background-color: rgba(0, 0, 0, 0.2); /* Slightly transparent dark for answer */
  color: #f0f0f0;
}

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

.page-login__faq-answer a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-login__faq-image {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-login__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-login__btn--primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-login__btn--primary:hover {
  background-color: #1e87b6;
  border-color: #1e87b6;
}

.page-login__btn--secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-login__btn--secondary:hover {
  background-color: #f0f8ff;
  color: #1e87b6;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-login__content-grid {
    grid-template-columns: 1fr;
  }

  .page-login__content-grid--reverse .page-login__image-wrapper {
    order: initial;
  }

  .page-login__content-grid--reverse .page-login__text-block {
    order: initial;
  }

  .page-login__hero-content {
    padding: 30px 15px;
  }
}

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

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

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

  .page-login__form-wrapper {
    max-width: 100%;
    padding: 20px;
  }

  /* Mobile image responsiveness */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__hero-content,
  .page-login__form-wrapper,
  .page-login__faq-list,
  .page-login__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsiveness */
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-login__btn,
  .page-login__btn--primary,
  .page-login__btn--secondary,
  .page-login a[class*="button"],
  .page-login a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-login__form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-login__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

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

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

  .page-login__hero-description,
  .page-login__section-description,
  .page-login__text-block p,
  .page-login__list li,
  .page-login__ordered-list li,
  .page-login__faq-answer {
    font-size: 0.95em;
  }

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

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

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