/* style/lien-ket-doi-tac.css */

.page-lien-ket-doi-tac {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity, though shared might define body */
}

/* Hero Section */
.page-lien-ket-doi-tac__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top for header offset */
  padding-bottom: 60px;
  background-color: #f8f8f8; /* Light background for hero */
}

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

.page-lien-ket-doi-tac__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #333333; /* Dark text on light background */
}

.page-lien-ket-doi-tac__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #017439; /* Brand color for H1 */
}

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

.page-lien-ket-doi-tac__cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-lien-ket-doi-tac__btn-primary,
.page-lien-ket-doi-tac__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-lien-ket-doi-tac__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-lien-ket-doi-tac__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-lien-ket-doi-tac__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-lien-ket-doi-tac__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

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

.page-lien-ket-doi-tac__hero-visual {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center image */
}

/* General Section Styling */
.page-lien-ket-doi-tac__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-lien-ket-doi-tac__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
}

.page-lien-ket-doi-tac__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Intro Section (Why Partner) */
.page-lien-ket-doi-tac__intro-section {
  background-color: #FFFFFF;
}

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

.page-lien-ket-doi-tac__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-lien-ket-doi-tac__icon-box-media {
  width: 180px; /* Smaller for desktop, will scale up on mobile */
  height: 180px; /* Keep square */
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #017439;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e0f2e0; /* Light green background for icon */
}

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

.page-lien-ket-doi-tac__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-lien-ket-doi-tac__feature-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
}

/* Steps Section */
.page-lien-ket-doi-tac__steps-section {
  background-color: #017439; /* Brand dark green background */
  color: #FFFFFF; /* White text on dark background */
}

.page-lien-ket-doi-tac__steps-section .page-lien-ket-doi-tac__section-title,
.page-lien-ket-doi-tac__steps-section .page-lien-ket-doi-tac__section-description {
  color: #FFFFFF; /* White text for titles and descriptions */
}

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

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

.page-lien-ket-doi-tac__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #C30808; /* Highlight color */
  color: #FFFF00; /* Highlight text color */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  border: 3px solid #017439;
}

.page-lien-ket-doi-tac__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFFF00; /* Highlight text color */
  margin-top: 20px; /* Space for number */
  margin-bottom: 15px;
}

.page-lien-ket-doi-tac__step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

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

/* Tools Section */
.page-lien-ket-doi-tac__tools-section {
  background-color: #f8f8f8;
}

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

.page-lien-ket-doi-tac__tool-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-lien-ket-doi-tac__tool-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-lien-ket-doi-tac__tool-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-lien-ket-doi-tac__tool-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
}

/* FAQ Section */
.page-lien-ket-doi-tac__faq-section {
  background-color: #FFFFFF;
  padding-bottom: 80px;
}

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

.page-lien-ket-doi-tac__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-lien-ket-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #e0f2e0;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default details marker */
}

.page-lien-ket-doi-tac__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-lien-ket-doi-tac__faq-question:hover {
  background-color: #d0e8d0;
}

.page-lien-ket-doi-tac__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-lien-ket-doi-tac__faq-item[open] .page-lien-ket-doi-tac__faq-toggle {
  transform: rotate(45deg); /* Rotate to form an 'x' or 'minus' */
}

.page-lien-ket-doi-tac__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
}

/* Final CTA Section */
.page-lien-ket-doi-tac__cta-section {
  background-color: #017439; /* Brand dark green background */
  color: #FFFFFF;
}

.page-lien-ket-doi-tac__cta-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-lien-ket-doi-tac__cta-section .page-lien-ket-doi-tac__section-title,
.page-lien-ket-doi-tac__cta-section .page-lien-ket-doi-tac__section-description {
  color: #FFFFFF;
  margin-bottom: 25px;
}

.page-lien-ket-doi-tac__cta-section .page-lien-ket-doi-tac__cta-group {
  justify-content: center;
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-lien-ket-doi-tac__hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-lien-ket-doi-tac__hero-content,
  .page-lien-ket-doi-tac__hero-image {
    flex: 1 1 100%;
  }
  .page-lien-ket-doi-tac__cta-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* HERO section */
  .page-lien-ket-doi-tac__hero-section {
    padding-top: 10px !important; /* Enforce small top padding for mobile */
    padding-bottom: 40px;
  }
  .page-lien-ket-doi-tac__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }
  .page-lien-ket-doi-tac__main-title {
    font-size: 2.2rem;
  }
  .page-lien-ket-doi-tac__hero-description {
    font-size: 1rem;
  }
  .page-lien-ket-doi-tac__cta-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100%;
  }
  .page-lien-ket-doi-tac__btn-primary,
  .page-lien-ket-doi-tac__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Content Sections */
  .page-lien-ket-doi-tac__container {
    padding: 40px 15px;
  }
  .page-lien-ket-doi-tac__section-title {
    font-size: 2rem;
  }
  .page-lien-ket-doi-tac__section-description {
    font-size: 0.95rem;
  }

  /* Intro Section (Features) */
  .page-lien-ket-doi-tac__features-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-lien-ket-doi-tac__icon-box-media {
    width: 200px; /* Ensure it's still square and larger */
    height: 200px;
    margin-bottom: 20px;
  }
  .page-lien-ket-doi-tac__feature-title {
    font-size: 1.3rem;
  }
  .page-lien-ket-doi-tac__feature-text {
    font-size: 0.95rem;
  }

  /* Steps Section */
  .page-lien-ket-doi-tac__steps-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 40px; /* More space between stacked steps */
  }
  .page-lien-ket-doi-tac__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
    top: -22px;
  }
  .page-lien-ket-doi-tac__step-title {
    font-size: 1.3rem;
  }
  .page-lien-ket-doi-tac__step-text {
    font-size: 0.95rem;
  }
  .page-lien-ket-doi-tac__cta-center {
    margin-top: 40px;
  }

  /* Tools Section */
  .page-lien-ket-doi-tac__tools-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 30px;
  }
  .page-lien-ket-doi-tac__tool-title {
    font-size: 1.3rem;
  }
  .page-lien-ket-doi-tac__tool-text {
    font-size: 0.95rem;
  }

  /* FAQ Section */
  .page-lien-ket-doi-tac__faq-question {
    padding: 15px 20px;
    font-size: 1.05rem;
  }
  .page-lien-ket-doi-tac__faq-toggle {
    font-size: 1.6rem;
  }
  .page-lien-ket-doi-tac__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* Final CTA Section */
  .page-lien-ket-doi-tac__cta-section .page-lien-ket-doi-tac__cta-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100%;
  }

  /* General image responsiveness */
  .page-lien-ket-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-lien-ket-doi-tac__hero-visual {
    width: 100% !important; /* Specific width for hero visual on mobile */
    height: auto !important;
  }
  .page-lien-ket-doi-tac__section,
  .page-lien-ket-doi-tac__card,
  .page-lien-ket-doi-tac__container,
  .page-lien-ket-doi-tac__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-lien-ket-doi-tac__cta-group {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}