.home_bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at top,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0) 35%),

        linear-gradient(135deg,
            #0f2b4a 0%,
            #16395f 45%,
            #1f4b78 100%);

    padding-top: var(--navbar-h);
}

.home_bg::before {
    content: '';
    position: absolute;
    inset: 0;

    background:
        linear-gradient(135deg,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.28) 45%,
            rgba(255, 255, 255, 0.04) 100%);

    z-index: 1;
}

.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;
    padding: 52px 58px;
    border-radius: 32px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-text--light {
    --hero-title-color: #ffffff;
    --hero-highlight-color: #e0b15c;
    --hero-body-color: rgba(255, 255, 255, 0.92);
    --hero-badge-bg: rgba(212, 164, 74, 0.14);
    --hero-badge-border: rgba(212, 164, 74, 0.48);
    --hero-badge-color: #fff6de;
    --hero-stat-number-color: #d4a44a;
    --hero-stat-label-color: rgba(255, 255, 255, 0.88);
    --hero-stat-border-color: rgba(255, 255, 255, 0.26);
    --hero-text-stroke: rgba(0, 0, 0, 0.92);
    --hero-text-shadow: rgba(0, 0, 0, 0.68);
    --hero-content-shadow: rgba(0, 0, 0, 0.62);
}

.hero-text--dark {
    --hero-title-color: #ffffff;
    --hero-highlight-color: #d4a44a;
    --hero-body-color: rgba(255, 255, 255, 0.92);
    --hero-badge-bg: rgba(212, 164, 74, 0.14);
    --hero-badge-border: rgba(212, 164, 74, 0.44);
    --hero-badge-color: #fff2cf;
    --hero-stat-number-color: #d4a44a;
    --hero-stat-label-color: rgba(255, 255, 255, 0.88);
    --hero-stat-border-color: rgba(255, 255, 255, 0.24);
    --hero-text-stroke: rgba(0, 0, 0, 0.94);
    --hero-text-shadow: rgba(0, 0, 0, 0.72);
    --hero-content-shadow: rgba(0, 0, 0, 0.66);
}

.hero-badge {
    display: inline-block;
    background: var(--hero-badge-bg);
    border: 1px solid var(--hero-badge-border);
    color: var(--hero-badge-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    padding: 9px 22px;
    border-radius: 999px;
    margin-bottom: 36px;
    text-shadow:
        0 2px 6px var(--hero-content-shadow),
        0 1px 2px rgba(0, 0, 0, 0.75);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-text h2 {
    font-size: clamp(40px, 5.2vw, 64px);
    line-height: 1.16;
    letter-spacing: 0.02em;
    margin-top: 10px;
    margin-bottom: 26px;
    color: var(--hero-title-color);
    -webkit-text-stroke: 1.8px var(--hero-text-stroke);
    paint-order: stroke fill;
    text-shadow:
        0 8px 22px var(--hero-text-shadow),
        0 3px 6px rgba(0, 0, 0, 0.72),
        0 1px 0 rgba(0, 0, 0, 0.9);
}

.hero-text h2 span {
    color: var(--hero-highlight-color);
    font-style: italic;
    display: inline-block;
    margin-top: 16px;
    line-height: 1.24;
    text-shadow:
        0 8px 20px var(--hero-text-shadow),
        0 2px 5px rgba(0, 0, 0, 0.76);
    -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.9);
}

.hero-text p {
    font-size: 16px;
    line-height: 1.72;
    color: var(--hero-body-color);
    max-width: 680px;
    margin: 0 auto 44px;
    text-shadow:
        0 4px 14px var(--hero-content-shadow),
        0 2px 4px rgba(0, 0, 0, 0.76);
}

.hero-actions .btn-primary-custom,
.hero-actions .btn-outline-custom {
    min-width: 188px;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.hero-actions .btn-primary-custom {
    background: #d4a44a;
    border: 1px solid #d4a44a;
    color: #2f2212;
    box-shadow: 0 16px 34px rgba(212, 164, 74, 0.24);
}

.hero-actions .btn-primary-custom:hover {
    background: #e0b15c;
    border-color: #e0b15c;
    color: #2f2212;
    transform: translateY(-3px);
}

.hero-actions .btn-outline-custom {
    background: rgba(248, 245, 240, 0.58);
    border: 1px solid rgba(212, 164, 74, 0.36);
    color: #2f2212;
}

.hero-actions .btn-outline-custom:hover {
    background: #fffdf9;
    border-color: #d4a44a;
    color: #d4a44a;
    transform: translateY(-3px);
}

.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: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--hero-stat-number-color);
    line-height: 1;
    text-shadow:
        0 4px 12px var(--hero-content-shadow),
        0 1px 3px rgba(0, 0, 0, 0.72);
}

.hero-stat-item .label {
    font-size: 12.5px;
    color: var(--hero-stat-label-color);
    margin-top: 6px;
    letter-spacing: 0.3px;
    text-shadow:
        0 3px 8px var(--hero-content-shadow),
        0 1px 2px rgba(0, 0, 0, 0.72);
}

.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;
}

@media (max-width: 991.98px) {
    .hero-text {
        padding: 42px 28px;
        border-radius: 26px;
    }

    .hero-text h2 {
        font-size: clamp(36px, 6vw, 54px);
        line-height: 1.14;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px 0;
    }

    .hero-stat-item {
        flex: 0 0 50%;
        padding: 0 16px;
    }

    .hero-stat-item:nth-child(3)::before {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-text {
        padding: 34px 20px;
    }

    .hero-badge {
        letter-spacing: 1.8px;
        padding: 8px 18px;
        margin-bottom: 28px;
    }

    .hero-text h2 {
        font-size: clamp(30px, 9vw, 40px);
        line-height: 1.18;
        margin-top: 6px;
        margin-bottom: 20px;
        -webkit-text-stroke: 1.3px var(--hero-text-stroke);
    }

    .hero-text h2 span {
        margin-top: 12px;
        line-height: 1.22;
    }

    .hero-text p {
        font-size: 14px;
        margin-bottom: 36px;
    }

    .hero-actions .btn-primary-custom,
    .hero-actions .btn-outline-custom {
        width: 100%;
    }

    .hero-stats {
        margin-top: 38px;
        padding-top: 28px;
    }

    .hero-stat-item {
        flex: 0 0 100%;
    }

    .hero-stat-item+.hero-stat-item::before {
        display: none;
    }
}

/* ===== 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: #5f4a26;
    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;
    padding: 18px;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.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: translateY(-2px);
}

.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 {
    height: 260px;
    border-radius: 12px;
}
