/* style/index-latest-promotions.css */
.page-index-latest-promotions {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A2239; /* Main dark blue background */
}

.page-index-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-latest-promotions__hero {
  background: linear-gradient(135deg, #0A2239 0%, #1a3a5a 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-latest-promotions__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions__hero-subtitle {
  font-size: 1.3em;
  color: #C0C0C0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-latest-promotions__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-index-latest-promotions__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-index-latest-promotions__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #0A2239; /* Dark blue text on gold */
  border: 2px solid #FFD700;
}

.page-index-latest-promotions__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-index-latest-promotions__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-index-latest-promotions__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2239;
  transform: translateY(-2px);
}

.page-index-latest-promotions__btn--card {
  display: block;
  width: fit-content;
  margin: 20px auto 0 auto;
  padding: 12px 25px;
  font-size: 1em;
  background-color: #FFD700;
  color: #0A2239;
  border: none;
  border-radius: 5px;
  text-align: center;
}

.page-index-latest-promotions__btn--card:hover {
  background-color: #e6c200;
  transform: translateY(-1px);
}

.page-index-latest-promotions__btn--center {
  margin-left: auto;
  margin-right: auto;
  display: table;
}

.page-index-latest-promotions__hero-image {
  max-width: 100%;
  height: auto;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-index-latest-promotions__section:nth-of-type(even) {
  background-color: #0F2D4B; /* Slightly lighter dark blue for alternating sections */
}

.page-index-latest-promotions__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for section titles */
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-index-latest-promotions__section-description {
  font-size: 1.15em;
  color: #C0C0C0;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

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

.page-index-latest-promotions__promo-card {
  background-color: #1A3A5A; /* Darker blue for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-latest-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions__promo-card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__promo-card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-index-latest-promotions__promo-card-text {
  font-size: 1em;
  color: #E0E0E0;
  line-height: 1.7;
  flex-grow: 1;
}

.page-index-latest-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-index-latest-promotions__steps-list li {
  background-color: #1A3A5A;
  margin-bottom: 20px;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  counter-increment: step-counter;
}

.page-index-latest-promotions__steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FFD700;
  color: #0A2239;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5em;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-index-latest-promotions__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  margin-left: 35px; /* Offset for the counter */
}

.page-index-latest-promotions__steps-list p {
  font-size: 1em;
  color: #E0E0E0;
  line-height: 1.6;
  margin-left: 35px; /* Offset for the counter */
}

.page-index-latest-promotions__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-index-latest-promotions__advantages-list li {
  background-color: #1A3A5A;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.1em;
  color: #E0E0E0;
  line-height: 1.6;
}

.page-index-latest-promotions__advantage-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: #FFD700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-index-latest-promotions__advantage-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(100%); /* Make icon visible on gold background */
}

.page-index-latest-promotions__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-index-latest-promotions__faq-item {
  background-color: #1A3A5A;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.page-index-latest-promotions__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-index-latest-promotions__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-index-latest-promotions__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-latest-promotions__faq-answer {
  font-size: 1em;
  color: #E0E0E0;
  padding: 0 25px 20px;
  margin: 0;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index-latest-promotions__faq-answer.active {
  max-height: 200px; /* Adjust based on expected content length */
  padding-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-latest-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-index-latest-promotions__section-title {
    font-size: 2.2em;
  }
  .page-index-latest-promotions__hero-actions {
    flex-direction: column;
  }
  .page-index-latest-promotions__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-index-latest-promotions__steps-list li::before {
    left: 5px;
    top: 20px;
    transform: none;
  }
  .page-index-latest-promotions__step-title,
  .page-index-latest-promotions__steps-list p {
    margin-left: 60px;
  }
}

@media (max-width: 768px) {
  .page-index-latest-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-index-latest-promotions__hero-subtitle {
    font-size: 1.1em;
  }
  .page-index-latest-promotions__section-title {
    font-size: 1.8em;
  }
  .page-index-latest-promotions__section-description {
    font-size: 1em;
  }
  .page-index-latest-promotions__promo-card-title {
    font-size: 1.5em;
  }
  .page-index-latest-promotions__promo-card-image {
    height: 150px;
  }
  .page-index-latest-promotions__promo-card {
    padding: 20px;
  }
  .page-index-latest-promotions__btn {
    width: 90%;
  }
  .page-index-latest-promotions__advantages-list li,
  .page-index-latest-promotions__faq-question,
  .page-index-latest-promotions__faq-answer {
    font-size: 0.95em;
  }
  .page-index-latest-promotions__steps-list li::before {
    left: 0;
    top: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
  .page-index-latest-promotions__step-title,
  .page-index-latest-promotions__steps-list p {
    margin-left: 50px;
  }
}