/* style/doi-tac.css */
.page-doi-tac {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

.page-doi-tac__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-doi-tac__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  text-align: center;
  background-color: #F4F7FB;
  overflow: hidden;
}

.page-doi-tac__hero-image-wrap {
  width: 100%;
  max-height: 675px; /* Adjust as needed for aspect ratio */
  overflow: hidden;
}

.page-doi-tac__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-doi-tac__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative; /* Ensure content is above image if any z-index issues */
  z-index: 1;
}

.page-doi-tac__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #1F2D3D;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-doi-tac__hero-description {
  font-size: 1.1em;
  color: #1F2D3D;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-doi-tac__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-doi-tac__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

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

.page-doi-tac__btn-secondary:hover {
  background: #f0f0f0;
  color: #2F6BFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.1);
}

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

.page-doi-tac__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-doi-tac__partner-category {
  margin-bottom: 40px;
}

.page-doi-tac__category-title {
  font-size: 1.6em;
  color: #2F6BFF;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.page-doi-tac__image-figure {
  margin: 30px auto;
  max-width: 680px;
  text-align: center;
  background-color: #FFFFFF; /* Card BG */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-doi-tac__figure-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-doi-tac__figure-caption {
  font-size: 0.9em;
  color: #1F2D3D;
  padding: 15px;
  background-color: #FFFFFF;
}

.page-doi-tac__benefits-section {
  background-color: #2F6BFF; /* Main color as background */
  color: #ffffff;
}

.page-doi-tac__benefits-section .page-doi-tac__section-title,
.page-doi-tac__benefits-section .page-doi-tac__text-block {
  color: #ffffff;
}

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

.page-doi-tac__benefit-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.page-doi-tac__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

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

.page-doi-tac__card-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-doi-tac__process-list {
  list-style: none;
  padding: 0;
  counter-reset: process-step;
  margin-top: 40px;
}

.page-doi-tac__process-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
}

.page-doi-tac__process-item::before {
  counter-increment: process-step;
  content: counter(process-step);
  background-color: #2F6BFF;
  color: #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  flex-shrink: 0;
  margin-right: 20px;
}

.page-doi-tac__process-step-title {
  font-size: 1.3em;
  color: #2F6BFF;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-doi-tac__commitment-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 20px;
  color: #1F2D3D;
}

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

.page-doi-tac__commitment-item strong {
  color: #000000; /* Custom Color_1776249996415 */
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-doi-tac {
    font-size: 16px;
    line-height: 1.65;
  }

  .page-doi-tac__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }

  .page-doi-tac__hero-content {
    padding: 30px 15px;
  }

  .page-doi-tac__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

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

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

  .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 !important;
    padding-right: 15px !important;
  }

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

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

  .page-doi-tac__text-block {
    font-size: 0.95em;
    margin-bottom: 15px;
    padding: 0 15px;
  }

  .page-doi-tac__article-wrap,
  .page-doi-tac__section,
  .page-doi-tac__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-doi-tac__image-figure {
    margin: 20px auto;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-doi-tac__category-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    padding: 0 15px;
  }

  .page-doi-tac__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-doi-tac__benefit-card {
    padding: 25px;
  }

  .page-doi-tac__card-title {
    font-size: 1.2em;
  }

  .page-doi-tac__process-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .page-doi-tac__process-item::before {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-doi-tac__process-step-title {
    font-size: 1.15em;
  }

  .page-doi-tac__commitment-list {
    padding-left: 35px;
    padding-right: 15px;
  }

  .page-doi-tac__cta-bottom {
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
    padding: 0 15px;
  }
}