:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212; /* Body background from shared.css */
  --card-bg-dark-opacity: rgba(255, 255, 255, 0.08); /* Slightly visible on dark bg */
  --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Light text for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency */
  line-height: 1.6;
  padding-top: 120px; /* Desktop: Adjust for fixed header */
}

/* Base container styles */
.page-promotions__hero-container,
.page-promotions__highlights-container,
.page-promotions__details-container,
.page-promotions__why-choose-container,
.page-promotions__terms-container,
.page-promotions__final-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section padding */
.page-promotions__hero-section,
.page-promotions__highlights-section,
.page-promotions__details-section,
.page-promotions__why-choose-section,
.page-promotions__terms-section,
.page-promotions__final-cta-section {
  padding: 60px 0;
}

/* Headings */
.page-promotions__main-title {
  font-size: 48px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions__hero-description,
.page-promotions__final-cta-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Text primary color highlight */
.page-promotions .text-primary {
  color: var(--primary-color);
}

/* CTA Buttons */
.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  margin-top: 30px;
}

.page-promotions__cta-button,
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding/border in width */
}

.page-promotions__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color); /* Dark blue text on gold button for better contrast */
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  color: var(--secondary-color);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

/* Card styles */
.page-promotions__card {
  background-color: var(--card-bg-dark-opacity); /* Slightly transparent white on dark bg */
  border: 1px solid var(--border-color-dark);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-promotions__highlight-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__highlight-icon {
  width: 100px; /* Min size 200x200, but icon can be smaller visually with larger source */
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.page-promotions__highlight-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__highlight-text {
  font-size: 16px;
  color: #f0f0f0;
}

/* Promotion Details Section */
.page-promotions__promotion-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promotion-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--card-bg-dark-opacity);
  border: 1px solid var(--border-color-dark);
  padding: 0; /* Remove padding from card itself, add to content */
}

.page-promotions__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color-dark);
}

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

.page-promotions__promotion-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__promotion-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-promotions__promotion-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-promotions__promotion-features li {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.page-promotions__promotion-features li i {
  color: #00ff00; /* Green checkmark */
  margin-right: 10px;
}

.page-promotions__promotion-card .page-promotions__btn-primary {
  margin-top: auto; /* Align button at bottom */
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
}


/* Why Choose Section */
.page-promotions__why-choose-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__why-choose-item {
  text-align: center;
}

.page-promotions__why-choose-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__why-choose-text {
  font-size: 16px;
  color: #f0f0f0;
}

/* Terms and Conditions Section */
.page-promotions__terms-section .page-promotions__terms-container {
  text-align: center;
  padding: 50px;
  background-color: var(--secondary-color); /* Dark blue background for terms */
  border: none; /* No border for this section */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__terms-section .page-promotions__section-title {
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-promotions__terms-text {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__terms-section .page-promotions__btn-secondary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__terms-section .page-promotions__btn-secondary:hover {
  background-color: #e6c200;
  color: var(--secondary-color);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

/* Final CTA Section */
.page-promotions__final-cta-section {
  background-color: var(--secondary-color); /* Dark blue background */
  padding: 80px 0;
  text-align: center;
}

.page-promotions__final-cta-section .page-promotions__section-title {
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-promotions__final-cta-section .page-promotions__cta-button {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 42px;
  }
  .page-promotions__section-title {
    font-size: 32px;
  }
  .page-promotions__hero-description,
  .page-promotions__final-cta-description {
    font-size: 17px;
  }
  .page-promotions__highlight-title,
  .page-promotions__promotion-title,
  .page-promotions__why-choose-title {
    font-size: 22px;
  }
  .page-promotions__highlight-text,
  .page-promotions__promotion-description,
  .page-promotions__why-choose-text,
  .page-promotions__terms-text {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
  }

  .page-promotions__hero-section,
  .page-promotions__highlights-section,
  .page-promotions__details-section,
  .page-promotions__why-choose-section,
  .page-promotions__terms-section,
  .page-promotions__final-cta-section {
    padding: 40px 0;
  }

  .page-promotions__hero-container,
  .page-promotions__highlights-container,
  .page-promotions__details-container,
  .page-promotions__why-choose-container,
  .page-promotions__terms-container,
  .page-promotions__final-cta-container {
    padding: 0 15px;
  }

  .page-promotions__main-title {
    font-size: 36px;
  }

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

  .page-promotions__hero-description,
  .page-promotions__final-cta-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__cta-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  .page-promotions__highlight-grid,
  .page-promotions__promotion-list,
  .page-promotions__why-choose-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__highlight-icon {
    width: 80px;
    height: 80px;
  }

  .page-promotions__highlight-title,
  .page-promotions__promotion-title,
  .page-promotions__why-choose-title {
    font-size: 20px;
  }
  
  .page-promotions__promotion-image {
    height: 180px;
  }

  .page-promotions__terms-section .page-promotions__terms-container {
    padding: 30px 20px;
  }
  
  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all image containers are responsive */
  .page-promotions__hero-section,
  .page-promotions__highlights-section,
  .page-promotions__details-section,
  .page-promotions__why-choose-section,
  .page-promotions__terms-section,
  .page-promotions__final-cta-section,
  .page-promotions__hero-container,
  .page-promotions__highlights-container,
  .page-promotions__details-container,
  .page-promotions__why-choose-container,
  .page-promotions__terms-container,
  .page-promotions__final-cta-container,
  .page-promotions__highlight-item,
  .page-promotions__promotion-card,
  .page-promotions__why-choose-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    /* Padding added to specific containers if needed, not globally */
  }
  /* Override the above padding for sections that have specific container padding already */
  .page-promotions__hero-container,
  .page-promotions__highlights-container,
  .page-promotions__details-container,
  .page-promotions__why-choose-container,
  .page-promotions__terms-container,
  .page-promotions__final-cta-container {
    padding-left: 0;
    padding-right: 0;
  }
  /* Add specific padding for sections if needed */
  .page-promotions__hero-section .page-promotions__hero-container,
  .page-promotions__highlights-section .page-promotions__highlights-container,
  .page-promotions__details-section .page-promotions__details-container,
  .page-promotions__why-choose-section .page-promotions__why-choose-container,
  .page-promotions__final-cta-section .page-promotions__final-cta-container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 30px;
  }
  .page-promotions__section-title {
    font-size: 24px;
  }
  .page-promotions__hero-description,
  .page-promotions__final-cta-description {
    font-size: 15px;
  }
  .page-promotions__cta-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 10px 15px !important;
    font-size: 15px !important;
  }
  .page-promotions__highlight-title,
  .page-promotions__promotion-title,
  .page-promotions__why-choose-title {
    font-size: 18px;
  }
  .page-promotions__highlight-text,
  .page-promotions__promotion-description,
  .page-promotions__why-choose-text,
  .page-promotions__terms-text {
    font-size: 14px;
  }
}