/* style/promo.css */
.page-promo {
  color: #333333; /* Dark text for light body background */
}

.page-promo__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  background-color: #FFFFFF;
}

.page-promo__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  padding: 0 20px;
}

.page-promo__hero-title {
  font-size: 3.5em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-promo__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-promo__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-promo__section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-promo__section:nth-of-type(even) {
  background-color: #FFFFFF;
}

.page-promo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promo__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-promo__section-text {
  font-size: 1.1em;
  line-height: 1.6;
  color: #666666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

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

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

.page-promo__card-image {
  width: 100%;
  height: auto;
  max-height: 300px; /* Ensure images maintain reasonable height in cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promo__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-promo__card-description {
  font-size: 1em;
  color: #777777;
  line-height: 1.5;
  margin-bottom: 25px;
}

.page-promo__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1em;
}

.page-promo__button--primary {
  background-color: #FCBC45; /* Login color for primary actions */
  color: #000000;
}

.page-promo__button--primary:hover {
  background-color: #e0a73c;
}

.page-promo__button--secondary {
  background-color: #000000; /* Main color for secondary actions */
  color: #FFFFFF;
}

.page-promo__button--secondary:hover {
  background-color: #333333;
}

.page-promo__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-promo__content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-promo__image {
  flex: 1;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-promo__image--left {
  order: 0;
}

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

.page-promo__sub-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-promo__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-promo__list-item {
  font-size: 1.1em;
  color: #666666;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-promo__list-item::before {
  content: '\2713'; /* Checkmark */
  color: #FCBC45;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-promo__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

.page-promo__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #000000;
  color: #FFFFFF;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-promo__step-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-promo__step-description {
  font-size: 0.95em;
  color: #777777;
  line-height: 1.5;
}

.page-promo__action-center {
  text-align: center;
  margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__hero-title {
    font-size: 3em;
  }
  .page-promo__section-title {
    font-size: 2em;
  }
  .page-promo__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-promo__image--left {
    order: -1; /* Image above text on smaller screens */
  }
  .page-promo__text-content {
    text-align: center;
  }
  .page-promo__list {
    text-align: left;
    display: inline-block; /* Center the list itself */
  }
}

@media (max-width: 768px) {
  .page-promo__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 40px;
  }
  .page-promo__hero-title {
    font-size: 2.5em;
  }
  .page-promo__hero-description {
    font-size: 1em;
  }
  .page-promo__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-promo__section {
    padding: 60px 0;
  }
  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__section-text {
    margin-bottom: 40px;
  }
  .page-promo__content-grid,
  .page-promo__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-promo__button {
    width: 100%;
    max-width: 300px;
  }
  .page-promo__card-image, .page-promo__image {
    max-width: 100%;
    height: auto; /* Ensure images do not overflow */
  }
  /* Enforce content area images to be responsive and not overflow */
  .page-promo img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: 2em;
  }
  .page-promo__section-title {
    font-size: 1.5em;
  }
  .page-promo__button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}