.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background: #0A0A0A; /* Background */
}

.page-index__hero-slider {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Minimal top padding, rely on body for header offset */
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__hero-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.page-index__hero-slider-slide {
  flex: 0 0 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.page-index__hero-slider-slide.is-active {
  opacity: 1;
}

.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: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  border-radius: 4px;
}

.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: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

.page-index__hero-slider-dots button.is-active {
  background: #fff;
}

.page-index__spacer {
  margin-bottom: 30px;
}

.page-index__promo-duo {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-index__promo-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.page-index__promo-duo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 20px;
}

.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);
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-index__promo-cta {
  display: block;
  width: calc(100% - 40px);
  text-align: center;
  padding: 14px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for button */
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  transition: transform 0.2s ease;
}

.page-index__promo-cta:hover {
  transform: translateY(-2px);
}

.page-index__section-title {
  text-align: center;
  margin: 30px auto;
  max-width: 1250px;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-index__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: #FFD36B; /* Glow color for main title */
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
  margin: 0;
}

.page-index__home-content {
  max-width: 900px;
  margin: 24px auto;
  height: 700px;
  padding: 10px;
  box-sizing: border-box;
  border: 5px solid #FFD36B;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.7);
  background: rgba(255, 255, 255, 0.92); /* Light background for readability */
  color: #333333; /* Dark text for light background */
}

.page-index__home-content-inner {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 16px;
  text-align: justify;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.page-index__home-content-inner::-webkit-scrollbar {
  width: 10px;
}

.page-index__home-content-inner::-webkit-scrollbar-thumb {
  background-color: #4C9BB6; /* Scrollbar thumb color */
  border-radius: 20px;
  border: 3px solid #FFD36B; /* Border for scrollbar thumb */
}

.page-index__home-content-inner h2 {
  font-size: 2em;
  color: #F2C14E; /* Main color for h2 */
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
}

.page-index__content-heading {
  font-size: 2em;
  color: #F2C14E;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
}

.page-index__home-content-inner h3 {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color for h3 */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-index__content-subheading {
  font-size: 1.5em;
  color: #FFD36B;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-index__home-content-inner p {
  margin-bottom: 1em;
}

.page-index__home-content-inner figure {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
}

.page-index__home-content-inner figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-index__home-content-inner figcaption {
  font-style: italic;
  font-size: 0.9em;
  color: #666;
  margin-top: 8px;
}

.page-index__home-content-inner ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
}

.page-index__home-content-inner ol {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 1em;
}

.page-index__quick-link {
  color: #F2C14E;
  text-decoration: underline;
}

.page-index__quick-link:hover {
  color: #FFD36B;
}

.page-index__milestone-list li,
.page-index__step-list li,
.page-index__contact-list li,
.page-index__future-plan-list li {
  margin-bottom: 8px;
}

.page-index__table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
}

.page-index__content-table {
  width: 100%;
  border-collapse: collapse;
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  min-width: 600px; /* Ensure table is wide enough for content */
}

.page-index__content-table th,
.page-index__content-table td {
  border: 1px solid #3A2A12; /* Border */
  padding: 12px 15px;
  text-align: left;
}

.page-index__content-table th {
  background: #F2C14E;
  color: #111111; /* Dark text for header */
  font-weight: bold;
}

.page-index__content-table tr:nth-child(even) {
  background: rgba(17, 17, 17, 0.8);
}

.page-index__blog-slider {
  max-width: 1250px;
  margin: 30px auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-index__blog-slider-title {
  text-align: center;
  color: #FFD36B; /* Glow color for blog title */
  text-transform: uppercase;
  font-size: 2.2em;
  margin-bottom: 25px;
}

.page-index__blog-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-index__blog-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px; /* Space for scrollbar */
}

.page-index__blog-slider-track::-webkit-scrollbar {
  height: 8px;
}

.page-index__blog-slider-track::-webkit-scrollbar-thumb {
  background-color: #F2C14E; /* Scrollbar for blog slider */
  border-radius: 10px;
}

.page-index__blog-slider-track::-webkit-scrollbar-track {
  background: #111111; /* Card BG */
  border-radius: 10px;
}

.page-index__blog-slider-prev,
.page-index__blog-slider-next {
  background: rgba(242, 193, 78, 0.8); /* Main color with transparency */
  color: #111111; /* Dark text for button */
  border: none;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

.page-index__blog-slider-prev:hover,
.page-index__blog-slider-next:hover {
  background: #F2C14E;
}

.page-index__post-item {
  flex: 0 0 calc((100% - 40px) / 3); /* 3 cards on desktop with 20px gap */
  scroll-snap-align: start;
  box-sizing: border-box;
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 15px;
  display: flex;
  flex-direction: column;
  min-width: 250px; /* Minimum width for cards */
}

.page-index__post-item a {
  text-decoration: none;
  color: #FFF6D6; /* Text Main */
  display: block;
  height: 100%;
}

.page-index__post-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 10px;
}

.page-index__post-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-index__post-date {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: #111111; /* Card BG */
  border: 2px solid #F2C14E; /* Main color border */
  border-radius: 4px;
  padding: 4px 8px;
  text-align: center;
  line-height: 1.2;
  color: #F2C14E; /* Main color for date text */
  font-weight: bold;
}

.page-index__post-date-day {
  display: block;
  font-weight: 700;
  font-size: 16px;
}

.page-index__post-date-month {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
}

.page-index__post-item h5 {
  text-align: center;
  color: #FFD36B; /* Glow color for post title */
  margin: 12px 8px 6px;
  font-size: 1.2em;
  line-height: 1.3;
  flex-grow: 1;
}

.page-index__post-item p {
  text-align: center;
  color: #FFF6D6; /* Text Main */
  font-size: 14px;
  margin: 0 8px 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
}

/* Global image and button responsiveness for main content */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-index a[class*="cta"],
.page-index a[class*="btn"],
.page-index a[class*="button"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__button-group,
.page-index__cta-buttons,
.page-index__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-index {
    font-size: 15px;
  }

  .page-index__hero-slider {
    padding-top: 10px !important; /* Ensure minimal top padding */
  }

  .page-index__hero-slider-slide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__hero-slider-prev,
  .page-index__hero-slider-next {
    padding: 8px 12px;
    font-size: 20px;
  }

  .page-index__promo-duo {
    padding: 0 12px;
  }

  .page-index__promo-duo-grid {
    grid-template-columns: 1fr; /* Single column for promo duo */
    gap: 15px;
  }

  .page-index__promo-duo-col img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__promo-cta {
    width: calc(100% - 30px);
    padding: 12px 15px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index__section-title {
    margin: 20px auto;
    padding: 0 12px;
  }

  .page-index__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-index__home-content {
    height: 60vh; /* Fixed height for mobile long content */
    min-height: 420px;
    max-height: 560px;
    margin: 16px 12px;
    border-width: 3px;
    padding: 8px;
  }

  .page-index__home-content-inner {
    padding: 10px 12px;
  }

  .page-index__home-content-inner h2 {
    font-size: 1.6em;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .page-index__content-heading {
    font-size: 1.6em;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-index__home-content-inner h3 {
    font-size: 1.2em;
    margin-top: 15px;
    margin-bottom: 8px;
  }
  .page-index__content-subheading {
    font-size: 1.2em;
    margin-top: 15px;
    margin-bottom: 8px;
  }

  .page-index__home-content-inner figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__table-wrapper {
    overflow-x: auto; /* Enable horizontal scroll for tables */
  }

  .page-index__content-table {
    min-width: 500px; /* Ensure table content is readable */
  }

  .page-index__content-table th,
  .page-index__content-table td {
    padding: 10px;
  }

  .page-index__blog-slider {
    padding: 0 12px;
    margin: 20px auto;
  }

  .page-index__blog-slider-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-index__blog-slider-wrap {
    gap: 10px;
  }

  .page-index__post-item {
    flex: 0 0 100%; /* Single card on mobile */
    min-width: unset;
  }

  .page-index__post-cover img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__blog-slider-prev,
  .page-index__blog-slider-next {
    width: 35px;
    height: 35px;
    font-size: 18px;
    padding: 8px 10px;
  }

  /* Generic image and container responsiveness for mobile */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index__promo-duo,
  .page-index__section-title,
  .page-index__home-content,
  .page-index__blog-slider,
  .page-index__promo-duo-col,
  .page-index__post-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Button responsiveness for mobile */
  .page-index a[class*="cta"],
  .page-index a[class*="btn"],
  .page-index a[class*="button"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index__button-group,
  .page-index__cta-buttons,
  .page-index__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Colors for contrast */
.page-index__dark-bg {
  color: #ffffff; /* Deep background, light text */
  background: #0A0A0A; /* Background */
}

.page-index__light-bg {
  color: #333333; /* Light background, dark text */
  background: #ffffff;
}

.page-index__medium-bg {
  color: #000000; /* Medium background, dark text */
  background: #FFD36B; /* Auxiliary color */
}

.page-index__content-area,
.page-index__text-block {
  color: #FFF6D6; /* Text Main */
  background: #111111; /* Card BG */
}

.page-index p,
.page-index li {
  color: #FFF6D6; /* Text Main */
}

.page-index__card {
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  border: 1px solid #3A2A12; /* Border */
}

.page-index__dark-section {
  background: #F2C14E; /* Main color */
  color: #ffffff; /* White text */
}

.page-index__btn-primary {
  background: #F2C14E; /* Main color */
  color: #ffffff; /* White text */
  border: 2px solid transparent;
}

.page-index__btn-secondary {
  background: #ffffff;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Main color border */
}