.page-login {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #111 (dark), so text should be light */
  background-color: transparent; /* inherited from body */
}

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

.page-login__section-title,
.page-login__cta-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-login__section-description,
.page-login__cta-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Hero Section */
.page-login__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  background-color: #1a1a1a; /* Slightly lighter dark for contrast with body #111 */
  color: #ffffff;
  overflow: hidden;
}

.page-login__hero-section .page-login__container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-login__hero-content {
  flex: 1;
  min-width: 300px;
}

.page-login__hero-title {
  font-size: 3em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-login__login-form-wrapper {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  margin-top: 20px;
}

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

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

.page-login__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-login__form-input::placeholder {
  color: #ccc;
}

.page-login__btn-primary {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background-color: #EA7C07; /* Login button color */
  color: #ffffff;
  text-align: center;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
}

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

.page-login__forgot-password {
  text-align: center;
  margin-top: 15px;
  font-size: 0.95em;
}

.page-login__forgot-password a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login__forgot-password a:hover {
  color: #1a7fb8;
}

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

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

.page-login__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

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

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

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

/* Features Section */
.page-login__features-section {
  padding: 80px 0;
  background-color: #111;
  color: #ffffff;
}

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

.page-login__feature-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-login__feature-card:hover {
  transform: translateY(-5px);
  background: rgba(38, 169, 224, 0.2);
}

.page-login__feature-image {
  width: 100%;
  max-width: 200px; /* Max-width to maintain aspect ratio, but minimum 200px */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

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

.page-login__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-login__cta-buttons .page-login__btn-primary {
  background-color: #EA7C07; /* Use login button color for primary CTA */
  width: auto;
  min-width: 200px;
}

.page-login__cta-buttons .page-login__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
  width: auto;
  min-width: 200px;
}

.page-login__cta-buttons .page-login__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #26A9E0;
}

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

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

.page-login__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-login__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease;
  color: #ffffff;
}

.page-login__faq-question:hover {
  background: rgba(38, 169, 224, 0.3);
}

.page-login__faq-heading {
  font-size: 1.2em;
  margin: 0;
  color: #26A9E0;
}

.page-login__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffffff;
  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;
  color: #f0f0f0;
}

.page-login__faq-item.active .page-login__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

.page-login__faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-login__hero-title {
    font-size: 2.5em;
  }
  .page-login__hero-description {
    font-size: 1.1em;
  }
  .page-login__section-title,
  .page-login__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-login__hero-section .page-login__container {
    flex-direction: column;
    text-align: center;
  }
  .page-login__hero-content {
    order: 2; /* Move content below image on mobile */
  }
  .page-login__hero-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }
  .page-login__hero-title {
    font-size: 2em;
  }
  .page-login__hero-description {
    font-size: 1em;
  }
  .page-login__login-form-wrapper {
    margin: 20px auto;
  }
  .page-login__features-grid {
    grid-template-columns: 1fr;
  }
  .page-login__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-login__btn-primary,
  .page-login__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Mobile specific overrides for images, videos, and containers */
  .page-login img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-login__section,
  .page-login__card,
  .page-login__container,
  .page-login__video-section,
  .page-login__video-container,
  .page-login__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
  .page-login__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure padding-top is applied on mobile */
  }
  .page-login__faq-question,
  .page-login__faq-answer {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-login__hero-title {
    font-size: 1.8em;
  }
  .page-login__section-title,
  .page-login__cta-title {
    font-size: 1.8em;
  }
  .page-login__login-form-wrapper {
    padding: 20px;
  }
  .page-login__faq-question {
    padding: 15px;
  }
  .page-login__faq-answer {
    padding: 10px 15px;
  }
}