.page-index-about-cat88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: #FFFFFF; /* Default white background */
}

.page-index-about-cat88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-index-about-cat88__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  background-color: #017439; /* Brand primary color */
  color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-index-about-cat88__hero-content {
  flex: 1;
  padding-right: 40px;
  max-width: 600px;
}

.page-index-about-cat88__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color */
}

.page-index-about-cat88__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-index-about-cat88__hero-cta {
  display: flex;
  gap: 20px;
}

.page-index-about-cat88__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 600px;
}

.page-index-about-cat88__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-index-about-cat88__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: #017439;
}

.page-index-about-cat88__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 80px 0;
}

.page-index-about-cat88__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-index-about-cat88__dark-bg .page-index-about-cat88__section-title {
  color: #FFFF00;
}

.page-index-about-cat88__content-block {
  margin-bottom: 40px;
}

.page-index-about-cat88__content-subtitle {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439;
}

.page-index-about-cat88__dark-bg .page-index-about-cat88__content-subtitle {
  color: #FFFFFF;
}

.page-index-about-cat88 p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-index-about-cat88__link {
  color: #017439;
  text-decoration: underline;
}

.page-index-about-cat88__dark-bg .page-index-about-cat88__link {
  color: #FFFF00;
}

/* Products Section Grid */
.page-index-about-cat88__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-about-cat88__product-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-cat88__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index-about-cat88__product-image {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-index-about-cat88__product-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-index-about-cat88__product-link {
  color: #FFFF00;
  text-decoration: none;
}

.page-index-about-cat88__product-link:hover {
  text-decoration: underline;
}

.page-index-about-cat88__product-description {
  font-size: 0.95em;
  color: #E0E0E0;
}

/* Security Section */
.page-index-about-cat88__flex-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-index-about-cat88__text-content {
  flex: 1;
}

.page-index-about-cat88__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-about-cat88__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

/* Experience Section */
.page-index-about-cat88__grid-two-col {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}

.page-index-about-cat88__grid-two-col--reverse {
  flex-direction: row-reverse;
}

.page-index-about-cat88__text-block {
  flex: 1;
}

.page-index-about-cat88__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-about-cat88__mobile-image,
.page-index-about-cat88__support-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

/* Register Section */
.page-index-about-cat88__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-index-about-cat88__step-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-about-cat88__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #017439;
}

/* FAQ Section */
.page-index-about-cat88__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-index-about-cat88__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-index-about-cat88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #E6F4EA; /* Lighter shade of brand color */
  border-bottom: 1px solid #D1E7DD;
}

.page-index-about-cat88__faq-question:hover {
  background-color: #D1E7DD;
}

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

.page-index-about-cat88__faq-item.active .page-index-about-cat88__faq-toggle {
  transform: rotate(45deg);
}

.page-index-about-cat88__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #FFFFFF;
  color: #333333;
}

.page-index-about-cat88__faq-item.active .page-index-about-cat88__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 20px;
}

/* Buttons */
.page-index-about-cat88__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-about-cat88__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-index-about-cat88__btn-primary:hover {
  background-color: #D32F2F;
  transform: translateY(-2px);
}

.page-index-about-cat88__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-index-about-cat88__btn-secondary:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-index-about-cat88__btn--small {
  padding: 10px 20px;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-about-cat88__hero-title {
    font-size: 2.5em;
  }
  .page-index-about-cat88__section-title {
    font-size: 2em;
  }
  .page-index-about-cat88__content-subtitle {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-index-about-cat88__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure padding for mobile */
  }

  .page-index-about-cat88__hero-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .page-index-about-cat88__hero-title {
    font-size: 2em;
  }

  .page-index-about-cat88__hero-description {
    font-size: 1em;
  }

  .page-index-about-cat88__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-about-cat88__btn,
  .page-index-about-cat88__btn-primary,
  .page-index-about-cat88__btn-secondary,
  .page-index-about-cat88 a[class*="button"],
  .page-index-about-cat88 a[class*="btn"] {
    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-about-cat88__cta-buttons,
  .page-index-about-cat88__button-group,
  .page-index-about-cat88__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-index-about-cat88__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-index-about-cat88__content-subtitle {
    font-size: 1.3em;
  }

  .page-index-about-cat88__flex-content,
  .page-index-about-cat88__grid-two-col {
    flex-direction: column;
    gap: 30px;
  }

  .page-index-about-cat88__grid-two-col--reverse {
    flex-direction: column;
  }

  .page-index-about-cat88__product-image,
  .page-index-about-cat88__security-image,
  .page-index-about-cat88__mobile-image,
  .page-index-about-cat88__support-image,
  .page-index-about-cat88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-index-about-cat88__container,
  .page-index-about-cat88__hero-section,
  .page-index-about-cat88__about-section,
  .page-index-about-cat88__products-section,
  .page-index-about-cat88__security-section,
  .page-index-about-cat88__experience-section,
  .page-index-about-cat88__register-section,
  .page-index-about-cat88__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-index-about-cat88__faq-question {
    font-size: 1.1em;
  }

  .page-index-about-cat88 p, .page-index-about-cat88 li {
    font-size: 1em;
  }

  .page-index-about-cat88__product-image {
    height: auto; /* Allow auto height for mobile cards */
  }

  .page-index-about-cat88__faq-answer {
    padding: 15px !important;
  }
}