.page-doi-tac {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #FFFFFF; /* Explicitly set for clarity, though body handles it */
}

.page-doi-tac__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

/* Hero Section */
.page-doi-tac__hero-section {
    padding-top: 10px; /* Adjust for fixed header offset */
    padding-bottom: 60px;
    background-color: #FFFFFF;
}

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

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

.page-doi-tac__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

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

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

.page-doi-tac__hero-side-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure responsiveness */
}

.page-doi-tac__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-doi-tac__btn-primary:hover {
    background-color: #d16b00;
    border-color: #d16b00;
}

.page-doi-tac__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-doi-tac__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

/* Section Titles and Descriptions */
.page-doi-tac__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-doi-tac__section-title--light {
    color: #FFFFFF;
}

.page-doi-tac__section-description {
    font-size: 1.05em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555555;
}

.page-doi-tac__section-description--light {
    color: #f0f0f0;
}

/* Intro Section (Module 1 - 3 columns with circular images) */
.page-doi-tac__intro-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-doi-tac__feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.page-doi-tac__feature-item {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 280px;
    box-sizing: border-box;
}

.page-doi-tac__icon-box-media {
    width: 240px; /* Fixed width */
    height: 240px; /* Fixed height to make it a circle */
    aspect-ratio: 1 / 1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #26A9E0;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-doi-tac__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* Benefits Section */
.page-doi-tac__benefits-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Brand color as background */
    color: #FFFFFF;
}

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

.page-doi-tac__benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-doi-tac__benefit-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #FFFFFF;
    font-weight: bold;
}

.page-doi-tac__benefit-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-doi-tac__cta-area {
    text-align: center;
    margin-top: 40px;
}

/* Process Section */
.page-doi-tac__process-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-doi-tac__process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-doi-tac__process-item {
    flex: 1 1 calc(25% - 22.5px);
    max-width: calc(25% - 22.5px);
    text-align: center;
    position: relative;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-width: 220px;
    box-sizing: border-box;
}

.page-doi-tac__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #26A9E0;
    color: #FFFFFF;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__step-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-doi-tac__process-image {
    text-align: center;
    margin-top: 40px;
}

.page-doi-tac__process-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-doi-tac__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #FFFFFF;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-doi-tac__faq-question:hover {
    background-color: #e9e9e9;
}

.page-doi-tac__faq-toggle {
    font-size: 1.5em;
    color: #26A9E0;
    margin-left: 15px;
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-doi-tac__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

.page-doi-tac__faq-answer p {
    margin-bottom: 0;
}

/* Contact CTA Section */
.page-doi-tac__contact-cta-section {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
    text-align: center;
}

.page-doi-tac__contact-cta-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* General image styling for content areas */
.page-doi-tac img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 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__cta-buttons {
        justify-content: center;
    }

    .page-doi-tac__feature-item {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }

    .page-doi-tac__process-item {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    /* General content area padding for mobile */
    .page-doi-tac__container,
    .page-doi-tac__contact-cta-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Hero Section */
    .page-doi-tac__hero-section {
        padding-top: 10px !important; /* Specific rule for hero top padding */
        padding-bottom: 40px;
    }

    .page-doi-tac__hero-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
    }

    .page-doi-tac__main-title {
        font-size: 2em;
        text-align: center;
    }

    .page-doi-tac__hero-description {
        font-size: 1em;
        text-align: center;
    }

    .page-doi-tac__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }

    /* Buttons */
    .page-doi-tac__btn-primary,
    .page-doi-tac__btn-secondary,
    .page-doi-tac a[class*="button"],
    .page-doi-tac a[class*="btn"] {
        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;
    }

    /* Section Titles and Descriptions */
    .page-doi-tac__section-title {
        font-size: 1.5em;
    }

    .page-doi-tac__section-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    /* Intro Section (Module 1 - 3 columns with circular images) */
    .page-doi-tac__feature-grid {
        flex-direction: column;
        gap: 20px;
    }

    .page-doi-tac__feature-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .page-doi-tac__icon-box-media {
        width: 200px; /* Still circular, slightly smaller */
        height: 200px;
        border-width: 3px;
    }

    /* Benefits Section */
    .page-doi-tac__benefit-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

    /* Process Section */
    .page-doi-tac__process-steps {
        flex-direction: column;
        gap: 20px;
    }

    .page-doi-tac__process-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /* FAQ Section */
    .page-doi-tac__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-doi-tac__faq-toggle {
        font-size: 1.2em;
    }

    .page-doi-tac__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }

    /* Images */
    .page-doi-tac img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}