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

.page-doi-tac__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #f8f8f8; /* Light background for hero section */
}

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

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

.page-doi-tac__hero-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #017439;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 600px; /* Constrain H1 width */
}

.page-doi-tac__hero-description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

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

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

.page-doi-tac__hero-main-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* For responsiveness */
  box-sizing: border-box; /* For responsiveness */
  white-space: normal; /* For responsiveness */
  word-wrap: break-word; /* For responsiveness */
}

.page-doi-tac__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-doi-tac__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-doi-tac__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-doi-tac__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

.page-doi-tac__btn-primary--large {
  padding: 18px 36px;
  font-size: 1.2em;
}

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

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

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

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

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

.page-doi-tac__light-bg {
  background-color: #f8f8f8;
}

.page-doi-tac__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

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

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

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

.page-doi-tac__icon-box-media {
  width: 180px; /* Specific size for square/circular images */
  height: 180px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #017439; /* Add a border for visual emphasis */
}

.page-doi-tac__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the circular area */
  border-radius: 50%; /* Important for circular shape */
  display: block;
}

.page-doi-tac__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-doi-tac__card-text {
  font-size: 1em;
  color: #555555;
}

/* Process Section */
.page-doi-tac__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-doi-tac__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  border-top: 5px solid #017439;
}

.page-doi-tac__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #017439;
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__step-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-doi-tac__step-text {
  color: #555555;
}

.page-doi-tac__process-image {
  text-align: center;
}

.page-doi-tac__process-img {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-doi-tac__faq-list {
  margin-top: 30px;
}

.page-doi-tac__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

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

.page-doi-tac__faq-question:hover {
  background-color: #f0f0f0;
}

.page-doi-tac__faq-qtext {
  flex-grow: 1;
  color: #017439; /* FAQ question text in brand color */
}

.page-doi-tac__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #017439;
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-question {
  border-bottom: 1px solid #017439;
  background-color: #e6f7ed; /* Lighter brand color background when open */
}

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

/* CTA Section (Dark Background) */
.page-doi-tac__cta-section {
  padding: 80px 16px;
  text-align: center;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-doi-tac__hero-container {
    padding: 30px 16px;
    gap: 30px;
  }

  .page-doi-tac__hero-title {
    font-size: 2.2em;
  }

  .page-doi-tac__section-title {
    font-size: 1.8em;
  }

  .page-doi-tac__content-area {
    padding: 40px 16px;
  }

  .page-doi-tac__benefits-grid,
  .page-doi-tac__process-steps {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-doi-tac__icon-box-media {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-doi-tac__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 40px;
  }

  .page-doi-tac__hero-container {
    flex-direction: column;
    padding: 20px 15px; /* Add horizontal padding for content area */
    gap: 20px;
  }

  .page-doi-tac__hero-content,
  .page-doi-tac__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-doi-tac__hero-title {
    font-size: 1.8em;
    text-align: center;
  }

  .page-doi-tac__hero-description {
    font-size: 1em;
    text-align: center;
  }

  .page-doi-tac__hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }

  /* Buttons */
  .page-doi-tac__btn-primary,
  .page-doi-tac__btn-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; /* Ensure internal padding */
    padding-right: 15px;
  }

  .page-doi-tac__hero-cta-group,
  .page-doi-tac__button-group,
  .page-doi-tac__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;
  }

  /* General Content Area */
  .page-doi-tac__content-area {
    padding: 30px 15px; /* Ensure content has side padding */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden; /* Prevent horizontal scroll */
  }

  .page-doi-tac__section-title {
    font-size: 1.6em;
  }

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

  /* Images */
  .page-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block; /* Ensure block level for full width */
  }

  /* Module 1 (Benefits Section) - 3 columns to 1 column */
  .page-doi-tac__benefits-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }

  .page-doi-tac__icon-box-media {
    width: 120px; /* Smaller square size for mobile */
    height: 120px;
    border: 3px solid #017439;
  }

  /* Process Section - 4 columns to 1 column */
  .page-doi-tac__process-steps {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }

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

  .page-doi-tac__faq-answer {
    padding: 15px;
    font-size: 0.95em;
  }

  /* CTA Section */
  .page-doi-tac__cta-section {
    padding: 50px 15px;
  }

  .page-doi-tac__btn-primary--large {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-doi-tac__hero-title {
    font-size: 1.6em;
  }
  .page-doi-tac__section-title {
    font-size: 1.4em;
  }
  .page-doi-tac__icon-box-media {
    width: 100px; /* Even smaller for very small screens */
    height: 100px;
  }
}