:root {
    --bg-cream: #f9f8f4;       /* Soft, warm background */
    --surface-white: #ffffff;  /* Clean white for cards and nav */
    --text-black: #1a1a1a;     /* Deep charcoal for high legibility */
    --text-muted: #555555;     /* Lighter gray for secondary text */
    --tech-green: #2e7d32;     /* Professional, trustworthy forest/tech green */
    --tech-green-hover: #1b5e20;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-black);
    line-height: 1.7;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: var(--surface-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-black);
    letter-spacing: 1px;
}

.logo::after {
    content: '.';
    color: var(--tech-green);
    font-size: 2rem;
    line-height: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--tech-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-black);
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 5%;
    background-color: var(--bg-cream);
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    background-color: var(--tech-green);
    color: var(--surface-white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.btn:hover {
    background-color: var(--tech-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

/* Services Section */
.services {
    padding: 6rem 5%;
    background-color: var(--surface-white);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--text-black);
}

.services h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--tech-green);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--bg-cream);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(46, 125, 50, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--text-black);
    font-size: 1.3rem;
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--text-black);
    color: var(--bg-cream);
}

.footer-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--surface-white);
}

.footer-content p {
    color: #a0a0a0;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.9rem;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--surface-white);
        padding: 2rem 0;
        text-align: center;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 1.5rem 0;
    }
    .hamburger {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .services {
        padding: 4rem 5%;
    }
}
