/* style/promotions.css */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.6;
}

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

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

.page-promotions__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions__section-title {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: bold;
  color: inherit;
}

.page-promotions__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.7);
}

.page-promotions__hero-section .page-promotions__container {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.page-promotions__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-promotions__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-promotions__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
}

/* Grid Layouts */
.page-promotions__grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

/* Cards */
.page-promotions__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
  color: #333333;
}

.page-promotions__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

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

.page-promotions__card-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__card-button {
  margin-top: auto; /* Push button to bottom */
  width: fit-content;
}

/* Promo Item */
.page-promotions__promo-item {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  color: #333333;
}

.page-promotions__promo-image {
  width: 50%;
  height: 375px;
  object-fit: cover;
  display: block;
}

.page-promotions__promo-content {
  width: 50%;
  padding: 30px;
  box-sizing: border-box;
}

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

.page-promotions__promo-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Terms and Conditions */
.page-promotions__content-wrapper {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__sub-title {
  font-size: 28px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
}

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

.page-promotions__list-item {
  font-size: 16px;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-promotions__list-item::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-promotions__text {
  font-size: 16px;
  margin-bottom: 20px;
}

/* Why Choose Section */
.page-promotions__feature-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  height: 100%;
  box-sizing: border-box;
}

.page-promotions__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-promotions__feature-text {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 30px auto;
  text-align: left;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf6fa;
  border-bottom: 1px solid #d0e7f0;
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
}

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

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

/* CTA Section */
.page-promotions__cta-section {
  padding: 80px 0;
}

.page-promotions__cta-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions__cta-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

  .page-promotions__section-title {
    font-size: 32px;
  }

  .page-promotions__promo-item {
    flex-direction: column;
  }

  .page-promotions__promo-image,
  .page-promotions__promo-content {
    width: 100%;
  }

  .page-promotions__grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions__hero-title {
    font-size: 32px;
  }

  .page-promotions__hero-description {
    font-size: 18px;
  }

  .page-promotions__section {
    padding: 40px 0;
  }

  .page-promotions__section-title {
    font-size: 28px;
  }

  .page-promotions__section-description {
    font-size: 16px;
  }

  .page-promotions__grid-three {
    grid-template-columns: 1fr;
  }

  .page-promotions__card {
    padding: 20px;
  }

  .page-promotions__card-image {
    height: 250px;
  }

  .page-promotions__promo-image {
    height: 300px;
  }

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

  .page-promotions__promo-title {
    font-size: 24px;
  }

  .page-promotions__sub-title {
    font-size: 24px;
  }

  .page-promotions__list-item {
    padding-left: 25px;
  }

  .page-promotions__list-item::before {
    left: 0;
  }

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

  .page-promotions__feature-title {
    font-size: 20px;
  }

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

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

  .page-promotions__cta-section {
    padding: 60px 0;
  }

  .page-promotions__cta-title {
    font-size: 32px;
  }

  .page-promotions__cta-description {
    font-size: 18px;
  }

  .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__promo-item,
  .page-promotions__feature-card,
  .page-promotions__faq-list,
  .page-promotions__faq-item,
  .page-promotions__content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-promotions__button-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-section .page-promotions__container,
  .page-promotions__cta-section .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}