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

.page-index__hero-slider {
  position: relative;
  width: 100%;
  padding-top: 10px;
  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 0.5s ease-in-out;
  position: relative;
}

.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, 0.15);
  max-width: 100%;
  box-sizing: border-box;
}

.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;
  z-index: 10;
  font-size: 24px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.page-index__hero-slider-prev:hover,
.page-index__hero-slider-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.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;
  z-index: 10;
}

.page-index__hero-slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-index__spacing-medium {
  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 {
  background-color: #17191F; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
}

.page-index__promo-duo-col img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid #A84F0C; /* Border */
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__promo-cta {
  display: block;
  width: calc(100% - 40px);
  margin: 20px auto 0;
  text-align: center;
  padding: 14px 20px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button Gradient */
  color: #FFF3E6; /* Text Main */
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__promo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 165, 58, 0.4);
}

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

.page-index__main-h1 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: #FF8C1A; /* Main Color */
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__home-content {
  max-width: 900px;
  margin: 24px auto;
  height: 700px;
  padding: 10px;
  box-sizing: border-box;
  border: 5px solid #FFA53A; /* Auxiliary Color */
  border-radius: 15px;
  box-shadow: 0 0 20px #FFB04D; /* Glow */
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for readability on dark bg */
  color: #FFF3E6; /* Text Main */
}

.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-track {
  background: #17191F; /* Card BG */
  border-radius: 10px;
}

.page-index__home-content-inner::-webkit-scrollbar-thumb {
  background-color: #4C9BB6;
  border-radius: 20px;
  border: 3px solid #FFA53A; /* Auxiliary Color */
}

.page-index__home-content-inner h2,
.page-index__home-content-inner h3,
.page-index__home-content-inner h5 {
  color: #FF8C1A; /* Main Color */
  margin-top: 25px;
  margin-bottom: 15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-index__home-content-inner h2 {
  font-size: 28px;
}

.page-index__home-content-inner h3 {
  font-size: 22px;
}

.page-index__home-content-inner p {
  margin-bottom: 15px;
  color: #FFF3E6; /* Text Main */
}

.page-index__home-content-inner a {
  color: #FFA53A; /* Auxiliary Color */
  text-decoration: underline;
}

.page-index__home-content-inner a:hover {
  color: #FFB04D; /* Glow */
}

.page-index__home-content-inner figure {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  background-color: #17191F; /* Card BG */
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__home-content-inner figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__home-content-inner figcaption {
  color: #FFF3E6; /* Text Main */
  font-size: 14px;
  margin-top: 10px;
}

.page-index__quick-access-links a {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button Gradient */
  color: #FFF3E6;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-index__quick-access-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 165, 58, 0.4);
}

.page-index__milestone-list,
.page-index__step-list,
.page-index__contact-list,
.page-index__future-plan-list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-bottom: 15px;
  color: #FFF3E6; /* Text Main */
}

.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-bottom: 20px;
}

.page-index__styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  text-align: left;
  background-color: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
  border-radius: 8px;
  overflow: hidden;
}

.page-index__styled-table th,
.page-index__styled-table td {
  padding: 12px 15px;
  border: 1px solid #A84F0C; /* Border */
}

.page-index__styled-table th {
  background-color: #FF8C1A; /* Main Color */
  color: #FFF3E6; /* Text Main */
  font-weight: bold;
  text-transform: uppercase;
}

.page-index__styled-table tbody tr:nth-child(odd) {
  background-color: #17191F; /* Card BG */
}

.page-index__styled-table tbody tr:nth-child(even) {
  background-color: #0D0E12; /* Background */
}

.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: #FF8C1A; /* Main Color */
  text-transform: uppercase;
  margin-bottom: 25px;
  font-size: 30px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.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: 15px; /* For scrollbar visibility */
}

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

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

.page-index__blog-slider-track::-webkit-scrollbar-thumb {
  background-color: #FFA53A; /* Auxiliary Color */
  border-radius: 10px;
}

.page-index__blog-slider-prev,
.page-index__blog-slider-next {
  background: #FF8C1A; /* Main Color */
  color: #FFF3E6; /* Text Main */
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__blog-slider-prev:hover,
.page-index__blog-slider-next:hover {
  background-color: #FFA53A; /* Auxiliary Color */
  transform: scale(1.05);
}

.page-index__post-item {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  box-sizing: border-box;
  background-color: #17191F; /* Card BG */\  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-index__post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.4);
}

.page-index__post-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.page-index__post-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__post-date {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #FF8C1A; /* Main Color */
  border-radius: 4px;
  padding: 4px 8px;
  text-align: center;
  line-height: 1.2;
  color: #FF8C1A; /* Main Color */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.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: #FFA53A; /* Auxiliary Color */
  margin: 12px 8px 6px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-index {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index__hero-slider {
    padding-top: 10px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .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__spacing-medium {
    margin-bottom: 20px;
  }

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

  .page-index__promo-duo-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

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

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

  .page-index__main-h1 {
    font-size: 26px; /* Adjusted for better mobile readability */
  }

  .page-index__home-content {
    height: 60vh;
    min-height: 420px;
    max-height: 560px;
    margin: 16px 12px;
    border-width: 3px;
    max-width: 100% !important;
    width: auto !important; /* Allow natural width within margins */
    box-sizing: border-box !important;
    padding: 8px;
  }

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

  .page-index__home-content-inner h2 {
    font-size: 24px;
  }

  .page-index__home-content-inner h3 {
    font-size: 20px;
  }

  .page-index__home-content-inner figure {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-index__styled-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

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

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

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

  .page-index__blog-slider-wrap {
    gap: 0; /* Remove gap when prev/next buttons are outside scroll area */
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-index__blog-slider-prev,
  .page-index__blog-slider-next {
    position: static;
    transform: none;
    margin: 10px 5px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .page-index__blog-slider-track {
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
  }

  .page-index__post-item {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

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

  .page-index__post-item h5 {
    font-size: 16px;
    margin: 10px 8px 5px;
  }

  .page-index__post-item p {
    font-size: 13px;
    margin: 0 10px 10px;
  }

  /* General image and button container adaptation for mobile */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-index__promo-duo,
  .page-index__section-title,
  .page-index__home-content,
  .page-index__blog-slider {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__promo-cta,
  .page-index__quick-access-links a {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}