/* Base styles for the gioi-thieu-doi-tac page */
.page-gioi-thieu-doi-tac {
  background-color: #0D0E12; /* Custom background color */
  color: #FFF3E6; /* Main text color */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

.page-gioi-thieu-doi-tac__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gioi-thieu-doi-tac__section {
  padding: 60px 0;
}

.page-gioi-thieu-doi-tac__section-title {
  color: #FF8C1A; /* Primary brand color for main titles */
  text-align: center;
  font-size: 2.8em;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

/* Hero Section */
.page-gioi-thieu-doi-tac__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
  padding-bottom: 60px;
  text-align: center;
  background-color: #0D0E12;
}

.page-gioi-doi-thieu-doi-tac__hero-image {
  margin-bottom: 30px;
}

.page-gioi-thieu-doi-tac__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-gioi-thieu-doi-tac__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-gioi-thieu-doi-tac__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #FFA53A; /* Lighter orange for H1 */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 165, 58, 0.5);
}

.page-gioi-thieu-doi-tac__intro-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gioi-thieu-doi-tac__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-gioi-thieu-doi-tac__btn-primary,
.page-gioi-thieu-doi-tac__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gioi-thieu-doi-tac__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Custom button gradient */
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
}

.page-gioi-thieu-doi-tac__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gioi-thieu-doi-tac__btn-secondary {
  background-color: transparent;
  color: #FF8C1A; /* Primary brand color for secondary button text */
  border: 2px solid #FF8C1A;
}

.page-gioi-thieu-doi-tac__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Content Styles */
.page-gioi-thieu-doi-tac__content-wrapper p {
  margin-bottom: 1em;
  color: #FFF3E6;
}

.page-gioi-thieu-doi-tac__content-wrapper a {
  color: #FFA53A;
  text-decoration: underline;
}

.page-gioi-thieu-doi-tac__content-wrapper a:hover {
  color: #FFB04D;
}

.page-gioi-thieu-doi-tac__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Benefits Grid */
.page-gioi-thieu-doi-tac__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gioi-thieu-doi-tac__card {
  background-color: #17191F; /* Custom card background color */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #FFF3E6;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-gioi-thieu-doi-tac__card-title {
  font-size: 1.6em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gioi-thieu-doi-tac__card p {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-gioi-thieu-doi-tac__card-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Limit image height in cards */
  object-fit: cover;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Partnership Types */
.page-gioi-thieu-doi-tac__types-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-gioi-thieu-doi-tac__type-item {
  background-color: #17191F;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  color: #FFF3E6;
}

.page-gioi-thieu-doi-tac__type-title {
  font-size: 1.8em;
  color: #FF8C1A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gioi-thieu-doi-tac__type-item p {
  margin-bottom: 1em;
}

/* Process Steps */
.page-gioi-thieu-doi-tac__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-gioi-thieu-doi-tac__step-card {
  background-color: #17191F;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #FFF3E6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gioi-thieu-doi-tac__step-number {
  counter-increment: step-counter;
  width: 60px;
  height: 60px;
  background-color: #D96800; /* Deep Orange */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-gioi-thieu-doi-tac__step-title {
  font-size: 1.4em;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gioi-thieu-doi-tac__step-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-gioi-thieu-doi-tac__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-gioi-thieu-doi-tac__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-gioi-thieu-doi-tac__faq-item {
  background-color: #17191F;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-gioi-thieu-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: #FFF3E6;
  background-color: #17191F;
  border-bottom: 1px solid #0D0E12; /* Darker border for separation */
  list-style: none; /* Hide default details marker */
}

.page-gioi-thieu-doi-tac__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-gioi-thieu-doi-tac__faq-qtext {
  flex-grow: 1;
}

.page-gioi-thieu-doi-tac__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFA53A;
  transition: transform 0.3s ease;
}

.page-gioi-thieu-doi-tac__faq-item[open] .page-gioi-thieu-doi-tac__faq-toggle {
  transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-gioi-thieu-doi-tac__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF3E6;
  background-color: #17191F;
}

.page-gioi-thieu-doi-tac__faq-answer p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* Final CTA Section */
.page-gioi-thieu-doi-tac__cta-final {
  text-align: center;
  padding-bottom: 80px;
}

.page-gioi-thieu-doi-tac__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #FFF3E6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General image and container responsiveness */
.page-gioi-thieu-doi-tac img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gioi-thieu-doi-tac__section-title {
    font-size: 2.5em;
  }
  .page-gioi-thieu-doi-tac__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-gioi-thieu-doi-tac__benefits-grid,
  .page-gioi-thieu-doi-tac__types-list,
  .page-gioi-thieu-doi-tac__process-steps {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-gioi-thieu-doi-tac {
    font-size: 16px; /* Mobile font size */
  }

  /* HERO Section */
  .page-gioi-thieu-doi-tac__hero-section {
    padding-top: 10px; /* Small top padding for mobile, relies on body padding-top */
    padding-bottom: 40px;
  }

  .page-gioi-thieu-doi-tac__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em); /* More restrained H1 on mobile */
  }

  .page-gioi-thieu-doi-tac__intro-description {
    font-size: 1em;
    padding: 0 15px; /* Add padding to prevent overflow */
  }

  .page-gioi-thieu-doi-tac__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
  }

  .page-gioi-thieu-doi-tac__btn-primary,
  .page-gioi-thieu-doi-tac__btn-secondary {
    width: 100% !important; /* Force full width for buttons */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Section Titles */
  .page-gioi-thieu-doi-tac__section-title {
    font-size: 2em;
    margin-bottom: 30px;
    padding: 0 15px; /* Add padding to prevent overflow */
  }

  /* Content Wrapper */
  .page-gioi-thieu-doi-tac__content-wrapper,
  .page-gioi-thieu-doi-tac__text-block {
    padding: 0 15px; /* Add padding to text blocks */
  }

  /* Images in content areas */
  .page-gioi-thieu-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Card Layouts */
  .page-gioi-thieu-doi-tac__benefits-grid,
  .page-gioi-thieu-doi-tac__types-list,
  .page-gioi-thieu-doi-tac__process-steps {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 25px;
    padding: 0 15px;
  }

  .page-gioi-thieu-doi-tac__card,
  .page-gioi-thieu-doi-tac__type-item,
  .page-gioi-thieu-doi-tac__step-card {
    padding: 25px;
  }

  .page-gioi-thieu-doi-tac__card-title {
    font-size: 1.4em;
  }

  .page-gioi-thieu-doi-tac__type-title {
    font-size: 1.6em;
  }

  .page-gioi-thieu-doi-tac__step-title {
    font-size: 1.2em;
  }

  /* FAQ Section */
  .page-gioi-thieu-doi-tac__faq-list {
    padding: 0 15px;
  }

  .page-gioi-thieu-doi-tac__faq-question {
    font-size: 1.05em;
    padding: 18px 20px;
  }

  .page-gioi-thieu-doi-tac__faq-answer {
    padding: 0 20px 18px;
  }

  /* Final CTA */
  .page-gioi-thieu-doi-tac__cta-description {
    font-size: 1.05em;
    padding: 0 15px;
  }

  .page-gioi-thieu-doi-tac__cta-final .page-gioi-thieu-doi-tac__cta-buttons {
    padding: 0 15px;
  }

  /* Ensure all content containers have proper mobile padding/width */
  .page-gioi-thieu-doi-tac__section,
  .page-gioi-thieu-doi-tac__container,
  .page-gioi-thieu-doi-tac__card,
  .page-gioi-thieu-doi-tac__type-item,
  .page-gioi-thieu-doi-tac__step-card,
  .page-gioi-thieu-doi-tac__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gioi-thieu-doi-tac__section:not(.page-gioi-thieu-doi-tac__hero-section) {
      padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-gioi-thieu-doi-tac__section-title {
    font-size: 1.8em;
  }
  .page-gioi-thieu-doi-tac__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
}