.page-doi-tac {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--secondary-color, #FFFFFF); /* Assuming shared.css sets --secondary-color to #FFFFFF */
}

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

/* Hero Section */
.page-doi-tac__hero-section {
    padding-top: 10px; /* Small top padding, assuming body padding-top is handled by shared.css */
    text-align: center;
    background-color: var(--secondary-color, #FFFFFF);
    padding-bottom: 40px;
}

.page-doi-tac__hero-image-wrapper {
    margin-bottom: 30px;
}

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

.page-doi-tac__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-doi-tac__main-title {
    font-size: clamp(2em, 3.5vw, 2.8em); /* Using clamp for responsive H1 */
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-doi-tac__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

.page-doi-tac__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-doi-tac__btn-primary:hover {
    background-color: #1e87c2;
    border-color: #1e87c2;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(38, 169, 224, 0.3);
}

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

.page-doi-tac__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1e87c2;
    border-color: #1e87c2;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(38, 169, 224, 0.1);
}

/* General Section Styling */
.page-doi-tac__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: bold;
}

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

.page-doi-tac__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-doi-tac__dark-section {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 60px 0;
}

.page-doi-tac__dark-section .page-doi-tac__text-block {
    color: #f0f0f0;
}

/* Intro Section */
.page-doi-tac__intro-section .page-doi-tac__container {
    max-width: 900px;
}

/* Why Partner Section */
.page-doi-tac__why-partner-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

.page-doi-tac__feature-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-doi-tac__feature-figure {
    margin: 0 0 15px 0;
}

.page-doi-tac__feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

.page-doi-tac__feature-description {
    font-size: 0.95em;
    color: #666666;
}

/* Types Section */
.page-doi-tac__types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-doi-tac__type-card {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-doi-tac__type-card:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

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

.page-doi-tac__type-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Benefits Section */
.page-doi-tac__benefits-section {
    padding: 60px 0;
    background-color: var(--secondary-color, #FFFFFF);
}

.page-doi-tac__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-doi-tac__benefit-item {
    background-color: #f5f5f5;
    border-left: 5px solid #26A9E0;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-doi-tac__benefit-heading {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 8px;
    font-weight: bold;
}

.page-doi-tac__benefit-description {
    font-size: 0.95em;
    color: #555555;
}

/* Registration Section */
.page-doi-tac__registration-section {
    padding-bottom: 60px; /* Adjust padding for bottom CTA */
}

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

.page-doi-tac__step-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.page-doi-tac__step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #FFFFFF;
    color: #26A9E0;
    border-radius: 50%;
    font-size: 2em;
    font-weight: bold;
    margin: -60px auto 20px auto; /* Position above card */
    border: 3px solid #26A9E0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-doi-tac__step-card:first-child .page-doi-tac__step-number {
    margin-top: 0; /* Adjust for first card if it's the first element in section */
}

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

.page-doi-tac__step-description {
    font-size: 0.95em;
    color: #f0f0f0;
}

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

/* Support Section */
.page-doi-tac__support-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

.page-doi-tac__support-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-doi-tac__support-description {
    font-size: 0.95em;
    color: #666666;
}

/* FAQ Section */
.page-doi-tac__faq-section {
    padding-bottom: 60px;
}

.page-doi-tac__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-doi-tac__faq-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFFFFF;
}

.page-doi-tac__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none; /* For details/summary */
    color: #FFFFFF;
}

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


.page-doi-tac__faq-item[open] .page-doi-tac__faq-question {
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

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

.page-doi-tac__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #FFFFFF;
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-toggle {
    transform: rotate(45deg); /* Change + to X or rotate it */
}

.page-doi-tac__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: #f0f0f0;
    text-align: justify;
}

/* Contact Section */
.page-doi-tac__contact-section {
    padding: 60px 0;
    background-color: var(--secondary-color, #FFFFFF);
    text-align: center;
}

.page-doi-tac__contact-info {
    margin-top: 30px;
}

.page-doi-tac__contact-text {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #555555;
}

.page-doi-tac__contact-text a {
    color: #26A9E0;
    text-decoration: underline;
    font-weight: bold;
}

.page-doi-tac__contact-text a:hover {
    color: #1e87c2;
}

/* Global image styles for content */
.page-doi-tac img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-doi-tac__section-title {
        font-size: 2em;
    }
    .page-doi-tac__hero-content {
        padding: 0 15px;
    }
    .page-doi-tac__feature-card,
    .page-doi-tac__type-card,
    .page-doi-tac__step-card,
    .page-doi-tac__support-item {
        padding: 20px;
    }
    .page-doi-tac__main-title {
        font-size: clamp(1.8em, 4vw, 2.5em);
    }
}

@media (max-width: 768px) {
    /* 1. Top section title + dual CTA */
    .page-doi-tac__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }
    .page-doi-tac__main-title {
        font-size: clamp(1.6em, 6vw, 2.2em) !important;
        margin-bottom: 10px;
    }
    .page-doi-tac__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-doi-tac__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px;
    }
    .page-doi-tac__btn-primary,
    .page-doi-tac__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-doi-tac__hero-image {
        border-radius: 0; /* Full width on mobile */
    }

    /* 2. Single column long text container */
    .page-doi-tac__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-doi-tac__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px;
        padding-top: 40px;
    }
    .page-doi-tac__dark-section {
        padding: 40px 0;
    }
    .page-doi-tac__text-block {
        font-size: 0.95em;
    }

    /* 3. General images and figure */
    .page-doi-tac img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-doi-tac__feature-figure,
    .page-doi-tac__step-card figure { /* Assuming step-card might have figures, adjust if not */
        margin-bottom: 10px;
    }
    .page-doi-tac__feature-card img,
    .page-doi-tac__support-item img {
        min-width: 200px !important;
        min-height: 200px !important;
        width: 100% !important;
        height: auto !important;
    }

    /* 4. Buttons and button containers */
    .page-doi-tac__cta-bottom .page-doi-tac__btn-primary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-doi-tac__cta-bottom {
        padding: 0 15px;
    }

    /* Specific grid adjustments for mobile */
    .page-doi-tac__features-grid,
    .page-doi-tac__types-grid,
    .page-doi-tac__steps-grid,
    .page-doi-tac__support-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }
    .page-doi-tac__feature-card,
    .page-doi-tac__type-card,
    .page-doi-tac__support-item {
        padding: 20px;
    }
    .page-doi-tac__step-card {
        padding-top: 60px; /* Adjust for absolute positioned number */
    }
    .page-doi-tac__step-number {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    /* 5. Registration tutorial and FAQ block */
    .page-doi-tac__benefits-list {
        padding: 0 15px;
    }
    .page-doi-tac__benefit-item {
        padding: 15px 20px;
    }
    .page-doi-tac__benefit-heading {
        font-size: 1.2em;
    }
    .page-doi-tac__faq-list {
        padding: 0 15px;
    }
    .page-doi-tac__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-doi-tac__faq-answer {
        font-size: 0.9em;
        padding: 10px 20px 15px 20px;
    }
    .page-doi-tac__contact-text {
        font-size: 1em;
    }
}