/* style/login.css */

/* Base styles for the login page */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--secondary-color, #FFFFFF); /* Page background, from shared.css */
}

/* Ensure padding-top for fixed header */
.page-login {
  padding-top: var(--header-offset, 120px); /* Applies to the main content area */
}

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

/* Section titles */
.page-login__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 0;
  background-color: #017439; /* Dark background */
  color: #ffffff; /* Light text for dark background */
  text-align: center;
  overflow: hidden; /* Ensure no overflow for hero image */
}

.page-login__hero-section .page-login__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.page-login__hero-content {
  flex: 1;
  text-align: left;
}

.page-login__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Yellow for prominence */
}

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

.page-login__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* CTA Buttons */
.page-login__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: flex-start; /* Align buttons to the left */
}

.page-login__btn-primary,
.page-login__btn-secondary,
.page-login__faq-link {
  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, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  box-sizing: border-box;
  text-align: center;
}

.page-login__btn-primary {
  background-color: #C30808; /* Login/Register button color */
  color: #FFFF00; /* Login/Register font color */
  border: 2px solid #C30808;
}

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

.page-login__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Login/Register font color */
  border: 2px solid #FFFF00;
}

.page-login__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

/* General Section Styling */
.page-login__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-login__dark-bg .page-login__section-title {
  color: #FFFF00; /* Yellow title on dark background */
}

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

.page-login__light-bg .page-login__section-title {
  color: #017439; /* Brand primary color title on light background */
}

/* Benefits Section */
.page-login__benefits-section {
  padding: 60px 0;
}

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