.page--g {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page--g .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color-light), var(--secondary-color-light));
  color: #ffffff;
}

.page--g .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page--g .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page--g .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page--g .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  margin-top: -80px; /* Overlap with image */
}

.page--g h1 {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.page--g .hero-content p {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page--g .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--primary-color);
}

.page--g .cta-button:hover {
  background: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-color: var(--secondary-color);
}

.page--g .small-cta-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page--g .small-cta-button:hover {
  background: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.page--g h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  position: relative;
}

.page--g h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  border-radius: 2px;
}

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

.page--g p {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: #444444;
}

.page--g ul, .page--g ol {
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

.page--g ul li, .page--g ol li {
  margin-bottom: 10px;
}

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

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

.page--g .button-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Sections styling */
.page--g .intro-section, .page--g .features-section, .page--g .how-to-register-section, .page--g .tips-section, .page--g .promotions-section, .page--g .faq-section, .page--g .contact-section {
  padding: 40px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page--g .intro-section {
  padding-top: 80px; /* Adjust for hero overlap */
}

.page--g .features-section {
  background-color: #fefefe;
}

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

.page--g .feature-item {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g .feature-item img {
  width: 100%;
  max-width: 300px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page--g .feature-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-top: 0;
}

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

.page--g .promo-card {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page--g .promo-card img {
  width: 100%;
  max-width: 300px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page--g .promo-card h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-top: 0;
}

/* FAQ styles */
.page--g .faq-item {
  margin-bottom: 15px;
}

.page--g .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page--g .faq-question:hover {
  background: #f5f5f5;
  border-color: var(--primary-color-light);
}

.page--g .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--secondary-color-dark);
}

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

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

.page--g .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.page--g .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.page--g .faq-answer p {
  margin-bottom: 0;
  color: #555555;
}

.page--g .contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page--g .contact-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Variables for color scheme */
:root {
  --primary-color: #FFD700; /* Gold */
  --primary-color-light: #FFEB3B; /* Lighter Gold */
  --secondary-color: #8B0000; /* Deep Red */
  --secondary-color-dark: #5C0000; /* Darker Deep Red */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page--g h1 {
    font-size: 2.5em;
  }

  .page--g .hero-content p {
    font-size: 1.1em;
  }

  .page--g .cta-button {
    padding: 15px 35px;
    font-size: 1.2em;
  }

  .page--g h2 {
    font-size: 2em;
  }

  .page--g h3 {
    font-size: 1.6em;
  }

  .page--g p, .page--g ul li, .page--g ol li {
    font-size: 1em;
  }

  .page--g .feature-grid, .page--g .promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page--g .hero-section {
    padding: 40px 15px;
  }

  .page--g .hero-image img {
    border-radius: 8px;
  }

  .page--g .hero-content {
    margin-top: -60px;
    padding: 15px;
  }

  .page--g h1 {
    font-size: 2em;
  }

  .page--g .hero-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page--g .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }

  .page--g h2 {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page--g h3 {
    font-size: 1.4em;
  }

  .page--g .faq-question {
    padding: 15px 20px;
  }

  .page--g .faq-question h3 {
    font-size: 1.1em;
  }

  .page--g .faq-toggle {
    font-size: 20px;
  }

  .page--g .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page--g h1 {
    font-size: 1.8em;
  }

  .page--g .hero-content p {
    font-size: 0.9em;
  }

  .page--g .cta-button {
    font-size: 1em;
    padding: 10px 25px;
  }

  .page--g h2 {
    font-size: 1.6em;
  }

  .page--g h3 {
    font-size: 1.2em;
  }

  .page--g p, .page--g ul li, .page--g ol li {
    font-size: 0.95em;
  }

  .page--g .feature-grid, .page--g .promo-grid {
    grid-template-columns: 1fr;
  }

  .page--g .hero-content {
    margin-top: -40px; /* Further adjust overlap */
  }

  .page--g .hero-image img {
    border-radius: 6px;
  }
}