.page-index {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.7;
}

/* Hero Section */
.page-index__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.page-index__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%; /* Ensure responsiveness */
}

/* Page Title and Content */
.page-index__content-section {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}
.page-index__page-title {
  color: #e13923; /* Flatsome Red */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1250px;
  margin: 24px auto 16px;
  padding: 0 15px;
  font-weight: 700;
}
.page-index__page-title::before,
.page-index__page-title::after {
  content: '';
  width: 40px;
  height: 3px;
  background-color: #e13923; /* Flatsome Red */
  margin: 0 14px;
}
.page-index__home-content {
  max-width: 1250px;
  margin: 0 auto 36px;
  padding: 0 15px;
  box-sizing: border-box;
  line-height: 1.7;
}
.page-index__home-content h2,
.page-index__home-content h3 {
  color: #F2C14E; /* Custom Gold for subheadings */
  margin-top: 28px;
  margin-bottom: 14px;
}
.page-index__home-content p {
  margin-bottom: 16px;
}
.page-index__home-content ul,
.page-index__home-content ol {
  margin-bottom: 16px;
  padding-left: 25px;
}
.page-index__home-content li {
  margin-bottom: 8px;
}
.page-index__home-content a {
  color: #2AD16F; /* A brighter green for links */
  text-decoration: none;
}
.page-index__home-content a:hover {
  text-decoration: underline;
}
.page-index__wp-caption {
  text-align: center;
  margin: 20px auto;
  max-width: 100%;
}
.page-index__wp-caption img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.page-index__wp-caption-text {
  font-size: 0.9em;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-top: 8px;
}
.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap; /* For mobile responsiveness */
}
.page-index__btn-primary,
.page-index__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}
.page-index__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
  color: #F2FFF6; /* Custom Text Main */
  border: none;
}
.page-index__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}
.page-index__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Bright green for text */
  border: 2px solid #2AD16F; /* Bright green border */
}
.page-index__btn-secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(42, 209, 111, 0.1);
}

/* Blog Section */
.page-index__blog-section {
  background-color: #11271B; /* Custom Card BG for blog section */
  padding: 40px 0;
  margin-bottom: 40px;
  box-sizing: border-box;
}
.page-index__blog-section-title {
  color: #F2C14E; /* Custom Gold for blog title */
  text-align: center;
  margin: 0 0 24px;
  font-size: 2.2em;
  font-weight: 700;
}
.page-index__blog-slider {
  position: relative;
  overflow: hidden;
  max-width: 1250px;
  margin: 0 auto 40px;
  padding: 0 15px;
  box-sizing: border-box;
}
.page-index__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.4s ease;
  padding-bottom: 10px; /* Space for scrollbar on some systems */
}
.page-index__blog-slide {
  flex: 0 0 calc(33.333% - 14px); /* Desktop 3 columns */
  max-width: calc(33.333% - 14px);
  min-width: 0;
  background-color: #08160F; /* Darker background for individual cards */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.page-index__blog-card-link {
  display: block;
  text-decoration: none;
  color: #F2FFF6; /* Custom Text Main */
}
.page-index__blog-card-image {
  position: relative;
  padding-top: 56%; /* 16:9 aspect ratio */
  overflow: hidden;
}
.page-index__blog-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%; /* Ensure responsiveness */
}
.page-index__blog-card-body {
  text-align: center;
  padding: 14px 10px;
}
.page-index__blog-card-body h5 {
  color: #F2C14E; /* Custom Gold for card titles */
  margin: 0 0 8px;
  font-size: 1.1em;
  line-height: 1.4;
}
.page-index__blog-card-body p {
  font-size: 0.9em;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 0;
}
.page-index__blog-slider-prev,
.page-index__blog-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(42, 209, 111, 0.8); /* Greenish button */
  color: #F2FFF6;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.page-index__blog-slider-prev {
  left: 0px;
}
.page-index__blog-slider-next {
  right: 0px;
}
.page-index__blog-slider-prev:hover,
.page-index__blog-slider-next:hover {
  background-color: #2AD16F;
}
/* Arrows for slider buttons (simple text-based) */
.page-index__blog-slider-prev::before { content: '‹'; }
.page-index__blog-slider-next::before { content: '›'; }


/* Mobile responsiveness */
@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-index {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-index__page-title {
    font-size: 1.8em;
    padding: 0 10px;
    margin-top: 15px;
    margin-bottom: 10px;
  }
  .page-index__page-title::before,
  .page-index__page-title::after {
    width: 20px;
    height: 2px;
    margin: 0 8px;
  }
  .page-index__home-content {
    padding: 0 10px;
    margin-bottom: 20px;
  }
  .page-index__home-content h2,
  .page-index__home-content h3 {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .page-index__wp-caption {
    padding: 0 10px;
  }

  /* Image responsiveness */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__home-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsiveness */
  .page-index__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
  }
  .page-index__btn-primary,
  .page-index__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Blog section responsiveness */
  .page-index__blog-section {
    padding: 30px 0;
  }
  .page-index__blog-section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-index__blog-slider {
    padding: 0 10px;
  }
  .page-index__blog-slider-track {
    flex-wrap: wrap; /* Allow cards to wrap */
    justify-content: center; /* Center cards if fewer than full row */
    gap: 15px;
  }
  .page-index__blog-slide {
    flex: 0 0 100%; /* Single column for blog cards */
    max-width: 100%;
  }
  .page-index__blog-slider-prev,
  .page-index__blog-slider-next {
    display: none; /* Hide slider navigation buttons on mobile */
  }
}