/* style/-g.css */

/* Variables for colors */
:root {
  --page--g-primary-color: #FFD700; /* Gold */
  --page--g-secondary-color: #1E90FF; /* Dodger Blue */
  --page--g-dark-text: #2c3e50; /* Darker text for readability on light backgrounds */
  --page--g-light-text: #ffffff; /* Light text for dark backgrounds */
  --page--g-background-light: #f9f9f9;
  --page--g-background-dark: #1a2a3a;
  --page--g-border-color: #e0e0e0;
}

/* Base styles for the page content */
.page--g {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page--g-dark-text);
  background-color: var(--page--g-background-light);
}

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

.page--g__section {
  padding: 60px 0;
  text-align: center;
}

.page--g__section:nth-child(even) {
  background-color: #f0f8ff; /* Light blue tint for alternating sections */
}

.page--g__section-title {
  font-size: 2.5em;
  color: var(--page--g-secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page--g__section-description {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page--g__subsection-title {
  font-size: 1.8em;
  color: var(--page--g-dark-text);
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Buttons */
.page--g__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1em;
  border: none;
}

.page--g__btn--primary {
  background-color: var(--page--g-primary-color);
  color: var(--page--g-dark-text);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page--g__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page--g__btn--secondary {
  background-color: var(--page--g-secondary-color);
  color: var(--page--g-light-text);
  box-shadow: 0 4px 10px rgba(30, 144, 255, 0.3);
  margin-left: 15px;
}

.page--g__btn--secondary:hover {
  background-color: #1a7ae0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(30, 144, 255, 0.4);
}

.page--g__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page--g__btn--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page--g__hero {
  background: linear-gradient(135deg, var(--page--g-primary-color), var(--page--g-secondary-color));
  padding: 100px 0;
  color: var(--page--g-light-text);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page--g__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--page--g-light-text);
}

.page--g__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

.page--g__hero-cta a {
  margin-top: 20px;
}

/* Content Grid for sections */
.page--g__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page--g__content-grid--reverse {
  flex-direction: row-reverse;
}

.page--g__text-content {
  flex: 1;
}

.page--g__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page--g__img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page--g__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page--g__feature-list li {
  background-color: #fff;
  margin-bottom: 10px;
  padding: 15px;
  border-left: 5px solid var(--page--g-primary-color);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  text-align: left;
}

.page--g__feature-list li strong {
  color: var(--page--g-secondary-color);
}

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

.page--g__card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page--g__card-img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page--g__card-title {
  font-size: 1.5em;
  color: var(--page--g-secondary-color);
  margin-bottom: 10px;
}

.page--g__card-text {
  color: #666;
  font-size: 0.95em;
}

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

.page--g__step-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page--g__step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--page--g-primary-color);
  color: var(--page--g-dark-text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page--g__step-title {
  font-size: 1.4em;
  color: var(--page--g-secondary-color);
  margin-bottom: 10px;
}

.page--g__step-text {
  color: #666;
  font-size: 0.95em;
}

.page--g__step-item .page--g__btn {
  margin-top: 20px;
}

.page--g__text-center {
  text-align: center;
}

.page--g__mt-40 {
  margin-top: 40px;
}

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

.page--g__promo-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page--g__promo-card:hover {
  transform: translateY(-5px);
}

.page--g__promo-img {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page--g__promo-title {
  font-size: 1.5em;
  color: var(--page--g-secondary-color);
  margin-bottom: 10px;
}

.page--g__promo-text {
  color: #666;
  font-size: 0.95em;
  min-height: 70px; /* Ensure consistent card height */
}

.page--g__promo-card .page--g__btn {
  margin-top: 20px;
}

/* FAQ Accordion */
.page--g__faq {
  background-color: var(--page--g-background-light);
}

.page--g__accordion {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page--g__accordion-item {
  margin-bottom: 15px;
  border: 1px solid var(--page--g-border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page--g__accordion-header {
  background-color: #fcfcfc;
  color: var(--page--g-dark-text);
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page--g__accordion-header:hover {
  background-color: #f0f0f0;
}

.page--g__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  color: var(--page--g-primary-color);
  transition: transform 0.3s ease;
}

.page--g__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page--g__accordion-content {
  padding: 0 25px;
  background-color: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page--g__accordion-content p {
  padding: 15px 0;
  font-size: 1em;
  color: #555;
}

/* Final CTA Section */
.page--g__cta-final {
  background: var(--page--g-secondary-color);
  padding: 80px 0;
  color: var(--page--g-light-text);
}

.page--g__cta-final-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--page--g-light-text);
}

.page--g__cta-final-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page--g__hero-title {
    font-size: 3em;
  }
  .page--g__section-title {
    font-size: 2em;
  }
  .page--g__content-grid {
    flex-direction: column;
  }
  .page--g__content-grid--reverse {
    flex-direction: column;
  }
  .page--g__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .page--g__hero-title {
    font-size: 2.5em;
  }
  .page--g__hero-description {
    font-size: 1.1em;
  }
  .page--g__section {
    padding: 40px 0;
  }
  .page--g__section-title {
    font-size: 1.8em;
  }
  .page--g__card-grid, .page--g__steps-grid, .page--g__promo-grid {
    grid-template-columns: 1fr;
  }
  .page--g__btn {
    display: block;
    width: 80%;
    margin: 15px auto;
  }
  .page--g__btn--secondary {
    margin-left: auto; /* Center secondary button */
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .page--g__hero-title {
    font-size: 2em;
  }
  .page--g__hero-description {
    font-size: 1em;
  }
  .page--g__section-title {
    font-size: 1.5em;
  }
  .page--g__hero {
    padding: 60px 0;
  }
  .page--g__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }
}