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

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

/* ================================================================
   MATERIAL DESIGN 3 — DESIGN TOKENS
   Synced with taplai-frontend.css & taplai-mophong.css
   ================================================================ */
:root {
    --md-primary: #2563eb;
    --md-primary-dark: #1d4ed8;
    --md-primary-light: #dbeafe;
    --md-primary-glow: rgba(37, 99, 235, .12);
    --md-on-primary: #ffffff;
    --md-primary-container: #dbeafe;
    --md-on-primary-container: #1d4ed8;
    --md-surface: #ffffff;
    --md-surface-variant: #f8fafc;
    --md-on-surface: #0f172a;
    --md-on-surface-variant: #475569;
    --md-outline: #e2e8f0;
    --md-outline-variant: #f1f5f9;
    --md-error: #ef4444;
    --md-success: #10b981;
    --md-warning: #f59e0b;
    /* Elevation */
    --md-elevation-1: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
    --md-elevation-2: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -2px rgba(0, 0, 0, .04);
    --md-elevation-3: 0 10px 24px -4px rgba(0, 0, 0, .1), 0 4px 8px -2px rgba(0, 0, 0, .04);
    --md-elevation-4: 0 20px 48px -8px rgba(0, 0, 0, .12), 0 8px 16px -4px rgba(0, 0, 0, .06);
    --md-elevation-5: 0 32px 64px -12px rgba(0, 0, 0, .15), 0 12px 24px -4px rgba(0, 0, 0, .08);
    /* Shape */
    --md-shape-xs: 8px;
    --md-shape-sm: 12px;
    --md-shape-md: 16px;
    --md-shape-lg: 24px;
    --md-shape-full: 9999px;
    /* Motion */
    --md-transition: .2s cubic-bezier(.4, 0, .2, 1);
    --md-transition-fast: .15s cubic-bezier(.4, 0, .2, 1);
}


/* ================================================================
   HEADER — TOP BAR + NAV
   ================================================================ */

/* Top bar */
#top-bar {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2847 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.xc-top-bar-contact ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .9);
}

.xc-top-bar-contact li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.xc-top-bar-contact li::before {
    font-family: 'Material Symbols Outlined';
    font-size: 16px;
    vertical-align: middle;
    color: #fbbf24;
    font-variation-settings: 'FILL' 1, 'wght' 400;
}

.xc-top-bar-contact__phone::before {
    content: '\e0cd';
}

.xc-top-bar-contact__time::before {
    content: '\e8b5';
}

.xc-top-bar-contact__location::before {
    content: '\e0c8';
}

/* Main nav — M3 typography */
#masthead {
    background: var(--md-surface) !important;
    box-shadow: var(--md-elevation-1);
}

.header-nav-main>li>a {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: .02em;
    color: var(--md-on-surface) !important;
    transition: color var(--md-transition) !important;
}

.header-nav-main>li>a:hover,
.header-nav-main>li.active>a {
    color: var(--md-primary) !important;
}

/* Hotline button in header */
.header-button-1 .button.primary {
    background: linear-gradient(135deg, var(--md-primary), #3b82f6) !important;
    border: none !important;
    border-radius: var(--md-shape-full) !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .03em;
    padding: 0 24px !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .25) !important;
    transition: all var(--md-transition) !important;
}

.header-button-1 .button.primary:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, .35) !important;
    transform: translateY(-1px);
}

/* Dropdown — M3 surface */
.nav-dropdown {
    border-radius: var(--md-shape-sm) !important;
    box-shadow: var(--md-elevation-3) !important;
    border: 1px solid var(--md-outline) !important;
    padding: 8px 0 !important;
}

.nav-dropdown>li>a {
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    transition: all var(--md-transition-fast) !important;
}

.nav-dropdown>li>a:hover {
    background: var(--md-primary-light) !important;
    color: var(--md-primary) !important;
}


/* ================================================================
   HERO SECTION
   ================================================================ */
.xc-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.xc-hero .section-bg img {
    filter: brightness(.55);
}

.xc-hero .section-content {
    position: relative;
    z-index: 2;
}

.xc-hero .section-content .row {
    align-items: center;
}

/* Slogan (left column — .large-8) */
.xc-hero .large-8 .col-inner {
    color: #fff !important;
    padding: 48px 32px;
}

.xc-hero .large-8 h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 42px !important;
    font-weight: 800;
    color: #fff !important;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .5);
    letter-spacing: -.01em;
}

/* Highlighted text inside hero title */
.xc-hero .large-8 h3 strong {
    color: transparent !important;
    font-size: inherit !important;
    background: linear-gradient(135deg, #60a5fa, #93c5fd, #bfdbfe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.xc-hero .large-8 h3 p {
    color: #fff !important;
    font-size: inherit !important;
}

/* Subtitle — M3 pill badge style */
.xc-hero .large-8 p:first-of-type {
    font-family: 'Roboto', sans-serif;
    display: inline-block;
    background: rgba(37, 99, 235, .35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    padding: 8px 20px;
    border-radius: var(--md-shape-full);
    border: 1px solid rgba(96, 165, 250, .4);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.5;
}

.xc-hero .large-8 p {
    font-family: 'Roboto', sans-serif;
    color: rgba(255, 255, 255, .85) !important;
    font-size: 16px;
    line-height: 1.8;
    font-style: normal;
    letter-spacing: .01em;
    max-width: 560px;
}

/* Form card (right column — .large-4) */
.xc-hero .large-4 .col-inner {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--md-shape-lg);
    padding: 32px 28px;
    box-shadow: var(--md-elevation-4);
    border: 1px solid rgba(255, 255, 255, .3);
}

.xc-hero .large-4 h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px !important;
    font-weight: 700;
    color: var(--md-on-surface) !important;
    text-align: center;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.5;
}

.xc-hero .large-4 p {
    font-family: 'Roboto', sans-serif;
    color: var(--md-on-surface-variant) !important;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 12px;
}

.xc-hero .xc-form-lien-he p {
    margin-bottom: 8px;
}

/* Form inputs - M3 Style */
.xc-form-lien-he .wpcf7-form-control {
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    border: 2px solid var(--md-outline) !important;
    border-radius: var(--md-shape-sm) !important;
    height: auto !important;
    box-shadow: none !important;
    transition: border-color var(--md-transition), box-shadow var(--md-transition) !important;
    margin-bottom: 12px !important;
}

.xc-form-lien-he .wpcf7-form-control:focus {
    border-color: var(--md-primary) !important;
    box-shadow: 0 0 0 3px var(--md-primary-glow) !important;
}

.xc-form-lien-he select.wpcf7-form-control {
    background-position: right 12px center !important;
    background-size: auto 14px !important;
    padding-right: 36px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.xc-form-lien-he input[type="submit"] {
    font-family: 'Roboto', sans-serif !important;
    background: linear-gradient(135deg, var(--md-primary), #3b82f6) !important;
    color: var(--md-on-primary) !important;
    border: none !important;
    border-radius: var(--md-shape-sm) !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    width: 100% !important;
    letter-spacing: .05em;
    box-shadow: 0 4px 16px rgba(37, 99, 235, .3) !important;
    transition: all var(--md-transition) !important;
    text-transform: uppercase;
    cursor: pointer;
    margin: 8px 0 0 !important;
}

.xc-form-lien-he input[type="submit"]:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, .35) !important;
    transform: translateY(-2px);
}


/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.c-black {
    color: var(--md-on-surface) !important;
}

.c-white {
    color: #fff !important;
}

.t-center {
    text-align: center !important;
}

/* ================================================================
   SECTION TITLE (M3 Headline)
   ================================================================ */
.xc-section-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: .02em;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    margin-bottom: 32px;
}

.t-center>.xc-section-title,
.xc-section-title.t-center {
    display: block;
}

.xc-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: var(--md-shape-full);
    background: linear-gradient(135deg, var(--md-primary), #3b82f6);
}


/* ================================================================
   VÌ SAO CHỌN CHÚNG TÔI — M3 Cards
   ================================================================ */
.xc-vi-sao {
    background: var(--md-surface-variant) !important;
    padding: 56px 0 64px !important;
}

.xc-vi-sao .section-bg {
    background: var(--md-surface-variant) !important;
}

/* Card */
.xc-vi-sao__card {
    background: var(--md-surface) !important;
    border-radius: var(--md-shape-md) !important;
    padding: 28px 24px !important;
    box-shadow: var(--md-elevation-1);
    transition: all var(--md-transition);
    border: 1px solid var(--md-outline);
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Gradient accent bar at top */
.xc-vi-sao__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--md-primary), #60a5fa);
    opacity: 0;
    transition: opacity var(--md-transition);
}

.xc-vi-sao__card:hover {
    box-shadow: var(--md-elevation-3);
    transform: translateY(-4px);
    border-color: var(--md-primary-light);
}

.xc-vi-sao__card:hover::before {
    opacity: 1;
}

/* Card icon — Material Symbol circle */
.xc-vi-sao__card .icon-box-text h3 {
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--md-on-surface) !important;
    margin-bottom: 12px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* M3 icon circle before each card title */
.xc-vi-sao__card .icon-box-text h3::before {
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: var(--md-shape-sm);
    background: linear-gradient(135deg, var(--md-primary), #3b82f6);
    color: var(--md-on-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
    font-variation-settings: 'FILL' 0, 'wght' 400;
}

/* Different icons per card — using nth-child on the parent columns */
.xc-vi-sao .row:nth-child(2) .col:nth-child(1) .xc-vi-sao__card h3::before {
    content: '\e873';
    /* description */
}

.xc-vi-sao .row:nth-child(2) .col:nth-child(2) .xc-vi-sao__card h3::before {
    content: '\e30b';
    /* devices */
}

.xc-vi-sao .row:nth-child(2) .col:nth-child(3) .xc-vi-sao__card h3::before {
    content: '\e8e8';
    /* verified */
}

.xc-vi-sao .row:nth-child(2) .col:nth-child(4) .xc-vi-sao__card h3::before {
    content: '\e8b5';
    /* schedule */
}

.xc-vi-sao .row:nth-child(2) .col:nth-child(5) .xc-vi-sao__card h3::before {
    content: '\e0c8';
    /* location_on */
}

.xc-vi-sao .row:nth-child(2) .col:nth-child(6) .xc-vi-sao__card h3::before {
    content: '\ea65';
    /* emoji_events */
}

.xc-vi-sao .row:nth-child(2) .col:nth-child(7) .xc-vi-sao__card h3::before {
    content: '\e7fb';
    /* celebration */
}

.xc-vi-sao .row:nth-child(2) .col:nth-child(8) .xc-vi-sao__card h3::before {
    content: '\e8e5';
    /* account_balance_wallet */
}

.xc-vi-sao__card .icon-box-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--md-on-surface-variant);
    margin: 0;
    /* Truncate to exactly 4 lines */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(4 * 14px * 1.7);
}

/* Make the row gap even */
.xc-vi-sao .row .col {
    padding-bottom: 24px;
}


/* ================================================================
   THÀNH TỰU — M3 Stats Section
   ================================================================ */
.xc-thanh-tuu {
    padding: 64px 0 !important;
    position: relative;
}

/* Darken BG image */
.xc-thanh-tuu .section-bg img {
    filter: brightness(.35);
}

/* Dark overlay */
.xc-thanh-tuu .section-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, .85), rgba(30, 58, 95, .85));
    z-index: 1;
}

.xc-thanh-tuu .section-content {
    z-index: 2;
}

/* Stats cards — glassmorphism */
.xc-thanh-tuu .xc-vi-sao__card {
    background: rgba(255, 255, 255, .08) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: var(--md-shape-lg) !important;
    padding: 36px 20px !important;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
}

.xc-thanh-tuu .xc-vi-sao__card::before {
    display: none;
}

.xc-thanh-tuu .xc-vi-sao__card:hover {
    background: rgba(255, 255, 255, .14) !important;
    border-color: rgba(255, 255, 255, .2) !important;
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .25);
}

/* Number — large display */
.xc-thanh-tuu .xc-vi-sao__card .icon-box-text h3 {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 8px;
    justify-content: center;
    background: linear-gradient(135deg, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.xc-thanh-tuu .xc-vi-sao__card .icon-box-text h3::before {
    display: none;
}

/* Label */
.xc-thanh-tuu .xc-vi-sao__card .icon-box-text p {
    font-size: 13px !important;
    font-weight: 600;
    color: rgba(255, 255, 255, .7) !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0;
}


/* ================================================================
   KINH NGHIỆM LÁI XE — BEM + M3 (already styled, kept)
   ================================================================ */
.xc-kinh-nghiem {
    background-color: var(--md-surface-variant) !important;
    padding: 48px 0 56px !important;
}

/* Blog wrapper */
.xc-kinh-nghiem__blog .col-inner {
    padding: 0;
}

/* Card */
.xc-kinh-nghiem__blog .box-blog-post {
    background: var(--md-surface);
    border-radius: var(--md-shape-md);
    overflow: hidden;
    box-shadow: var(--md-elevation-1);
    transition: box-shadow .3s ease, transform .3s ease;
}

.xc-kinh-nghiem__blog .box-blog-post:hover {
    box-shadow: var(--md-elevation-3);
    transform: translateY(-4px);
}

/* Date badge — style like archive */
.xc-kinh-nghiem__blog .badge.post-date {
    background: linear-gradient(135deg, var(--md-primary), #3b82f6) !important;
    color: var(--md-on-primary) !important;
    border-radius: var(--md-shape-xs) !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .25);
}

.xc-kinh-nghiem__blog .badge.post-date .badge-inner,
.xc-kinh-nghiem__blog .badge-outline .badge-inner {
    background-color: transparent !important;
    border: none !important;
    color: inherit !important;
}


/* Card text */
.xc-kinh-nghiem__blog .box-text {
    padding: 16px 20px 20px;
    text-align: left;
}

/* Post title — 2 rows max */
.xc-kinh-nghiem__blog .post-title {
    font-family: 'Roboto', sans-serif;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.45;
    color: var(--md-on-surface);
    margin-bottom: 10px;
    min-height: calc(2 * 16px * 1.45);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xc-kinh-nghiem__blog .post-title a {
    color: inherit;
    transition: color var(--md-transition);
}

.xc-kinh-nghiem__blog .post-title a:hover {
    color: var(--md-primary);
}

/* Divider — hidden */
.xc-kinh-nghiem__blog .is-divider {
    display: none;
}

/* Excerpt */
.xc-kinh-nghiem__blog .from_the_blog_excerpt {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--md-on-surface-variant);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}



/* ================================================================
   CHIA SẺ CỦA HỌC VIÊN — M3 Testimonials (Premium)
   ================================================================ */

/* Section — full-width dark with gradient overlay */
#section_1578647772 {
    padding: 64px 0 72px !important;
    position: relative;
}

#section_1578647772 .section-bg {
    filter: brightness(.4);
}

#section_1578647772 .section-bg-overlay {
    background: linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(19, 89, 154, .75)) !important;
}

/* Section title override */
#section_1578647772 .xc-section-title {
    color: #fff !important;
}

/* Hide default banner styling */
#section_1578647772 .banner {
    background: transparent !important;
    border: none !important;
}

#section_1578647772 .banner-bg {
    background: transparent !important;
}

#section_1578647772 .banner-bg .overlay {
    display: none;
}

/* Testimonial wrapper — centered M3 card */
#section_1578647772 .text-box-content {
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--md-shape-lg);
    padding: 48px 48px 40px;
    max-width: 780px;
    margin: 0 auto;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .3);
    text-align: center;
    position: relative;
}

/* Large quote icon — top center accent */
#section_1578647772 .text-box-content::before {
    content: '\e244';
    /* format_quote */
    font-family: 'Material Symbols Outlined';
    font-size: 56px;
    font-variation-settings: 'FILL' 1, 'wght' 400;
    color: rgba(96, 165, 250, .5);
    display: block;
    margin-bottom: 20px;
    line-height: 1;
}

/* Avatar — larger, glow ring */
#section_1578647772 .testimonial-image {
    border: 3px solid rgba(96, 165, 250, .5) !important;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, .15), 0 4px 20px rgba(0, 0, 0, .3);
    margin-bottom: 16px !important;
}

#section_1578647772 .testimonial-image img {
    border-radius: 50% !important;
}

/* Star rating — centered */
#section_1578647772 .star-rating {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 2px;
}

#section_1578647772 .star-rating span,
#section_1578647772 .star-rating::before {
    color: #fbbf24;
}

/* Text */
#section_1578647772 .testimonial-text {
    margin-bottom: 24px;
}

#section_1578647772 .testimonial-text p {
    font-family: 'Roboto', sans-serif !important;
    font-size: 17px !important;
    line-height: 1.85 !important;
    color: rgba(255, 255, 255, .92) !important;
    font-style: italic;
    max-width: 640px;
    margin: 0 auto !important;
}

/* Name — bold white */
#section_1578647772 .testimonial-name {
    font-family: 'Roboto', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #fff !important;
    letter-spacing: .01em;
}

#section_1578647772 .testimonial-name-divider {
    color: rgba(255, 255, 255, .3) !important;
}

/* Role / company - pill badge */
#section_1578647772 .testimonial-company {
    font-family: 'Roboto', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, .7) !important;
    background: rgba(255, 255, 255, .08);
    padding: 4px 14px;
    border-radius: var(--md-shape-full);
    border: 1px solid rgba(255, 255, 255, .1);
    display: inline-block;
    margin-top: 8px;
    letter-spacing: .03em;
}

/* Slider arrows — M3 glass FAB */
#section_1578647772 .flickity-prev-next-button {
    background: rgba(255, 255, 255, .1) !important;
    border: 1px solid rgba(255, 255, 255, .15) !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    transition: all var(--md-transition) !important;
}

#section_1578647772 .flickity-prev-next-button:hover {
    background: rgba(37, 99, 235, .6) !important;
    border-color: rgba(37, 99, 235, .8) !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, .3) !important;
}

#section_1578647772 .flickity-prev-next-button .arrow,
#section_1578647772 .flickity-prev-next-button svg {
    fill: #fff !important;
}

/* Dots — pill style */
#section_1578647772 .flickity-page-dots {
    padding-top: 20px;
}

#section_1578647772 .flickity-page-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    border: none;
    opacity: 1;
    transition: all var(--md-transition);
}

#section_1578647772 .flickity-page-dots .dot.is-selected {
    background: #60a5fa;
    width: 28px;
    border-radius: var(--md-shape-full);
}


/* ================================================================
   THÔNG TIN VỀ HỌC LÁI XE Ô TÔ — M3 List
   ================================================================ */
.xc-thong-tin {
    background: var(--md-surface) !important;
    padding: 56px 0 64px !important;
}

.xc-thong-tin__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: var(--md-surface) !important;
    border: 1.5px solid var(--md-outline) !important;
    border-radius: var(--md-shape-sm) !important;
    padding: 16px 20px !important;
    margin-bottom: 10px !important;
    box-shadow: var(--md-elevation-1);
    transition: all var(--md-transition) !important;
    text-transform: none !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--md-on-surface) !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
    text-align: left !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Chevron icon on the right */
.xc-thong-tin__btn::after {
    content: '\e5cc';
    /* chevron_right */
    font-family: 'Material Symbols Outlined';
    font-size: 22px;
    color: var(--md-on-surface-variant);
    margin-left: auto;
    flex-shrink: 0;
    transition: all var(--md-transition);
    font-variation-settings: 'FILL' 0, 'wght' 400;
}

/* Document icon on the left */
.xc-thong-tin__btn::before {
    content: '\e873';
    /* description */
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: var(--md-shape-xs);
    background: var(--md-primary-light);
    color: var(--md-primary);
    margin-right: 14px;
    flex-shrink: 0;
    transition: all var(--md-transition);
    font-variation-settings: 'FILL' 0, 'wght' 400;
}

.xc-thong-tin__btn span {
    flex: 1;
    line-height: 1.5;
}

.xc-thong-tin__btn:hover {
    border-color: var(--md-primary) !important;
    box-shadow: var(--md-elevation-2) !important;
    transform: translateX(4px);
    color: var(--md-primary) !important;
    background: var(--md-surface) !important;
}

.xc-thong-tin__btn:hover::after {
    color: var(--md-primary);
    transform: translateX(4px);
}

.xc-thong-tin__btn:hover::before {
    background: linear-gradient(135deg, var(--md-primary), #3b82f6);
    color: var(--md-on-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
}


/* ================================================================
   FOOTER — M3 Premium
   ================================================================ */
.xc-footer {
    background: linear-gradient(175deg, #0f2847 0%, #13599A 100%) !important;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: rgba(255, 255, 255, .85);
    padding-top: 56px !important;
    padding-bottom: 40px !important;
}

.xc-footer .section-bg {
    background: transparent !important;
}

/* Footer headings */
.xc-footer h3,
.xc-footer .widget-title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 20px !important;
    padding-bottom: 12px;
    position: relative;
}

.xc-footer h3::after,
.xc-footer .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    border-radius: var(--md-shape-full);
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.xc-footer__logo-footer {
    margin-bottom: 20px;
}

.xc-footer__des {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 20px;
}

.xc-footer__hotline {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .08);
    padding: 10px 20px;
    border-radius: var(--md-shape-sm);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: all var(--md-transition);
}

.xc-footer__hotline:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .2);
}

.xc-footer__hotline::before {
    font-family: 'Material Symbols Outlined';
    content: '\e0cd';
    font-size: 22px;
    color: #fbbf24;
    font-variation-settings: 'FILL' 1, 'wght' 400;
}

.xc-footer__map img {
    border-radius: var(--md-shape-sm);
    border: 2px solid rgba(255, 255, 255, .1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}

/* Footer menu links — M3 redesign */
.xc-footer__menu .ux-menu-link {
    border-color: rgba(255, 255, 255, .08) !important;
}

.xc-footer__menu .ux-menu-link__link {
    color: rgba(255, 255, 255, .7) !important;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 0 !important;
    transition: color var(--md-transition);
}

.xc-footer__menu .ux-menu-link__link:hover {
    color: #fff !important;
}

/* Social icons in footer */
.xc-footer .social-icons li a {
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: var(--md-shape-xs) !important;
    width: 40px !important;
    height: 40px !important;
    transition: all var(--md-transition);
}

.xc-footer .social-icons li a:hover {
    background: rgba(37, 99, 235, .6) !important;
    border-color: rgba(37, 99, 235, .8) !important;
    transform: translateY(-2px);
}

/* Copyright footer */
.absolute-footer {
    background: #071a30 !important;
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 16px 0 !important;
}

.absolute-footer .copyright-footer {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .01em;
}


/* ================================================================
   BACK TO TOP BUTTON — M3 FAB
   ================================================================ */
.back-to-top {
    background: linear-gradient(135deg, var(--md-primary), #3b82f6) !important;
    color: var(--md-on-primary) !important;
    border: none !important;
    border-radius: var(--md-shape-md) !important;
    width: 48px !important;
    height: 48px !important;
    box-shadow: var(--md-elevation-3) !important;
    transition: all var(--md-transition) !important;
}

.back-to-top:hover {
    box-shadow: var(--md-elevation-4) !important;
    transform: translateY(-2px) !important;
}

.back-to-top i {
    color: var(--md-on-primary) !important;
}


/* ================================================================
   HEADER DROPDOWN — Fix alignment (Flatsome conflict)
   ================================================================ */
#header .nav-dropdown li {
    padding: 0 !important;
    margin: 0 !important;
    text-indent: 0 !important;
}

#header .nav-dropdown li a {
    padding: 10px 20px !important;
    margin: 0 !important;
    text-indent: 0 !important;
    display: block !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--md-on-surface) !important;
    transition: all var(--md-transition-fast) !important;
    white-space: nowrap;
    letter-spacing: .01em;
}

#header .nav-dropdown li a:hover {
    background: var(--md-primary-light) !important;
    color: var(--md-primary) !important;
    padding-left: 24px !important;
}

#header .nav-dropdown {
    border-radius: var(--md-shape-sm) !important;
    box-shadow: var(--md-elevation-3) !important;
    border: 1px solid var(--md-outline) !important;
    padding: 6px 0 !important;
    min-width: 260px !important;
    background: var(--md-surface) !important;
}


/* ================================================================
   CATEGORY / ARCHIVE PAGE — M3
   ================================================================ */

/* Page header */
.archive .page-title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--md-on-surface) !important;
    letter-spacing: -.01em;
    text-align: center;
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 16px;
}

.archive .page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: var(--md-shape-full);
    background: linear-gradient(135deg, var(--md-primary), #3b82f6);
}

.archive .term-description {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: var(--md-on-surface-variant);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Archive post cards */
.archive .post-item {
    margin-bottom: 28px !important;
}

.archive .box-blog-post {
    background: var(--md-surface) !important;
    border-radius: var(--md-shape-md) !important;
    overflow: hidden;
    box-shadow: var(--md-elevation-1);
    transition: all .3s ease;
    border: 1px solid var(--md-outline);
}

.archive .box-blog-post:hover {
    box-shadow: var(--md-elevation-3);
    transform: translateY(-4px);
}

/* Card image */
.archive .box-blog-post .box-image {
    overflow: hidden;
    border-radius: var(--md-shape-md) var(--md-shape-md) 0 0;
}

.archive .box-blog-post .box-image img {
    transition: transform .5s ease;
    width: 100%;
    display: block;
}

.archive .box-blog-post:hover .box-image img {
    transform: scale(1.06);
}

/* Date badge — M3 chip */
.archive .badge.post-date {
    background: linear-gradient(135deg, var(--md-primary), #3b82f6) !important;
    color: var(--md-on-primary) !important;
    border-radius: var(--md-shape-xs) !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .25);
    padding: 4px 10px !important;
}

.archive .badge.post-date .badge-inner,
.archive .badge-outline .badge-inner,
.archive .badge-frame .badge-inner {
    background-color: transparent !important;
    border: none !important;
    color: inherit !important;
}

.archive .badge.post-date .post-date-day {
    font-size: 16px !important;
    font-weight: 800 !important;
}

/* Single post date badge override too */
.single-post .badge-outline .badge-inner,
.single-post .badge-frame .badge-inner {
    background-color: transparent !important;
    border: none !important;
    color: inherit !important;
}

/* Card text area */
.archive .box-text {
    padding: 20px 24px 24px !important;
}

.archive .box-text .post-title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--md-on-surface) !important;
    line-height: 1.45;
    margin-bottom: 10px;
}

.archive .box-text .post-title a {
    color: inherit !important;
    transition: color var(--md-transition);
}

.archive .box-text .post-title a:hover {
    color: var(--md-primary) !important;
}

/* Divider */
.archive .box-text .is-divider {
    background: var(--md-outline) !important;
    margin: 12px 0 !important;
    height: 1px !important;
}

/* Excerpt */
.archive .box-text .from_the_blog_excerpt {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--md-on-surface-variant);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination — M3 */
.page-numbers {
    font-family: 'Roboto', sans-serif !important;
}

.page-number {
    background: var(--md-surface) !important;
    border: 2px solid var(--md-outline) !important;
    border-radius: var(--md-shape-xs) !important;
    color: var(--md-on-surface) !important;
    font-weight: 600 !important;
    transition: all var(--md-transition) !important;
    min-width: 40px !important;
    min-height: 40px !important;
}

.page-number:hover {
    border-color: var(--md-primary) !important;
    color: var(--md-primary) !important;
    box-shadow: var(--md-elevation-1);
}

.page-number.current {
    background: linear-gradient(135deg, var(--md-primary), #3b82f6) !important;
    color: var(--md-on-primary) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .25);
}

/* Breadcrumb — M3 */
.breadcrumbs {
    font-family: 'Roboto', sans-serif !important;
    font-size: 13px !important;
    color: var(--md-on-surface-variant) !important;
}

.breadcrumbs a {
    color: var(--md-primary) !important;
    font-weight: 500;
}

.breadcrumbs a:hover {
    text-decoration: underline !important;
}


/* ================================================================
   SINGLE POST PAGE — M3
   ================================================================ */

/* Hero banner overlay */
.single-post .page-header .flex-col {
    text-align: center;
}

.single-post .page-title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.4;
    letter-spacing: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
    margin: 0 auto 8px !important;
}

/* Category label in header */
.single-post .page-header .is-small {
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6) !important;
    font-family: 'Roboto', sans-serif !important;
}

/* Date in header */
.single-post .page-header .posted-on {
    font-size: 12px !important;
    color: rgba(255, 255, 255, .5) !important;
}

.single-post .page-header .breadcrumbs {
    color: rgba(255, 255, 255, .6) !important;
    font-size: 12px !important;
}

.single-post .page-header .breadcrumbs a {
    color: rgba(255, 255, 255, .8) !important;
}

/* Content area — M3 typography */
.single-post .entry-content {
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px;
    line-height: 1.85;
    color: var(--md-on-surface);
    max-width: 740px;
    margin: 0 auto;
}

.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    color: var(--md-on-surface) !important;
    margin: 32px 0 16px;
    letter-spacing: -.01em;
}

.single-post .entry-content h2 {
    font-size: 24px !important;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--md-outline);
}

.single-post .entry-content h3 {
    font-size: 20px !important;
}

.single-post .entry-content h4 {
    font-size: 17px !important;
}

.single-post .entry-content p {
    margin-bottom: 18px;
    color: var(--md-on-surface);
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.single-post .entry-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--md-on-surface-variant);
}

.single-post .entry-content strong {
    font-weight: 700;
    color: var(--md-on-surface);
}

.single-post .entry-content a {
    color: var(--md-primary) !important;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, .3);
    transition: all var(--md-transition);
}

.single-post .entry-content a:hover {
    border-bottom-color: var(--md-primary);
}

.single-post .entry-content blockquote {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border-left: 4px solid var(--md-warning);
    padding: 20px 24px;
    border-radius: 0 var(--md-shape-sm) var(--md-shape-sm) 0;
    margin: 24px 0;
    font-style: italic;
    color: #78350f;
}

.single-post .entry-content img {
    border-radius: var(--md-shape-sm);
    box-shadow: var(--md-elevation-1);
    margin: 16px 0;
}




/* Tags */
.single-post .post-meta,
.single-post .tag-list {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: var(--md-on-surface-variant);
}

.single-post .tag-list a {
    background: var(--md-primary-light) !important;
    color: var(--md-primary) !important;
    border-radius: var(--md-shape-full) !important;
    padding: 4px 14px !important;
    font-size: 12px;
    font-weight: 500;
    border-bottom: none !important;
    transition: all var(--md-transition);
}

.single-post .tag-list a:hover {
    background: var(--md-primary) !important;
    color: var(--md-on-primary) !important;
}


/* ================================================================
   RESPONSIVE — MOBILE (≤768px)
   ================================================================ */
@media only screen and (max-width: 48em) {

    /* Top bar */
    .xc-top-bar-contact ul {
        gap: 12px;
        font-size: 11px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .xc-top-bar-contact li::before {
        font-size: 14px;
    }

    /* Hero mobile */
    .xc-hero {
        min-height: auto;
    }

    .xc-hero .large-8 h3 {
        font-size: 22px !important;
    }

    .xc-hero .large-8 p {
        font-size: 14px;
    }

    .xc-hero .large-4 .col-inner {
        padding: 24px 20px;
        border-radius: var(--md-shape-md);
    }

    .xc-hero .large-4 h3 {
        font-size: 15px !important;
    }

    /* Section title */
    .xc-section-title {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 24px;
    }

    /* Vì sao chọn */
    .xc-vi-sao {
        padding: 36px 0 40px !important;
    }

    .xc-vi-sao__card {
        padding: 20px 18px !important;
        border-radius: var(--md-shape-sm) !important;
    }

    .xc-vi-sao__card .icon-box-text h3 {
        font-size: 14px !important;
        gap: 8px;
    }

    .xc-vi-sao__card .icon-box-text h3::before {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 16px;
        border-radius: var(--md-shape-xs);
    }

    .xc-vi-sao__card .icon-box-text p {
        font-size: 13px;
    }

    .xc-vi-sao .row .col {
        padding-bottom: 16px;
    }

    /* Thành tựu */
    .xc-thanh-tuu {
        padding: 40px 0 !important;
    }

    .xc-thanh-tuu .xc-vi-sao__card {
        padding: 24px 16px !important;
        border-radius: var(--md-shape-md) !important;
    }

    .xc-thanh-tuu .xc-vi-sao__card .icon-box-text h3 {
        font-size: 32px !important;
    }

    .xc-thanh-tuu .xc-vi-sao__card .icon-box-text p {
        font-size: 11px !important;
    }

    /* Kinh nghiệm */
    .xc-kinh-nghiem {
        padding: 32px 0 40px !important;
    }

    .xc-kinh-nghiem__blog .box-text {
        padding: 16px 16px 20px;
    }

    .xc-kinh-nghiem__blog .post-title {
        font-size: 15px !important;
    }

    .xc-kinh-nghiem__blog .from_the_blog_excerpt {
        font-size: 13px;
    }

    /* Testimonials */
    #section_1578647772 {
        padding: 40px 0 48px !important;
    }

    #section_1578647772 .text-box-content {
        padding: 24px 20px;
        border-radius: var(--md-shape-md);
    }

    #section_1578647772 .text-box-content::before {
        font-size: 28px;
        margin-bottom: 8px;
    }

    #section_1578647772 .testimonial-text p {
        font-size: 14px !important;
    }

    /* Thông tin */
    .xc-thong-tin {
        padding: 36px 0 44px !important;
    }

    .xc-thong-tin__btn {
        padding: 14px 16px !important;
        font-size: 14px !important;
        border-radius: var(--md-shape-xs) !important;
    }

    .xc-thong-tin__btn::before {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 16px;
        margin-right: 10px;
    }

    .xc-thong-tin__btn::after {
        font-size: 18px;
    }

    /* Footer mobile */
    .xc-footer__des {
        font-size: 13px;
    }

    .xc-footer__hotline {
        font-size: 16px;
        padding: 8px 14px;
    }

    .xc-footer__menu .ux-menu-link__link {
        font-size: 13px !important;
        padding: 8px 10px !important;
    }

    /* Hero mobile */
    .xc-hero .large-8 .col-inner {
        padding: 24px 16px;
    }

    .xc-hero .large-8 h3 {
        font-size: 24px !important;
    }

    .xc-hero .large-8 p:first-of-type {
        font-size: 11px;
        padding: 6px 14px;
    }
}