:root {
    --primary: #EB6300; /* Logo Orange */
    --primary-hover: #cc5500;
    --dark-bg: #0B0F19; /* Deep Navy */
    --card-bg: #111827;
    --light-bg: #f8fafc;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --text-dark: #1F2937;
    --transition: all 0.3s ease;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Xóa khoảng trắng thừa của theme Flatsome */
#main, .page-wrapper, .page-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

html {
    scroll-behavior: smooth;
}

body, #wrapper, #main, .page-wrapper {
    font-family: var(--font-body) !important;
    background-color: var(--dark-bg) !important;
    color: var(--text-main) !important;
    line-height: 1.6;
}

body {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

/* Subtle glow effects for the background */
body::before, body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235, 99, 0, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::before {
    top: -200px;
    left: -200px;
}

body::after {
    bottom: -200px;
    right: -200px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff !important;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--primary) !important;
}

/* Typography Utilities */
.section-subtitle {
    font-size: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block !important;
    text-align: center !important;
    color: #ffffff !important;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(235, 99, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--dark-bg);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1rem;
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(235, 99, 0, 0.2); /* Subtle orange divider */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    perspective: 1000px;
}

.site-logo {
    height: 55px; /* Adjust logo height here */
    width: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
    backface-visibility: hidden;
    will-change: transform, filter;
}

header.scrolled .site-logo {
    height: 45px; /* Shrink logo slightly when scrolled */
}

/* Premium 3D perspective tilt & drop-shadow glow for logo */
.logo:hover .site-logo {
    transform: scale(1.05) rotateY(6deg) rotateX(-4deg);
    filter: drop-shadow(0 4px 15px rgba(235, 99, 0, 0.65)) brightness(1.08);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links > li {
    position: relative;
    padding: 10px 0;
}

.nav-links a {
    display: inline-block;
    font-size: 1.05rem; /* Increased size */
    font-weight: 700; /* Extra bold */
    color: #ffffff !important; /* Bright white text */
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), text-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px;
    will-change: transform;
}

/* Underline expand from center */
.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary) 20%, var(--primary) 80%, transparent);
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links a:hover,
.nav-links > li > a.active {
    color: var(--primary) !important; /* Bright orange highlight */
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(235, 99, 0, 0.4); /* Subtle orange glow */
}

.nav-links > li:hover > a::after,
.nav-links > li > a.active::after {
    width: 100%;
}

/* Submenu container with glassmorphism & drop shadow */
.submenu,
.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(17, 24, 39, 0.95); /* Semi-transparent dark grey */
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid rgba(235, 99, 0, 0.2); /* Bright border with orange tint */
    border-radius: 8px;
    padding: 12px 0;
    min-width: 230px;
    display: block;
    visibility: hidden;
    opacity: 0;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6), 
        0 0 25px rgba(235, 99, 0, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.submenu li,
.sub-menu li {
    padding: 0;
    margin: 0;
    text-align: left;
}

.submenu li a,
.sub-menu li a {
    display: block;
    padding: 12px 24px;
    color: #e5e7eb !important; /* Lighter submenu links */
    font-size: 0.95rem;
    font-weight: 600;
    border-left: 0px solid transparent;
    transition: padding 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease, color 0.3s ease, border-left 0.3s ease;
    white-space: nowrap;
}

.submenu li a::after,
.sub-menu li a::after {
    display: none !important;
}

/* Precision drafting line & sliding background hover effect */
.submenu li a:hover,
.sub-menu li a:hover {
    color: #ffffff !important;
    background: linear-gradient(90deg, rgba(235, 99, 0, 0.12) 0%, rgba(235, 99, 0, 0.01) 100%);
    padding-left: 30px;
    border-left: 4px solid var(--primary);
}

/* Toggle submenu display on hover */
.nav-links > li:hover .submenu,
.nav-links > li:hover .sub-menu,
.nav-links > .menu-item-has-children:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nav-arrow {
    font-size: 0.75rem;
    margin-left: 6px;
    opacity: 0.75;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links > li:hover .nav-arrow,
.nav-links > .menu-item-has-children:hover > a .nav-arrow {
    transform: rotate(180deg) translateY(-1px);
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('http://xaydungkienthanh.vn/wp-content/uploads/2026/05/cai-tao-nha-ong-cu-5.jpg') center/cover no-repeat;
    animation: kenBurnsBg 20s infinite alternate ease-in-out;
    z-index: 0;
}

@keyframes kenBurnsBg {
    0% {
        transform: scale(1) translate(0);
    }
    100% {
        transform: scale(1.06) translate(-0.5%, -0.5%);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.8) 50%, rgba(11, 15, 25, 0.4) 100%);
    z-index: 1;
}

.hero-container-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
}

.hero-subtitle-brand {
    color: var(--primary) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-title-main {
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff !important;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 650px;
    line-height: 1.65;
}

.hero-buttons-wrap {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero .highlight {
    background: linear-gradient(135deg, #EB6300 0%, #FF8A3D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-specialties-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
}

.specialty-item {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.specialty-item i {
    color: var(--primary);
    font-size: 1.15rem;
}

/* Hero Right: Showcase Image Card */
.hero-showcase-col {
    display: flex;
    justify-content: flex-end;
}

.showcase-card-envelope {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3/4;
}

.blueprint-draft-back {
    position: absolute;
    top: 15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(235, 99, 0, 0.4);
    border-radius: 8px;
    z-index: 0;
}

.blueprint-draft-back::before {
    content: '\f568'; /* FontAwesome drafting-compass icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 9rem;
    color: rgba(235, 99, 0, 0.04);
    animation: rotateCompass 40s infinite linear;
    pointer-events: none;
}

@keyframes rotateCompass {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.showcase-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.showcase-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-experience-badge {
    position: absolute;
    bottom: 25px;
    left: 20px;
    background: rgba(11, 15, 25, 0.9);
    border: 1px solid rgba(235, 99, 0, 0.3);
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.floating-experience-badge i {
    font-size: 1.6rem;
    color: var(--primary);
}

.floating-experience-badge h4 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #ffffff !important;
}

.floating-experience-badge p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* Responsiveness for split Hero */
@media (max-width: 1024px) {
    .hero-container-split {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-top: 80px;
    }
    .hero-subtitle-brand {
        justify-content: center;
    }
    .hero-title-main {
        font-size: 3rem;
    }
    .hero-desc {
        margin: 0 auto 30px auto;
    }
    .hero-buttons-wrap {
        justify-content: center;
    }
    .hero-stats-row {
        justify-content: center;
    }
    .hero-showcase-col {
        justify-content: center;
    }
    .showcase-card-envelope {
        max-width: 320px;
    }
}

@media (max-width: 600px) {
    .hero-title-main {
        font-size: 2.2rem;
    }
    .hero-buttons-wrap {
        flex-direction: column;
        gap: 10px;
    }
    .hero-stats-row {
        gap: 20px;
    }
    .stat-badge-item .stat-num {
        font-size: 1.5rem;
    }
}

/* About Section */
.about {
    background-color: transparent;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.image-wrapper img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(235, 99, 0, 0.3);
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.about-content p {
    color: var(--text-muted);
}

.stats-counter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: flex;
    align-items: baseline;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-number h3 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-number span {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 2px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 5px;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Timeline Section */
.timeline-section {
    background-color: rgba(21, 29, 45, 0.8);
    backdrop-filter: blur(5px);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(235, 99, 0, 0.3);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--primary);
    border: 4px solid var(--dark-bg);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(235, 99, 0, 0.2);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 30px;
    background-color: var(--card-bg);
    position: relative;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: rgba(235, 99, 0, 0.3);
}

.timeline-year {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    opacity: 0.8;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.timeline-image {
    margin-top: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.timeline-image:hover img {
    transform: scale(1.05);
}

/* Team Section */
.team {
    background-color: transparent;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.team-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(235, 99, 0, 0.9);
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    transition: var(--transition);
}

.team-card:hover .team-socials {
    bottom: 0;
}

.team-socials a {
    color: #fff;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.team-socials a:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

.team-info {
    padding: 25px 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-info p {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Projects Gallery */
.projects {
    background-color: var(--dark-bg);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-overlay p {
    color: var(--primary);
    font-weight: 500;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.project-item:hover .project-overlay h4,
.project-item:hover .project-overlay p {
    transform: translateY(0);
}

/* 3D Models & Tabs */
.models-3d {
    background-color: rgba(21, 29, 45, 0.8);
    backdrop-filter: blur(5px);
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    color: var(--text-muted);
    border: 2px solid rgba(255,255,255,0.1);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.model-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(235, 99, 0, 0.3);
}

.model-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.model-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.model-card:hover .model-img img {
    transform: scale(1.05);
}

.badge-3d {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.model-info {
    padding: 30px;
}

.model-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}

.model-info p {
    color: var(--text-muted);
}

/* Testimonials */
.testimonials {
    background-color: rgba(21, 29, 45, 0.8);
    backdrop-filter: blur(5px);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: rgba(235, 99, 0, 0.3);
}

.stars {
    color: var(--primary);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.client-info h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
}

.client-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Company Profile */
.company-profile {
    background-color: transparent;
}

.profile-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--card-bg);
    padding: 60px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.profile-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.profile-image img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.profile-wrap:hover .profile-image img {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    position: relative;
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.85);
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.cta-desc {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* Footer */
.footer {
    background-color: #06080d;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--text-muted);
    max-width: 300px;
}

.footer h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-links i {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating Contact */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    transition: transform 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.zalo-btn {
    background-color: #0068ff;
}

.zalo-btn img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.phone-btn {
    background-color: var(--primary);
}

.phone-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Responsive */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-text .title {
        font-size: 2.8rem;
    }
    
    .about-grid, .project-grid, .models-grid, .testimonial-grid, .profile-wrap {
        grid-template-columns: 1fr;
    }
    
    .profile-wrap {
        padding: 30px;
    }
    
    .experience-badge {
        bottom: 20px;
        right: 20px;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 21px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
        display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .stats-counter {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text .title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Floating Contact Widgets */
.kt-floating-contact {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99999;
}
.kt-float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    transition: transform 0.3s ease;
    text-decoration: none !important;
}
.kt-float-btn:hover {
    transform: scale(1.1);
}
.kt-facebook {
    background: linear-gradient(135deg, #00B2FE 0%, #006AFF 50%, #A100FF 100%);
}
.kt-zalo {
    background-color: #0068ff;
}
.kt-zalo img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}
.kt-phone {
    background-color: #EB6300;
}
.kt-pulse, .kt-pulse-zalo, .kt-pulse-fb {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    animation: kt-pulse-anim 1.6s infinite;
}
.kt-pulse {
    background-color: #EB6300;
    animation-delay: 0s;
}
.kt-pulse-zalo {
    background-color: #0068ff;
    animation-delay: 0.3s;
}
.kt-pulse-fb {
    background: linear-gradient(135deg, #00B2FE 0%, #A100FF 100%);
    animation-delay: 0.6s;
}
@keyframes kt-pulse-anim {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}
/* Tối ưu riêng cho Mobile */
@media (max-width: 768px) {
    .kt-floating-contact {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    .kt-float-btn {
        width: 45px;
        height: 45px;
    }
    .kt-float-btn i {
        font-size: 18px !important;
    }
    .kt-zalo img {
        width: 28px;
        height: 28px;
    }
    .kt-float-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ----------------------------------------------------
   New Blocks Styles (Commitments, Calculator, Factory)
   ---------------------------------------------------- */

/* Commitments Section */
.commitments-section {
    background: rgba(21, 29, 45, 0.5);
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.commitment-card {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}

.commitment-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(235, 99, 0, 0.2);
}

.commitment-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.commitment-card:hover .commitment-icon {
    transform: scale(1.1) rotate(5deg);
}

.commitment-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: #ffffff !important;
}

.commitment-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Cost Calculator Section */
.calculator-section {
    background: linear-gradient(rgba(11, 15, 25, 0.9), rgba(11, 15, 25, 0.95)), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
}

.calculator-wrapper {
    max-width: 1000px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    text-align: left; /* Prevent inherited centering */
}

.calc-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.calc-form .form-group {
    margin-bottom: 20px;
}

.calc-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
}

.calc-form .form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    height: auto !important; /* Force auto height to overwrite Flatsome themes */
}

.calc-form select.form-control option {
    background-color: #111827; /* Dark background to make options readable */
    color: #ffffff;
}

.calc-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(235, 99, 0, 0.2);
}

.calc-form .btn-calc {
    width: 100%;
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.calc-form .btn-calc:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 20px rgba(235, 99, 0, 0.4);
}

/* Calculator Results Panel */
.calc-results-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-results-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 15px;
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.calc-result-row:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.calc-result-row span.label {
    color: var(--text-muted);
}

.calc-result-row span.value {
    font-weight: 700;
    color: #ffffff;
}

.calc-result-row.total {
    border-top: 1px solid rgba(235, 99, 0, 0.3);
    padding-top: 18px;
    margin-top: 10px;
}

.calc-result-row.total span.label {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

.calc-result-row.total span.value {
    color: var(--primary);
    font-size: 1.4rem;
}

.calc-lead-form {
    margin-top: 20px;
    display: none;
    animation: fadeIn 0.4s ease;
}

/* Factory / Showroom Showcase */
.factory-section {
    background: transparent;
}

.factory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.factory-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.factory-card:hover {
    transform: translateY(-8px);
    border-color: rgba(235, 99, 0, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.factory-img {
    height: 280px;
    overflow: hidden;
}

.factory-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.factory-card:hover .factory-img img {
    transform: scale(1.05);
}

.factory-info {
    padding: 30px;
}

.factory-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.factory-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustment */
@media (max-width: 1024px) {
    .commitments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .commitments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .calculator-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .factory-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .commitments-grid {
        grid-template-columns: 1fr;
    }
    .calc-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Workflow Step Tracker */
.workflow-section {
    background: rgba(21, 29, 45, 0.8);
    backdrop-filter: blur(5px);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: var(--card-bg);
    padding: 35px 25px;
    border-radius: 8px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(235, 99, 0, 0.4);
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .workflow-steps {
        grid-template-columns: 1fr;
    }
}

