.page-login {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
}

.page-login__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px; /* Adjust as needed */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for first section */
}

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

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

.page-login__hero-content-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-login__hero-content {
  color: #F2FFF6; /* Light text for dark overlay */
  max-width: 600px;
}

.page-login__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2FFF6;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-login__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-login__login-card {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  text-align: left;
}

.page-login__card-title {
  font-size: 1.8rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 25px;
  text-align: center;
}

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

.page-login__form-label {
  display: block;
  margin-bottom: 8px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95rem;
}

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 5px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  font-size: 1rem;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: rgba(167, 217, 184, 0.7); /* Text Secondary with transparency */
}

.page-login__form-input:focus {
  outline: none;
  border-color: #57E38D; /* Glow */
  box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

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

.page-login__remember-me {
  display: flex;
  align-items: center;
}

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

.page-login__checkbox-label {
  color: #A7D9B8; /* Text Secondary */
}

.page-login__forgot-password-link {
  color: #57E38D; /* Glow */
  text-decoration: none;
}

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

.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 5px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.page-login__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 25px;
  color: #A7D9B8; /* Text Secondary */
}

.page-login__register-link {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

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

.page-login__info-section {
  padding: 60px 20px;
  background-color: #f8f8f8; /* Body background */
  color: #333333; /* Dark text for light background */
}

.page-login__dark-bg {
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Text Main */
}

.page-login__light-bg {
  background-color: #f8f8f8; /* Body background */
  color: #333333; /* Dark text */
}

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

.page-login__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

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

.page-login__feature-card {
  background: #ffffff; /* White background for features on light section */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.page-login__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-login__feature-title {
  font-size: 1.5rem;
  color: #11A84E; /* Primary color */
  margin-bottom: 15px;
}

.page-login__feature-text {
  font-size: 1rem;
  color: #555555;
}

.page-login__faq-section {
  padding: 60px 20px;
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Text Main */
}

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

.page-login__faq-item {
  margin-bottom: 15px;
  border: 1px solid #1E3A2A; /* Divider */
  border-radius: 8px;
  overflow: hidden;
}

.page-login__faq-item[open] {
  background-color: #11271B; /* Card BG when open */
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-login__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-login__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-login__faq-answer {
  padding: 15px 25px 20px;
  background-color: #0A4B2C; /* Deep Green */
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  line-height: 1.7;
}

.page-login__cta-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f8f8f8; /* Body background */
  color: #333333;
}

.page-login__cta-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

/* --- Responsive Styles --- */

/* All images basic responsive styles */
.page-login img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-login {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-login__hero-section {
    min-height: 600px;
    padding: 20px;
  }

  .page-login__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .page-login__description {
    font-size: 1rem;
  }

  .page-login__login-card {
    padding: 20px;
  }

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

  .page-login__info-section,
  .page-login__faq-section,
  .page-login__cta-section {
    padding: 40px 15px;
  }

  .page-login__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-login__grid-container {
    grid-template-columns: 1fr;
  }

  .page-login__feature-card {
    padding: 20px;
  }

  .page-login__feature-title {
    font-size: 1.3rem;
  }

  .page-login__feature-text {
    font-size: 0.95rem;
  }

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

  .page-login__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }

  .page-login__cta-text {
    font-size: 1rem;
  }

  /* Mobile image responsive override */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Mobile button responsive override */
  .page-login__btn-primary,
  .page-login__login-button,
  .page-login__cta-button {
    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__hero-content-overlay,
  .page-login__container,
  .page-login__login-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}