/*
Theme Name: thachquang
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    #top-bar .html_topbar_left {
        width: 100%;
        text-align: center;
    }

    .s-title h2 {
        font-size: 30px !important;
    }

    .h-title__label {
        writing-mode: horizontal-tb !important;
        display: inline-block !important;
        padding: 10px 20px !important;
    }

    .h-title__label::after {
        top: 50% !important;
        left: 100% !important;
        width: 100% !important;
        height: 4px !important;
        transform: translateY(-50%) !important;
    }
}

#top-bar {
    min-height: auto;
}

#top-bar .container {
    padding: 0;
}

#top-bar .html_topbar_left {
    background: #ee0000;
    padding: 6px 15px;
    font-size: 15px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif !important;
}

.home #header .header-inner {
    background-color: #fff;
}

.home #header .nav-dark .nav>li.active>a {
    color: #ee0000;
}

.home #header .nav-dark .nav>li>a {
    color: #000;
}

.home #header .stuck .header-main {
    background-color: #fff;
}

.text-box-1478375536 .text-298634196 {
    background: rgba(0, 0, 0, .8);
    padding: 35px 30px;
    position: relative;
}

.text-298634196 h3 {
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.4;
    font-size: 32px;
}

.text-box-1478375536 .text-298634196::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: red;
    animation: lineGrow 3s linear forwards;
}

@keyframes lineGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

#typedtext {
    font-size: 34px;
    font-weight: 700;
    font-style: normal;
}

.h-title__label {
    background: #000;
    color: #fff;
    writing-mode: sideways-lr;
    text-orientation: mixed;
    padding: 16px 8px 30px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    text-transform: uppercase;
}

.h-title__label::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 4px;
    height: 100px;
    background: red;
    transform: translateX(-50%);
}

.s-title h2 {
    font-size: 60px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 40px;
}

.s-title a {
    font-weight: 600;
    color: #ee0000;
}

.s-title a:hover {
    text-decoration: underline;
}

.btn-1 {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border: none;
}

.text-3900175405 h3 {
    line-height: 1.2;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 13px;
    display: inline-block;
}

.text-2403085412 p {
    margin-bottom: 6px;
}

#footer a {
    font-size: 15px;
    color: #464646;
    min-height: auto;
}

#footer a:hover {
    color: #ee0000;
}

.stack.col-1161594864 {
    font-size: 15px;
}

.product-small a {
    color: #2d2d2d;
}

.product-small a:hover {
    color: #ee0000;
}

.logo-partner .ux-logo {
    border: 1px solid #e1e1e1;
    margin: 8px;
}

.page-title h1 {
    font-weight: bold;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

@media only screen and (min-width: 48em) {
    .page-template-page-transparent-header-light #top-bar {
        display: block;
    }

    #top-bar,
    .stuck #top-bar {
        display: none;
    }

    .home #header {
        padding-top: 40px;
    }

    .post-featured-image {
        margin-top: -130px;
    }

    .nav-dropdown>li.nav-dropdown-col {
        display: block !important;
    }

    .nav-dropdown {
        padding: 0
    }

    .nav-dropdown .nav-dropdown-col>a,
    .nav-dropdown li a {
        font-weight: normal !important;
        text-transform: none !important;
        font-size: 15px;
        font-weight: 500
    }

    .nav-dropdown .nav-dropdown-col>ul li:hover {
        background: #db0000;
    }

    .nav-dropdown-default>li:hover>a,
    .nav-dropdown .nav-dropdown-col>ul li:hover>a {
        color: white;
    }

    .nav-dropdown-default>li>a {
        border-bottom: 0 !important
    }

    .nav-dropdown-has-arrow li:before {
        border-width: 10px;
        margin-left: -10px;
    }

    .nav-dropdown .nav-dropdown-col>ul,
    .active>ul.sub-menu:not(.nav-dropdown) {
        margin-top: -40px;
        box-shadow: 2px 2px 5px #828282;
        display: none !important;
        position: absolute;
        left: 100%;
        z-index: 9;
        background: white;
        min-width: 240px;
    }

    .nav-dropdown>li.nav-dropdown-col {
        width: 100%;
        border-right: 0
    }

    .nav-dropdown .nav-dropdown-col>ul li a {
        padding: 10px;
        text-transform: none;
        color: black
    }

    .header-nav li.nav-dropdown-col:hover>ul {
        display: block !important
    }

    .nav-dropdown .nav-dropdown-col>a::after {
        content: "";
        font-family: fl-icons !important;
        color: #000000;
        position: absolute;
        right: 15px;
    }
}

.contact-price-text {
    color: red;
    font-weight: 500;
}

.col-504161550 .col-inner {
    min-height: 400px;
}

.col-577318869 .col-inner {
    height: 304px;
}

.col-1496187415>.col-inner {
    border-bottom: 5px solid #ed1c24;
}

.col-504161550>.col-inner {
    z-index: 10;
}

.company-intro p {
    font-size: 14px;
    font-style: italic;
    text-align: justify;
}

.pfirst:first-letter {
    float: left;
    padding-top: 11px;
    padding-right: 8px;
    padding-left: 3px;
    font-size: 50px;
    font-weight: 500;
    font-style: italic;
    font-stretch: normal;
    line-height: .48;
    letter-spacing: normal;
    color: #000
}

/* Timeline Styles - Prefix with tq- to avoid conflicts */
.tq-timeline-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.tq-timeline-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Header Section */
.tq-timeline-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(-30px);
    animation: tqFadeInDown 1s forwards;
}

.tq-timeline-header h1 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Statistics Section */
.tq-statistics {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tq-stat-item {
    text-align: center;
    opacity: 0;
    transform: scale(0.5);
    animation: tqStatAnimation 0.8s forwards;
}

.tq-stat-item:nth-child(1) {
    animation-delay: 0.3s;
}

.tq-stat-item:nth-child(2) {
    animation-delay: 0.5s;
}

.tq-stat-item:nth-child(3) {
    animation-delay: 0.7s;
}

.tq-stat-number {
    font-size: 4em;
    font-weight: bold;
    color: #ee0000;
    line-height: 1;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.tq-stat-number .tq-plus {
    position: absolute;
    top: 0;
    right: -30px;
    font-size: 0.5em;
    color: #ee0000;
}

.tq-stat-label {
    font-size: 1.1em;
    color: #ffdf17;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timeline Steps */
.tq-timeline-steps {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    min-height: 500px;
    position: relative;
}

.tq-step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    opacity: 0;
    transform: translateY(50px);
    animation: tqStepAnimation 0.8s forwards;
    position: relative;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.tq-step:hover {
    filter: brightness(1.05);
}

/* Progressive heights */
.tq-step[data-step="1"] {
    height: 300px;
    animation-delay: 0.2s;
}

.tq-step[data-step="2"] {
    height: 350px;
    animation-delay: 0.4s;
}

.tq-step[data-step="3"] {
    height: 400px;
    animation-delay: 0.6s;
}

.tq-step[data-step="4"] {
    height: 450px;
    animation-delay: 0.8s;
}

.tq-step[data-step="5"] {
    height: 500px;
    animation-delay: 1s;
}

/* Progressive colors */
.tq-step[data-step="1"] .tq-step-content {
    background: linear-gradient(to top, #f7931e 0%, #ffffff 100%);
}

.tq-step[data-step="2"] .tq-step-content {
    background: linear-gradient(to top, #f7931e 0%, #ffffff 100%);
}

.tq-step[data-step="3"] .tq-step-content {
    background: linear-gradient(to top, #f7931e 0%, #ffffff 100%);
}

.tq-step[data-step="4"] .tq-step-content {
    background: linear-gradient(to top, #f7931e 0%, #ffffff 100%);
}

.tq-step[data-step="5"] .tq-step-content {
    background: linear-gradient(to top, #f7931e 0%, #ffffff 100%);
}

.tq-step-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tq-step-year {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 1.8em;
    font-weight: bold;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.tq-step:hover .tq-step-year {
    background: var(--tq-theme-color);
}

.tq-step-year::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #1a1a1a;
    transition: border-top-color 0.3s ease;
}

.tq-step:hover .tq-step-year::after {
    border-top-color: var(--tq-theme-color);
}

.tq-step-content {
    flex: 1;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: background 0.3s ease;
}

.tq-step-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1;
}

.tq-step-description {
    font-size: 14px;
    color: #000;
    line-height: 1.2;
    flex: 1;
}

.tq-step-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

/* Progress line */
.tq-progress-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(239, 0, 0, 0.3);
    overflow: hidden;
}

.tq-progress-fill {
    height: 100%;
    background: #000;
    width: 0;
    animation: tqProgressFill 3s ease-out 1.5s forwards;
}

/* Animations */
@keyframes tqFadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tqStepAnimation {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tqStatAnimation {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes tqProgressFill {
    to {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .tq-timeline-steps {
        gap: 0;
    }

    .tq-step {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .tq-timeline-container {
        padding: 40px 10px;
    }

    .tq-statistics {
        gap: 40px;
    }

    .tq-stat-number {
        font-size: 3em;
    }

    .tq-timeline-steps {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .tq-step {
        max-width: 100%;
        height: auto !important;
        min-height: 200px;
    }

    .tq-step-wrapper {
        border-radius: 8px;
    }

    .tq-step-icon {
        display: none;
    }
}

/* No animation mode */
.tq-timeline-container[data-animation="false"] * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.single-dich-vu.postid-225 .article-inner {
    margin-top: -150px;
}