/* style/promotions.css */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color); /* Matches body background from shared.css */
}

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

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

.page-promotions__section-title {
  font-size: 36px;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background: linear-gradient(135deg, #017439, #FFFFFF);
  overflow: hidden;
}

.page-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-promotions__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-promotions__hero-title {
  font-size: 48px;
  color: #017439; /* Brand color for title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 20px;
  color: #333333;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Using registration/login color */
  color: #FFFF00; /* Using registration/login font color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-promotions__cta-button:hover {
  background: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-promotions__card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions__card-title {
  font-size: 22px;
  color: #017439;
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-promotions__card-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: #005f2e;
}

.page-promotions__card-text {
  font-size: 15px;
  color: #555555;
  padding: 0 20px;
  flex-grow: 1;
  line-height: 1.7;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 12px 25px;
  background: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  margin: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  border: none;
}

.page-promotions__card-button:hover {
  background: #005f2e;
  transform: translateY(-2px);
}

/* How to Claim Steps */
.page-promotions__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-item {
  text-align: center;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #017439;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__step-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__step-description {
  font-size: 15px;
  color: #555555;
  line-height: 1.7;
}

.page-promotions__step-description a {
  color: #C30808;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  padding: 15px 35px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}