/* style/doi-tac.css */
.page-doi-tac {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - Body background */
}

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

.page-doi-tac__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F3F8FF; /* Text Main */
  line-height: 1.2;
}

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

/* Hero Section */
.page-doi-tac__hero-section {
  padding-top: 10px; /* Fixed header spacing */
  padding-bottom: 60px;
  background-color: #08162B;
}

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

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

.page-doi-tac__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F3F8FF;
}

.page-doi-tac__description {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #AFC4E8;
}

.page-doi-tac__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.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;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-doi-tac__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-doi-tac__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.6);
}

.page-doi-tac__btn-secondary {
  background-color: transparent;
  color: #4FA8FF; /* Glow */
  border: 2px solid #4FA8FF; /* Glow */
}

.page-doi-tac__btn-secondary:hover {
  background-color: #4FA8FF;
  color: #08162B;
  border-color: #4FA8FF;
}

.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 10px 30px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-doi-tac__intro-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-doi-tac__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.page-doi-tac__icon-box {
  flex: 1 1 30%;
  min-width: 280px;
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
}

.page-doi-tac__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #F2C14E; /* Gold */
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.page-doi-tac__icon-box-text {
  font-size: 1em;
  line-height: 1.6;
  color: #AFC4E8;
}

/* Benefits Section */
.page-doi-tac__benefits-section {
  padding: 80px 0;
  background-color: #10233F; /* Card BG */
}

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

.page-doi-tac__benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-doi-tac__benefit-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-doi-tac__benefit-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #AFC4E8;
}

.page-doi-tac__image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-doi-tac__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Programs Section */
.page-doi-tac__programs-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-doi-tac__program-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.page-doi-tac__card {
  flex: 1 1 30%;
  min-width: 280px;
  background-color: #10233F; /* Card BG */
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid #244D84; /* Border */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-doi-tac__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #AFC4E8;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* How to Partner Section */
.page-doi-tac__how-to-partner-section {
  padding: 80px 0;
  background-color: #10233F; /* Card BG */
}

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

.page-doi-tac__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #244D84; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-doi-tac__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #1D5FD1; /* Auxiliary color */
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(29, 95, 209, 0.5);
}

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

.page-doi-tac__step-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #AFC4E8;
}

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

/* Commitment Section */
.page-doi-tac__commitment-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-doi-tac__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-doi-tac__commitment-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #F3F8FF;
  line-height: 1.6;
}

.page-doi-tac__list-icon {
  color: #F2C14E; /* Gold */
  font-size: 1.4em;
  margin-right: 15px;
  min-width: 25px;
}

.page-doi-tac__list-text {
  flex-grow: 1;
  color: #AFC4E8;
}

/* FAQ Section */
.page-doi-tac__faq-section {
  padding: 80px 0;
  background-color: #10233F; /* Card BG */
}

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

.page-doi-tac__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F3F8FF;
  cursor: pointer;
  background-color: #1B3357; /* Divider */
  user-select: none;
  list-style: none;
  position: relative;
}

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

.page-doi-tac__faq-qtext {
  flex-grow: 1;
}

.page-doi-tac__faq-toggle {
  font-size: 1.8em;
  font-weight: normal;
  margin-left: 20px;
  color: #4FA8FF; /* Glow */
  transition: transform 0.3s ease;
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-toggle {
  transform: rotate(45deg);
}

.page-doi-tac__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #AFC4E8;
  border-top: 1px solid #244D84;
  background-color: rgba(255, 255, 255, 0.02);
}

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

/* Final CTA Section */
.page-doi-tac__cta-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
  text-align: center;
}

/* General Image Styles for content sections */
.page-doi-tac img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-doi-tac__hero-content {
    flex: none;
    width: 100%;
  }

  .page-doi-tac__hero-image {
    flex: none;
    width: 100%;
    margin-bottom: 30px;
  }

  .page-doi-tac__cta-buttons {
    justify-content: center;
  }

  .page-doi-tac__icon-boxes {
    flex-direction: column;
    align-items: center;
  }

  .page-doi-tac__icon-box {
    flex: none;
    width: 80%;
    max-width: 450px;
  }

  .page-doi-tac__program-cards {
    flex-direction: column;
    align-items: center;
  }

  .page-doi-tac__card {
    flex: none;
    width: 80%;
    max-width: 500px;
  }

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

  .page-doi-tac__commitment-list {
    padding: 0 15px;
  }
}

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

  .page-doi-tac__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }

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

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

  .page-doi-tac__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-doi-tac__btn-primary,
  .page-doi-tac__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Section Titles & Descriptions */
  .page-doi-tac__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

  /* Intro Section (Module 1) */
  .page-doi-tac__intro-section {
    padding: 60px 0;
  }

  .page-doi-tac__icon-box {
    width: 95%;
    min-width: unset;
    padding: 25px;
  }

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

  .page-doi-tac__icon-box-title {
    font-size: 1.3em;
  }

  .page-doi-tac__icon-box-text {
    font-size: 0.9em;
  }

  /* Benefits Section */
  .page-doi-tac__benefits-section {
    padding: 60px 0;
  }

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

  .page-doi-tac__benefit-item {
    padding: 20px;
  }

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

  .page-doi-tac__benefit-text {
    font-size: 0.9em;
  }

  .page-doi-tac__image-wrapper {
    margin-top: 30px;
  }

  /* Programs Section */
  .page-doi-tac__programs-section {
    padding: 60px 0;
  }

  .page-doi-tac__program-cards {
    margin-top: 30px;
  }

  .page-doi-tac__card {
    width: 95%;
    min-width: unset;
    padding: 25px;
  }

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

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

  /* How to Partner Section */
  .page-doi-tac__how-to-partner-section {
    padding: 60px 0;
  }

  .page-doi-tac__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-doi-tac__step-item {
    padding: 25px;
  }

  .page-doi-tac__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .page-doi-tac__step-title {
    font-size: 1.3em;
  }

  .page-doi-tac__step-text {
    font-size: 0.9em;
  }

  .page-doi-tac__cta-area {
    margin-top: 40px;
  }

  /* Commitment Section */
  .page-doi-tac__commitment-section {
    padding: 60px 0;
  }

  .page-doi-tac__commitment-list {
    margin-top: 30px;
  }

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

  .page-doi-tac__list-icon {
    font-size: 1.2em;
    margin-right: 10px;
    min-width: 20px;
  }

  /* FAQ Section */
  .page-doi-tac__faq-section {
    padding: 60px 0;
  }

  .page-doi-tac__faq-list {
    margin-top: 30px;
  }

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

  .page-doi-tac__faq-toggle {
    font-size: 1.5em;
  }

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

  /* Final CTA Section */
  .page-doi-tac__cta-section {
    padding: 60px 0;
  }

  /* General Image & Container Responsiveness */
  .page-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-doi-tac__container,
  .page-doi-tac__section,
  .page-doi-tac__card,
  .page-doi-tac__icon-box,
  .page-doi-tac__benefit-item,
  .page-doi-tac__step-item,
  .page-doi-tac__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific for icon-box-media to maintain circle aspect */
  .page-doi-tac__icon-box-media {
    width: 120px;
    height: 120px;
  }

}

/* Color Contrast Safeguards */
.page-doi-tac__dark-section {
  background-color: #08162B;
  color: #F3F8FF;
}

.page-doi-tac__light-section {
  background-color: #10233F;
  color: #F3F8FF;
}

.page-doi-tac p, .page-doi-tac li, .page-doi-tac__section-description, .page-doi-tac__icon-box-text, .page-doi-tac__benefit-text, .page-doi-tac__card-text, .page-doi-tac__step-text, .page-doi-tac__list-text, .page-doi-tac__faq-answer {
  color: #AFC4E8; /* Ensure secondary text is light for dark backgrounds */
}

.page-doi-tac h1, .page-doi-tac h2, .page-doi-tac h3, .page-doi-tac h4, .page-doi-tac h5, .page-doi-tac h6, .page-doi-tac__main-title, .page-doi-tac__section-title, .page-doi-tac__icon-box-title, .page-doi-tac__card-title, .page-doi-tac__step-title, .page-doi-tac__faq-question {
  color: #F3F8FF; /* Ensure main titles are light for dark backgrounds */
}

.page-doi-tac__btn-primary {
  color: #ffffff;
}

.page-doi-tac__btn-secondary {
  color: #4FA8FF;
}

.page-doi-tac__btn-secondary:hover {
  color: #08162B;
}