/* style/doi-tac-dai-ly.css */

/* General Styles */
.page-doi-tac-dai-ly {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff; /* Explicitly define for clarity */
}

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

.page-doi-tac-dai-ly__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #113B7A; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-doi-tac-dai-ly__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-doi-tac-dai-ly__btn-primary,
.page-doi-tac-dai-ly__btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-doi-tac-dai-ly__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 10px rgba(17, 59, 122, 0.3);
}

.page-doi-tac-dai-ly__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(17, 59, 122, 0.4);
}

.page-doi-tac-dai-ly__btn-secondary {
  background: #ffffff;
  color: #113B7A; /* Main brand color */
  border: 2px solid #113B7A;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-doi-tac-dai-ly__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.page-doi-tac-dai-ly__text-link {
  color: #1D5FD1; /* Auxiliary color for links */
  text-decoration: none;
  font-weight: 600;
}

.page-doi-tac-dai-ly__text-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-doi-tac-dai-ly__hero-section {
  padding-top: 10px; /* Small top padding, body handles main offset */
  padding-bottom: 60px;
  background-color: #f8faff; /* Light background for hero */
}

.page-doi-tac-dai-ly__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-doi-tac-dai-ly__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #113B7A; /* Dark text for light background */
  text-align: left;
}

.page-doi-tac-dai-ly__hero-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  color: #08162B; /* Deep Navy for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-doi-tac-dai-ly__hero-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
}

.page-doi-tac-dai-ly__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: flex-start;
}

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

.page-doi-tac-dai-ly__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(17, 59, 122, 0.2);
  display: block; /* Ensure no extra space below image */
}

/* Intro Section */
.page-doi-tac-dai-ly__intro-section {
  background-color: #ffffff; /* Light background */
  padding: 60px 0;
}

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

.page-doi-tac-dai-ly__feature-card {
  background: #f0f5ff; /* Light blue background for cards */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-doi-tac-dai-ly__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-doi-tac-dai-ly__icon-box-media {
  width: 180px; /* Smaller size for desktop, will be 200px on mobile */
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #1D5FD1; /* Auxiliary color border */
  box-shadow: 0 4px 10px rgba(29, 95, 209, 0.3);
}

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

.page-doi-tac-dai-ly__feature-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #113B7A;
  margin-bottom: 10px;
}

.page-doi-tac-dai-ly__feature-text {
  color: #555555;
  font-size: 1em;
}

/* How It Works Section */
.page-doi-tac-dai-ly__how-it-works-section {
  background-color: #eef3f8; /* Slightly darker light background */
  padding: 60px 0;
}

.page-doi-tac-dai-ly__process-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-doi-tac-dai-ly__process-steps {
  flex: 1 1 55%;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-doi-tac-dai-ly__process-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  text-align: left;
}

.page-doi-tac-dai-ly__process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border-radius: 50%;
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(17, 59, 122, 0.3);
}

.page-doi-tac-dai-ly__process-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #113B7A;
  margin-bottom: 10px;
}

.page-doi-tac-dai-ly__process-text {
  color: #555555;
  font-size: 0.95em;
}

.page-doi-tac-dai-ly__process-image-wrapper {
  flex: 1 1 35%;
  min-width: 300px;
  text-align: center;
}

.page-doi-tac-dai-ly__process-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Requirements Section */
.page-doi-tac-dai-ly__requirements-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.page-doi-tac-dai-ly__requirements-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
}

.page-doi-tac-dai-ly__requirements-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  background: #f0f5ff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-doi-tac-dai-ly__list-icon {
  font-size: 1.5em;
  color: #1D5FD1;
  line-height: 1;
}

.page-doi-tac-dai-ly__list-text {
  color: #333333;
  font-size: 1.1em;
  margin: 0;
}

/* FAQ Section */
.page-doi-tac-dai-ly__faq-section {
  background-color: #eef3f8;
  padding: 60px 0;
}

.page-doi-tac-dai-ly__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-doi-tac-dai-ly__faq-item {
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-doi-tac-dai-ly__faq-item[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-doi-tac-dai-ly__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #113B7A;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  position: relative;
}

.page-doi-tac-dai-ly__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

.page-doi-tac-dai-ly__faq-qtext {
  flex-grow: 1;
}

.page-doi-tac-dai-ly__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #1D5FD1;
}

.page-doi-tac-dai-ly__faq-item[open] .page-doi-tac-dai-ly__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-doi-tac-dai-ly__faq-answer {
  padding: 0 25px 20px 25px;
  color: #555555;
  font-size: 1em;
  line-height: 1.6;
}

.page-doi-tac-dai-ly__faq-answer p {
  margin: 0;
}

/* Call to Action Section */
.page-doi-tac-dai-ly__cta-section {
  background: #113B7A; /* Main brand color for dark background */
  padding: 60px 0;
  text-align: center;
}

.page-doi-tac-dai-ly__cta-content .page-doi-tac-dai-ly__section-title,
.page-doi-tac-dai-ly__cta-content .page-doi-tac-dai-ly__section-description {
  color: #F3F8FF; /* Text Main for dark background */
}

.page-doi-tac-dai-ly__cta-content .page-doi-tac-dai-ly__btn-primary {
  margin-top: 20px;
}

/* Universal Image Responsiveness (as per global rule) */
.page-doi-tac-dai-ly img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-doi-tac-dai-ly__container {
    padding: 30px 20px;
  }
  .page-doi-tac-dai-ly__section-title {
    font-size: 2em;
  }
  .page-doi-tac-dai-ly__hero-container {
    gap: 30px;
  }
  .page-doi-tac-dai-ly__hero-content,
  .page-doi-tac-dai-ly__hero-image-wrapper {
    flex-basis: 100%;
    text-align: center;
  }
  .page-doi-tac-dai-ly__hero-cta-buttons {
    justify-content: center;
  }
  .page-doi-tac-dai-ly__process-grid {
    flex-direction: column;
  }
  .page-doi-tac-dai-ly__process-steps,
  .page-doi-tac-dai-ly__process-image-wrapper {
    flex-basis: 100%;
  }
}

@media (max-width: 768px) {
  /* General mobile container padding */
  .page-doi-tac-dai-ly__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Section titles and descriptions */
  .page-doi-tac-dai-ly__section-title {
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
  }
  .page-doi-tac-dai-ly__section-description {
    font-size: 1em !important;
    margin-bottom: 30px !important;
  }

  /* HERO Section - Checklist Item 1 */
  .page-doi-tac-dai-ly__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px !important;
  }
  .page-doi-tac-dai-ly__hero-container {
    flex-direction: column;
    padding: 30px 15px;
  }
  .page-doi-tac-dai-ly__hero-content {
    text-align: center;
  }
  .page-doi-tac-dai-ly__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    margin-bottom: 15px !important;
  }
  .page-doi-tac-dai-ly__hero-description {
    font-size: 1em !important;
  }
  .page-doi-tac-dai-ly__hero-cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .page-doi-tac-dai-ly__btn-primary,
  .page-doi-tac-dai-ly__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-doi-tac-dai-ly__hero-image-wrapper {
    width: 100% !important;
  }
  .page-doi-tac-dai-ly__hero-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* Module 1 Three-column Feature images - Checklist Item 2 */
  .page-doi-tac-dai-ly__features-grid {
    grid-template-columns: 1fr; /* Single column */
  }
  .page-doi-tac-dai-ly__icon-box-media {
    width: 200px !important; /* Maintain square aspect ratio */
    height: 200px !important; /* Maintain square aspect ratio */
    margin: 0 auto 16px !important;
    border: 3px solid #1D5FD1 !important;
    box-shadow: 0 2px 8px rgba(29, 95, 209, 0.2) !important;
  }
  .page-doi-tac-dai-ly__icon-box-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .page-doi-tac-dai-ly__feature-title {
    font-size: 1.3em !important;
  }

  /* How It Works Section */
  .page-doi-tac-dai-ly__process-grid {
    flex-direction: column;
  }
  .page-doi-tac-dai-ly__process-steps {
    grid-template-columns: 1fr;
    width: 100% !important;
    max-width: 100% !important;
  }
  .page-doi-tac-dai-ly__process-image-wrapper {
    width: 100% !important;
  }
  .page-doi-tac-dai-ly__process-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .page-doi-tac-dai-ly__process-item {
    padding: 20px !important;
  }
  .page-doi-tac-dai-ly__process-number {
    width: 35px !important;
    height: 35px !important;
    font-size: 1em !important;
  }
  .page-doi-tac-dai-ly__process-title {
    font-size: 1.2em !important;
  }
  .page-doi-tac-dai-ly__process-text {
    font-size: 0.9em !important;
  }

  /* Requirements Section */
  .page-doi-tac-dai-ly__requirements-list {
    margin-top: 30px !important;
  }
  .page-doi-tac-dai-ly__requirements-item {
    padding: 15px !important;
    flex-direction: row; /* Keep icon and text inline */
    align-items: flex-start;
    gap: 10px;
  }
  .page-doi-tac-dai-ly__list-icon {
    font-size: 1.3em !important;
  }
  .page-doi-tac-dai-ly__list-text {
    font-size: 1em !important;
  }

  /* FAQ Section */
  .page-doi-tac-dai-ly__faq-list {
    margin-top: 30px !important;
  }
  .page-doi-tac-dai-ly__faq-question {
    font-size: 1.1em !important;
    padding: 18px 20px !important;
  }
  .page-doi-tac-dai-ly__faq-toggle {
    font-size: 1.3em !important;
  }
  .page-doi-tac-dai-ly__faq-answer {
    padding: 0 20px 18px 20px !important;
    font-size: 0.95em !important;
  }

  /* CTA Section */
  .page-doi-tac-dai-ly__cta-content {
    padding: 40px 15px !important;
  }
  .page-doi-tac-dai-ly__cta-content .page-doi-tac-dai-ly__btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Universal Images and Containers - Checklist Item 5 */
  .page-doi-tac-dai-ly img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-doi-tac-dai-ly__section,
  .page-doi-tac-dai-ly__card,
  .page-doi-tac-dai-ly__container,
  .page-doi-tac-dai-ly__feature-card,
  .page-doi-tac-dai-ly__process-item,
  .page-doi-tac-dai-ly__requirements-item,
  .page-doi-tac-dai-ly__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons and Button Containers - Checklist Item 6 */
  .page-doi-tac-dai-ly__cta-button,
  .page-doi-tac-dai-ly__btn-primary,
  .page-doi-tac-dai-ly__btn-secondary,
  .page-doi-tac-dai-ly a[class*="button"],
  .page-doi-tac-dai-ly 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-dai-ly__cta-buttons,
  .page-doi-tac-dai-ly__button-group,
  .page-doi-tac-dai-ly__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .page-doi-tac-dai-ly__hero-cta-buttons {
    display: flex;
    flex-direction: column; /* Ensure vertical stacking on mobile */
  }
}