/* ===================================
   MAIN STYLESHEET - VNX ROBOTICS
   ===================================
   Global styles, reset, and base configuration
*/


/* Reset cho toàn bộ page để tránh overflow */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}


body {
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* Section base styles */
.section {
    padding: 100px 50px;
    text-align: center;
}

/* Common heading styles */
h2 {
    /* font-family: 'Orbitron', sans-serif; */
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 40px;
}

/* Common CTA button styles */
.cta {
    padding: 15px 40px;
    background: #ffd700;
    color: #0a0a0a;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.cta:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Responsive base styles */
@media (max-width: 768px) {
    /* * {
        box-sizing: content-box;
    } */

    .section {
        width: 100%;
        padding: 20px 0px;
        margin: 20px 0px;
    }
    
    h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 30px 15px;
    }
    
    h2 {
        font-size: 24px;
    }
}

/* Vietnamese font override */
html[lang="vi"] * {
    font-family: 'Roboto', sans-serif !important;
}

/* Keep original fonts for other languages */
html[lang="en"] h2,
html[lang="jp"] h2,
html[lang="en"] .hero h1,
html[lang="jp"] .hero h1,
html[lang="en"] .leader-card h3,
html[lang="jp"] .leader-card h3 {
    /* font-family: 'Orbitron', sans-serif !important; */
    font-family: 'Roboto', sans-serif !important;
}

/* Ensure Roboto is used for all Vietnamese text */
html[lang="vi"] body,
html[lang="vi"] h1,
html[lang="vi"] h2,
html[lang="vi"] h3,
html[lang="vi"] h4,
html[lang="vi"] h5,
html[lang="vi"] h6,
html[lang="vi"] p,
html[lang="vi"] span,
html[lang="vi"] a,
html[lang="vi"] input,
html[lang="vi"] textarea,
html[lang="vi"] button,
html[lang="vi"] select {
    font-family: 'Roboto', sans-serif !important;
}