/* style/doi-tac.css */

/* Base Styles */
.page-doi-tac {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
  line-height: 1.6;
}

.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: 2.5em;
  font-weight: bold;
  color: #E53935; /* Primary Color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-doi-tac__section-description {
  font-size: 1.1em;
  color: #333333; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-doi-tac__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-doi-tac__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button Gradient */
  color: #ffffff;
  border: none;
}

.page-doi-tac__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-doi-tac__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-doi-tac__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

/* HERO Section */
.page-doi-tac__hero-section {
  background-color: #F5F7FA; /* Background */
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
}

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

.page-doi-tac__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
  color: #333333; /* Text Main */
}

.page-doi-tac__hero-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  font-weight: 700;
  color: #E53935; /* Primary Color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-doi-tac__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-doi-tac__hero-main-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

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

.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 {
  text-align: center;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-doi-tac__feature-item:hover {
  transform: translateY(-5px);
}

.page-doi-tac__icon-box-media {
  width: 200px;
  height: 200px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FF5A4F; /* Accent */
  box-shadow: 0 0 0 8px rgba(255, 90, 79, 0.2);
}

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

.page-doi-tac__feature-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #E53935; /* Primary Color */
  margin-bottom: 15px;
}

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

/* Programs Section */
.page-doi-tac__programs-section {
  padding: 60px 0;
  background-color: #F5F7FA; /* Background */
}

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

.page-doi-tac__program-card {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-doi-tac__program-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-doi-tac__program-card-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #E53935; /* Primary Color */
  padding: 20px 20px 10px;
}

.page-doi-tac__program-card-text {
  font-size: 1em;
  color: #333333;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-doi-tac__program-card .page-doi-tac__cta-button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* How It Works Section */
.page-doi-tac__how-it-works-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-doi-tac__step-item {
  text-align: center;
  padding: 30px 20px;
  background-color: #F5F7FA;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.page-doi-tac__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 5px rgba(229, 57, 53, 0.3);
}

.page-doi-tac__step-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
}

.page-doi-tac__step-text {
  font-size: 1em;
  color: #333333;
}

.page-doi-tac__bottom-cta-container {
  text-align: center;
  margin-top: 50px;
}

/* Commitment Section */
.page-doi-tac__commitment-section {
  padding: 60px 0;
  background-color: #E53935; /* Primary Color */
  color: #ffffff;
}

.page-doi-tac__commitment-section .page-doi-tac__section-title,
.page-doi-tac__commitment-section .page-doi-tac__section-description {
  color: #ffffff;
}

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

.page-doi-tac__commitment-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.5;
}

.page-doi-tac__list-icon {
  font-size: 1.5em;
  color: #FF5A4F; /* Accent Color */
  margin-right: 15px;
  line-height: 1;
}

.page-doi-tac__list-strong {
  font-weight: bold;
}

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

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

.page-doi-tac__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333; /* Text Main */
  cursor: pointer;
  background-color: #ffffff;
  position: relative;
  list-style: none;
}

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

.page-doi-tac__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-doi-tac__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #E53935; /* Primary Color */
  width: 25px;
  text-align: center;
  flex-shrink: 0;
}

.page-doi-tac__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #333333;
  line-height: 1.6;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-answer {
  opacity: 1;
  max-height: 500px; /* Adjust as needed for content length */
}

/* Bottom CTA Section */
.page-doi-tac__cta-bottom-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-doi-tac__cta-bottom-section .page-doi-tac__section-description {
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-doi-tac__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-doi-tac__hero-content {
    text-align: center;
  }
  .page-doi-tac__hero-main-img {
    max-width: 80%;
  }
  .page-doi-tac__icon-box-media {
    width: 180px;
    height: 180px;
  }
  .page-doi-tac__feature-title {
    font-size: 1.6em;
  }
  .page-doi-tac__program-card-title {
    font-size: 1.4em;
  }
  .page-doi-tac__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-doi-tac__step-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-doi-tac__content-area {
    padding: 30px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-doi-tac__section-title {
    font-size: 2em !important;
    margin-bottom: 15px !important;
  }
  
  .page-doi-tac__section-description {
    font-size: 1em !important;
    margin-bottom: 30px !important;
  }

  /* HERO Section */
  .page-doi-tac__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
  }
  .page-doi-tac__hero-container {
    padding: 20px 15px !important;
    gap: 20px !important;
  }
  .page-doi-tac__hero-title {
    font-size: clamp(2em, 8vw, 2.5em) !important;
  }
  .page-doi-tac__hero-description {
    font-size: 1em !important;
  }
  .page-doi-tac__hero-main-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-doi-tac__hero-content .page-doi-tac__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  /* Intro Section */
  .page-doi-tac__intro-section {
    padding: 40px 0 !important;
  }
  .page-doi-tac__features-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-doi-tac__feature-item {
    padding: 20px !important;
  }
  .page-doi-tac__icon-box-media {
    width: 150px !important;
    height: 150px !important;
    margin-bottom: 20px !important;
    border-width: 3px !important;
    box-shadow: 0 0 0 6px rgba(255, 90, 79, 0.2) !important;
  }
  .page-doi-tac__icon-box-media img {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .page-doi-tac__feature-title {
    font-size: 1.4em !important;
  }

  /* Programs Section */
  .page-doi-tac__programs-section {
    padding: 40px 0 !important;
  }
  .page-doi-tac__program-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-doi-tac__program-card-img {
    
  }
  .page-doi-tac__program-card-title {
    font-size: 1.3em !important;
  }
  .page-doi-tac__program-card .page-doi-tac__cta-button {
    max-width: 100% !important;
    width: calc(100% - 40px) !important;
    padding: 10px 15px !important;
    font-size: 0.95em !important;
  }

  /* How It Works Section */
  .page-doi-tac__how-it-works-section {
    padding: 40px 0 !important;
  }
  .page-doi-tac__steps-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .page-doi-tac__step-item {
    padding: 20px 15px !important;
  }
  .page-doi-tac__step-number {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.5em !important;
    margin-bottom: 15px !important;
  }
  .page-doi-tac__step-title {
    font-size: 1.2em !important;
  }
  .page-doi-tac__bottom-cta-container .page-doi-tac__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  /* Commitment Section */
  .page-doi-tac__commitment-section {
    padding: 40px 0 !important;
  }
  .page-doi-tac__commitment-list {
    margin-top: 20px !important;
  }
  .page-doi-tac__commitment-list li {
    font-size: 1em !important;
    margin-bottom: 15px !important;
  }
  .page-doi-tac__list-icon {
    font-size: 1.3em !important;
    margin-right: 10px !important;
  }

  /* FAQ Section */
  .page-doi-tac__faq-section {
    padding: 40px 0 !important;
  }
  .page-doi-tac__faq-list {
    margin-top: 20px !important;
  }
  .page-doi-tac__faq-item {
    margin-bottom: 10px !important;
  }
  .page-doi-tac__faq-question {
    padding: 15px !important;
    font-size: 1.05em !important;
  }
  .page-doi-tac__faq-toggle {
    font-size: 1.3em !important;
  }
  .page-doi-tac__faq-answer {
    padding: 0 15px 15px !important;
  }

  /* Bottom CTA Section */
  .page-doi-tac__cta-bottom-section {
    padding: 40px 0 !important;
  }
  .page-doi-tac__cta-bottom-section .page-doi-tac__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  /* Generic Image and Container Rules for Mobile */
  .page-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-doi-tac__section,
  .page-doi-tac__card,
  .page-doi-tac__container,
  .page-doi-tac__cta-buttons,
  .page-doi-tac__button-group,
  .page-doi-tac__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-doi-tac__cta-buttons,
  .page-doi-tac__button-group {
    flex-direction: column !important;
    gap: 10px !important;
  }
}