/* Core Variables for easy color changes */
:root {
    --primary-blue: #0056b3;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Layout Classes */
.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 20px 0;
}

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

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

header h1 {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
#hero {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 20px;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

#hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Typography & Components */
.section-title {
    text-align: center;
    color: var(--primary-blue);
    margin: 40px 0 20px;
    font-size: 2rem;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.card .subtitle {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Grid Layout for Services */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

/* Footer */
footer {
    background: #222222;
    color: var(--white);
    padding: 40px 20px 20px;
    margin-top: 40px;
}

footer h2 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-info {
    margin-bottom: 30px;
}

.footer-info p {
    margin-bottom: 8px;
    color: #cccccc;
}

.copyright {
    font-size: 0.9rem;
    color: #888888;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
    #hero h2 {
        font-size: 2rem;
    }
}