/* style/index.css */

/* --- Base Styles for .page-index --- */
.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Light body background #f4f4f4, so dark text */
  background-color: #f4f4f4; /* Match body background from shared.css */
  /* padding-top is handled by shared.css or hero-section */
}

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

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #8B0000; /* Secondary color for titles */
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}

.page-index__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Primary color underline */
  margin: 0 auto;
  margin-top: 10px;
  border-radius: 2px;
}

.page-index__section-title--light {
  color: #ffffff;
}

.page-index__section-title--light::after {
  background-color: #ffffff;
}

.page-index__text-block {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-index__text-block--light {
  color: #e0e0e0;
}

/* --- CTA Buttons General Style --- */
.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-index__cta-button--primary {
  background: #FFD700; /* Primary color */
  color: #ffffff;
  border: 2px solid #FFD700;
}

.page-index__cta-button--primary:hover {
  background: #e6c200; /* Slightly darker gold */
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--secondary {
  background: #8B0000; /* Secondary color */
  color: #ffffff;
  border: 2px solid #8B0000;
}

.page-index__cta-button--secondary:hover {
  background: #7a0000; /* Slightly darker red */
  border-color: #7a0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- HERO Section --- */
.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Background for visual appeal */
  color: #ffffff;
  /* 🚨 Fixed Header Spacing */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.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;
  max-width: 1000px; /* Limit image width within container */
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%; /* Ensure responsiveness */
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

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

.page-index__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-index__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* --- Module 1: Introduction Section --- */
.page-index__introduction-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-index__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

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

.page-index__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__feature-title {
  font-size: 22px;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index__feature-description {
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
}

/* --- Module 2: Quick Access Section --- */
.page-index__quick-access-section {
  padding: 80px 0;
  background-color: #8B0000; /* Secondary color for dark section */
  color: #ffffff;
}

.page-index__access-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}