.page-doi-tac {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Custom background color */
}

.page-doi-tac__hero-section {
  padding-top: 10px; /* Small top padding to account for fixed header */
  padding-bottom: 60px;
  background: #F5F7FA; /* Match body background */
}

.page-doi-tac__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px;
  gap: 40px;
}

.page-doi-tac__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #333333;
}

.page-doi-tac__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: #E53935;
  margin-bottom: 20px;
}

.page-doi-tac__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
}

.page-doi-tac__cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-doi-tac__cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-doi-tac__cta-button--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-doi-tac__cta-button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-doi-tac__cta-button--secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-doi-tac__cta-button--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-doi-tac__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-doi-tac__hero-visual {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-doi-tac__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-doi-tac__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
}

.page-doi-tac__section-title--white {
  color: #ffffff;
}

.page-doi-tac__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-doi-tac__section-description--white {
  color: #f0f0f0;
}

.page-doi-tac__benefits-section {
  padding: 80px 0;
  background-color: #F5F7FA;
}

.page-doi-tac__benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-doi-tac__benefit-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-doi-tac__benefit-card:hover {
  transform: translateY(-5px);
}

.page-doi-tac__benefit-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-doi-tac__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 15px;
}

.page-doi-tac__process-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-doi-tac__step-item {
  text-align: center;
  padding: 25px;
  background-color: #F5F7FA;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: relative;
}

.page-doi-tac__step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 700;
  margin: 0 auto 20px;
}

.page-doi-tac__step-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
}

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

.page-doi-tac__faq-section {
  padding: 80px 0;
  background-color: #F5F7FA;
}

.page-doi-tac__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-doi-tac__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none; /* Hide default details marker */
}

.page-doi-tac__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-doi-tac__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #E53935;
  margin-left: 15px;
}

.page-doi-tac__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
}

.page-doi-tac__contact-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-doi-tac__contact-form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-doi-tac__contact-form {
  flex: 1 1 45%;
  min-width: 300px;
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-doi-tac__form-group {
  margin-bottom: 20px;
}

.page-doi-tac__form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333333;
}

.page-doi-tac__form-input,
.page-doi-tac__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-doi-tac__form-textarea {
  resize: vertical;
}

.page-doi-tac__contact-info {
  flex: 1 1 45%;
  min-width: 300px;
  background-color: #F5F7FA;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-doi-tac__contact-info-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 20px;
}

.page-doi-tac__contact-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-doi-tac__contact-info li {
  margin-bottom: 10px;
  color: #333333;
}

.page-doi-tac__contact-info a {
  color: #E53935;
  text-decoration: none;
  font-weight: 600;
}

.page-doi-tac__contact-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
}

.page-doi-tac__why-choose-us {
  padding: 80px 0;
  background-color: #E53935; /* Dark background */
  color: #ffffff;
}

.page-doi-tac__why-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto 0;
}

.page-doi-tac__why-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

.page-doi-tac__why-list li strong {
  color: #FF5A4F;
  margin-right: 10px;
}

.page-doi-tac__testimonials-section {
  padding: 80px 0;
  background-color: #F5F7FA;
}

.page-doi-tac__testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-doi-tac__testimonial-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-doi-tac__testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid #E53935;
}

.page-doi-tac__testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  color: #555555;
}

.page-doi-tac__testimonial-author {
  font-weight: 600;
  color: #E53935;
}

.page-doi-tac__call-to-action {
  padding: 80px 0;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  text-align: center;
  color: #ffffff;
}

.page-doi-tac__cta-button--large {
  font-size: 1.2em;
  padding: 18px 35px;
  margin-top: 30px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-doi-tac__main-title {
    font-size: 2.5em;
  }
  .page-doi-tac__section-title {
    font-size: 2em;
  }
  .page-doi-tac__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-doi-tac__hero-content {
    order: 2;
  }
  .page-doi-tac__hero-image {
    order: 1;
    margin-bottom: 30px;
  }
  .page-doi-tac__cta-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-doi-tac {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO section */
  .page-doi-tac__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-doi-tac__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }
  .page-doi-tac__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-doi-tac__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Buttons and button containers */
  .page-doi-tac__cta-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }
  .page-doi-tac__cta-button,
  .page-doi-tac__cta-button--primary,
  .page-doi-tac__cta-button--secondary,
  .page-doi-tac a[class*="button"],
  .page-doi-tac 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;
    text-align: center;
  }

  /* General content area and images */
  .page-doi-tac__content-area {
    padding: 20px 15px;
  }
  .page-doi-tac__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-doi-tac__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-doi-tac__section,
  .page-doi-tac__card,
  .page-doi-tac__container,
  .page-doi-tac__contact-form-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-doi-tac__contact-form-container {
    flex-direction: column;
  }

  /* Module 1: Benefits Section */
  .page-doi-tac__benefit-grid {
    grid-template-columns: 1fr;
  }
  .page-doi-tac__benefit-icon {
    width: 80px;
    height: 80px;
  }

  /* Process Section */
  .page-doi-tac__process-steps {
    grid-template-columns: 1fr;
  }

  /* FAQ Section */
  .page-doi-tac__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-doi-tac__faq-answer {
    padding: 0 20px 15px;
  }

  /* Contact Section */
  .page-doi-tac__contact-form,
  .page-doi-tac__contact-info {
    flex: 1 1 100%;
    min-width: unset;
    padding: 20px;
  }

  /* Why Choose Us Section */
  .page-doi-tac__why-list li {
    font-size: 1em;
    padding: 12px 15px;
  }

  /* Testimonials Section */
  .page-doi-tac__testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* Call to Action */
  .page-doi-tac__cta-button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}