/* 1. BRAND COLOR PALETTE & VARIABLES */
:root {
    --navy: #002147;   /* Primary Brand Color */
    --cyan: #00AEEF;   /* Action/Accent Color */
    --red: #E31E24;    /* Highlight Color */
    --white: #ffffff;
    --light-grey: #f8f9fa;
    --dark-grey: #111111;
}

/* 2. GENERAL RESET & TYPOGRAPHY */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    line-height: 1.6; 
    color: var(--navy); 
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

/* 3. HEADER & NAVIGATION */
header { 
    background: var(--white); 
    border-bottom: 4px solid var(--cyan); 
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .logo { 
    height: 70px; 
    vertical-align: middle;
}

nav { 
    float: right; 
    margin-top: 15px; 
}

nav ul { list-style: none; }

nav ul li { 
    display: inline; 
    margin-left: 25px; 
}

nav a { 
    text-decoration: none; 
    color: var(--navy); 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    transition: 0.3s ease;
}

nav a:hover { color: var(--cyan); }

/* 4. HERO SECTION */
.hero { 
    height: 70vh; 
    background: linear-gradient(rgba(0,33,71,0.65), rgba(0,33,71,0.65)), 
                url('Valtex_Fty.jpeg') no-repeat center center/cover; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--white); 
    text-align: center;
}

.hero h1 { 
    font-size: 3.2rem; 
    margin-bottom: 5px; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h2 { 
    color: var(--cyan); 
    font-size: 2.6rem; 
    font-weight: 500;
    margin-bottom: 20px;
}

/* 5. STRENGTHS CARDS */
.strengths { padding: 60px 0; background: var(--light-grey); }

.grid-4 { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
}

.card { 
    background: var(--white); 
    padding: 30px 20px; 
    border-top: 5px solid var(--red); 
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover { transform: translateY(-5px); }
.card h3 { color: var(--navy); margin-bottom: 15px; font-size: 1.1rem; }
.card p { font-size: 1.5rem; color: #555; }

/* 6. FACILITY SECTION (CENTERED LAYOUT) */
.facility-bg { 
    background: var(--navy); 
    color: var(--white); 
    padding: 100px 0; 
}

.facility-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
}

.facility-visual { max-width: 800px; width: 100%; }

.responsive-img { 
    width: 100%; 
    height: auto; 
    border-radius: 12px; 
}

.shadow { box-shadow: 0 15px 40px rgba(0,0,0,0.5); }

.info-box h2 { 
    color: var(--cyan); 
    font-size: 2.5rem; 
    margin-bottom: 30px; 
}

.info-box p { 
    font-size: 1.1rem; 
    max-width: 850px; 
    margin: 0 auto 25px auto; 
}

/* 7. MACHINE BRANDS GRID */
.machine-section { padding: 100px 0; text-align: center; }

.section-title { 
    margin-bottom: 50px; 
    font-size: 2.2rem; 
    border-bottom: 4px solid var(--red); 
    display: inline-block; 
    padding-bottom: 10px; 
}

.machine-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px; 
}

.machine-card { 
    background: var(--light-grey); 
    padding: 40px 25px; 
    border-top: 4px solid var(--cyan); 
    transition: 0.3s ease; 
}

.machine-card:hover { 
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.mc-count { 
    font-weight: 800; 
    color: var(--red); 
    font-size: 1.3rem; 
    margin-top: 20px; 
    display: block;
}

/* 8. COMPLIANCE SECTION */
.compliance { padding: 80px 0; background: var(--light-grey); }

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

.cert { 
    background: var(--white); 
    padding: 30px; 
    border: 1px solid #eee; 
    border-radius: 8px; 
    text-align: center;
}

.cert h3 { color: var(--cyan); margin-bottom: 15px; }

/* 9. FOOTER (CENTERED & BALANCED) */
footer { 
    background: var(--dark-grey); 
    color: var(--white); 
    padding: 80px 0 30px 0; 
}

.footer-centered { 
    text-align: center; 
    max-width: 900px; 
    margin: auto;
}

.footer-centered h3 { 
    color: var(--cyan); 
    font-size: 1.8rem; 
    margin-bottom: 20px; 
}

.footer-centered p { 
    margin-bottom: 10px; 
    color: #ccc; 
    font-size: 1rem;
}

.copy { 
    margin-top: 60px; 
    font-size: 0.8rem; 
    border-top: 1px solid #333; 
    padding-top: 30px; 
    color: #777;
}

/* 10. RESPONSIVE DESIGN (FOR ALL PLATFORMS) */
@media (max-width: 1024px) {
    .grid-4, .machine-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    header { padding: 10px 0; text-align: center; }
    header .logo { height: 45px; display: block; margin: 0 auto 10px auto; }
    nav { float: none; display: block; }
    nav ul li { display: inline-block; margin: 5px 10px; }
    
    .grid-3, .grid-4, .machine-grid { grid-template-columns: 1fr; }
    
    .hero { height: 60vh; }
    .hero h1 { font-size: 2.2rem; }
    .hero h2 { font-size: 1.5rem; }

    .facility-bg { padding: 60px 0; }
    .info-box h2 { font-size: 1.8rem; }
}

@media (min-width: 992px) {
    /* Side-by-side Desktop Layout for Facility */
    .facility-flex {
        flex-direction: row;
        text-align: left;
    }
    .info-box { text-align: center; flex: 1; }
    .facility-visual { flex: 1; }
}