.page-doi-tac {
    font-family: 'Arial', sans-serif;
    color: #1F2D3D; /* Text Main */
    line-height: 1.6;
}

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

.page-doi-tac__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

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

/* Hero Section */
.page-doi-tac__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-top: 10px; /* Small top padding */
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Main color gradient */
    overflow: hidden;
}

.page-doi-tac__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.2; /* Subtle background image */
}

.page-doi-tac__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 40px 20px;
}

.page-doi-tac__hero-title {
    font-size: clamp(32px, 5vw, 48px); /* H1 font size clamp */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-doi-tac__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.page-doi-tac__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Button responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-doi-tac__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-doi-tac__cta-button--dark {
    background: #1F2D3D;
}

.page-doi-tac__cta-button--dark:hover {
    background: #000000;
}

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

.page-doi-tac__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-doi-tac__text-block {
    flex: 1;
    font-size: 17px;
    line-height: 1.7;
}

.page-doi-tac__text-block p {
    margin-bottom: 15px;
}

.page-doi-tac__image-wrapper {
    flex: 1;
    text-align: center;
}

.page-doi-tac__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.page-doi-tac__why-choose-section {
    padding: 80px 0;
    background: #2F6BFF; /* Main color */
}

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

.page-doi-tac__feature-card {
    background: #ffffff; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #1F2D3D;
}

.page-doi-tac__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-doi-tac__feature-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2F6BFF; /* Main color */
}

.page-doi-tac__feature-card-text {
    font-size: 16px;
    line-height: 1.7;
}

/* Benefits Section */
.page-doi-tac__benefits-section {
    padding: 80px 0;
    background: #F4F7FB; /* Background color */
}

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

.page-doi-tac__benefit-item {
    background: #ffffff; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.page-doi-tac__benefit-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-doi-tac__benefit-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2F6BFF; /* Main color */
}

.page-doi-tac__benefit-description {
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
}

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

/* Process Section */
.page-doi-tac__process-section {
    padding: 80px 0;
    background: #ffffff; /* Card BG */
}

.page-doi-tac__process-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.page-doi-tac__step-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    padding: 30px;
    background: #F4F7FB; /* Background color */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border color */
}

.page-doi-tac__step-number {
    width: 60px;
    height: 60px;
    background: #2F6BFF; /* Main color */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.page-doi-tac__step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1F2D3D; /* Text Main */
}

.page-doi-tac__step-description {
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
}

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

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

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

details.page-doi-tac__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-doi-tac__faq-item summary.page-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-doi-tac__faq-item summary.page-doi-tac__faq-question::-webkit-details-marker {
  display: none;
}
details.page-doi-tac__faq-item summary.page-doi-tac__faq-question:hover {
  background: #f5f5f5;
}
.page-doi-tac__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Ensure contrast */
}
.page-doi-tac__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-doi-tac__faq-item .page-doi-tac__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Ensure contrast */
}
.page-doi-tac__faq-answer p {
    margin-bottom: 0;
}


/* Contact Section */
.page-doi-tac__contact-section {
    padding: 80px 0;
    background: #2F6BFF; /* Main color */
    color: #ffffff;
}

.page-doi-tac__contact-description {
    font-size: 18px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.page-doi-tac__contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff; /* Card BG */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-doi-tac__form-group {
    margin-bottom: 25px;
}

.page-doi-tac__form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1F2D3D; /* Text Main for form labels */
}

.page-doi-tac__form-input,
.page-doi-tac__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 5px;
    font-size: 16px;
    color: #1F2D3D; /* Text Main for input text */
    background: #F4F7FB; /* Background color for input */
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page-doi-tac__form-input::placeholder,
.page-doi-tac__form-textarea::placeholder {
    color: #888;
}

.page-doi-tac__form-input:focus,
.page-doi-tac__form-textarea:focus {
    border-color: #2F6BFF; /* Main color */
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2);
}

.page-doi-tac__form-textarea {
    resize: vertical;
}

.page-doi-tac__submit-button {
    display: block;
    width: 100%;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__submit-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-doi-tac__section-title {
        font-size: 32px;
    }
    .page-doi-tac__hero-title {
        font-size: clamp(28px, 4.5vw, 42px);
    }
    .page-doi-tac__hero-description {
        font-size: 17px;
    }
    .page-doi-tac__content-grid {
        flex-direction: column;
        gap: 30px;
    }
    .page-doi-tac__text-block {
        order: 2; /* Text below image on smaller screens */
    }
    .page-doi-tac__image-wrapper {
        order: 1;
    }
    .page-doi-tac__feature-card-title,
    .page-doi-tac__benefit-title,
    .page-doi-tac__step-title {
        font-size: 20px;
    }
    .page-doi-tac__feature-card-text,
    .page-doi-tac__benefit-description,
    .page-doi-tac__step-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .page-doi-tac__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO Section */
    .page-doi-tac__hero-section {
        min-height: 400px;
        padding-top: 10px; /* Small top padding */
    }
    .page-doi-tac__hero-image {
        object-fit: contain !important; /* Prevent cropping */
        aspect-ratio: unset !important; /* Remove aspect ratio */
    }
    .page-doi-tac__hero-content {
        padding: 30px 15px;
    }
    .page-doi-tac__hero-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 15px;
    }
    .page-doi-tac__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-doi-tac__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }

    /* General image handling */
    .page-doi-tac img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-doi-tac__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-doi-tac__intro-section,
    .page-doi-tac__why-choose-section,
    .page-doi-tac__benefits-section,
    .page-doi-tac__process-section,
    .page-doi-tac__faq-section,
    .page-doi-tac__contact-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    /* Section Titles and Article Body */
    .page-doi-tac__section-title {
        font-size: 28px;
        margin-bottom: 30px;
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-doi-tac__text-block,
    .page-doi-tac__feature-card,
    .page-doi-tac__benefit-item,
    .page-doi-tac__step-item {
        max-width: 100%;
        min-width: unset;
    }

    /* Buttons and Button Containers */
    .page-doi-tac__cta-button,
    .page-doi-tac__submit-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-doi-tac__cta-bottom,
    .page-doi-tac__cta-process {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    /* If multiple buttons in a row, make them stack */
    .page-doi-tac__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ Section */
    details.page-doi-tac__faq-item summary.page-doi-tac__faq-question { padding: 15px; }
    .page-doi-tac__faq-qtext { font-size: 15px; }
    .page-doi-tac__faq-answer { padding: 0 15px 15px; }

    /* Contact Form */
    .page-doi-tac__contact-form {
        padding: 30px 20px;
    }
    .page-doi-tac__contact-description {
        font-size: 16px;
        padding-left: 15px;
        padding-right: 15px;
    }
}