/* style/promotions.css */

/* General page styling */
.page-promotions {
  background-color: #08160F; /* Background color from palette */
  color: #F2FFF6; /* Main text color from palette for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-promotions a {
  color: #2AD16F; /* Link color, using a brighter green for visibility */
  text-decoration: none;
}

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

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 40px; /* Padding below the image and content */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A4B2C; /* Deep Green from palette for hero section background */
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height of the image wrapper */
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
  max-height: 500px; /* Ensure image itself doesn't exceed height */
}

.page-promotions__hero-content {
  position: relative; /* Relative for normal flow after image */
  z-index: 1;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Section titles */
.page-promotions__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2FFF6; /* Main text color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F, #13994A); /* Button gradient for underline */
  border-radius: 2px;
}

/* Text blocks */
.page-promotions__text-block {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
  text-align: justify;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-text {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none; /* Reset border */
  box-sizing: border-box;
  max-width: 100%; /* For responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* For long words */
  text-align: center;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #F2FFF6; /* Main text color */
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4); /* Glow effect */
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Button primary color for text */
  border: 2px solid #2AD16F; /* Border with primary color */
}

.page-promotions__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-promotions__btn-text {
  background-color: transparent;
  color: #57E38D; /* Glow color for subtle links */
  padding: 5px 10px;
  font-size: 0.95rem;
  border-radius: 5px;
  border: 1px solid transparent;
}

.page-promotions__btn-text:hover {
  background-color: rgba(87, 227, 141, 0.1);
  text-decoration: none;
  border: 1px solid #57E38D;
}

/* Intro Section */
.page-promotions__intro-section {
  padding: 60px 0;
  background-color: #08160F;
}

/* Promo Types Section */
.page-promotions__promo-types-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green from palette */
}

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

.page-promotions__promo-card {
  background-color: #11271B; /* Card Background color */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

.page-promotions__card-content {
  padding: 25px;
}

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

.page-promotions__card-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
  line-height: 1.5;
}

/* How to Join Section */
.page-promotions__how-to-join-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-promotions__step-item {
  background-color: #11271B; /* Card Background color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
  transition: transform 0.3s ease;
}

.page-promotions__step-item:hover {
  transform: translateY(-5px);
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow color */
}

.page-promotions__step-title {
  font-size: 1.25rem;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__step-description {
  font-size: 0.95rem;
  color: #A7D9B8;
}

.page-promotions__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green from palette */
}

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

.page-promotions__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

.page-promotions__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #57E38D; /* Glow color for checkmark */
  font-weight: bold;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-promotions__feature-item {
  background-color: #11271B; /* Card Background color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
  transition: transform 0.3s ease;
}

.page-promotions__feature-item:hover {
  transform: translateY(-5px);
}

.page-promotions__feature-icon {
  width: 100px; /* Adjusted icon size */
  height: 100px; /* Adjusted icon size */
  object-fit: contain;
  margin: 0 auto 20px auto;
  filter: drop-shadow(0 0 8px #57E38D); /* Subtle glow for icons */
}

.page-promotions__feature-title {
  font-size: 1.3rem;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__feature-description {
  font-size: 0.95rem;
  color: #A7D9B8;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green from palette */
}

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

.page-promotions__faq-item {
  background-color: #11271B; /* Card Background color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  color: #F2FFF6;
  font-weight: bold;
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for summary */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-promotions__faq-question:hover {
  background-color: #1E3A2A; /* Divider color for hover */
}

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  margin-left: 20px;
  color: #57E38D; /* Glow color for toggle icon */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: #1E3A2A; /* Darker background when open */
}

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95rem;
  color: #A7D9B8;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-promotions__hero-description {
    font-size: 1rem;
  }
  .page-promotions__section-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px; /* Adjust padding for smaller screens */
  }

  .page-promotions__hero-section {
    padding-bottom: 30px;
  }

  .page-promotions__hero-content {
    margin-top: 15px;
  }

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

  .page-promotions__hero-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-text {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.9rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-promotions__promo-grid,
  .page-promotions__steps-grid,
  .page-promotions__feature-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-promotions__promo-image {
    height: 200px; /* Adjust card image height */
  }

  .page-promotions__card-content,
  .page-promotions__step-item,
  .page-promotions__feature-item {
    padding: 20px;
  }

  .page-promotions__card-title,
  .page-promotions__step-title,
  .page-promotions__feature-title {
    font-size: 1.1rem;
  }

  .page-promotions__text-block,
  .page-promotions__list-item,
  .page-promotions__card-description,
  .page-promotions__step-description,
  .page-promotions__feature-description,
  .page-promotions__faq-answer p {
    font-size: 0.9rem;
  }

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

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

  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__hero-image-wrapper,
  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__feature-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure content does not overflow */
  }
  
  .page-promotions__hero-image {
    max-height: 300px; /* Adjust hero image height for mobile */
  }

  .page-promotions__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile hero */
  }

  /* Video responsiveness (if any, though none explicitly added) */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions__video-section {
    padding-top: 10px !important;
  }
}

/* No CSS filter for images */
.page-promotions img {
  filter: none;
}