/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* body background is handled by shared.css */
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-promotions__hero-title {
  font-size: 3.5rem;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.25rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: #FFD700;
  color: #0A2342;
  border: 2px solid #FFD700;
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2342;
  transform: translateY(-2px);
}

.page-promotions__section {
  padding: 80px 0;
  text-align: center;
}

.page-promotions__section--dark {
  background-color: #0A2342;
  color: #ffffff;
}

.page-promotions__section--highlight {
  background-color: rgba(255, 215, 0, 0.1);
  color: #ffffff;
}

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

.page-promotions__section-title {
  font-size: 2.8rem;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-promotions__section-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 1.6rem;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-promotions__card-text {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  align-self: flex-start;
  margin-top: auto; /* Push button to bottom */
}

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

.page-promotions__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-title {
  font-size: 1.8rem;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-promotions__step-text {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-promotions__step-button {
  margin-top: auto;
}

.page-promotions__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  text-align: left;
}

.page-promotions__benefit-item {
  background-color: rgba(10, 35, 66, 0.8);
  border: 1px solid #FFD700;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__benefit-title {
  font-size: 1.5rem;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions__benefit-text {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.5;
}

.page-promotions__faq-list {
  margin-top: 50px;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: #0A2342;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #1a3a5e;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: #f0f0f0;
  line-height: 1.6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-promotions__faq-answer p {
  margin-bottom: 0;
  color: #f0f0f0;
}

.page-promotions__cta-section {
  background-color: #0A2342;
  padding: 60px 20px;
  color: #ffffff;
}

.page-promotions__cta-title {
  font-size: 2.5rem;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-promotions__cta-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  max-width: 700px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3rem;
  }
  .page-promotions__section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__hero-title {
    font-size: 2rem;
  }
  .page-promotions__hero-description {
    font-size: 1rem;
  }
  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-promotions__section {
    padding: 50px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8rem;
  }
  .page-promotions__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-promotions__grid,
  .page-promotions__steps-grid,
  .page-promotions__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card-image {
    height: 200px;
  }
  .page-promotions__card-title {
    font-size: 1.4rem;
  }
  .page-promotions__card-text {
    font-size: 0.9rem;
  }
  .page-promotions__step-title {
    font-size: 1.5rem;
  }
  .page-promotions__benefit-title {
    font-size: 1.3rem;
  }
  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-promotions__cta-title {
    font-size: 2rem;
  }
  .page-promotions__cta-description {
    font-size: 1rem;
  }

  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-promotions__cta-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8rem;
  }
  .page-promotions__hero-description {
    font-size: 0.9rem;
  }
  .page-promotions__section-title {
    font-size: 1.6rem;
  }
  .page-promotions__card-title {
    font-size: 1.2rem;
  }
  .page-promotions__step-title {
    font-size: 1.3rem;
  }
  .page-promotions__benefit-title {
    font-size: 1.2rem;
  }
  .page-promotions__faq-question {
    font-size: 0.95rem;
  }
  .page-promotions__cta-title {
    font-size: 1.8rem;
  }
}