.page-index-hello88-safety-reputation {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main for body background */
  background-color: #08160F; /* Background color */
}

.page-index-hello88-safety-reputation__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for first section */
  background-color: #08160F; /* Ensure hero section background matches body */
  box-sizing: border-box;
}

.page-index-hello88-safety-reputation__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-index-hello88-safety-reputation__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-hello88-safety-reputation__hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-hello88-safety-reputation__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-index-hello88-safety-reputation__hero-description {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-index-hello88-safety-reputation__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.page-index-hello88-safety-reputation__btn-primary,
.page-index-hello88-safety-reputation__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-hello88-safety-reputation__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
}

.page-index-hello88-safety-reputation__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-index-hello88-safety-reputation__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-index-hello88-safety-reputation__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-index-hello88-safety-reputation__section {
  padding: 80px 20px;
  box-sizing: border-box;
}

.page-index-hello88-safety-reputation__content-area {
  max-width: 1200px;
  margin: 0 auto;
  color: #333333; /* Default for light background */
}

.page-index-hello88-safety-reputation__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-index-hello88-safety-reputation__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-index-hello88-safety-reputation__card-bg {
  background-color: #11271B; /* Card BG color */
  color: #F2FFF6; /* Text Main for card background */
}

.page-index-hello88-safety-reputation__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: inherit; /* Inherit from section background */
}

.page-index-hello88-safety-reputation__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  font-weight: 600;
  color: inherit;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-hello88-safety-reputation__text-block {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05em;
  line-height: 1.7;
  color: inherit;
}

.page-index-hello88-safety-reputation__text-block p {
  margin-bottom: 20px;
}

.page-index-hello88-safety-reputation__text-block a {
  color: #13994A;
  text-decoration: underline;
}

.page-index-hello88-safety-reputation__text-block a:hover {
  color: #2AD16F;
}

.page-index-hello88-safety-reputation__keyword {
  font-weight: bold;
  color: #F2C14E; /* Gold */
}

.page-index-hello88-safety-reputation__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-hello88-safety-reputation__card {
  background-color: #11271B;
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.page-index-hello88-safety-reputation__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-hello88-safety-reputation__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-index-hello88-safety-reputation__text-main {
  color: #F2FFF6;
}

.page-index-hello88-safety-reputation__text-secondary {
  color: #A7D9B8;
}

.page-index-hello88-safety-reputation__image-text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-hello88-safety-reputation__image-left,
.page-index-hello88-safety-reputation__image-right {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

.page-index-hello88-safety-reputation__text-block-right,
.page-index-hello88-safety-reputation__text-block-left {
  flex: 2;
  min-width: 300px;
  font-size: 1.05em;
  line-height: 1.7;
  color: inherit;
}

.page-index-hello88-safety-reputation__reverse-layout {
  flex-direction: row-reverse;
}

.page-index-hello88-safety-reputation__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-index-hello88-safety-reputation__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: inherit;
}

.page-index-hello88-safety-reputation__list li::before {
  content: '✔';
  color: #2AD16F;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-hello88-safety-reputation__list--ordered {
  list-style: decimal;
  padding-left: 20px;
  margin-top: 20px;
  color: inherit;
}

.page-index-hello88-safety-reputation__list--ordered li {
  margin-bottom: 10px;
}

.page-index-hello88-safety-reputation__cta-section {
  text-align: center;
  padding: 100px 20px;
}

.page-index-hello88-safety-reputation__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #A7D9B8;
}

.page-index-hello88-safety-reputation__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-hello88-safety-reputation__hero-image-wrapper {
    max-width: 90%;
  }

  .page-index-hello88-safety-reputation__image-text-block {
    flex-direction: column;
    gap: 30px;
  }

  .page-index-hello88-safety-reputation__reverse-layout {
    flex-direction: column;
  }

  .page-index-hello88-safety-reputation__image-left,
  .page-index-hello88-safety-reputation__image-right {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index-hello88-safety-reputation__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-index-hello88-safety-reputation__section {
    padding: 60px 15px;
  }

  .page-index-hello88-safety-reputation__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-index-hello88-safety-reputation__hero-description {
    font-size: 1em;
  }

  .page-index-hello88-safety-reputation__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-hello88-safety-reputation__btn-primary,
  .page-index-hello88-safety-reputation__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index-hello88-safety-reputation__section-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-index-hello88-safety-reputation__sub-title {
    font-size: clamp(1.2em, 5vw, 1.5em);
  }

  .page-index-hello88-safety-reputation__text-block,
  .page-index-hello88-safety-reputation__text-block-right,
  .page-index-hello88-safety-reputation__text-block-left {
    font-size: 0.95em;
  }

  .page-index-hello88-safety-reputation__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-hello88-safety-reputation__card {
    padding: 25px;
  }

  .page-index-hello88-safety-reputation img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-hello88-safety-reputation__hero-image-wrapper,
  .page-index-hello88-safety-reputation__content-area,
  .page-index-hello88-safety-reputation__grid-container,
  .page-index-hello88-safety-reputation__image-text-block,
  .page-index-hello88-safety-reputation__card,
  .page-index-hello88-safety-reputation__cta-section,
  .page-index-hello88-safety-reputation__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-index-hello88-safety-reputation__cta-description {
    font-size: 1em;
  }
}