.home_bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--primary);
    /* Bù navbar fixed 72px, padding thêm top để nội dung không bị che */
    padding-top: var(--navbar-h);

}

.home_bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(8, 28, 50, 0.88) 0%, rgba(15, 43, 74, 0.70) 100%);
    z-index: 1;
    display: none;
}

.home_bg .container {
    position: relative;
    z-index: 2;
}

.home_bg {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* căn giữa dọc */
    justify-content: center;
    /* căn giữa ngang */
    text-align: center;
}

.home_bg .row {
    justify-content: center;
}

.hero-text {
    text-align: center;
    margin: 0 auto;
    max-width: 920px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-text--light {
    --hero-title-color: var(--white);
    --hero-highlight-color: var(--accent-light);
    --hero-body-color: rgba(255, 255, 255, 0.72);
    --hero-badge-bg: rgba(201, 150, 62, 0.18);
    --hero-badge-border: rgba(201, 150, 62, 0.5);
    --hero-badge-color: var(--accent-light);
    --hero-stat-number-color: var(--accent-light);
    --hero-stat-label-color: rgba(255, 255, 255, 0.55);
    --hero-stat-border-color: rgba(255, 255, 255, 0.12);
}

.hero-text--dark {
    --hero-title-color: #0d2238;
    --hero-highlight-color: #8b6116;
    --hero-body-color: rgba(13, 34, 56, 0.82);
    --hero-badge-bg: rgba(255, 255, 255, 0.72);
    --hero-badge-border: rgba(13, 34, 56, 0.16);
    --hero-badge-color: #0d2238;
    --hero-stat-number-color: #8b6116;
    --hero-stat-label-color: rgba(13, 34, 56, 0.72);
    --hero-stat-border-color: rgba(13, 34, 56, 0.14);
}

.hero-badge {
    display: inline-block;
    background: var(--hero-badge-bg);
    border: 1px solid var(--hero-badge-border);
    color: var(--hero-badge-color);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 30px;
    margin-bottom: 26px;
}

.hero-text h2 {
    font-size: 58px;
    font-weight: 800;
    color: var(--hero-title-color);
    line-height: 1.12;
    margin-bottom: 22px;
}

.hero-text h2 span {
    color: var(--hero-highlight-color);
}

.hero-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--hero-body-color);
    max-width: 600px;
    margin: 0 auto 36px;
}

.hero-stats {
    display: flex;
    gap: 0;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--hero-stat-border-color);
    justify-content: center;
}

.hero-stat-item {
    text-align: center;
    flex: 1;
    padding: 0 20px;
    position: relative;
}

.hero-stat-item+.hero-stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--hero-stat-border-color);
}

.hero-stat-item .num {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--hero-stat-number-color);
    line-height: 1;
}

.hero-stat-item .label {
    font-size: 12.5px;
    color: var(--hero-stat-label-color);
    margin-top: 6px;
    letter-spacing: 0.3px;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    animation: hero-bounce 2s infinite;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes hero-bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

.hero-scroll i {
    display: block;
    font-size: 18px;
    margin-top: 8px;
}

/* ===== SERVICES ===== */
.services-section {
    padding: 96px 0;
    background: var(--light-bg);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    height: 100%;
    margin-bottom: 24px;
}

.service-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 26px;
    color: var(--accent-light);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-6deg);
    background: var(--accent);
    color: var(--white);
}

.service-card h4 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* ===== FEATURED PROJECTS ===== */
.featured-projects {
    padding: 96px 0;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 24px;
    height: 300px;
    cursor: pointer;
}

.project-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 43, 74, 0.92) 0%, rgba(26, 60, 94, 0.92) 55%, rgba(201, 150, 62, 0.35) 100%);
    color: rgba(255, 255, 255, 0.92);
    transition: transform 0.55s ease;
}

.project-thumb i {
    font-size: 54px;
    color: rgba(255, 255, 255, 0.88);
}

.project-thumb.project-thumb--wide i {
    font-size: 62px;
}

.project-card:hover .project-thumb {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 28, 50, 0.92) 0%, transparent 58%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
}

.project-overlay .tag {
    background: var(--accent);
    color: var(--white);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 13px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 10px;
    align-self: flex-start;
}

.project-overlay h4 {
    color: var(--white);
    font-size: 20px;
    margin: 0 0 4px;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    margin: 0;
}

/* ===== WHY CHOOSE US ===== */
.why-us {
    background: var(--primary);
    padding: 96px 0;
}

.why-us .section-title h2 {
    color: var(--white);
}

.why-us .section-title h2::after {
    background: var(--accent);
}

.why-us .section-title p {
    color: rgba(255, 255, 255, 0.6);
}

.why-item {
    display: flex;
    gap: 20px;
    margin-bottom: 34px;
    align-items: flex-start;
}

.why-item-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: rgba(201, 150, 62, 0.12);
    border: 1px solid rgba(201, 150, 62, 0.28);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent-light);
    transition: var(--transition);
}

.why-item:hover .why-item-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.why-item-content h5 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.why-item-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.7;
    margin: 0;
}

.why-us-img {
    border-radius: var(--radius);
    overflow: visible;
    position: relative;
}

.why-us-media {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    background: radial-gradient(1100px 360px at 20% 15%, rgba(201, 150, 62, 0.40) 0%, transparent 60%),
        linear-gradient(135deg, rgba(8, 28, 50, 0.94) 0%, rgba(26, 60, 94, 0.94) 60%, rgba(201, 150, 62, 0.22) 100%);
    color: var(--white);
}

.why-us-media-inner .kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.why-us-media-inner .title {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 10px;
}

.why-us-media-inner .sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
    letter-spacing: 0.4px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--accent);
    color: var(--white);
    padding: 22px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.experience-badge .years {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .years-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-top: 4px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {
    background: var(--light-bg);
    padding: 96px 0;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 18px;
    left: 26px;
    font-family: 'Playfair Display', serif;
    font-size: 88px;
    line-height: 1;
    color: var(--accent);
    opacity: 0.18;
}

.testimonial-card p {
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-top: 22px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 70%, rgba(201, 150, 62, 0.35) 100%);
    flex-shrink: 0;
}

.testimonial-author h6 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 2px;
}

.testimonial-author span {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* ===== PARTNERS ===== */
.partners-section {
    padding: 64px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    opacity: 0.4;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: none;
}

.partner-logo img {
    max-height: 48px;
    max-width: 130px;
    object-fit: contain;
}

.partner-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(26, 46, 74, 0.18);
    background: var(--white);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-light) 100%);
    padding: 88px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '★';
    position: absolute;
    top: -40px;
    right: 8%;
    font-size: 220px;
    color: rgba(255, 255, 255, 0.06);
    font-weight: bold;
    pointer-events: none;
}

.cta-section h2 {
    color: var(--white);
    font-size: 40px;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.project-thumb {
    background-size: cover;
    background-position: center;
    height: 260px;
    border-radius: 12px;
}