/* style/promotions.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #212529;
  --border-color: #e0e0e0;
}

.page-promotions {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--bg-light);
}

.page-promotions-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Banner Section */
.page-promotions-hero-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Darker blue gradient */
  color: var(--text-color-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-promotions-hero-banner .page-promotions-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-promotions-hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions-hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.8;
}

.page-promotions-hero-image {
  width: 100%;
  max-width: 800px;
  margin-top: 30px;
}

.page-promotions-hero-image .page-promotions-img-responsive {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-promotions-cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  padding: 18px 45px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.page-promotions-cta-button:hover {
  background-color: #ffda6a;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Overview Section */
.page-promotions-overview {
  padding: 60px 0;
  background-color: var(--bg-light);
  text-align: center;
}

.page-promotions-overview h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-promotions-overview p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-promotions-feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions-feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-promotions-feature-item h3 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions-feature-item p {
  font-size: 1em;
  color: var(--text-color-dark);
  margin: 0;
}

/* Categories Section */
.page-promotions-categories {
  padding: 60px 0;
  background-color: #f2f7fc; /* Light blue background */
  text-align: center;
}

.page-promotions-categories h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-promotions-categories p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-promotions-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-promotions-card-content {
  padding: 25px;
}

.page-promotions-card-content h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-promotions-card-content h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions-card-content h3 a:hover {
  color: #0056b3;
}

.page-promotions-card-content p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  line-height: 1.7;
}

.page-promotions-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: all 0.3s ease;
}

.page-promotions-button:hover {
  background-color: #ffda6a;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* How To Claim Section */
.page-promotions-how-to-claim {
  padding: 60px 0;
  background-color: var(--bg-light);
  text-align: center;
}

.page-promotions-how-to-claim h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-promotions-how-to-claim p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-promotions-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-steps li {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions-step-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-promotions-steps h4 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-promotions-steps p {
  font-size: 1em;
  color: #555555;
  margin: 0;
}

.page-promotions-cta-wrapper {
    margin-top: 50px;
}

/* Terms & Conditions Section */
.page-promotions-terms {
  padding: 60px 0;
  background-color: #e9ecef; /* Lighter grey */
}

.page-promotions-terms h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
}

.page-promotions-terms p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.page-promotions-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-list li {
  background-color: #ffffff;
  padding: 18px 25px;
  margin-bottom: 15px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1em;
  color: var(--text-color-dark);
}

.page-promotions-list li p {
  margin: 0;
  text-align: left;
}

/* FAQ Section */
.page-promotions-faq {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-promotions-faq h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-color-dark);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555555;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}

/* Final CTA Section */
.page-promotions-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%); /* Darker blue gradient */
  color: var(--text-color-light);
  text-align: center;
}

.page-promotions-cta-section h2 {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions-cta-section p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

.page-promotions-secondary-button {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  margin-left: 20px;
}

.page-promotions-secondary-button:hover {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions-hero-content h1 {
    font-size: 2.8em;
  }
  .page-promotions-hero-content p {
    font-size: 1.1em;
  }
  .page-promotions-cta-button {
    padding: 15px 35px;
    font-size: 1em;
  }
  .page-promotions-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-promotions-card-img {
    height: 200px;
  }
  .page-promotions-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-promotions-cta-section h2 {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-promotions-hero-banner .page-promotions-container {
    flex-direction: column;
  }
  .page-promotions-hero-content h1 {
    font-size: 2.2em;
  }
  .page-promotions-hero-content p {
    font-size: 1em;
  }
  .page-promotions-overview h2,
  .page-promotions-categories h2,
  .page-promotions-how-to-claim h2,
  .page-promotions-terms h2,
  .page-promotions-faq h2,
  .page-promotions-cta-section h2 {
    font-size: 2em;
  }
  .page-promotions-feature-grid,
  .page-promotions-card-grid,
  .page-promotions-steps {
    grid-template-columns: 1fr;
  }
  .page-promotions-feature-item,
  .page-promotions-card,
  .page-promotions-steps li {
    margin-bottom: 20px;
  }
  .page-promotions-hero-image {
    margin-top: 20px;
  }
  .page-promotions-cta-button,
  .page-promotions-secondary-button {
    display: block;
    width: 80%;
    margin: 15px auto;
  }
  .page-promotions-secondary-button {
    margin-left: auto;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions-hero-content h1 {
    font-size: 1.8em;
  }
  .page-promotions-cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-promotions-overview h2,
  .page-promotions-categories h2,
  .page-promotions-how-to-claim h2,
  .page-promotions-terms h2,
  .page-promotions-faq h2,
  .page-promotions-cta-section h2 {
    font-size: 1.8em;
  }
  .page-promotions-card-content h3 {
    font-size: 1.4em;
  }
  .page-promotions-button {
    padding: 10px 20px;
    font-size: 0.85em;
  }
  .page-promotions-list li {
    padding: 15px 20px;
  }
}