* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0078d4;
    --primary-dark: #005a9e;
    --secondary: #50e6ff;
    --text: #323130;
    --text-light: #605e5c;
    --bg: #ffffff;
    --bg-light: #f3f2f1;
    --border: #edebe9;
    --success: #107c10;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

    body.nav-open {
        overflow: hidden;
    }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

    .nav-links a {
        color: var(--text);
        text-decoration: none;
        font-weight: 600;
        font-size: 1.025rem;
        padding: 0.5rem 0.25rem;
        border-radius: 6px;
        transition: color 0.2s ease, background-color 0.2s ease, transform 0.1s ease;
        letter-spacing: 0.2px;
    }

        .nav-links a:hover {
            color: var(--primary);
            background-color: rgba(0, 120, 212, 0.08);
        }

        .nav-links a:active {
            transform: scale(0.98);
        }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
}

/* Close button inside menu */
.nav-close-wrap {
    display: none;
}

.nav-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
    align-self: flex-end;
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
        font-weight: 600;
    }

    .hero p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        opacity: 0.95;
    }

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

.btn-primary {
    background: var(--primary);
    color: white;
}

    .btn-primary:hover {
        background: var(--primary-dark);
    }

section {
    padding: 5rem 0;
}

    section:nth-child(even) {
        background: var(--bg-light);
    }

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
    text-align: center;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }

    .service-card h3 {
        color: var(--primary);
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .service-card p {
        color: var(--text-light);
        line-height: 1.7;
    }

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.tech-badge {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    color: var(--text);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.75rem;
    color: var(--text);
    font-size: 1.25rem;
}

.step p {
    color: var(--text-light);
}

.team-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cta-section {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

    .cta-section h2 {
        color: white;
        margin-bottom: 1.5rem;
    }

    .cta-section p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        opacity: 0.95;
    }

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: var(--text);
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 0.875rem;
        border: 1px solid var(--border);
        border-radius: 4px;
        font-size: 1rem;
        font-family: inherit;
    }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

.error {
    color: #a4262c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    background: var(--success);
    color: white;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
}

footer {
    background: var(--text);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

    .footer-section a:hover {
        opacity: 1;
    }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--bg);
        padding: 2rem;
        flex-direction: column;
        gap: 1rem;
        display: none;
        z-index: 1000;
    }

        .nav-links.show {
            display: flex;
        }

        .nav-links a {
            font-size: 1.25rem;
            padding: 0.75rem 0.5rem;
        }

    .nav-close-wrap {
        display: block;
        text-align: right;
        margin-bottom: 1rem;
    }

    .nav-toggle {
        display: inline-block;
    }

    nav {
        position: relative;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0;
    }
}
