:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Black */
  --accent-color: #DC143C; /* Deep Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000; /* From shared.css body background */
  --bg-light: #f9f9f9;
  --border-color: #333333;
}

.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency, though body handles this */
}

.page-index__section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden; /* Prevent content overflow */
}

.page-index__section--light {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-index__dark-bg {
  background-color: var(--secondary-color); /* Dark section background */
  color: var(--text-light);
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color); /* Title color */
  text-transform: uppercase;
}

.page-index__section-title--light {
  color: var(--primary-color);
}

.page-index__section-subtitle {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-index__section-subtitle--light {
  color: var(--primary-color);
}

.page-index__text-block {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-index__text-block--light {
  color: var(--text-light);
}

/* Buttons */
.page-index__cta-button,
.page-index__btn-primary,
.page-index__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  border: 2px solid transparent; /* Base border for consistency */
}

.page-index__cta-button--primary,
.page-index__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color); /* Dark text on primary color for contrast */
  border-color: var(--primary-color);
}

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

.page-index__cta-button--secondary,
.page-index__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-index__cta-button--secondary:hover,
.page-index__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

/* Image styles */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px; /* Consistent border-radius for images */
}

/* HERO Section */
.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: var(--secondary-color); /* Dark background for hero section */
  color: var(--text-light);
}

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

.page-index__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}

.page-index__hero-image img {
  width: 100%;
  height: 675px; /* Example height for 16:9 aspect ratio at 1200px width */
  object-fit: cover;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(26, 26, 26, 0.7); /* Semi-transparent dark overlay for text readability */
  border-radius: 12px;
  margin-top: -100px; /* Overlap with image for integrated look */
}

.page-index__hero-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 15px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-index__hero-description {
  font-size: 22px;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Module 1: Intro Section */
.page-index__intro-section {
  background-color: var(--bg-dark); /* Dark background */
  color: var(--text-light);
  padding-bottom: 40px;
}