
/* ================================================
   TTC CONTACT PAGE
   Version 1.0.2
   ================================================ */

.ttc-contact,
.ttc-contact-hero-section {
    --ttc-primary: var(--primary-color, #F0BA46);
    --ttc-navy: #142B49;
    --ttc-muted: #65758B;
    --ttc-border: #E4EAF1;
}


/* ================================================
   1. FULL WIDTH BANNER
   ================================================ */

.ttc-contact-hero-section {
    padding: 0 !important;
    margin: 0;
}

.ttc-contact-hero-section .ttc-contact-hero-row {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.ttc-contact-hero-section .col,
.ttc-contact-hero-section .col-inner {
    padding: 0 !important;
    margin: 0 !important;
}

.ttc-contact-hero-banner {
    position: relative;
    isolation: isolate;

    padding-top: 440px !important;

    width: 100%;
    border-radius: 0 !important;
    overflow: hidden;

    background-color: #142B49;
}

/* Gradient phủ lên ảnh nền */

.ttc-contact-hero-banner .banner-bg::after {
    content: "";
    position: absolute;
    inset: 0;

    z-index: 2;
    pointer-events: none;

    background: linear-gradient(
        100deg,
        rgba(10, 26, 49, .85),
        rgba(20, 43, 73, .65),
        rgba(20, 43, 73, .35)
    );
}

.ttc-contact-hero-banner .banner-layers {
    position: relative;
    z-index: 3;
}

/* Banner heading */

.ttc-contact-hero-banner .ttc-contact-hero-title {
    color: #FFFFFF !important;

    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;

    margin: 0 0 22px;
}

.ttc-contact-hero-banner .ttc-contact-hero-title span {
    color: var(--ttc-primary);
}

.ttc-contact-hero-banner .ttc-contact-hero-desc {
    max-width: 720px;
    margin: 0 auto;

    color: rgba(255,255,255,.94) !important;

    font-size: 17px;
    line-height: 1.75;
}


/* ================================================
   2. CONTACT INFORMATION
   ================================================ */

.ttc-contact-information {
    background: #FFFFFF;
}

.ttc-contact-information .row {
    max-width: 1240px;
    align-items: stretch;
}

.ttc-contact-information .col {
    position: relative;
}

.ttc-contact-information .col:not(:last-child)::after {
    content: "";
    position: absolute;

    width: 1px;
    height: 106px;

    right: 0;
    top: 35px;

    background: var(--ttc-border);
}

.ttc-contact-info {
    text-align: center;
    padding: 0 12px 12px;
}

.ttc-contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin: 0 auto 14px;

    border-radius: 50%;
    background: #FFF4E6;

    color: var(--ttc-primary);
    font-size: 24px;
}

.ttc-contact-info h3 {
    color: var(--ttc-navy);

    font-size: 15px;
    font-weight: 750;

    margin: 0 0 7px;
}

.ttc-contact-info p,
.ttc-contact-info a {
    color: var(--ttc-navy);

    font-size: 14px;
    line-height: 1.65;

    overflow-wrap: anywhere;
}

.ttc-contact-info p {
    margin: 0;
}

.ttc-contact-info a:hover {
    color: var(--ttc-primary);
}


/* ================================================
   3. FORM + SOCIAL SECTION
   ================================================ */

.ttc-contact-main {
    position: relative;
    isolation: isolate;

    background-color: #F3F7FB;
    background-position: center;
    background-size: cover;
}

/* Có thể chọn ảnh nền trong UX Builder */

.ttc-contact-main::before {
    content: "";
    position: absolute;
    inset: 0;

    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
        105deg,
        rgba(246,249,252,.94),
        rgba(246,249,252,.82)
    );
}

.ttc-contact-main > .row {
    position: relative;
    z-index: 2;

    max-width: 1240px;
    align-items: stretch;
}


/* ================================================
   4. FORM / SOCIAL BOX
   ================================================ */

.ttc-contact-main .ttc-contact-form-col > .col-inner,
.ttc-contact-main .ttc-contact-social-col > .col-inner {
    height: 100%;

    background: rgba(255,255,255,.96);

    border: 1px solid #E1E8F0;
    border-radius: 18px;

    padding: 32px 30px;

    box-shadow: 0 12px 35px rgba(20,43,73,.065);
}

.ttc-contact-box-heading {
    text-align: center;
    margin-bottom: 28px;
}

.ttc-contact-box-heading h2 {
    color: var(--ttc-navy);

    font-size: clamp(18px, 2vw, 23px);
    font-weight: 800;
    line-height: 1.35;

    margin: 0;
}

.ttc-contact-title-line {
    display: block;

    width: 38px;
    height: 3px;

    margin: 13px auto 0;

    border-radius: 10px;
    background: var(--ttc-primary);
}


/* ================================================
   5. FLUENT FORMS
   ================================================ */

.ttc-contact-main .fluentform .ff-el-group {
    margin-bottom: 17px;
}

.ttc-contact-main .fluentform .ff-el-input--label label {
    font-size: 14px;
    font-weight: 650;

    color: var(--ttc-navy);

    margin-bottom: 7px;
}

.ttc-contact-main .fluentform input:not([type="checkbox"]):not([type="radio"]),
.ttc-contact-main .fluentform select,
.ttc-contact-main .fluentform textarea {
    width: 100%;

    border: 1px solid #DFE5EE;
    border-radius: 9px;

    background: #FFFFFF;
    color: var(--ttc-navy);

    font-size: 14px;
    box-shadow: none;

    padding: 11px 13px;
}

.ttc-contact-main .fluentform input:not([type="checkbox"]):not([type="radio"]),
.ttc-contact-main .fluentform select {
    min-height: 45px;
}

.ttc-contact-main .fluentform textarea {
    min-height: 125px;
    resize: vertical;
}

.ttc-contact-main .fluentform input:focus,
.ttc-contact-main .fluentform select:focus,
.ttc-contact-main .fluentform textarea:focus {
    outline: 2px solid var(--ttc-primary);
    outline-offset: 1px;

    border-color: var(--ttc-primary);
}

.ttc-contact-main .fluentform .ff-btn-submit {
    background: var(--ttc-primary) !important;
    color: var(--ttc-navy) !important;

    border: 0 !important;
    border-radius: 40px !important;

    font-weight: 750;
    font-size: 13px;

    padding: 13px 27px !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.ttc-contact-main .fluentform .ff-btn-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 9px 23px rgba(20,43,73,.12);
}


/* ================================================
   6. SOCIAL
   ================================================ */

.ttc-contact-social {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    min-height: 320px;
}

.ttc-contact-social-desc {
    max-width: 340px;

    margin: 8px auto 40px;

    color: var(--ttc-muted);

    font-size: 15px;
    line-height: 1.75;
}

.ttc-contact-social-links {
    display: flex;
    justify-content: center;

    gap: 38px;
}

.ttc-contact-social-links a {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 11px;

    color: var(--ttc-navy);
    font-size: 14px;

    text-decoration: none !important;
}

.ttc-contact-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    border: 1px solid #DFE6EF;
    border-radius: 50%;

    background: #FFFFFF;
    color: #193968;

    font-size: 25px;

    transition:
        background .3s ease,
        transform .3s ease,
        border-color .3s ease;
}

.ttc-contact-zalo {
    font-weight: 800;
}

.ttc-contact-social-links a:hover .ttc-contact-social-icon {
    transform: translateY(-4px);

    background: var(--ttc-primary);
    border-color: var(--ttc-primary);
}


/* ================================================
   7. TABLET
   ================================================ */

@media (max-width: 849px) {

    .ttc-contact-hero-banner {
        padding-top: 380px !important;
    }

    .ttc-contact-information .col:nth-child(2)::after {
        display: none;
    }

    .ttc-contact-information .col {
        margin-bottom: 16px;
    }

    .ttc-contact-main .ttc-contact-form-col > .col-inner,
    .ttc-contact-main .ttc-contact-social-col > .col-inner {
        padding: 25px 21px;
    }

    .ttc-contact-main .ttc-contact-social-col {
        margin-top: 18px;
    }

    .ttc-contact-social {
        min-height: 230px;
    }
}


/* ================================================
   8. MOBILE
   ================================================ */

@media (max-width: 549px) {

    .ttc-contact-hero-banner {
        padding-top: 330px !important;
    }

    .ttc-contact-hero-banner .ttc-contact-hero-title {
        font-size: 33px;
        letter-spacing: -.5px;
        margin-bottom: 16px;
    }

    .ttc-contact-hero-banner .ttc-contact-hero-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    .ttc-contact-information .col::after {
        display: none !important;
    }

    .ttc-contact-info {
        padding: 0 4px 12px;
    }

    .ttc-contact-info-icon {
        width: 46px;
        height: 46px;
        font-size: 21px;
    }

    .ttc-contact-info h3 {
        font-size: 14px;
    }

    .ttc-contact-info p,
    .ttc-contact-info a {
        font-size: 12px;
    }

    .ttc-contact-main::before {
        background: rgba(246,249,252,.89);
    }

    .ttc-contact-main .ttc-contact-form-col > .col-inner,
    .ttc-contact-main .ttc-contact-social-col > .col-inner {
        padding: 22px 18px;
    }

    .ttc-contact-social-links {
        gap: 25px;
    }

    .ttc-contact-social-icon {
        width: 49px;
        height: 49px;
    }
}


/* ================================================
   9. REDUCED MOTION
   ================================================ */

@media (prefers-reduced-motion: reduce) {

    .ttc-contact * {
        transition: none !important;
    }
}