/* style/da-ga-truc-tiep.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-color: #C30808;
    --login-color: #C30808;
    --register-login-font-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-light: #e0e0e0;
}

.page-da-ga-truc-tiep {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color); /* Body background is white, so default text is dark */
}

.page-da-ga-truc-tiep__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.page-da-ga-truc-tiep__container--center {
    text-align: center;
}

.page-da-ga-truc-tiep__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-da-ga-truc-tiep__section-title--white {
    color: var(--text-light);
}

.page-da-ga-truc-tiep__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-da-ga-truc-tiep__text-block--white {
    color: var(--text-light);
}

/* Buttons */
.page-da-ga-truc-tiep__btn-primary,
.page-da-ga-truc-tiep__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-da-ga-truc-tiep__btn-primary {
    background-color: var(--register-color); /* Use custom color for primary actions like Register/Login */
    color: var(--register-login-font-color); /* Custom font color for Register/Login */
    border: 2px solid var(--register-color);
}

.page-da-ga-truc-tiep__btn-primary:hover {
    background-color: #a30606; /* Darker red */
    border-color: #a30606;
}

.page-da-ga-truc-tiep__btn-primary--yellow-text {
    color: var(--register-login-font-color);
}

.page-da-ga-truc-tiep__btn-primary--large {
    padding: 18px 36px;
    font-size: 1.2em;
}

.page-da-ga-truc-tiep__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-da-ga-truc-tiep__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Images */
.page-da-ga-truc-tiep img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Section */
.page-da-ga-truc-tiep__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-da-ga-truc-tiep__hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 16px;
}

.page-da-ga-truc-tiep__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
}

.page-da-ga-truc-tiep__hero-title {
    font-size: 3.2em;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-da-ga-truc-tiep__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-dark);
    line-height: 1.5;
}

.page-da-ga-truc-tiep__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-da-ga-truc-tiep__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-da-ga-truc-tiep__hero-main-img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Intro Section */
.page-da-ga-truc-tiep__intro-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.page-da-ga-truc-tiep__image-wrapper {
    margin-top: 40px;
    text-align: center;
}

.page-da-ga-truc-tiep__content-image {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Guide Section */
.page-da-ga-truc-tiep__guide-section {
    padding: 60px 0;
    background-color: var(--primary-color); /* Dark background */
    color: var(--text-light);
}

.page-da-ga-truc-tiep__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-da-ga-truc-tiep__guide-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-da-ga-truc-tiep__guide-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-da-ga-truc-tiep__guide-title--white {
    color: var(--text-light);
}

.page-da-ga-truc-tiep__guide-text {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-da-ga-truc-tiep__guide-text--white {
    color: var(--text-light);
}

.page-da-ga-truc-tiep__guide-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
}

/* Types Section */
.page-da-ga-truc-tiep__types-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.page-da-ga-truc-tiep__type-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-da-ga-truc-tiep__type-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-light);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-da-ga-truc-tiep__type-item strong {
    color: var(--primary-color);
}

/* Tips Section */
.page-da-ga-truc-tiep__tips-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.page-da-ga-truc-tiep__tip-item {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    background-color: var(--secondary-color);
    text-align: center;
}

.page-da-ga-truc-tiep__tip-title {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-da-ga-truc-tiep__tip-text {
    font-size: 1em;
    color: var(--text-dark);
}

.page-da-ga-truc-tiep__image-wrapper--center {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.page-da-ga-truc-tiep__faq-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.page-da-ga-truc-tiep__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-da-ga-truc-tiep__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-da-ga-truc-tiep__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f5f5f5;
    border-bottom: 1px solid var(--border-light);
    list-style: none;
    position: relative;
}

.page-da-ga-truc-tiep__faq-question::-webkit-details-marker, 
.page-da-ga-truc-tiep__faq-question::marker {
    display: none;
}

.page-da-ga-truc-tiep__faq-item[open] > .page-da-ga-truc-tiep__faq-question {
    border-bottom: 1px solid transparent; /* Hide border when open */
}

.page-da-ga-truc-tiep__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-da-ga-truc-tiep__faq-item[open] .page-da-ga-truc-tiep__faq-toggle {
    transform: rotate(45deg);
}

.page-da-ga-truc-tiep__faq-answer {
    padding: 0 20px 20px;
    font-size: 1.05em;
    color: var(--text-dark);
    line-height: 1.6;
}

.page-da-ga-truc-tiep__faq-answer p {
    margin-bottom: 15px;
}

.page-da-ga-truc-tiep__faq-answer .page-da-ga-truc-tiep__btn-primary {
    margin-top: 10px;
}

/* CTA Section */
.page-da-ga-truc-tiep__cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-da-ga-truc-tiep__cta-section .page-da-ga-truc-tiep__section-title {
    margin-bottom: 25px;
}

.page-da-ga-truc-tiep__cta-section .page-da-ga-truc-tiep__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-da-ga-truc-tiep__hero-title {
        font-size: 2.8em;
    }
    .page-da-ga-truc-tiep__hero-description {
        font-size: 1.2em;
    }
    .page-da-ga-truc-tiep__section-title {
        font-size: 2.2em;
    }
    .page-da-ga-truc-tiep__guide-steps,
    .page-da-ga-truc-tiep__tips-grid,
    .page-da-ga-truc-tiep__type-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* General */
    .page-da-ga-truc-tiep {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-da-ga-truc-tiep__container,
    .page-da-ga-truc-tiep__hero-container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-da-ga-truc-tiep__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-da-ga-truc-tiep__text-block {
        font-size: 1em;
    }

    /* HERO Section */
    .page-da-ga-truc-tiep__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-da-ga-truc-tiep__hero-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 15px;
        gap: 30px;
    }
    .page-da-ga-truc-tiep__hero-content,
    .page-da-ga-truc-tiep__hero-image {
        flex: 1 1 100%;
        min-width: unset;
    }
    .page-da-ga-truc-tiep__hero-title {
        font-size: 2.2em;
    }
    .page-da-ga-truc-tiep__hero-description {
        font-size: 1.1em;
    }
    .page-da-ga-truc-tiep__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Buttons */
    .page-da-ga-truc-tiep__btn-primary,
    .page-da-ga-truc-tiep__btn-secondary,
    .page-da-ga-truc-tiep a[class*="button"],
    .page-da-ga-truc-tiep 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;
    }
    .page-da-ga-truc-tiep__hero-cta-buttons,
    .page-da-ga-truc-tiep__cta-section .page-da-ga-truc-tiep__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* Images */
    .page-da-ga-truc-tiep img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Guide Section */
    .page-da-ga-truc-tiep__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-da-ga-truc-tiep__guide-item {
        padding: 25px;
    }
    .page-da-ga-truc-tiep__guide-title {
        font-size: 1.5em;
    }

    /* Types Section */
    .page-da-ga-truc-tiep__type-list {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
    .page-da-ga-truc-tiep__type-item {
        padding: 18px;
        font-size: 1em;
    }

    /* Tips Section */
    .page-da-ga-truc-tiep__tips-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
    .page-da-ga-truc-tiep__tip-item {
        padding: 25px;
    }
    .page-da-ga-truc-tiep__tip-title {
        font-size: 1.4em;
    }

    /* FAQ Section */
    .page-da-ga-truc-tiep__faq-list {
        margin-top: 30px;
    }
    .page-da-ga-truc-tiep__faq-question {
        font-size: 1.1em;
        padding: 18px;
    }
    .page-da-ga-truc-tiep__faq-answer {
        padding: 0 18px 18px;
        font-size: 0.95em;
    }

    /* CTA Section */
    .page-da-ga-truc-tiep__cta-section {
        padding: 60px 0;
    }
    .page-da-ga-truc-tiep__cta-section .page-da-ga-truc-tiep__section-title {
        font-size: 2em;
    }
    .page-da-ga-truc-tiep__cta-section .page-da-ga-truc-tiep__text-block {
        font-size: 1em;
    }
    .page-da-ga-truc-tiep__btn-primary--large {
        padding: 15px 25px;
        font-size: 1.1em;
    }
}