/* Cleaned Style for JNW Machine */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Sans-Serif', Arial; line-height: 1.6; color: #333; background: #f4f4f4; scroll-behavior: smooth; }
h1, h2, h3, h4 { font-family: 'Raleway', sans-serif; text-transform: uppercase; color: #1a1a1a; }
.container { width: 90%; max-width: 1140px; margin: auto; }

/* Header - UPDATED TO BE STICKY */
header { 
    background: #fff; 
    padding: 15px 0; /* Slightly reduced padding for a slimmer sticky bar */
    border-bottom: 3px solid #0a0a05; 
    position: sticky; /* This keeps it at the top */
    top: 0; 
    z-index: 1000; /* Ensures it stays above all other content */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Adds a shadow so it stands out while scrolling */
}

.header-flex { display: flex; justify-content: space-between; align-items: center; }
.branding h1 { font-size: 28px; letter-spacing: 1px; } /* Slightly smaller for sticky view */
.tagline { font-family: 'Raleway'; font-size: 13px; color: #666; }
nav ul { list-style: none; display: flex; }
nav li { margin-left: 20px; }
nav a { text-decoration: none; color: #333; font-weight: bold; text-transform: uppercase; font-size: 14px; }
nav a:hover { color: #c0392b; }

/* CTA Banner - UPDATED WITH IMAGE */
.cta-banner { 
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('/images/p1.jpg') no-repeat center center;
    background-size: cover; 
    color: #fff; 
    text-align: center; 
    padding: 100px 0; 
}

.cta-banner h2 { 
    font-size: 36px; 
    margin-bottom: 20px; 
    color: #fff; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); 
}

.btn { background: #fff; color: #000; padding: 12px 30px; text-decoration: none; font-weight: bold; border: 2px solid #fff; transition: 0.3s; }
.btn:hover { background: transparent; color: #fff; }

/* Content Sections */
.content-row { padding: 50px 0; text-align: center; }
.section-title { font-size: 28px; margin-bottom: 30px; position: relative; }
.section-title::after { content: ''; display: block; width: 50px; height: 3px; background: #c0392b; margin: 10px auto; }
.highlight { background: #fff; border-radius: 8px; margin-bottom: 30px; padding: 40px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 50px; }
.service-card { background: #fff; padding: 30px; border-bottom: 4px solid #0a0a05; text-align: center; }
.link-btn { display: inline-block; margin-top: 15px; color: #c0392b; text-decoration: none; font-weight: bold; }

/* Team */
.team-grid { display: flex; justify-content: center; gap: 40px; margin-top: 20px; }
.team-member { text-align: center; }

/* Footer */
footer { background: #fff; padding: 30px 0; border-top: 1px solid #ddd; margin-top: 50px; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; }
.social-links a { font-size: 20px; color: #333; margin-left: 15px; }

/* Mobile View */
@media (max-width: 768px) {
    .header-flex, .footer-flex { flex-direction: column; text-align: center; }
    nav ul { margin-top: 20px; }
    .cta-banner { padding: 60px 0; } 
    .cta-banner h2 { font-size: 24px; }
}