/* style/index-why-choose-hb88.css */

/* Variables */
:root {
  --page-hb88-primary-color: #0A192F;
  --page-hb88-secondary-color: #FFD700;
  --page-hb88-text-light: #FFFFFF;
  --page-hb88-text-dark: #333333; /* Ensuring high contrast on light backgrounds */
  --page-hb88-background-light: #F8F8F8;
}

.page-index-why-choose-hb88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-hb88-text-dark); /* Default text color for light backgrounds */
}

.page-index-why-choose-hb88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-why-choose-hb88__hero-section {
  background-color: var(--page-hb88-primary-color);
  color: var(--page-hb88-text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-why-choose-hb88__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.9), rgba(255, 215, 0, 0.3)); /* Overlay for visual effect */
  z-index: 0;
}

.page-index-why-choose-hb88__hero-section .page-index-why-choose-hb88__container {
  position: relative;
  z-index: 1;
}

.page-index-why-choose-hb88__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--page-hb88-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-why-choose-hb88__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-hb88-text-light);
}

.page-index-why-choose-hb88__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index-why-choose-hb88__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-index-why-choose-hb88__button--primary {
  background-color: var(--page-hb88-secondary-color);
  color: var(--page-hb88-primary-color); /* Dark text on gold button */
}

.page-index-why-choose-hb88__button--primary:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
}

.page-index-why-choose-hb88__button--secondary {
  background-color: transparent;
  color: var(--page-hb88-secondary-color);
  border: 2px solid var(--page-hb88-secondary-color);
}

.page-index-why-choose-hb88__button--secondary:hover {
  background-color: var(--page-hb88-secondary-color);
  color: var(--page-hb88-primary-color);
  transform: translateY(-3px);
}

.page-index-why-choose-hb88__section {
  padding: 80px 0;
  background-color: var(--page-hb88-background-light);
}

.page-index-why-choose-hb88__section--dark {
  background-color: var(--page-hb88-primary-color);
  color: var(--page-hb88-text-light); /* Light text on dark background */
}

.page-index-why-choose-hb88__section--dark .page-index-why-choose-hb88__section-title,
.page-index-why-choose-hb88__section--dark .page-index-why-choose-hb88__sub-title {
  color: var(--page-hb88-secondary-color); /* Gold titles on dark background */
}

.page-index-why-choose-hb88__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
  color: var(--page-hb88-primary-color); /* Dark title on light background */
}

.page-index-why-choose-hb88__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
  color: var(--page-hb88-primary-color); /* Dark subtitle on light background */
}

.page-index-why-choose-hb88__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.page-index-why-choose-hb88__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-index-why-choose-hb88__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-index-why-choose-hb88__image-wrapper {
  text-align: center;
}

.page-index-why-choose-hb88__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-index-why-choose-hb88__cta-final-section {
  background-color: var(--page-hb88-secondary-color);
  color: var(--page-hb88-primary-color); /* Dark text on gold background */
  padding: 80px 0;
  text-align: center;
}

.page-index-why-choose-hb88__cta-final-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-why-choose-hb88__cta-final-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-why-choose-hb88__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-why-choose-hb88__hero-title {
    font-size: 2.8em;
  }
  .page-index-why-choose-hb88__hero-subtitle {
    font-size: 1.2em;
  }
  .page-index-why-choose-hb88__section-title {
    font-size: 2.2em;
  }
  .page-index-why-choose-hb88__sub-title {
    font-size: 1.5em;
  }
  .page-index-why-choose-hb88__content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .page-index-why-choose-hb88__content-grid--reverse .page-index-why-choose-hb88__image-wrapper {
    order: -1; /* Image first on mobile for reverse grid */
  }
  .page-index-why-choose-hb88__cta-final-title {
    font-size: 2.5em;
  }
  .page-index-why-choose-hb88__cta-final-subtitle {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-index-why-choose-hb88__hero-title {
    font-size: 2.2em;
  }
  .page-index-why-choose-hb88__hero-subtitle {
    font-size: 1em;
  }
  .page-index-why-choose-hb88__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-why-choose-hb88__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-why-choose-hb88__section {
    padding: 60px 0;
  }
  .page-index-why-choose-hb88__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-index-why-choose-hb88__sub-title {
    font-size: 1.3em;
  }
  .page-index-why-choose-hb88__cta-final-title {
    font-size: 2em;
  }
  .page-index-why-choose-hb88__cta-final-subtitle {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index-why-choose-hb88__hero-title {
    font-size: 1.8em;
  }
  .page-index-why-choose-hb88__hero-subtitle {
    font-size: 0.9em;
  }
  .page-index-why-choose-hb88__section-title {
    font-size: 1.5em;
  }
  .page-index-why-choose-hb88__sub-title {
    font-size: 1.1em;
  }
  .page-index-why-choose-hb88__cta-final-title {
    font-size: 1.6em;
  }
}