/* style/doi-tac.css */

/* General styles for the page content, assuming body has a light background from shared.css */
.page-doi-tac {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
}

/* Container for consistent content width */
.page-doi-tac__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

/* Section titles */
.page-doi-tac__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #113B7A; /* Main brand color for titles */
    text-align: center;
    margin-bottom: 20px;
}

/* Section descriptions */
.page-doi-tac__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #333333;
}

/* Dark background sections */
.page-doi-tac__dark-bg {
    background-color: #10233F; /* Card B G for section background */
    color: #F3F8FF; /* Text Main for dark backgrounds */
    padding: 60px 0;
}
.page-doi-tac__dark-bg .page-doi-tac__section-title {
    color: #F2C14E; /* Gold for titles on dark background */
}
.page-doi-tac__dark-bg .page-doi-tac__section-description {
    color: #AFC4E8; /* Text Secondary for descriptions on dark background */
}

/* Buttons */
.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary,
.page-doi-tac__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-doi-tac__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF; /* Text Main */
    border: none;
}
.page-doi-tac__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-doi-tac__btn-secondary {
    background: #ffffff;
    color: #113B7A; /* Main brand color */
    border: 2px solid #113B7A;
}
.page-doi-tac__btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.page-doi-tac__btn-link {
    background: transparent;
    color: #1D5FD1; /* Auxiliary color */
    border: 1px solid #1D5FD1;
    padding: 8px 15px;
    font-size: 14px;
}
.page-doi-tac__btn-link:hover {
    background: #1D5FD1;
    color: #F3F8FF;
}

/* Hero Section */
.page-doi-tac__hero-section {
    padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
    background-color: #f8f8f8; /* Light background for hero */
}

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

.page-doi-tac__main-title {
    font-size: 48px;
    font-weight: 800;
    color: #113B7A;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-doi-tac__hero-description {
    font-size: 20px;
    color: #333333;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-doi-tac__hero-image-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.page-doi-tac__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Intro Section (dark background) */
.page-doi-tac__intro-section {
    padding: 80px 0;
}

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

.page-doi-tac__benefit-card {
    background-color: #08162B; /* Deep Navy */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-doi-tac__benefit-icon {
    width: 100%; /* Ensure image fills card width */
    max-width: 200px; /* Limit icon size */
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-doi-tac__benefit-title {
    font-size: 24px;
    font-weight: 700;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-doi-tac__benefit-text {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
}

/* Models Section (light background) */
.page-doi-tac__models-section {
    padding: 80px 0;
    background-color: #ffffff; /* Explicitly white background */
}

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

.page-doi-tac__model-card {
    background-color: #ffffff;
    border: 1px solid #244D84; /* Border color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-doi-tac__model-title {
    font-size: 22px;
    font-weight: 700;
    color: #113B7A;
    margin-bottom: 15px;
}

.page-doi-tac__model-text {
    font-size: 16px;
    color: #333333;
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

/* Process Section (dark background) */
.page-doi-tac__process-section {
    padding: 80px 0;
}

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

.page-doi-tac__step-item {
    background-color: #08162B; /* Deep Navy */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-doi-tac__step-number {
    font-size: 48px;
    font-weight: 900;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

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

.page-doi-tac__step-text {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
}

.page-doi-tac__process-cta {
    text-align: center;
    margin-top: 60px;
}

/* FAQ Section (light background) */
.page-doi-tac__faq-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background */
}

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

.page-doi-tac__faq-item {
    background-color: #ffffff;
    border: 1px solid #244D84; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.page-doi-tac__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #113B7A;
    cursor: pointer;
    list-style: none; /* Hide default marker */
}
.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: 24px;
    font-weight: 700;
    color: #1D5FD1;
    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: 16px;
    color: #333333;
}
.page-doi-tac__faq-answer p {
    margin: 0;
}

/* Contact CTA Section (dark background) */
.page-doi-tac__contact-cta-section {
    padding: 80px 0;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-doi-tac__main-title {
        font-size: 42px;
    }
    .page-doi-tac__hero-description {
        font-size: 18px;
    }
    .page-doi-tac__section-title {
        font-size: 32px;
    }
    .page-doi-tac__section-description {
        font-size: 16px;
    }
    .page-doi-tac__benefits-grid,
    .page-doi-tac__models-grid,
    .page-doi-tac__process-steps {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-doi-tac__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 40px;
    }
    .page-doi-tac__main-title {
        font-size: clamp(28px, 8vw, 38px); /* Clamp for H1 font size */
        margin-bottom: 15px;
    }
    .page-doi-tac__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-doi-tac__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-doi-tac__btn-primary,
    .page-doi-tac__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 14px 20px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-doi-tac__hero-image-wrapper {
        padding: 0 15px;
    }
    .page-doi-tac__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* General containers and images for mobile */
    .page-doi-tac__container {
        padding: 30px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-doi-tac img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Intro Section */
    .page-doi-tac__intro-section {
        padding: 60px 0;
    }
    .page-doi-tac__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-doi-tac__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-doi-tac__benefits-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 30px;
    }
    .page-doi-tac__benefit-card {
        padding: 25px;
    }
    .page-doi-tac__benefit-icon {
        max-width: 150px;
        width: 100% !important;
        height: auto !important;
    }
    .page-doi-tac__benefit-title {
        font-size: 20px;
    }
    .page-doi-tac__benefit-text {
        font-size: 15px;
    }

    /* Models Section */
    .page-doi-tac__models-section {
        padding: 60px 0;
    }
    .page-doi-tac__models-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 30px;
    }
    .page-doi-tac__model-card {
        padding: 25px;
    }
    .page-doi-tac__model-title {
        font-size: 20px;
    }
    .page-doi-tac__model-text {
        font-size: 15px;
    }
    .page-doi-tac__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 15px;
    }

    /* Process Section */
    .page-doi-tac__process-section {
        padding: 60px 0;
    }
    .page-doi-tac__process-steps {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 30px;
    }
    .page-doi-tac__step-item {
        padding: 25px;
    }
    .page-doi-tac__step-number {
        font-size: 40px;
    }
    .page-doi-tac__step-title {
        font-size: 20px;
    }
    .page-doi-tac__step-text {
        font-size: 15px;
    }
    .page-doi-tac__process-cta {
        margin-top: 40px;
    }
    .page-doi-tac__process-cta .page-doi-tac__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* FAQ Section */
    .page-doi-tac__faq-section {
        padding: 60px 0;
    }
    .page-doi-tac__faq-list {
        margin-top: 30px;
        padding: 0 15px;
    }
}