/* Base styles for the page-doi-tac */
.page-doi-tac {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF;
  line-height: 1.6;
}

.page-doi-tac__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-doi-tac__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-doi-tac__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #EA7C07;
  border-radius: 2px;
}

.page-doi-tac__text-block {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

.page-doi-tac__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-doi-tac__btn-primary:hover {
  background-color: #1a7fb8;
  transform: translateY(-2px);
}

/* Hero Section */
.page-doi-tac__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-doi-tac__hero-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.page-doi-tac__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-doi-tac__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with image */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-doi-tac__hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-doi-tac__hero-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-doi-tac__hero-cta {
  margin-top: 20px;
}

/* Intro Section */
.page-doi-tac__intro-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

/* Benefits Section */
.page-doi-tac__benefits-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Dark background */
  color: #ffffff; /* Light text */
}

.page-doi-tac__benefits-section .page-doi-tac__section-title {
  color: #ffffff;
}

.page-doi-tac__benefits-section .page-doi-tac__section-title::after {
  background-color: #ffffff;
}

.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: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-doi-tac__benefit-card:hover {
  transform: translateY(-5px);
}

.page-doi-tac__benefit-card img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-doi-tac__benefit-card .page-doi-tac__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-doi-tac__benefit-card p {
  font-size: 15px;
  color: #f0f0f0;
  line-height: 1.7;
  flex-grow: 1;
}

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

/* Types Section */
.page-doi-tac__types-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-doi-tac__type-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-doi-tac__type-card .page-doi-tac__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-doi-tac__type-card p {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 15px;
  flex-grow: 1;
}