/* style/promotions.css */
/* Base styles for the promotions page */
.page-promotions {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color from custom palette */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.15rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
}

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

/* General Section Styling */
.page-promotions__section {
  padding: 80px 20px;
  background-color: #08160F;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 50px;
}

.page-promotions__text-block {
  font-size: 1rem;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-promotions__card {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(87, 227, 141, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency, object-fit will cover */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min-size */
  min-height: 200px; /* Enforce min-size */
}

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2C14E; /* Gold color for card titles */
  margin-bottom: 15px;
}

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

/* Button Styling */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #F2FFF6; /* Light text for dark button */
  border: 2px solid transparent;
}

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

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Green text for secondary button */
  border: 2px solid #2AD16F; /* Green border */
}

.page-promotions__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  box-shadow: 0 0 10px #57E38D;
}

.page-promotions__card-button {
  width: 100%; /* Full width within card */
}

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

.page-promotions__step-card {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 0 10px rgba(87, 227, 141, 0.1);
}

.page-promotions__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E; /* Gold color for step titles */
  margin-bottom: 15px;
}

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

.page-promotions__info-card {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 0 10px rgba(87, 227, 141, 0.1);
}

.page-promotions__info-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E; /* Gold color for info titles */
  margin-bottom: 15px;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  overflow: hidden;
}

.page-promotions__faq-item {
  background-color: #11271B; /* Card BG color */
  border-bottom: 1px solid #2E7A4E; /* Divider color */
}

.page-promotions__faq-item:last-child {
  border-bottom: none;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Main text color */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green for FAQ header */
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #11A84E; /* Main color on hover */
}

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

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

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #F2C14E; /* Gold for toggle icon */
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
  background-color: #11271B; /* Card BG for answer */
}

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

.page-promotions__reason-card {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 0 10px rgba(87, 227, 141, 0.1);
  text-align: center;
}

.page-promotions__reason-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E; /* Gold color for reason titles */
  margin-bottom: 15px;
}

.page-promotions__bottom-cta {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #2E7A4E;
}

.page-promotions__large-cta {
  font-size: 1.3rem;
  padding: 15px 40px;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }

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

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

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

  .page-promotions__hero-description {
    font-size: 1.05rem;
  }
}

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

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

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

  .page-promotions__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

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

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

  .page-promotions__card-title,
  .page-promotions__step-title,
  .page-promotions__info-title,
  .page-promotions__reason-title {
    font-size: 1.3rem;
  }

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

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

  /* Mobile responsive images/videos/buttons - MUST USE !important */
  .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__hero-image-wrapper,
  .page-promotions__faq-list,
  .page-promotions__faq-item,
  .page-promotions__steps-grid,
  .page-promotions__info-grid,
  .page-promotions__reason-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons mobile adaptation */
  .page-promotions__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .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;
  }
}

/* Ensure content area images are at least 200px on desktop */
@media (min-width: 769px) {
  .page-promotions img:not(.page-promotions__hero-image) {
    min-width: 200px;
    min-height: 200px;
  }
}