.page-doi-tac {
    font-family: Arial, sans-serif;
    color: var(--text-main-color, #1F2D3D); /* Default text color */
    background-color: var(--bg-color, #F4F7FB); /* Default background color for the page content */
    line-height: 1.6;
}

.page-doi-tac__hero-section {
    padding-top: 10px; /* Small top padding, assuming body already handles header offset */
    padding-bottom: 60px;
    background: var(--card-bg-color, #FFFFFF); /* Use white for hero background */
}

.page-doi-tac__hero-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px 16px;
    gap: 40px;
}

.page-doi-tac__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    color: var(--text-main-color, #1F2D3D);
}

.page-doi-tac__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--custom-color-1776249996415, #000000); /* Black for main title */
}

.page-doi-tac__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-main-color, #1F2D3D);
}

.page-doi-tac__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap */
}

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%; /* Ensure button doesn't exceed container */
    width: auto;
}

.page-doi-tac__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-doi-tac__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-doi-tac__btn-secondary {
    background: var(--card-bg-color, #FFFFFF);
    color: var(--main-color, #2F6BFF);
    border: 2px solid var(--main-color, #2F6BFF);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-doi-tac__btn-secondary:hover {
    background: var(--main-color, #2F6BFF);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(47, 107, 255, 0.2);
}

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

.page-doi-tac__hero-side-image {
    max-width: 600px;
    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 for max-width/height */
}

.page-doi-tac__content-area {
    max-width: 1170px;
    margin: 0 auto;
    padding: 60px 16px;
}

.page-doi-tac__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--custom-color-1776249996415, #000000);
}

.page-doi-tac__text-block {
    font-size: 1.05rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-main-color, #1F2D3D);
}

.page-doi-tac__intro-section {
    background-color: var(--bg-color, #F4F7FB);
    color: var(--text-main-color, #1F2D3D);
}

.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-item {
    background: var(--card-bg-color, #FFFFFF);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color, #1F2D3D);
}

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

.page-doi-tac__icon-box-media {
    width: 160px; /* Smaller size for desktop, will be larger for mobile */
    height: 160px;
    aspect-ratio: 1/1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-doi-tac__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--custom-color-1776249996415, #000000);
}

.page-doi-tac__feature-text {
    font-size: 1rem;
    color: var(--text-main-color, #1F2D3D);
}

.page-doi-tac__process-section {
    background-color: var(--main-color, #2F6BFF); /* Dark background for process section */
    color: #ffffff; /* White text for dark background */
}

.page-doi-tac__process-section .page-doi-tac__section-title,
.page-doi-tac__process-section .page-doi-tac__text-block,
.page-doi-tac__process-section .page-doi-tac__step-title,
.page-doi-tac__process-section .page-doi-tac__step-text {
    color: #ffffff; /* Ensure all text is white */
}

.page-doi-tac__process-steps {
    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;
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-doi-tac__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--main-color, #2F6BFF);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__step-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-doi-tac__step-text {
    font-size: 1rem;
    opacity: 0.9;
}

.page-doi-tac__cta-center {
    text-align: center;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-doi-tac__faq-section {
    background-color: var(--bg-color, #F4F7FB);
    color: var(--text-main-color, #1F2D3D);
}

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

.page-doi-tac__faq-item {
    background: var(--card-bg-color, #FFFFFF);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: var(--text-main-color, #1F2D3D);
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-question {
    background-color: var(--accent-color, #6FA3FF); /* Highlight when open */
    color: #ffffff;
}
.page-doi-tac__faq-item[open] .page-doi-tac__faq-toggle {
    color: #ffffff;
}

.page-doi-tac__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Remove default marker */
    transition: background-color 0.3s ease, color 0.3s ease;
    color: var(--custom-color-1776249996415, #000000);
}

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

.page-doi-tac__faq-qtext {
    flex-grow: 1;
}

.page-doi-tac__faq-toggle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-left: 15px;
    color: var(--main-color, #2F6BFF);
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-toggle {
    transform: rotate(0deg);
}

.page-doi-tac__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main-color, #1F2D3D);
}

.page-doi-tac__contact-promo {
    background-color: var(--main-color, #2F6BFF);
    color: #ffffff;
    padding-bottom: 80px; /* More padding for CTA */
}

.page-doi-tac__contact-promo .page-doi-tac__section-title,
.page-doi-tac__contact-promo .page-doi-tac__text-block {
    color: #ffffff;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-doi-tac__hero-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 16px;
    }
    .page-doi-tac__hero-content {
        flex: 1 1 100%;
    }
    .page-doi-tac__hero-image {
        flex: 1 1 100%;
        order: -1; /* Image above text for smaller screens */
        margin-bottom: 30px;
    }
    .page-doi-tac__cta-buttons {
        justify-content: center;
    }
    .page-doi-tac__section-title {
        margin-bottom: 30px;
    }
    .page-doi-tac__text-block {
        margin-bottom: 40px;
    }
    .page-doi-tac__features-grid,
    .page-doi-tac__process-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .page-doi-tac__icon-box-media {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-doi-tac {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-doi-tac__hero-section {
        padding-top: 10px !important; /* Ensure small padding */
        padding-bottom: 40px !important;
    }
    .page-doi-tac__hero-container {
        padding: 20px 15px !important;
        gap: 20px !important;
    }
    .page-doi-tac__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-doi-tac__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-doi-tac__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }
    .page-doi-tac__btn-primary,
    .page-doi-tac__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-doi-tac__hero-side-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 20px;
    }
    .page-doi-tac__content-area {
        padding: 40px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-doi-tac__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 25px;
    }
    .page-doi-tac__text-block {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-doi-tac__features-grid,
    .page-doi-tac__process-steps {
        grid-template-columns: 1fr !important; /* Single column */
        gap: 25px !important;
    }
    .page-doi-tac__icon-box-media {
        width: 200px !important; /* Maintain circular shape */
        height: 200px !important;
        margin: 0 auto 15px !important;
    }
    .page-doi-tac__icon-box-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .page-doi-tac__feature-title {
        font-size: 1.3rem;
    }
    .page-doi-tac__feature-text {
        font-size: 0.9rem;
    }
    .page-doi-tac__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    .page-doi-tac__step-title {
        font-size: 1.4rem;
    }
    .page-doi-tac__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-doi-tac__faq-toggle {
        font-size: 1.5rem;
    }
    .page-doi-tac__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }
    /* General image responsive styles for content area */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-doi-tac__cta-center {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
}