/* General styles for the login page */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--secondary-color, #FFFFFF); /* Assuming --secondary-color is white or light */
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  background-color: #f0f8ff; /* Light background if image has transparency */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-login__hero-image {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-login__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover for desktop to avoid white space */
  object-position: center;
  max-width: 100%; /* Ensure responsiveness */
}

.page-login__hero-content {
  max-width: 800px;
  padding: 0 15px;
  position: relative; /* Ensure content is above any potential background layering issue */
  z-index: 2;
}

.page-login__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-login__tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #555555;
}

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width for wrapping */
}

.page-login__btn-primary,
.page-login__btn-secondary,
.page-login__btn-submit {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: none; /* Remove default button border */
  max-width: 100%; /* Important for mobile responsiveness */
  box-sizing: border-box; /* Include padding/border in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-login__btn-primary {
  background-color: #EA7C07; /* Custom color for Login/Primary CTA */
  color: #ffffff;
}

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

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

.page-login__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Form Section */
.page-login__form-section {
  padding: 60px 0;
  background-color: #f9f9f9; /* Light background for form */
}

.page-login__container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-login__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-login__section-description {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-login__login-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.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 #cccccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

.page-login__form-input:focus {
  border-color: #26A9E0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
}

.page-login__form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap; /* Allow options to wrap */
  gap: 10px;
}

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

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

.page-login__checkbox-label {
  font-size: 0.95rem;
  color: #555555;
}

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

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

.page-login__btn-submit {
  width: 100%;
  background-color: #EA7C07; /* Login button color */
  color: #ffffff;
  font-size: 1.1rem;
  padding: 14px 25px;
}

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

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

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

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

/* Why Choose Us / Benefits Section */
.page-login__why-choose-us {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark section background */
  color: #ffffff; /* Light text for dark background */
}

.page-login__why-choose-us .page-login__section-title,
.page-login__why-choose-us .page-login__section-description {
  color: #ffffff;
}

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

.page-login__benefit-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff; /* Ensure text is white */
}

.page-login__benefit-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-login__benefit-icon {
  width: 100px; /* Example size for icon-like images */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%; /* Ensure responsiveness */
}

.page-login__benefit-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-login__benefit-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-login__overall-summary {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1rem;
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Security Section */
.page-login__security-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-login__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-login__security-text {
  flex: 1;
  min-width: 300px;
}

.page-login__security-text h3 {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-login__security-text ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-login__security-text ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #444444;
}

.page-login__security-text p {
  font-size: 1rem;
  color: #444444;
}

.page-login__security-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}