:root {
  --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
}

.page-doi-tac {
  color: var(--text-main);
  background-color: var(--deep-navy);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-doi-tac__section-title {
  font-size: clamp(2em, 5vw, 2.5em);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-doi-tac__section-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-doi-tac__btn-primary {
  display: inline-block;
  background: var(--btn-gradient);
  color: var(--text-main);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-doi-tac__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

/* HERO Section */
.page-doi-tac__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--deep-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-doi-tac__hero-content-wrapper {
  display: flex;
  flex-direction: column; /* Image on top, text below for consistency */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
  gap: 30px;
}

.page-doi-tac__hero-image-block {
  width: 100%;
  max-width: 800px; /* Limit image width */
  text-align: center;
}

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

.page-doi-tac__hero-text-block {
  text-align: center;
  max-width: 800px;
}

.page-doi-tac__hero-title {
  font-size: clamp(2.5em, 6vw, 3.5em);
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-doi-tac__hero-description {
  font-size: 1.15em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

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

/* Intro Section */
.page-doi-tac__intro-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
}

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

.page-doi-tac__feature-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-doi-tac__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--glow-color);
}

.page-doi-tac__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-doi-tac__feature-title {
  font-size: 1.5em;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-doi-tac__feature-text {
  font-size: 1em;
  color: var(--text-secondary);
}

/* Benefits Section */
.page-doi-tac__benefits-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
}

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

.page-doi-tac__benefit-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-doi-tac__benefit-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-doi-tac__benefit-card-title {
  font-size: 1.4em;
  color: var(--text-main);
  padding: 20px 20px 10px;
  font-weight: 600;
}

.page-doi-tac__benefit-card-text {
  font-size: 1em;
  color: var(--text-secondary);
  padding: 0 20px 20px;
}

/* Process Section */
.page-doi-tac__process-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
}

.page-doi-tac__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-doi-tac__step-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--btn-gradient);
  color: var(--text-main);
  font-size: 1.8em;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 0 10px var(--glow-color);
}

.page-doi-tac__step-title {
  font-size: 1.4em;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-doi-tac__step-description {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-doi-tac__process-image {
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 40px auto 0;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-doi-tac__faq-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
}

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

.page-doi-tac__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  color: var(--text-main);
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

.page-doi-tac__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--gold-color);
  margin-left: 15px;
}

.page-doi-tac__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  color: var(--text-secondary);
}

.page-doi-tac__faq-answer p {
  margin: 0;
}

/* CTA Section */
.page-doi-tac__cta-section {
  padding: 80px 0;
  background-color: var(--deep-navy);
  text-align: center;
}

.page-doi-tac__cta-content {
  background-color: var(--card-bg);
  padding: 50px 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 800px;
}

.page-doi-tac__cta-button {
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-doi-tac__hero-content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-doi-tac__hero-image-block {
    order: -1; /* Image appears first */
    margin-bottom: 30px;
  }

  .page-doi-tac__hero-text-block {
    text-align: center;
  }
}

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

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

  .page-doi-tac__hero-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

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

  .page-doi-tac__btn-primary,
  .page-doi-tac__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 1em;
  }

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

  .page-doi-tac__section-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }

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

  .page-doi-tac__intro-section,
  .page-doi-tac__benefits-section,
  .page-doi-tac__process-section,
  .page-doi-tac__faq-section,
  .page-doi-tac__cta-section {
    padding: 50px 0;
  }

  .page-doi-tac__features-grid,
  .page-doi-tac__benefits-grid,
  .page-doi-tac__process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

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

  .page-doi-tac__feature-title,
  .page-doi-tac__benefit-card-title,
  .page-doi-tac__step-title {
    font-size: 1.3em;
  }

  .page-doi-tac__benefit-card-image {
    height: 200px;
  }

  .page-doi-tac__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6em;
  }

  .page-doi-tac__process-image {
    margin-top: 30px;
  }

  .page-doi-tac__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-doi-tac__faq-answer {
    padding: 0 20px 15px;
  }

  /* General image responsiveness for content area */
  .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__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-doi-tac__cta-content {
    padding: 40px 20px;
  }
}