/* style/index.css */

/* General Page Styling */
.page-index {
  color: #333333; /* Default text color for light background */
  background-color: var(--auxiliary-color, #FFFFFF);
}

/* Module 1: Hero Slider */
.page-index__hero-slider {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Specific top padding as per requirement */
  overflow: hidden;
  max-width: 100%; /* Ensure no overflow */
  box-sizing: border-box;
}
.page-index__hero-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}
.page-index__hero-slider-slide {
  flex: 0 0 100%;
  width: 100%;
  display: none;
  position: relative;
}
.page-index__hero-slider-slide.is-active {
  display: block;
}
.page-index__hero-slider-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  min-width: 200px;
  min-height: 200px;
}
.page-index__hero-slider-prev,
.page-index__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 4px;
  z-index: 10;
}
.page-index__hero-slider-prev {
  left: 10px;
}
.page-index__hero-slider-next {
  right: 10px;
}
.page-index__hero-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.page-index__hero-slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
}
.page-index__hero-slider-dots button.is-active {
  background-color: #FFFFFF;
}

/* Module 2: Spacing */
.page-index__spacing-30 {
  margin-bottom: 30px;
}

/* Module 3: Promo Duo */
.page-index__promo-duo {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
}
.page-index__promo-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.page-index__promo-duo-col {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-index__promo-duo-col img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  min-width: 200px;
  min-height: 200px;
}
.page-index__promo-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  background: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-index__promo-cta:hover {
  background-color: #a00606;
}

/* Module 4: Decorative H1 */
.page-index__section-title {
  text-align: center;
  margin: 30px auto;
  max-width: 1250px;
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
}
.page-index__section-title-bold-center {
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1.2;
  color: #017439; /* Brand primary color */
  margin: 0;
  max-width: 100%; /* Ensure H1 doesn't overflow */
  box-sizing: border-box;
}