/* Base styles for the page content */
.page-index-tai-sao-chon-fly88 {
  font-family: Arial, sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background from shared.css body */
  line-height: 1.6;
}

.page-index-tai-sao-chon-fly88__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

/* Section titles */
.page-index-tai-sao-chon-fly88__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #FF8C1A; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-tai-sao-chon-fly88__section-description {
  font-size: 1.1em;
  color: #FFF3E6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Card styles */
.page-index-tai-sao-chon-fly88__card {
  background-color: #17191F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border color */
  color: #FFF3E6; /* Text Main */
}

/* Buttons */
.page-index-tai-sao-chon-fly88__btn-primary,
.page-index-tai-sao-chon-fly88__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-tai-sao-chon-fly88__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-index-tai-sao-chon-fly88__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-index-tai-sao-chon-fly88__btn-secondary {
  background-color: transparent;
  color: #FF8C1A; /* Primary color */
  border: 2px solid #FF8C1A; /* Primary color border */
}

.page-index-tai-sao-chon-fly88__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #ffffff;
}

/* --- HERO Section --- */
.page-index-tai-sao-chon-fly88__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  padding-bottom: 60px;
  background-color: #0D0E12; /* Match body background */
}

.page-index-tai-sao-chon-fly88__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 20px 16px;
}

.page-index-tai-sao-chon-fly88__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #FFF3E6; /* Text Main */
}

.page-index-tai-sao-chon-fly88__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #FF8C1A;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-tai-sao-chon-fly88__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main */
}

.page-index-tai-sao-chon-fly88__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-tai-sao-chon-fly88__hero-image {
  flex: 1 1 50%;
  text-align: center;
  min-width: 300px;
}

.page-index-tai-sao-chon-fly88__hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block; /* Ensures height:auto works consistently */
}

/* --- Intro Section --- */
.page-index-tai-sao-chon-fly88__intro-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG, used for dark section */
}

.page-index-tai-sao-chon-fly88__dark-section {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
}

/* --- Advantages Section --- */
.page-index-tai-sao-chon-fly88__advantages-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Match body background */
}

.page-index-tai-sao-chon-fly88__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-tai-sao-chon-fly88__advantage-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-tai-sao-chon-fly88__advantage-icon {
  width: 100%; /* Max width for image container */
  max-width: 400px; /* Max width for image container */
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px; /* Square images, not circular here */
}

.page-index-tai-sao-chon-fly88__advantage-icon img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-index-tai-sao-chon-fly88__advantage-title {
  font-size: 1.6em;
  color: #FF8C1A;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-tai-sao-chon-fly88__advantage-text {
  font-size: 1em;
  color: #FFF3E6; /* Text Main */
}

/* --- CTA Section --- */
.page-index-tai-sao-chon-fly88__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-index-tai-sao-chon-fly88__cta-section .page-index-tai-sao-chon-fly88__cta-buttons {
  justify-content: center;
  margin-top: 30px;
}

/* --- FAQ Section --- */
.page-index-tai-sao-chon-fly88__faq-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Match body background */
}

.page-index-tai-sao-chon-fly88__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

.page-index-tai-sao-chon-fly88__faq-item {
  margin-bottom: 15px;
  cursor: pointer;
  padding: 0; /* Reset padding for details element */
  overflow: hidden; /* For smooth transition */
}

.page-index-tai-sao-chon-fly88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FF8C1A;
  background-color: #17191F; /* Card BG */
  border-bottom: 1px solid #A84F0C; /* Border color */
  border-radius: 10px;
  list-style: none; /* Hide default marker */
}

.page-index-tai-sao-chon-fly88__faq-question::-webkit-details-marker,
.page-index-tai-sao-chon-fly88__faq-question::marker {
  display: none;
}

.page-index-tai-sao-chon-fly88__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-tai-sao-chon-fly88__faq-item[open] .page-index-tai-sao-chon-fly88__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or just change to '-' */
}

.page-index-tai-sao-chon-fly88__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #FFF3E6; /* Text Main */
  background-color: #17191F; /* Card BG */
  border-top: none;
  border-radius: 0 0 10px 10px;
  animation: fadein 0.3s ease-out;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- General Image Responsiveness (for all img tags) --- */
.page-index-tai-sao-chon-fly88 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  .page-index-tai-sao-chon-fly88__container {
    padding: 20px 15px !important;
  }

  .page-index-tai-sao-chon-fly88__section-title {
    font-size: 2em;
  }

  .page-index-tai-sao-chon-fly88__section-description {
    font-size: 1em;
  }

  /* HERO Section */
  .page-index-tai-sao-chon-fly88__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px !important;
  }
  .page-index-tai-sao-chon-fly88__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 15px !important;
  }
  .page-index-tai-sao-chon-fly88__hero-content {
    flex: 1 1 100%;
    text-align: center;
  }
  .page-index-tai-sao-chon-fly88__main-title {
    font-size: 2em;
    max-width: 100% !important; /* Ensure title fits */
  }
  .page-index-tai-sao-chon-fly88__hero-description {
    font-size: 1em;
  }
  .page-index-tai-sao-chon-fly88__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px; /* Add padding to buttons container */
  }
  .page-index-tai-sao-chon-fly88__hero-image {
    flex: 1 1 100%;
    padding: 0 15px; /* Add padding to image container */
  }
  .page-index-tai-sao-chon-fly88__hero-main-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Intro Section */
  .page-index-tai-sao-chon-fly88__intro-section {
    padding: 40px 0 !important;
  }

  /* Advantages Section */
  .page-index-tai-sao-chon-fly88__advantages-section {
    padding: 40px 0 !important;
  }
  .page-index-tai-sao-chon-fly88__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-index-tai-sao-chon-fly88__advantage-card {
    padding: 20px !important;
    margin: 0 15px; /* Add margin to cards */
  }
  .page-index-tai-sao-chon-fly88__advantage-icon {
    max-width: 250px;
  }
  .page-index-tai-sao-chon-fly88__advantage-icon img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* CTA Section */
  .page-index-tai-sao-chon-fly88__cta-section {
    padding: 60px 0 !important;
  }
  .page-index-tai-sao-chon-fly88__cta-section .page-index-tai-sao-chon-fly88__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  /* FAQ Section */
  .page-index-tai-sao-chon-fly88__faq-section {
    padding: 40px 0 !important;
  }
  .page-index-tai-sao-chon-fly88__faq-list {
    margin-top: 20px;
    padding: 0 15px;
  }
  .page-index-tai-sao-chon-fly88__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-index-tai-sao-chon-fly88__faq-answer {
    padding: 15px 20px;
  }

  /* Universal Image and Button Responsiveness */
  .page-index-tai-sao-chon-fly88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-index-tai-sao-chon-fly88__btn-primary,
  .page-index-tai-sao-chon-fly88__btn-secondary,
  .page-index-tai-sao-chon-fly88 a[class*="button"],
  .page-index-tai-sao-chon-fly88 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-tai-sao-chon-fly88__cta-buttons,
  .page-index-tai-sao-chon-fly88__button-group,
  .page-index-tai-sao-chon-fly88__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-tai-sao-chon-fly88__cta-buttons {
    flex-direction: column;
  }
}