.page-login {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Custom main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-login__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A4B2C; /* Deep Green for hero section background */
  position: relative;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-login__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-login__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* For z-index if needed, but no overlay */
  z-index: 2;
}

.page-login__hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for main title */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-login__hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* For mobile responsiveness */
}

.page-login__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  max-width: 100%; /* For mobile */
  box-sizing: border-box; /* For mobile */
}

.page-login__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button color */
  color: #F2FFF6; /* Main text color */
  border: none;
}

.page-login__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-login__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Gold color */
  border: 2px solid #F2C14E; /* Gold border */
}

.page-login__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-login__section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-login__section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2AD16F; /* Button top gradient color */
  border-radius: 2px;
}

.page-login__section h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #2AD16F; /* Bright green for sub-titles */
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-login__section p,
.page-login__section li {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-login__section strong {
  color: #F2FFF6; /* Main text color for emphasis */
}

/* Login Form Specific Styles */
.page-login__form-container {
  background-color: #11271B; /* Card BG color */
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  max-width: 500px;
  margin: 40px auto;
  border: 1px solid #2E7A4E; /* Border color */
}

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

.page-login__form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  font-size: 1rem;
}

.page-login__form-group input[type="text"],
.page-login__form-group input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  background-color: #08160F; /* Darker input background */
  color: #F2FFF6; /* Main text color */
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-login__form-group input[type="text"]:focus,
.page-login__form-group input[type="password"]:focus {
  border-color: #2AD16F; /* Bright green on focus */
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

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

.page-login__remember-me {
  display: flex;
  align-items: center;
  color: #A7D9B8; /* Secondary text color */
}

.page-login__remember-me input[type="checkbox"] {
  margin-right: 8px;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #2E7A4E;
  border-radius: 4px;
  background-color: #08160F;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.page-login__remember-me input[type="checkbox"]:checked {
  background-color: #2AD16F;
  border-color: #2AD16F;
}

.page-login__remember-me input[type="checkbox"]:checked::after {
  content: '✔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #F2FFF6;
  font-size: 12px;
  font-weight: bold;
}

.page-login__forgot-password {
  color: #F2C14E; /* Gold color */
  text-decoration: none;
}

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

.page-login__register-link {
  text-align: center;
  margin-top: 30px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

.page-login__register-link a {
  color: #2AD16F; /* Bright green link */
  text-decoration: none;
  font-weight: 600;
}

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

/* Benefits Section Layout */
.page-login__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-login__benefit-card {
  background-color: #11271B; /* Card BG color */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-login__benefit-card img {
  width: 100%; /* Ensure image fills card */
  height: auto;
  max-width: 400px; /* Max width for consistency */
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Min size requirement */
  min-width: 200px; /* Min size requirement */
}

.page-login__benefit-card h3 {
  color: #F2C14E; /* Gold color for card titles */
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.page-login__benefit-card p {
  color: #A7D9B8; /* Secondary text color */
  font-size: 0.95rem;
}

/* FAQ Section Styles */
.page-login__faq-list {
  margin-top: 40px;
}

.page-login__faq-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-login__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  outline: none;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  font-size: 1.1rem;
  list-style: none; /* Remove default marker */
}

.page-login__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for webkit browsers */
}

.page-login__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Border color with opacity on hover */
}

.page-login__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F; /* Bright green */
}

.page-login__faq-item[open] .page-login__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-login__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Secondary text color */
  font-size: 1rem;
}

/* Contact Section */
.page-login__contact-section {
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 20px;
  border-radius: 15px;
  margin-top: 60px;
}

.page-login__contact-section h2 {
  color: #F2C14E; /* Gold color */
}

.page-login__contact-section p {
  max-width: 800px;
  margin: 0 auto 30px;
  color: #A7D9B8; /* Secondary text color */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
  }
  .page-login__section h2 {
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  }
  .page-login__section h3 {
    font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  }
}

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

  .page-login__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for mobile */
  }

  .page-login__hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-login__hero-content p {
    font-size: 1rem;
  }

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

  .page-login__btn {
    width: 100% !important; /* Full width buttons */
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-login__section h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-login__section h3 {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-login__section p,
  .page-login__section li {
    font-size: 0.95rem;
  }

  .page-login__form-container {
    padding: 30px;
    margin: 30px auto;
  }

  .page-login__form-group label {
    font-size: 0.95rem;
  }
  .page-login__form-group input {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

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

  .page-login__forgot-password {
    align-self: flex-end;
  }

  .page-login__benefits-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-login__benefit-card {
    padding: 25px;
  }
  .page-login__benefit-card h3 {
    font-size: 1.3rem;
  }

  .page-login__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-login__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  .page-login__contact-section {
    padding: 40px 15px;
    margin-top: 40px;
  }

  /* Force responsive images and containers */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__form-container,
  .page-login__benefits-grid,
  .page-login__faq-list,
  .page-login__contact-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-login__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow-x: hidden !important;
  }
}