/* ==========================================================
   THEGIOIDOCU.NET.VN
   Content Layout
========================================================== */

.tgdc-page {
    --blue: #2876c1;
    --blue-dark: #175d9f;
    --orange: #e67817;
    --orange-light: #fff6ed;
    --text: #252b32;
    --text-light: #626c76;
    --border: #e3e8ed;
    --background: #f7f9fb;

    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.7;
}

.tgdc-page *,
.tgdc-page *::before,
.tgdc-page *::after {
    box-sizing: border-box;
}

.tgdc-page a {
    color: var(--blue);
    text-decoration: none;
}

.tgdc-page p {
    margin: 0;
}


/* ==========================================================
   HEADER
========================================================== */

.tgdc-header {
    position: relative;
    padding: 38px 40px 34px;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            rgba(40,118,193,.07),
            rgba(230,120,23,.055)
        );
    border: 1px solid var(--border);
    border-top: 4px solid var(--blue);
    border-radius: 10px;
}

.tgdc-header__label {
    margin-bottom: 6px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.tgdc-header h1 {
    margin: 0;
    color: var(--orange);
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.tgdc-header__intro {
    margin-top: 7px !important;
    color: #454d56;
    font-size: 16px;
}

.tgdc-header__divider {
    width: 45px;
    height: 3px;
    margin: 18px auto;
    background: var(--orange);
    border-radius: 5px;
}

.tgdc-header h2 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 19px;
    line-height: 1.45;
    font-weight: 600;
}


/* Hotline */

.tgdc-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.tgdc-contact > span {
    color: #555;
}

.tgdc-contact a {
    color: #f04438;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.tgdc-contact small {
    color: #6c747c;
}


/* slogan */

.tgdc-slogan {
    display: inline-block;
    margin-top: 13px;
    padding: 6px 15px;
    color: var(--orange);
    background: #fff;
    border: 1px solid #f0d6be;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}


/* ==========================================================
   SECTION
========================================================== */

.tgdc-section {
    padding: 30px 34px;
    background: #fff;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.tgdc-section:first-of-type {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    border-radius: 10px 10px 0 0;
}

.tgdc-section--soft {
    background: var(--background);
}


/* Heading */

.tgdc-section__heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.tgdc-section__number {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--blue);
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
}

.tgdc-section__sub {
    display: block;
    margin-bottom: 1px;
    color: var(--orange);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.tgdc-section__heading h2 {
    margin: 0;
    color: #222a32;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
}


/* Content */

.tgdc-section__content {
    padding-left: 56px;
    color: var(--text-light);
    text-align: justify;
}

.tgdc-section__content strong {
    color: #27313b;
}


/* ==========================================================
   SERVICES
========================================================== */

.tgdc-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 56px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.tgdc-service-item {
    position: relative;
    min-height: 46px;
    padding: 11px 15px 11px 30px;
    color: #404952;
    border-bottom: 1px solid var(--border);
}

.tgdc-service-item:nth-child(odd) {
    border-right: 1px solid var(--border);
}

.tgdc-service-item::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 15px;
    width: 5px;
    height: 5px;
    background: var(--orange);
    border-radius: 50%;
}

.tgdc-service-item:nth-last-child(-n+2) {
    border-bottom: 0;
}


/* ==========================================================
   AREA
========================================================== */

.tgdc-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-left: 56px;
}

.tgdc-area__item {
    padding: 17px 18px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.tgdc-area__title {
    position: relative;
    margin-bottom: 8px;
    padding-bottom: 8px;
    color: var(--blue-dark);
    font-size: 16px;
    font-weight: 700;
}

.tgdc-area__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--orange);
}

.tgdc-area p {
    color: var(--text-light);
}


/* ==========================================================
   PAYMENT
========================================================== */

.tgdc-payment {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-left: 56px;
    padding: 15px 17px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 7px;
}

.tgdc-payment__check {
    display: flex;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--orange);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.tgdc-payment p {
    color: var(--text-light);
}


/* ==========================================================
   COMPANY
========================================================== */

.tgdc-company {
    margin-top: 20px;
    padding: 30px 34px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.tgdc-company__title {
    position: relative;
    margin-bottom: 17px;
    padding-bottom: 13px;
}

.tgdc-company__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 3px;
    background: var(--orange);
    border-radius: 4px;
}

.tgdc-company__title span {
    display: block;
    color: var(--orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.tgdc-company__title h2 {
    margin: 2px 0 0;
    color: var(--blue-dark);
    font-size: 22px;
}

.tgdc-company__content {
    color: var(--text-light);
    text-align: justify;
}


/* update */

.tgdc-update {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 20px;
    padding: 13px 16px;
    background: var(--orange-light);
    border-left: 3px solid var(--orange);
    border-radius: 0 6px 6px 0;
}

.tgdc-update strong {
    color: var(--orange);
}

.tgdc-update span {
    position: relative;
    padding-left: 12px;
    color: #606870;
    font-size: 13px;
}

.tgdc-update span::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 4px;
    height: 4px;
    background: var(--blue);
    border-radius: 50%;
}


/* ==========================================================
   CTA
========================================================== */

.tgdc-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding: 22px 30px;
    color: #fff;
    background: linear-gradient(
        110deg,
        var(--blue-dark),
        var(--blue)
    );
    border-radius: 10px;
}

.tgdc-cta__text span {
    display: block;
    margin-bottom: 2px;
    color: #dcecff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.tgdc-cta__text strong {
    font-size: 19px;
}

.tgdc-cta__contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tgdc-cta__contact a {
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.tgdc-cta__contact small {
    color: rgba(255,255,255,.75);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991px) {

    .tgdc-header {
        padding: 32px 25px;
    }

    .tgdc-section {
        padding: 26px 25px;
    }

    .tgdc-section__content,
    .tgdc-services,
    .tgdc-area,
    .tgdc-payment {
        margin-left: 0;
        padding-left: 0;
    }

    .tgdc-section__content {
        padding-left: 56px;
    }

    .tgdc-services,
    .tgdc-area,
    .tgdc-payment {
        margin-left: 56px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .tgdc-page {
        font-size: 14px;
        line-height: 1.65;
    }


    /* Header */

    .tgdc-header {
        padding: 26px 15px;
        border-radius: 8px;
    }

    .tgdc-header h1 {
        font-size: 25px;
    }

    .tgdc-header__intro {
        font-size: 14px;
    }

    .tgdc-header h2 {
        font-size: 17px;
    }

    .tgdc-contact {
        flex-direction: column;
        gap: 1px;
    }

    .tgdc-contact a {
        font-size: 25px;
    }


    /* Section */

    .tgdc-section {
        padding: 22px 15px;
    }

    .tgdc-section__heading {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 15px;
    }

    .tgdc-section__number {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 12px;
    }

    .tgdc-section__heading h2 {
        font-size: 18px;
    }

    .tgdc-section__content {
        padding-left: 0;
        text-align: left;
    }


    /* Services */

    .tgdc-services {
        grid-template-columns: 1fr;
        margin-left: 0;
    }

    .tgdc-service-item,
    .tgdc-service-item:nth-child(odd) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .tgdc-service-item:last-child {
        border-bottom: 0;
    }

    .tgdc-service-item:nth-last-child(2) {
        border-bottom: 1px solid var(--border);
    }


    /* Area */

    .tgdc-area {
        grid-template-columns: 1fr;
        margin-left: 0;
    }


    /* Payment */

    .tgdc-payment {
        margin-left: 0;
        padding: 14px;
    }


    /* Company */

    .tgdc-company {
        padding: 22px 15px;
    }

    .tgdc-company__content {
        text-align: left;
    }

    .tgdc-update {
        display: block;
    }

    .tgdc-update strong,
    .tgdc-update span {
        display: block;
    }

    .tgdc-update span {
        margin-top: 6px;
    }


    /* CTA */

    .tgdc-cta {
        flex-direction: column;
        align-items: center;
        padding: 20px 15px;
        text-align: center;
    }

    .tgdc-cta__contact {
        flex-direction: column;
        gap: 0;
    }

}


/* ==========================================================
   IPHONE / SMALL MOBILE
========================================================== */

@media (max-width: 414px) {

    .tgdc-header h1 {
        font-size: 23px;
    }

    .tgdc-slogan {
        padding: 6px 10px;
        font-size: 12px;
    }

    .tgdc-section__heading h2 {
        font-size: 17px;
    }

    .tgdc-service-item {
        min-height: 43px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

}