.page-doi-tac {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* Body background from shared.css */
}

.page-doi-tac__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-doi-tac__hero-section {
  padding-top: 10px; /* Small top padding as body already has padding-top */
  padding-bottom: 60px;
}

.page-doi-tac__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-doi-tac__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  color: #F3F8FF; /* Text Main */
}

.page-doi-tac__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
}

.page-doi-tac__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}

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

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-doi-tac__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-doi-tac__btn-secondary {
  background: transparent;
  color: #1D5FD1; /* Auxiliary color */
  border: 2px solid #1D5FD1;
}

.page-doi-tac__btn-secondary:hover {
  background: rgba(29, 95, 209, 0.1);
  color: #F3F8FF; /* Text Main */
}

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

.page-doi-tac__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-doi-tac__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
}

.page-doi-tac__section-description {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #AFC4E8; /* Text Secondary */
}

.page-doi-tac__benefits-section,
.page-doi-tac__programs-section,
.page-doi-tac__how-to-join-section,
.page-doi-tac__testimonials-section,
.page-doi-tac__faq-section {
  padding: 60px 0;
}

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

.page-doi-tac__benefit-card,
.page-doi-tac__program-card,
.page-doi-tac__step-card,
.page-doi-tac__testimonial-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #244D84; /* Border */
}

.page-doi-tac__benefit-card:hover,
.page-doi-tac__program-card:hover,
.page-doi-tac__step-card:hover,
.page-doi-tac__testimonial-card:hover {
  transform: translateY(-8px);
}

.page-doi-tac__benefit-icon,
.page-doi-tac__testimonial-avatar {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 20px;
  display: block;
  object-fit: cover;
}

.page-doi-tac__testimonial-avatar {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  max-width: 100px;
  margin-bottom: 15px;
  border: 3px solid #F2C14E; /* Gold */
}

.page-doi-tac__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}

.page-doi-tac__card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #AFC4E8; /* Text Secondary */
}

.page-doi-tac__btn-link {
  display: inline-block;
  margin-top: 20px;
  color: #1D5FD1; /* Auxiliary color */
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.page-doi-tac__btn-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #1D5FD1;
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.page-doi-tac__btn-link:hover::after {
  transform: scaleX(1);
}

.page-doi-tac__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.page-doi-tac__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-doi-tac__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #F3F8FF; /* Text Main */
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}

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

.page-doi-tac__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-doi-tac__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #1D5FD1; /* Auxiliary color */
}

.page-doi-tac__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 10px;
}

.page-doi-tac__cta-final-section {
  padding: 80px 0;
  background-color: #113B7A; /* Primary color as background */
  text-align: center;
}

.page-doi-tac__cta-final-section .page-doi-tac__container {
  background-color: transparent; /* Container itself doesn't need background here */
}

.page-doi-tac__cta-final-section .page-doi-tac__section-title {
  color: #F3F8FF; /* Text Main */
  margin-bottom: 25px;
}

.page-doi-tac__cta-final-section .page-doi-tac__section-description {
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 40px;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-doi-tac__container {
    padding: 20px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-doi-tac__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-doi-tac__hero-container {
    flex-direction: column;
    gap: 30px;
  }

  .page-doi-tac__hero-content {
    order: 2;
    text-align: center;
  }

  .page-doi-tac__hero-image {
    order: 1;
  }

  .page-doi-tac__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

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

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

  .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__benefits-section,
  .page-doi-tac__programs-section,
  .page-doi-tac__how-to-join-section,
  .page-doi-tac__testimonials-section,
  .page-doi-tac__faq-section,
  .page-doi-tac__cta-final-section {
    padding: 40px 0 !important;
  }

  .page-doi-tac__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 15px;
  }

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

  .page-doi-tac__benefits-grid,
  .page-doi-tac__programs-grid,
  .page-doi-tac__steps-grid,
  .page-doi-tac__testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-doi-tac__benefit-card,
  .page-doi-tac__program-card,
  .page-doi-tac__step-card,
  .page-doi-tac__testimonial-card {
    padding: 25px;
  }

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

  .page-doi-tac__card-text {
    font-size: 0.9rem;
  }

  .page-doi-tac__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  /* General image responsiveness for content area */
  .page-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-doi-tac__cta-final-section .page-doi-tac__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
}