/*
Theme Name: Giao Dien Ngoc Chau
Description: Theme chuyen tu HTML sang WP
Author: Win Holdings
Version: 1.0
*/
/* ===========================
   CSS RESET & BASE
   =========================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background-color: #0a1628;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

/* ===========================
   HEADER
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, #1a2d4a 0%, #233a5c 50%, #1a2d4a 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(20, 35, 60, 0.97);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 65px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: brightness(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #b0c4de;
    letter-spacing: 0.5px;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 15px;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #c8d6e5;
    padding: 22px 18px;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #4da8da;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Search Button */
.search-btn {
    color: #c8d6e5;
    font-size: 16px;
    padding: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.search-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Header Action Button */
.header-action {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.btn-header {
    background-color: #cba258;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.btn-header:hover {
    background-color: #b38d47;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ===========================
   HERO SLIDER
   =========================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 65px);
    aspect-ratio: 1672 / 941;
    overflow: hidden;
    margin-top: 65px;
    background-color: #0a1628;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Changed from center to push text to the top */
    z-index: 10;
    background: linear-gradient(to bottom,
            rgba(10, 22, 40, 0.3) 0%,
            rgba(10, 22, 40, 0.1) 30%,
            rgba(10, 22, 40, 0.1) 60%,
            rgba(10, 22, 40, 0.4) 100%);
    padding: 15vh 20px 0;
    /* Positioned exactly 15vh from top of slider */
    text-align: center;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 5vw, 72px);
    font-weight: 900;
    color: #ffffff;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-slogan {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 2.5vw, 28px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-overlay.hide-text .hero-title,
.hero-overlay.hide-text .hero-slogan {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.hero-title, .hero-slogan {
    transition: opacity 0.5s ease, visibility 0.5s;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.hero-slider:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ===========================
   STATS SECTION
   =========================== */
.stats-section {
    position: relative;
    width: 100%;
    height: calc(100dvh - 65px);
    display: flex;
    align-items: center;
    /* Increased from 100px to add beautiful vertical breathing room */
    overflow: hidden;
    background-image: url('img-nen/nen-utda4.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.stats-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 60, 160, 0.9) 0%, rgba(8, 40, 110, 0.95) 100%);
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}

.stats-header {
    margin-bottom: 60px;
}

.stats-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    /* Reduced from 800 to make it cleaner and thinner */
    color: #ffffff;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.stats-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4da8da, transparent);
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    opacity: 0.9;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 400;
    /* Reduced from 500 to make it thinner and matches mockup */
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    line-height: 1.5;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(60px, 8vw, 110px);
    font-weight: 700;
    /* Reduced from 900 for elegant boldness */
    color: #ffffff;
    line-height: 1;
}

.stat-number span {
    font-size: 0.7em;
}

.stat-date {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    /* Reduced from 700 to match mockup elegantly */
    color: #ffffff;
    margin-top: 5px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: linear-gradient(to right, #021b3b 0%, #050a10 100%); /* Match the global blue-to-black theme */
    padding: 50px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77, 168, 218, 0.3), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
    padding-top: 5px;
}

.social-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.social-icon svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke: rgba(255, 255, 255, 0.45);
    stroke-width: 4.5px;
    stroke-linejoin: round;
    transition: all 0.3s ease;
}

.social-icon i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.social-icon:hover svg {
    stroke: #ffffff;
    fill: rgba(255, 255, 255, 0.1);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.social-icon:hover i {
    transform: scale(1.1);
}

/* Footer Links */
.footer-links {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
    line-height: 1.6;
}

.footer-col ul li a:hover {
    color: #4da8da;
}

.footer-bottom {
    text-align: center;
    padding: 20px 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1380px) {
    .nav-link {
        padding: 22px 7px;
        font-size: 12px;
    }
    .btn-header {
        font-size: 11.5px;
        padding: 8px 12px;
    }
}

@media (max-width: 1100px) {
    .header-container {
        height: 60px;
    }

    .hero-slider {
        margin-top: 60px;
        height: auto;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(20, 35, 60, 0.98);
        backdrop-filter: blur(15px);
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        margin-right: 0;
    }

    .header-action {
        display: none;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        padding: 15px 30px;
        font-size: 14px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: auto;
        min-height: auto;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
        opacity: 1;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .stats-section {
        padding: 50px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-card {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 40px;
    }

    .stat-card:last-child {
        border-bottom: none;
        padding-bottom: 20px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .hero-slogan {
        font-size: 14px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-social {
        justify-content: center;
        width: 100%;
    }

    .slider-dots {
        bottom: 15px;
    }
}

/* =========================================
   ABOUT PAGE STYLES (GIỚI THIỆU)
   ========================================= */

/* Hero Section */
.about-hero {
    position: relative;
    height: 100dvh;
    padding-top: 65px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.about-hero-overlay {
    display: none;
}

.about-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.about-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    width: 100%;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.about-card {
    flex: 1;
    padding: 30px 40px;
    text-align: left;
    max-width: 550px;
}

.card-logo-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.about-logo {
    max-width: 70px;
    margin-bottom: 0;
}

.about-brand {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    margin: 0;
    letter-spacing: 1px;
}

.about-company-name {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: none;
    margin: 0;
    padding-left: 90px;
}

.about-features-grid {
    flex: 1.2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding-left: 30px;
}

.feature-item-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    color: #fff;
}

.feature-icon {
    font-size: 36px;
    line-height: 1;
    color: #fff;
}

.feature-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.feature-text p {
    font-size: 15px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

/* Image Sections Blending */
.image-section {
    position: relative;
}

.thin-divider {
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, #004A99, #F37020, #004A99);
    margin: 0;
}

/* Policies Section */
.about-policies {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.policies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.policy-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.section-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.text-blue {
    color: #004A99;
}

.text-orange {
    color: #F37020;
}

.text-green {
    color: #28a745;
}

.industry-list,
.incentive-list {
    list-style: none;
    padding: 0;
}

.industry-list li,
.incentive-list li {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.industry-list i,
.incentive-list i {
    margin-top: 4px;
    font-size: 18px;
}

/* Vision Section */
.about-vision {
    padding: 80px 0;
}

.bg-light-gray {
    background-color: #f1f4f8;
}

.main-heading {
    color: #004A99;
    font-size: 32px;
    font-weight: 800;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-table-box,
.vision-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-table-box h3,
.vision-box h3,
.vision-right h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    border-left: 4px solid #F37020;
    padding-left: 15px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.custom-table tr:last-child td {
    border-bottom: none;
}

.vision-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.v-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
}

.v-item i {
    font-size: 24px;
    width: 30px;
    text-align: center;
}

/* Master Plan Section */
.about-master-plan {
    padding: 80px 0;
}

.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.dark-blue-bg {
    background: #002B5E;
    color: #fff;
    padding: 40px;
    border-radius: 15px;
}

.plan-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.p-row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.p-row:last-child {
    border-bottom: none;
}

.p-row.header {
    background: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

.p-col {
    flex: 1;
    padding: 15px;
}

.p-col:first-child {
    flex: 2;
}

.plan-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.s-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.s-box i {
    font-size: 24px;
    color: #F37020;
    margin-bottom: 10px;
}

.s-box p {
    margin-bottom: 5px;
    font-size: 14px;
    opacity: 0.8;
}

.s-box strong {
    font-size: 18px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .about-hero-content {
        flex-direction: column;
        align-items: center;
    }

    .about-card {
        width: 100%;
    }

    .policies-grid,
    .vision-grid,
    .plan-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-features-grid {
        grid-template-columns: 1fr;
    }

    .plan-summary-grid {
        grid-template-columns: 1fr;
    }
/* =========================================
   INVESTMENT PROCESS PAGE (QUY TRÌNH ĐẦU TƯ)
   ========================================= */
} /* Close previous media query */

.investment-process-section {
    background: linear-gradient(to right, #021b3b 0%, #050a10 100%); /* Match the blue-to-black frame of the image */
    padding: 120px 20px 60px; /* Add spacing around the card */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.investment-container-rect {
    position: relative;
    max-width: 1300px; /* Compress it to match Giới thiệu container */
    margin: 0 auto;
    width: 100%;
    border-radius: 15px; /* Slight rounding for elegance */
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.investment-bg-img {
    width: 100%;
    display: block;
}

/* Absolute positioning for the text over the white area of the image */
.investment-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Adjust to cover only the white left side */
    height: 100%;
    padding: 20px 50px 15px 50px; /* Use fixed px to prevent width-based percentage bloat */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.investment-title {
    font-size: 22px; /* Compress further */
    font-weight: 900;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Aggressive gap reduction */
}

.step-item h3 {
    font-size: 15px;
    font-weight: 800;
    color: #000;
    margin-bottom: 2px;
}

.step-item p {
    font-size: 13.5px;
    color: #333;
    line-height: 1.35;
    margin: 0;
    font-weight: 500;
}

/* Responsive Overrides for Mobile */
@media (max-width: 992px) {
    .investment-process-section {
        padding: 80px 15px 40px;
    }
    
    .investment-container-rect {
        display: block; 
        border-radius: 4px !important; /* Vuông vức hơn, bỏ góc tròn quá đà */
        overflow: hidden;
        box-shadow: 0 15px 40px rgba(0,0,0,0.5);
        position: relative;
    }

    .investment-bg-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100% !important; /* Ôm trọn theo chiều cao của chữ */
        object-fit: cover;
        object-position: right center;
        border-radius: 4px !important;
        z-index: 0;
    }

    .investment-content-overlay {
        position: relative; /* Để chữ tự đẩy chiều cao, không bị cắt */
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        padding: 60px 20px; /* Tăng khoảng cách đầu và cuối để không bị lẹm */
        background-color: rgba(255, 255, 255, 0.85);
        border-radius: 4px !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 1;
    }

    .investment-title {
        font-size: 22px;
        margin-bottom: 20px;
        text-align: center;
    }

    .process-steps {
        gap: 12px;
    }

    .step-item h3 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .step-item p {
        font-size: 13.5px;
        line-height: 1.4;
    }
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .investment-content { width: 100%; }
    .investment-content::before {
        background: rgba(255,255,255,0.9);
        width: 100%;
    }
}

/* =========================================
   NEWS PAGE (TIN TỨC)
   ========================================= */
.news-hero-section {
    background: linear-gradient(to right, #021b3b 0%, #050a10 100%);
    padding: 90px 20px 30px; /* Reduced padding to save vertical space */
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-container-rect {
    position: relative;
    max-width: 1350px; /* Wide width */
    height: 700px; /* Increased height to make the layout taller */
    margin: 0 auto;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.news-bg-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Featured text on the left */
.featured-news-overlay {
    position: absolute;
    bottom: 15%;
    left: 4%;
    max-width: 45%;
    z-index: 2;
}

.featured-title {
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
    line-height: 1.1;
}

.featured-desc {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

/* Right side news feed */
.news-feed-container {
    position: absolute;
    top: 5%;
    bottom: 5%;
    right: 2%;
    width: 55%; /* Expanded width so the slant stretches far to the left */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 2;
}

/* The news cards (Will display Post Featured Images in WP) */
.news-card {
    background-color: rgba(71, 85, 105, 0.95); /* Fallback */
    background-image: linear-gradient(to right, rgba(2, 27, 59, 0.4), rgba(5, 10, 16, 0.2)), url('img-nen/tintucnen.png'); /* Placeholder image for WP */
    background-size: cover;
    background-position: center;
    width: 100%; /* All cards span full container, clip-path does the shaping */
    height: 32%; /* Fits 3 cards perfectly with 2% vertical gap */
    padding: 30px 40px 30px 0; 
    border-radius: 0; /* Sharp corners like mockup */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: scale(1.02);
}

/* Mathematically perfect continuous diagonal line across all 3 cards */
/* Slant starts at 50% width on top, ends at 0% width at bottom */
.news-card.card-1 { 
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 34% 100%); 
    padding-left: 55%; /* Push text past the diagonal cut */
}
.news-card.card-2 { 
    clip-path: polygon(33% 0, 100% 0, 100% 100%, 17% 100%); 
    padding-left: 38%;
}
.news-card.card-3 { 
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); 
    padding-left: 20%;
}

.news-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.2;
}

.news-card p {
    font-size: 15px;
    color: #fff;
    font-weight: 400;
    margin: 0;
}

/* Responsive Overrides for News Page */
@media (max-width: 992px) {
    .news-container-rect {
        display: flex;
        flex-direction: column;
        height: auto; /* Allow container to expand and not clip the 3rd card */
    }
    
    .news-bg-img {
        height: 400px;
        object-position: left center;
    }

    .featured-news-overlay {
        top: 220px; /* Positions it safely over the image */
        bottom: auto;
        left: 20px;
        max-width: 90%;
        z-index: 10; /* Force it to stay on top of the red cards container */
    }

    .news-feed-container {
        position: relative;
        top: auto;
        bottom: auto;
        right: auto;
        width: 100%;
        height: auto;
        background-color: #0F172A;
        padding: 20px;
        gap: 15px;
        align-items: center;
    }

    .news-card,
    .news-card.card-1,
    .news-card.card-2,
    .news-card.card-3 {
        width: 100% !important; /* Remove staggered widths on mobile */
        height: auto;
        padding: 30px !important; /* Reset padding to be even */
        clip-path: none !important; /* Remove the slant on mobile */
    }
}

/* =========================================
   CONTACT PAGE (LIÊN HỆ)
   ========================================= */
.contact-section {
    background: linear-gradient(to right, #021b3b 0%, #050a10 100%);
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    display: flex;
    gap: 60px;
    align-items: stretch;
}

/* Left Side: Form */
.contact-form-wrapper {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-size: 28px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.contact-form {
    width: 100%;
}

.form-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.form-col-inputs, .form-col-textarea {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 8px; /* Slightly rounded inputs matching mockup */
    background-color: #fff;
    color: #333;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 235px; /* Match height of 3 standard inputs */
}

/* Small input specific styling */
.small-input-group input {
    margin-top: auto;
    width: 60%;
}

.contact-submit-btn {
    background-color: #d97706; /* Orange */
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 40px;
    border: none;
    border-radius: 30px; /* Pill shape */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: auto; /* Pushes button to bottom to match left column height */
    align-self: flex-start; /* Keeps it left-aligned instead of stretching */
}

.contact-submit-btn:hover {
    background-color: #b45309;
    transform: translateY(-2px);
}

/* Right Side: Map */
.contact-map-wrapper {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05); /* Soft placeholder instead of glaring red */
    border-radius: 10px;
    overflow: hidden;
    min-height: 500px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    position: relative; /* Bulletproof fix for iframe height */
}

.contact-map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Contact Page */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 50px;
    }

    .form-grid {
        flex-direction: column;
        gap: 25px;
    }

    .form-group textarea {
        min-height: 150px;
    }

    .small-input-group input {
        width: 100%;
    }

    .contact-map-wrapper {
        min-height: 400px;
    }

    .contact-submit-btn {
        width: 100%;
        margin-top: 15px;
    }
}

/* ===========================
   BACK TO TOP BUTTON
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: rgba(20, 35, 60, 0.8);
    color: #ffffff;
    border: 1px solid #4da8da;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #4da8da;
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Fix menu when WP admin bar is present */
.admin-bar .header { top: 32px !important; }
@media screen and (max-width: 782px) { .admin-bar .header { top: 46px !important; } }


/* ===== SEPARATOR BAR ===== */
.section-separator-bar { width: 100%; background-color: #021a36; border-top: 3px solid #f97316; text-align: center; padding: 18px 0; position: relative; z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.separator-text { color: #ffffff; font-size: 26px; font-weight: 700; margin: 0; text-transform: uppercase; letter-spacing: 1px; }
@media screen and (max-width: 768px) { .separator-text { font-size: 18px; } }

/* ==========================================
   SINGLE POST STYLES & ENTRY CONTENT FORMATTING
   ========================================== */
.entry-title {
    color: #022c54 !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.entry-content {
    font-size: 17px;
    line-height: 1.85;
    color: #334155;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #022c54;
    margin-top: 35px;
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 4px solid #cba258;
    line-height: 1.35;
}

.entry-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 28px;
    margin-bottom: 14px;
    line-height: 1.4;
}

.entry-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 22px;
    margin-bottom: 12px;
}

.entry-content strong, 
.entry-content b {
    color: #0f172a;
    font-weight: 700;
}

.entry-content a {
    color: #0284c7;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.entry-content a:hover {
    color: #0369a1;
}

/* Figures & Captions (Chú thích ảnh chuẩn báo chí) */
.entry-content figure, 
.entry-content .wp-caption,
.entry-content .wp-block-image {
    margin: 30px 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.entry-content figure img, 
.entry-content .wp-caption img,
.entry-content .wp-block-image img {
    border-radius: 6px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.entry-content figcaption, 
.entry-content .wp-caption-text,
.entry-content .wp-block-image figcaption {
    font-size: 14.5px;
    font-style: italic;
    color: #475569;
    margin-top: 10px;
    padding: 4px 10px;
    line-height: 1.5;
    background: transparent;
    border: none;
}

/* Blockquotes (Trích dẫn) */
.entry-content blockquote,
.entry-content .wp-block-quote {
    margin: 30px 0;
    padding: 20px 25px;
    background: #fefce8;
    border-left: 4px solid #cba258;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #451a03;
}

.entry-content blockquote p {
    margin-bottom: 0;
}

/* Custom Highlight / Project Info Box (Khối Thông tin dự án hồng/xám) */
.entry-content .project-info-box,
.entry-content .wp-block-group.project-info-box {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 35px 0;
}

.entry-content .project-info-box h4 {
    color: #991b1b;
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}

.entry-content .project-info-box p {
    margin-bottom: 8px;
    color: #450a0a;
}

.entry-content .project-info-box p:last-child {
    margin-bottom: 0;
}

/* Lists styling */
.entry-content ul, 
.entry-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.entry-content li {
    margin-bottom: 8px;
}

/* Related card hover */
.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Responsive Single Post */
@media (max-width: 768px) {
    .single-post-card {
        padding: 25px 20px !important;
    }
    .entry-title {
        font-size: 24px !important;
    }
    .entry-content {
        font-size: 15.5px;
    }
    .related-posts-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================
   3-COLUMN SINGLE POST LAYOUT STYLES
   ========================================== */
.single-post-layout-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    gap: 30px;
    align-items: start;
}

/* Back to news button styling */
.post-back-nav {
    margin-bottom: 20px;
}
.btn-back-to-news {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #bae6fd;
}
.btn-back-to-news:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    transform: translateX(-3px);
}

/* Sidebar Boxes */
.sidebar-box {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    overflow: hidden;
}

.sidebar-title-badge {
    padding: 12px 18px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}
.sidebar-title-badge.title-red {
    background: linear-gradient(135deg, #e11d48, #be123c);
}
.sidebar-title-badge.title-darkred {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
}
.sidebar-title-badge.title-blue {
    background: linear-gradient(135deg, #022c54, #0f4c81);
}

/* Sidebar Hot Items (Left) */
.sidebar-news-list {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.sidebar-hot-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}
.sidebar-hot-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sidebar-hot-img {
    width: 100%;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}
.sidebar-hot-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.sidebar-hot-item:hover .sidebar-hot-img img {
    transform: scale(1.05);
}
.sidebar-hot-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.sidebar-hot-item:hover .sidebar-hot-title {
    color: #e11d48;
}

/* Sidebar Top Read Items (Right) */
.sidebar-top-list {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.sidebar-top-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.sidebar-top-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sidebar-top-thumb-wrap {
    width: 75px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}
.sidebar-top-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-top-num {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #e11d48;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 4px;
}
.sidebar-top-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.sidebar-top-item:hover .sidebar-top-title {
    color: #b91c1c;
}

/* Sidebar Info Card */
.sidebar-info-card {
    padding: 20px 18px;
}
.sidebar-info-card h5 {
    font-size: 13.5px;
    font-weight: 800;
    color: #022c54;
    margin: 0 0 12px 0;
}
.sidebar-info-card p {
    font-size: 12.5px;
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.4;
}
.sidebar-info-card p i {
    color: #0284c7;
    width: 16px;
}
.btn-sidebar-contact {
    display: block;
    text-align: center;
    background: #022c54;
    color: #ffffff;
    font-weight: 700;
    font-size: 12.5px;
    padding: 9px 15px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 15px;
    transition: background 0.3s ease;
}
.btn-sidebar-contact:hover {
    background: #cba258;
}

/* Main Content Card Styling */
.single-post-card {
    background: #ffffff;
    padding: 40px 45px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

/* Tag labels styling */
.post-tags .tag-label {
    font-weight: 700; 
    color: #475569; 
    margin-right: 10px;
}
.post-tags .tag-item {
    display: inline-block; 
    background: #f1f5f9; 
    color: #0284c7; 
    padding: 4px 12px; 
    border-radius: 6px; 
    font-size: 13px; 
    font-weight: 600; 
    margin-right: 8px; 
    margin-bottom: 8px; 
    cursor: default; 
    user-select: none;
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 40px;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}
.related-title {
    font-size: 18px;
    font-weight: 800;
    color: #022c54;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.related-card-link {
    text-decoration: none;
    color: inherit;
}
.related-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.related-img-wrap {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: #e2e8f0;
}
.related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-logo {
    object-fit: contain !important;
    padding: 12px;
}
.related-info {
    padding: 12px;
}
.related-date {
    font-size: 11px;
    color: #94a3b8;
    display: block;
    margin-bottom: 5px;
}
.related-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #022c54;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Grid for 3 Columns */
@media (max-width: 1280px) {
    .single-post-layout-container {
        grid-template-columns: 1fr 280px;
    }
    .sidebar-left {
        display: none;
    }
}

@media (max-width: 992px) {
    .single-post-layout-container {
        grid-template-columns: 1fr;
    }
    .sidebar-right {
        margin-top: 30px;
    }
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}



