/* Home page converted from Views/template/index.html. Scoped with tq-* classes. */

.header-area.header-style-1 {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 100;
}

.header-area .mobile-promotion,
.header-area .header-middle,
.header-area .main-categori-wrap {
    display: none !important;
}

.header-area .header-bottom-bg-color {
    background: #fff !important;
    border: 0;
}

.header-area .header-bottom {
    padding: 0 !important;
}

.header-area .header-bottom .container {
    position: relative;
}

.header-area .header-wrap {
    align-items: center !important;
    height: 68px;
    justify-content: center !important;
    min-height: 68px;
    position: relative;
}

.header-area .logo.logo-width-1 {
    flex: 0 0 auto;
    margin-right: 10px;
    width: auto;
}

.header-area .logo.logo-width-1 img {
    border-radius: 0;
    display: block;
    max-height: 46px;
    max-width: 170px;
    object-fit: contain;
    width: auto;
}

.header-area .header-nav {
    flex: 0 0 auto;
}

.main-menu.main-menu-padding-1 > nav > ul > li {
    padding: 0 9px;
}

.main-menu > nav > ul > li > a {
    color: #1f2933 !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 68px;
    padding: 0;
    text-transform: uppercase;
}

.main-menu > nav > ul > li:hover > a,
.main-menu nav ul li ul li a:hover {
    color: #a7150b !important;
}

.main-menu nav ul li ul.sub-menu {
    border: 1px solid #ececec;
    border-radius: 3px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

footer.main .widget-about .logo > a {
    display: inline-block;
    margin-bottom: 14px !important;
}

footer.main .widget-about .logo > a img {
    display: block;
    height: auto;
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.header-area .hotline {
    align-items: center;
    background: transparent;
    box-shadow: none;
    gap: 10px;
    margin-left: 0;
    min-width: 184px;
    padding: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.header-area .hotline img {
    height: 34px;
    width: 34px;
}

.header-area .hotline p {
    color: #a7150b !important;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.1;
}

.header-area .hotline p span {
    color: #111 !important;
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
}

.burger-icon.burger-icon-white > span {
    background-color: #a7150b;
}

.header-area .mobile-hotline-link {
    align-items: center;
    background: rgba(167, 21, 11, 0.08);
    border: 1px solid rgba(167, 21, 11, 0.18);
    border-radius: 999px;
    color: #a7150b !important;
    display: inline-flex !important;
    gap: 7px;
    line-height: 1;
    margin-right: 0 !important;
    padding: 8px 10px;
    white-space: nowrap;
}

.header-area .mobile-hotline-link img {
    flex: 0 0 auto;
    height: 22px;
    max-width: none !important;
    width: 22px !important;
}

.header-area .mobile-hotline-link span {
    color: #a7150b !important;
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
}

.tq-home {
    --tq-red: #a7150b;
    --tq-red-dark: #870f08;
    --tq-blue-soft: rgba(37, 57, 128, 0.134);
    --tq-red-soft: rgba(255, 0, 0, 0.076);
    --tq-text: #111;
    --tq-muted: #4f4f4f;
    color: var(--tq-text);
    font-family: var(--tp-font-body, Arial, sans-serif);
    overflow: hidden;
}

.tq-home a {
    color: inherit;
}

.tq-hero-slider {
    background: #f6f6f6;
}

.tq-hero-slider .carousel-item img {
    aspect-ratio: 1640 / 624;
    display: block;
    max-height: 624px;
    object-fit: cover;
    width: 100%;
}

.tq-hero-slider .carousel-control-prev,
.tq-hero-slider .carousel-control-next {
    opacity: 0;
    transition: opacity 0.2s ease;
    width: 7%;
}

.tq-hero-slider:hover .carousel-control-prev,
.tq-hero-slider:hover .carousel-control-next {
    opacity: 0.85;
}

.tq-hero-slider .carousel-indicators {
    bottom: 16px;
}

.tq-hero-slider .carousel-indicators [data-bs-target] {
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.tq-section {
    padding: 60px 0;
}

.tq-section--cars,
.tq-section--posts {
    background: rgba(244, 244, 244, 0.55);
}

.tq-section--services {
    background: #fff;
    padding-bottom: 70px;
    padding-top: 70px;
}

.tq-section--about {
    background: rgba(229, 229, 229, 0.17);
    padding: 0;
}

.tq-section--why {
    background: #fff;
    padding-top: 80px;
}

.tq-section--faq {
    background-position: center;
    background-size: cover;
}

.tq-title {
    color: #111;
    font-size: clamp(27px, 3vw, 42px);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.22;
    margin-bottom: 30px;
}

.tq-intro {
    margin: 0 auto 34px;
    max-width: 760px;
}

.tq-intro .tq-title {
    margin-bottom: 14px;
}

.tq-intro p {
    color: #000;
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
}

.tq-car-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tq-car-card {
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tq-car-card:hover {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
    transform: translateY(-4px);
}

.tq-car-card__image {
    display: block;
    overflow: hidden;
}

.tq-car-card__image img {
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.tq-car-card:hover .tq-car-card__image img,
.tq-gallery-item:hover img {
    transform: scale(1.08);
}

.tq-car-card__body {
    padding: 20px 5%;
    text-align: center;
}

.tq-car-card__body h2,
.tq-service-card h3,
.tq-reason-item h3 {
    color: #111;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.25;
    margin-bottom: 10px;
}

.tq-car-card__body p,
.tq-service-card p,
.tq-reason-item p,
.tq-section--why p,
.tq-about-content p {
    color: #111;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.tq-service-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tq-service-card {
    border-radius: 5px;
    min-height: 300px;
    padding: 52px 36px;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tq-service-card:nth-child(odd) {
    background: var(--tq-red-soft);
}

.tq-service-card:nth-child(even) {
    background: var(--tq-blue-soft);
}

.tq-service-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.tq-service-card__icon {
    align-items: center;
    color: var(--tq-red);
    display: inline-flex;
    font-size: 44px;
    height: 58px;
    justify-content: center;
    margin-bottom: 18px;
    width: 58px;
}

.tq-service-card__icon img {
    display: block;
    height: 52px;
    object-fit: contain;
    width: 52px;
}

.tq-service-card h3 {
    font-size: 22px;
}

.tq-service-card a {
    color: var(--tq-red);
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 5px;
    margin-top: 16px;
}

.tq-about-image img {
    display: block;
    object-fit: cover;
    width: 100%;
}

.tq-about-content {
    padding: 36px 0 36px 10%;
}

.tq-about-content .tq-title {
    font-size: clamp(26px, 2.2vw, 36px);
    margin-bottom: 18px;
}

.tq-about-content p + p,
.tq-section--why p + p {
    margin-top: 12px;
}

.tq-button {
    background: var(--tq-red);
    border: 1px solid var(--tq-red);
    border-radius: 4px;
    color: #fff !important;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    margin-top: 18px;
    min-width: 118px;
    padding: 11px 22px;
    text-transform: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tq-button:hover {
    background: var(--tq-red-dark);
    transform: translateY(-1px);
}

.tq-reason-list {
    display: grid;
    gap: 30px;
}

.tq-reason-item {
    align-items: flex-start;
    display: flex;
    gap: 22px;
}

.tq-reason-item img {
    flex: 0 0 75px;
    height: 75px;
    object-fit: contain;
    width: 75px;
}

.tq-reason-item h3 {
    margin-bottom: 4px;
}

.tq-faq {
    margin: 0 auto;
    max-width: 780px;
}

.tq-faq .accordion-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    margin-bottom: 8px;
}

.tq-faq .accordion-button {
    color: #111;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    padding: 14px 18px;
}

.tq-faq .accordion-button:not(.collapsed) {
    background: #fff;
    box-shadow: none;
    color: var(--tq-red);
}

.tq-faq .accordion-body {
    color: #111;
    line-height: 1.75;
    padding: 0 18px 18px;
}

.tq-post-grid {
    display: grid;
    gap: 22px 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 30px;
}

.tq-post-card {
    background: transparent;
    display: grid;
    gap: 18px;
    grid-template-columns: 42% minmax(0, 1fr);
}

.tq-post-card__image {
    display: block;
    overflow: hidden;
}

.tq-post-card__image img {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

.tq-post-card:hover .tq-post-card__image img {
    transform: scale(1.06);
}

.tq-post-card__body h3 {
    color: #111;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    margin-bottom: 8px;
}

.tq-post-card__body span {
    background: rgba(0, 0, 0, 0.12);
    display: block;
    height: 2px;
    margin-bottom: 12px;
    width: 36px;
}

.tq-post-card__body p {
    color: #404040;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.tq-gallery-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tq-gallery-item {
    display: block;
    overflow: hidden;
}

.tq-gallery-item img {
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

footer.main {
    background: var(--footer-bg-color, #ffffff) !important;
    background-image: none !important;
}

footer.main .newsletter,
footer.main .featured {
    display: none !important;
}

footer.main .footer-mid {
    padding-bottom: 24px;
    padding-top: 62px;
}

footer.main p,
footer.main li,
footer.main a,
footer.main span,
footer.main .font-lg,
footer.main .text-heading,
footer.main .contact-infor span,
footer.main h1,
footer.main h2,
footer.main h3,
footer.main h4,
footer.main h5,
footer.main h6,
footer.main .widget-title {
    color: var(--footer-text-color, #4b5563) !important;
}

footer.main .widget-title,
footer.main strong,
footer.main .text-brand {
    color: var(--footer-text-color, #4b5563) !important;
}

footer.main .footer-list li a:hover,
footer.main .contact-infor strong,
footer.main .footer-social-link:hover span {
    color: var(--menu-hover-color, var(--primary-color, #0d47a1)) !important;
}

footer.main .footer-bottom {
    border-color: color-mix(in srgb, var(--footer-text-color, #4b5563) 18%, transparent);
}

footer.main .hotline p,
footer.main .hotline p span {
    color: var(--footer-text-color, #4b5563) !important;
}

.floating-contact {
    bottom: 24px;
    right: 18px;
}

.floating-contact__btn {
    border: 3px solid rgba(255, 255, 255, 0.9);
    height: 58px;
    width: 58px;
}

.floating-contact__btn--hotline {
    background: #e60000;
}

.floating-contact__btn--zalo {
    background: #0c87ff;
}

.floating-contact__btn--facebook {
    background: #1877f2;
}

@media (max-width: 1199.98px) {
    .main-menu.main-menu-padding-1 > nav > ul > li {
        padding: 0 7px;
    }

    .main-menu > nav > ul > li > a {
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    .header-area .header-wrap {
        height: 62px;
        justify-content: space-between !important;
        min-height: 62px;
    }

    .header-area .logo.logo-width-1 {
        width: auto;
    }

    .header-area .logo.logo-width-1 img {
        max-height: 44px;
        max-width: 150px;
    }

    .header-area .header-action-right .header-action-2 {
        align-items: center;
        display: flex;
    }

    .tq-car-grid,
    .tq-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tq-about-content {
        padding: 32px 0;
    }

    .tq-post-grid {
        grid-template-columns: 1fr;
    }

    .tq-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .tq-section {
        padding: 44px 0;
    }

    .tq-section--about {
        padding: 0;
    }

    .tq-section--services {
        padding-bottom: 48px;
        padding-top: 48px;
    }

    .tq-hero-slider .carousel-item img {
        aspect-ratio: auto;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .tq-hero-slider .carousel-indicators {
        display: none;
    }

    .tq-title {
        margin-bottom: 22px;
    }

    .tq-service-card {
        min-height: 0;
        padding: 34px 24px;
    }

    .tq-reason-item {
        gap: 16px;
    }

    .tq-reason-item img {
        flex-basis: 58px;
        height: 58px;
        width: 58px;
    }
}

@media (max-width: 575.98px) {
    .header-area .logo.logo-width-1 img {
        max-height: 42px;
        max-width: 92px;
    }

    .header-area .mobile-hotline-link {
        gap: 5px;
        padding: 7px 8px;
    }

    .header-area .mobile-hotline-link img {
        height: 20px;
        width: 20px !important;
    }

    .header-area .mobile-hotline-link span {
        font-size: 13px;
    }

    .tq-car-grid,
    .tq-service-grid,
    .tq-post-grid {
        grid-template-columns: 1fr;
    }

    .tq-post-card {
        grid-template-columns: 1fr;
    }

    .tq-post-card__image img {
        aspect-ratio: 16 / 9;
    }

    .tq-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tq-car-card__body p {
        display: none;
    }
}
