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

.page-doi-tac__hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-bottom: 40px; /* Space below content */
  background: #017439; /* Brand primary color for dark background */
  color: #ffffff; /* Light text for dark background */
}

.page-doi-tac__hero-image-wrapper {
  max-height: 500px; /* Limit image height */
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-doi-tac__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-doi-tac__hero-content {
  padding: 10px 20px 0; /* Small top padding */
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-doi-tac__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-doi-tac__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-doi-tac__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-doi-tac__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
}

.page-doi-tac__btn-primary {
  background: #C30808; /* Registration/Login button color */
  color: #FFFF00; /* Registration/Login font color */
  border: 2px solid #C30808;
}

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

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

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

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

.page-doi-tac__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-doi-tac__article-wrap {
  max-width: 900px;
}

.page-doi-tac__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-doi-tac__dark-bg .page-doi-tac__section-title,
.page-doi-tac__dark-bg .page-doi-tac__text-block,
.page-doi-tac__dark-bg .page-doi-tac__sub-title,
.page-doi-tac__dark-bg .page-doi-tac__list-item {
  color: #ffffff;
}

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

.page-doi-tac__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-doi-tac__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-doi-tac__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-doi-tac__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* 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: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.page-doi-tac__benefit-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-doi-tac__benefit-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  flex-grow: 0;
}

.page-doi-tac__benefit-text {
  font-size: 1em;
  color: #555555;
  text-align: justify;
  flex-grow: 1;
}

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

.page-doi-tac__step-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-doi-tac__step-text {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
}

.page-doi-tac__figure {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
}

.page-doi-tac__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-doi-tac__figcaption {
  font-size: 0.9em;
  color: #777777;
  margin-top: 10px;
}