/* style/promotions.css */
.page-promotions {
  color: #333333; /* Default text color for light body background */
  background-color: #f4f4f4; /* Matches shared.css body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: #08160F; /* Custom background color for hero */
  color: #F2FFF6; /* Main text color for dark background */
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1920px; /* Max width for hero image container */
  margin-bottom: 30px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Main text color for dark background */
  letter-spacing: 0.02em;
}

.page-promotions__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color for dark background */
}

.page-promotions__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-promotions__cta-buttons--centered {
  margin-top: 40px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button color */
  color: #F2FFF6; /* Main text color */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
  background: #0A4B2C; /* Deep Green for secondary button */
  color: #F2FFF6; /* Main text color */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-promotions__btn-secondary:hover {
  background: #2E7A4E; /* Border color on hover */
  color: #F2FFF6;
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

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

.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #11A84E; /* Primary brand color for titles on light background */
}

.page-promotions__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333; /* Default text color */
}

.page-promotions__image-text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__image-text-block img {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__image-text-block .page-promotions__text-block {
  flex: 2;
  min-width: 300px;
}

.page-promotions__dark-bg {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark background */
}

.page-promotions__light-bg {
  background-color: #f4f4f4; /* Default light background */
  color: #333333; /* Default text color for light background */
}

.page-promotions__text-main {
  color: #F2FFF6;
}

.page-promotions__text-secondary {
  color: #A7D9B8;
}

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

.page-promotions__promo-card {
  background-color: #11271B; /* Custom card background color */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: #F2FFF6; /* Main text color for dark card background */
}

.page-promotions__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2FFF6; /* Main text color */
}

.page-promotions__card-title a {
  color: #F2FFF6; /* Link color on dark card */
  text-decoration: none;
}

.page-promotions__card-title a:hover {
  color: #57E38D; /* Glow color on hover */
}

.page-promotions__card-description {
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
  color: #A7D9B8; /* Secondary text color */
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__step-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #11A84E; /* Primary brand color */
  margin-bottom: 15px;
}

.page-promotions__step-item a {
  color: #11A84E;
  text-decoration: none;
  font-weight: 600;
}

.page-promotions__step-item a:hover {
  text-decoration: underline;
}

.page-promotions__terms-list {
  list-style: disc;
  margin-left: 20px;
  margin-top: 30px;
}

.page-promotions__terms-item {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color for dark background */
}

.page-promotions__terms-item strong {
  color: #F2FFF6; /* Main text color */
}

.page-promotions__terms-section a {
  color: #57E38D;
  text-decoration: none;
}

.page-promotions__terms-section a:hover {
  text-decoration: underline;
}

.page-promotions__faq-list {
  margin-top: 30px;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  user-select: none;
}

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

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  border-top: 1px solid #f0f0f0;
}

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

.page-promotions__faq-answer a {
  color: #11A84E;
  text-decoration: none;
  font-weight: 600;
}

.page-promotions__faq-answer a:hover {
  text-decoration: underline;
}

.page-promotions__conclusion-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color */
}

.page-promotions__conclusion-section .page-promotions__description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 20px auto 40px auto;
  color: #A7D9B8;
}

.page-promotions__conclusion-section .page-promotions__btn-primary,
.page-promotions__conclusion-section .page-promotions__btn-secondary {
  margin: 0 10px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    max-width: 768px;
  }

  .page-promotions__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-promotions__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-promotions__hero-content {
    padding: 0 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-promotions__description {
    font-size: 1rem;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 20px;
  }

  .page-promotions__text-block {
    font-size: 0.95rem;
  }

  .page-promotions__image-text-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-promotions__image-text-block img {
    min-width: unset;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-promotions__image-text-block .page-promotions__text-block {
    min-width: unset;
    width: 100%;
  }

  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-promotions__promo-card {
    padding: 20px;
  }

  .page-promotions__step-item {
    padding: 20px;
  }

  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-promotions__faq-answer {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .page-promotions__conclusion-section {
    padding: 60px 15px;
  }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure images in content sections are at least 200px */
.page-promotions__content-image, 
.page-promotions__card-image {
  min-width: 200px;
  min-height: 200px;
}

/* No filter properties to change image colors */
.page-promotions img {
  filter: none; 
}