/* style/login.css */

/* Base styles for the page-login scope */
.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: #f8f8f8; /* Light background for the page content */
}

/* Fixed header spacing */
.page-login__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

/* Hero Section */
.page-login__hero-section {
  background-color: #003366; /* Main brand color */
  color: #ffffff; /* White text for dark background */
  text-align: center;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.page-login__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFCC00; /* Auxiliary color for emphasis */
}

.page-login__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-login__form-wrapper {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for form background */
  border-radius: 10px;
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-login__login-form {
  margin-bottom: 20px;
}

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

.page-login__label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff;
}

.page-login__input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #004d99; /* Darker blue border */
  border-radius: 5px;
  background-color: #004d99;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.page-login__form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.page-login__btn-primary {
  display: inline-block;
  background-color: #FFCC00;
  color: #003366;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
  text-align: center;
  box-sizing: border-box;
  flex-grow: 1;
  max-width: 100%;
}

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

.page-login__forgot-password {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
  color: #FFCC00;
}

.page-login__register-prompt {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.page-login__register-prompt p {
  margin-bottom: 15px;
  color: #ffffff;
}

.page-login__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  font-size: 1em;
  text-align: center;
  box-sizing: border-box;
  flex-grow: 1;
  max-width: 100%;
}

.page-login__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
}

/* Section common styles */
.page-login__section-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  color: #003366; /* Dark blue for titles on light background */
}

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

/* Why Choose Section */
.page-login__why-choose-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-login__feature-card {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-login__feature-card:hover {
  transform: translateY(-5px);
}

.page-login__feature-icon {
  width: 200px; /* Minimum 200px */
  height: 200px; /* Minimum 200px */
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-login__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #003366;
  font-weight: bold;
}

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

.page-login__more-info {
  text-align: center;
  margin-top: 60px;
  font-size: 1.1em;
  color: #555555;
}

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

.page-login__security-section .page-login__section-title {
  color: #FFCC00;
}

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

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

.page-login__security-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-login__security-subtitle {
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFCC00;
}

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

.page-login__security-text li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-login__text-link {
  color: #FFCC00;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-login__text-link:hover {
  color: #ffffff;
}

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

.page-login__security-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Getting Started Section */
.page-login__getting-started-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-login__step-card {
  background-color: #f8f8f8;
  border-left: 5px solid #003366;
  border-radius: 5px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-login__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #003366;
  font-weight: bold;
}

.page-login__step-text {
  font-size: 0.95em;
  color: #555555;
}

.page-login__cta-video {
  margin-top: 80px;
  text-align: center;
}

.page-login__cta-title {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #003366;
  font-weight: bold;
}

.page-login__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-login__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-login__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: block;
}

.page-login__video-caption {
  margin-top: 20px;
  font-size: 1em;
  color: #555555;
}

/* Promotions Section */
.page-login__promotions-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.page-login__promotions-section .page-login__section-title {
  color: #FFCC00;
}

.page-login__promotions-section .page-login__section-description {
  color: #f0f0f0;
}

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

.page-login__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.page-login__promo-card:hover {
  transform: translateY(-5px);
}

.page-login__promo-image {
  width: 100%;
  height: 200px; /* Enforce min height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-login__promo-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFCC00;
  font-weight: bold;
}

.page-login__promo-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-login__promo-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-login__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-login__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #003366;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
  background-color: #004d99;
}

.page-login__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

.page-login__faq-item.active .page-login__faq-toggle {
  transform: rotate(45deg);
}

.page-login__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important;
  padding: 20px 25px;
}

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

/* CTA Section */
.page-login__cta-section {
  padding: 80px 0;
  background-color: #003366;
  text-align: center;
  color: #ffffff;
}

.page-login__cta-section .page-login__section-title {
  color: #FFCC00;
}

.page-login__cta-section .page-login__section-description {
  color: #f0f0f0;
}

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

.page-login__cta-button {
  min-width: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-login__main-title {
    font-size: 2.5em;
  }
  .page-login__section-title {
    font-size: 2em;
  }
  .page-login__security-content {
    flex-direction: column;
  }
  .page-login__security-image {
    order: -1;
  }
  .page-login__promo-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-login__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-login__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 60px;
  }

  .page-login__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-login__description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-login__form-wrapper {
    padding: 30px 20px;
  }

  .page-login__form-actions {
    flex-direction: column;
    gap: 15px;
  }

  .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__section-title {
    font-size: 1.8em;
  }

  .page-login__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-login__features-grid,
  .page-login__steps-grid,
  .page-login__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-login__why-choose-section,
  .page-login__security-section,
  .page-login__getting-started-section,
  .page-login__promotions-section,
  .page-login__faq-section,
  .page-login__cta-section {
    padding: 60px 0;
  }

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

  /* Video responsive */
  .page-login video,
  .page-login__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-login__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}