.page-index {
  font-family: 'Lato', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

.page-index__hero-section {
  padding-top: 10px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-index__service-section {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index__service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.page-index__service-item {
  min-width: 0;
  background-color: #FFFFFF; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-index__service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.page-index__service-link {
  display: block;
  text-decoration: none;
}

.page-index__service-item img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.page-index__content-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index__page-title {
  text-align: center;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-index__home-content {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  line-height: 1.7;
  color: #1F2D3D; /* Text Main */
}

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

.page-index__home-content h2 {
  color: #1F2D3D; /* Text Main */
  margin: 28px 0 15px;
  font-weight: 700;
  font-size: 1.8em;
}

.page-index__home-content h3 {
  color: #1F2D3D; /* Text Main */
  margin: 24px 0 12px;
  font-weight: 600;
  font-size: 1.5em;
}

.page-index__home-content ul,
.page-index__home-content ol {
  margin-bottom: 1em;
  padding-left: 25px;
}

.page-index__home-content li {
  margin-bottom: 0.5em;
}

.page-index__link-highlight {
  color: #2F6BFF; /* Main color for links */
  text-decoration: none;
  font-weight: 600;
}

.page-index__link-highlight:hover {
  text-decoration: underline;
}

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

.page-index__home-content table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Ensure table is not too narrow on desktop */
}

.page-index__home-content th,
.page-index__home-content td {
  border: 1px solid #D6E2FF; /* Border */
  padding: 12px 15px;
  vertical-align: top;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}

.page-index__home-content th {
  background-color: #F4F7FB; /* Background */
  font-weight: 600;
}

.page-index__cta-buttons {
  display: flex;
  gap: 15px;
  margin: 30px 0;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index__btn-primary,
.page-index__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-index__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
}

.page-index__btn-secondary {
  background-color: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index__btn-secondary:hover {
  background-color: #2F6BFF;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-index__figure {
  margin: 30px 0;
  text-align: center;
}

.page-index__figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: block;
  margin: 0 auto;
}

.page-index__figure figcaption {
  margin-top: 10px;
  font-size: 0.9em;
  color: #1F2D3D; /* Text Main */
}

.page-index__faq-item {
  margin-bottom: 10px;
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  background-color: #FFFFFF; /* Card BG */
  overflow: hidden;
}

.page-index__faq-details {
  cursor: pointer;
}

.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
  font-weight: 600;
  font-size: 1.1em;
  list-style: none;
}

.page-index__faq-question::-webkit-details-marker {
  display: none;
}

.page-index__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index__faq-details[open] .page-index__faq-toggle {
  transform: rotate(45deg);
}

.page-index__faq-answer {
  padding: 15px 20px;
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
  border-top: 1px solid #D6E2FF; /* Border */
}

.page-index__partner-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  text-align: center;
  box-sizing: border-box;
}

.page-index__partner-title {
  color: #1F2D3D; /* Text Main */
  font-weight: 700;
  font-size: 2em;
  margin-bottom: 20px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-index__hero-section {
    padding-top: 8px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-index__hero-image img {
    border-radius: 6px;
  }

  .page-index__service-section {
    margin: 15px auto;
    padding: 0 10px;
  }

  .page-index__service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-index__service-item {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .page-index__content-section {
    margin: 25px auto;
    padding: 0 10px;
  }

  .page-index__page-title {
    font-size: 1.8em; /* Adjust h1 font size for mobile */
    margin-bottom: 20px;
  }

  .page-index__home-content {
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .page-index__home-content h2 {
    font-size: 1.5em;
    margin: 20px 0 10px;
  }

  .page-index__home-content h3 {
    font-size: 1.3em;
    margin: 18px 0 10px;
  }

  .page-index__home-content p,
  .page-index__home-content li,
  .page-index__home-content td {
    font-size: 15px;
  }

  .page-index__table-wrapper {
    margin: 15px 0;
  }

  .page-index__home-content table {
    min-width: 100%; /* Allow table to scroll if content is too wide */
  }

  .page-index__home-content th,
  .page-index__home-content td {
    padding: 10px 12px;
  }

  .page-index__cta-buttons {
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
  }

  .page-index__btn-primary,
  .page-index__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 40px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index__figure {
    margin: 20px 0;
  }

  .page-index__figure img {
    border-radius: 6px;
  }

  .page-index__faq-item {
    margin-bottom: 8px;
    border-radius: 6px;
  }

  .page-index__faq-question {
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-index__faq-answer {
    padding: 12px 15px;
  }

  .page-index__partner-section {
    margin: 25px auto;
    padding: 0 10px;
  }

  .page-index__partner-title {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

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

  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__table-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px;
    padding-right: 10px;
  }
}