* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

header, footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.header-inner img {
    max-width: 200px;
    margin: 10px 20px;
}

nav {
    background: #0055a5;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: white;
    padding: 14px 20px;
    display: block;
    text-decoration: none;
    transition: background 0.3s;
}

nav a:hover {
    background: #003366;
}

.container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #003366;
}

.services, .projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card h3 {
    margin-top: 0;
    color: #0055a5;
}

.contact-info {
    text-align: center;
    padding: 40px 20px;
    background: #e9f1f7;
    color: #333;
}

.contact-info p {
    margin: 8px 0;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.5em;
    }
    nav a {
        padding: 10px;
        font-size: 0.95em;
    }
}
