.page-doi-tac {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

.page-doi-tac__hero-section {
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background-color: #B71C1C; /* Deep Red */
}

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

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

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

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

.page-doi-tac__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

.page-doi-tac__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border */
}

.page-doi-tac__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-doi-tac__btn-secondary:hover {
  background-color: #FFD86A;
  color: #7A0E0E; /* Deep Red */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-doi-tac__section-description {
  font-size: 1.05em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF5E1;
}

.page-doi-tac__intro-section {
  background-color: #7A0E0E; /* Deep Red */
  padding: 60px 0;
}

.page-doi-tac__feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-doi-tac__feature-item {
  flex: 1 1 calc(33% - 20px);
  min-width: 280px;
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
}

.page-doi-tac__icon-box-media {
  width: 200px;
  height: 200px;
  aspect-ratio: 1/1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #F2B544; /* Border */
  box-shadow: 0 0 15px rgba(255, 204, 102, 0.6); /* Glow */
}

.page-doi-tac__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%; /* Ensure image is also circular */
}

.page-doi-tac__feature-heading {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD86A; /* Button color for emphasis */
}

.page-doi-tac__feature-text {
  font-size: 1em;
  color: #FFF5E1;
}

.page-doi-tac__benefits-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
}

.page-doi-tac__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-doi-tac__benefits-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
}

.page-doi-tac__benefits-heading {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFD86A; /* Gold */
}

.page-doi-tac__benefits-item p {
  font-size: 1em;
  line-height: 1.5;
  color: #FFF5E1;
}

.page-doi-tac__registration-guide-section {
  padding: 60px 0;
  background-color: #7A0E0E; /* Deep Red */
}

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

.page-doi-tac__guide-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  color: #FFF5E1;
}

.page-doi-tac__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red */
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 15px;
  border: 2px solid #F2B544;
  box-shadow: 0 0 10px rgba(255, 204, 102, 0.6);
}

.page-doi-tac__guide-heading {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFD86A; /* Gold */
}

.page-doi-tac__registration-cta {
  text-align: center;
  margin-top: 40px;
}

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

.page-doi-tac__btn-large {
  padding: 15px 35px;
  font-size: 1.15em;
}

.page-doi-tac__faq-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
}

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

.page-doi-tac__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #FFF5E1;
}

.page-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #FFD86A; /* Gold */
  background-color: #D32F2F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  user-select: none;
}

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

.page-doi-tac__faq-item[open] .page-doi-tac__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-doi-tac__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFD86A;
}

.page-doi-tac__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.5;
  color: #FFF5E1;
  background-color: #D32F2F;
}

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

.page-doi-tac__cta-bottom-section {
  background-color: #7A0E0E; /* Deep Red */
  padding: 60px 0;
  text-align: center;
}

.page-doi-tac__section-title--light {
  color: #F4D34D; /* Gold */
}

.page-doi-tac__section-description--light {
  color: #FFF5E1;
}

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

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

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

  .page-doi-tac__hero-image {
    order: 1;
    margin-bottom: 30px;
  }

  .page-doi-tac__feature-item {
    flex: 1 1 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .page-doi-tac {
    font-size: 15px;
  }

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

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

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

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

  .page-doi-tac__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

  .page-doi-tac__content-area {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-doi-tac__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
    margin-bottom: 15px;
  }

  .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__registration-guide-section,
  .page-doi-tac__faq-section,
  .page-doi-tac__cta-bottom-section {
    padding: 40px 0;
  }

  .page-doi-tac__feature-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-doi-tac__feature-item {
    flex: 1 1 100%;
    min-width: unset;
    padding: 25px;
  }

  .page-doi-tac__icon-box-media {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
    border-width: 3px;
  }

  .page-doi-tac__feature-heading {
    font-size: 1.3em;
  }

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

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

  .page-doi-tac__benefits-heading {
    font-size: 1.3em;
  }

  .page-doi-tac__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

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

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

  .page-doi-tac__guide-heading {
    font-size: 1.3em;
  }

  .page-doi-tac__registration-image,
  .page-doi-tac__faq-image,
  .page-doi-tac__hero-side-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

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

  .page-doi-tac__btn-large {
    padding: 12px 20px;
    font-size: 1.05em;
  }

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

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

@media (max-width: 768px) {
  .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__hero-cta-buttons,
  .page-doi-tac__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Ensure buttons wrap or stack */
  .page-doi-tac__hero-cta-buttons,
  .page-doi-tac__cta-buttons {
    flex-wrap: wrap !important;
    flex-direction: column;
    gap: 10px;
  }
}