.page-index {
  font-family: 'Lato', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* Body background from shared */
}

.page-index__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.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: #10233F; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
}

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

.page-index__service-item img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  transition: transform 0.25s ease;
}

.page-index__service-link:hover img {
  transform: scale(1.03);
}

.page-index__page-title {
  text-align: center;
  color: #F3F8FF; /* Text Main */
  max-width: 1200px;
  margin: 40px auto 20px;
  padding: 0 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  /* No hardcoded large font-size, rely on browser defaults and media queries */
}

.page-index__home-content {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 15px;
  box-sizing: border-box;
  color: #F3F8FF; /* Text Main */
  line-height: 1.8;
  font-size: 16px;
}

.page-index__home-content h2 {
  color: #F3F8FF; /* Text Main */
  margin: 28px 0 12px;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.4;
}

.page-index__home-content h3 {
  color: #AFC4E8; /* Text Secondary */
  margin: 20px 0 10px;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
}

.page-index__home-content p {
  margin-bottom: 15px;
}

.page-index__home-content a {
  color: #1D5FD1; /* Auxiliary color for links */
  text-decoration: underline;
}

.page-index__home-content a:hover {
  color: #2B73F6;
}

.page-index__home-content ul,
.page-index__home-content ol {
  margin: 15px 0 15px 20px;
  list-style-type: disc;
}

.page-index__home-content ol {
  list-style-type: decimal;
}

.page-index__home-content li {
  margin-bottom: 8px;
}

.page-index__home-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background-color: #10233F; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
}

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

.page-index__home-content thead th {
  background-color: #113B7A; /* Main color */
  font-weight: 600;
  color: #F3F8FF;
}

.page-index__figure {
  margin: 25px 0;
  text-align: center;
  background-color: #10233F;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #244D84;
}

.page-index__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}

.page-index__figure figcaption {
  color: #AFC4E8; /* Text Secondary */
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.5;
}

.page-index__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
}

.page-index__faq-item h3 {
  color: #F3F8FF; /* Text Main */
  font-size: 18px;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.page-index__faq-item p {
  color: #AFC4E8; /* Text Secondary */
  font-size: 15px;
  margin: 0;
}

.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index__cta-button {
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  display: inline-flex; /* Use flex to center text vertically if needed */
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.page-index__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF; /* Text Main */
  border: 2px solid transparent;
}

.page-index__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 0 15px #4FA8FF; /* Glow */
}

.page-index__btn-secondary {
  background-color: transparent;
  color: #1D5FD1; /* Auxiliary color */
  border: 2px solid #1D5FD1;
}

.page-index__btn-secondary:hover {
  background-color: #1D5FD1;
  color: #F3F8FF; /* Text Main */
  box-shadow: 0 0 15px #4FA8FF; /* Glow */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index__hero-section,
  .page-index__service-section,
  .page-index__content-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

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

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

  .page-index__page-title {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-index__home-content {
    font-size: 15px;
    line-height: 1.7;
  }

  .page-index__home-content h2 {
    font-size: 22px;
    margin: 25px 0 10px;
  }

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

  .page-index__home-content table,
  .page-index__home-content th,
  .page-index__home-content td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .page-index__home-content thead {
    display: none;
  }

  .page-index__home-content tr {
    margin-bottom: 10px;
    border: 1px solid #244D84;
    border-radius: 8px;
    overflow: hidden;
  }

  .page-index__home-content tr td:first-child {
    background-color: #113B7A;
    color: #F3F8FF;
    font-weight: 600;
  }

  .page-index__home-content tr td:not(:first-child) {
    border-top: none;
  }

  .page-index__home-content tr td:last-child {
    border-bottom: none;
  }

  .page-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-index__cta-button {
    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;
  }

  .page-index__cta-buttons,
  .page-index__service-section,
  .page-index__content-section,
  .page-index__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}