:root {
    --primary: #0056b3;
    --accent: #6f42c1;
    --dark: #1a1a1a;
    --light: #f4f7f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 2rem 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span { color: var(--accent); }

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

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

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

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(45deg, rgba(0,86,179,0.8), rgba(111,66,193,0.8)), 
                url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero h1 span { color: #00d2ff; }

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s transform;
    border: none;
    cursor: pointer;
}

.btn-primary:hover { transform: translateY(-5px); background: var(--primary); }

/* Cards */
.card, .project-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card:hover { transform: translateY(-10px); }

.project-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

input, textarea {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Responsive Menu */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
}