/* --- Basic Reset and Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; /* Light background */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 60px 0;
}

/* --- Color Palette & Variables --- */
:root {
    --primary-color: #007BFF; /* Standard Blue */
    --accent-color: #ff4500; /* Vibrant Orange/Red accent */
    --text-color: #333;
    --dark-color: #212529; /* Near Black for header/footer */
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2em;
    color: var(--dark-color);
    border-bottom: 3px solid var(--accent-color); /* Accent color under headings */
    display: inline-block;
    padding-bottom: 5px;
}

/* --- Header & Navigation (Flexbox) --- */
header {
    background-color: var(--dark-color);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--accent-color);
}

nav ul {
    display: flex;
}

nav ul li a {
    color: white;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: var(--primary-color);
}

/* --- Hero Section (Background Image Placeholder) --- */
.hero {
    /* Placeholder industrial background */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://via.placeholder.com/1920x600/343a40/ffffff?text=Industrial+Machinery+Background') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 150px 20px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #cc3700; 
    transform: translateY(-2px);
}

/* --- About Section --- */
.about-us {
    background-color: white;
}

.about-content {
    /* Simple multi-column layout for desktop */
    column-count: 2;
    column-gap: 40px;
    text-align: justify;
}

.about-content p {
    margin-bottom: 15px;
}

/* --- Services Section (CSS Grid) --- */
.services {
    background-color: #e9ecef;
}

.service-grid {
    display: grid;
    /* Creates a responsive grid with minimum 250px columns */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-card i {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- Contact Section --- */
.contact {
    text-align: center;
}

.contact p {
    margin-bottom: 30px;
    font-size: 1.1em;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input,
.contact textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    font-size: 1em;
}

/* --- Footer (Flexbox) --- */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 10px 0;
    font-size: 0.9em;
}

footer .container {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
    margin-bottom: 10px;
}

.footer-info h3, .footer-links h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-info p {
    margin-bottom: 8px;
    color: #ccc;
}

.footer-info i {
    margin-right: 10px;
}

.footer-links ul li a {
    display: block;
    padding: 4px 0;
    color: #ccc;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding: 10px 0;
    color: #aaa;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
    /* Header Stacked */
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        padding-top: 10px;
    }

    nav ul li a {
        padding: 8px 0;
        text-align: center;
    }

    /* Hero Padding Adjusted */
    .hero {
        padding: 100px 20px;
    }

    /* About Section becomes single column */
    .about-content {
        column-count: 1;
    }

    /* Footer Stacked */
    footer .container {
        flex-direction: column;
        gap: 30px;
    }
}