:root {
    --primary-color: #2a8df2;    /* Electric Blue from Logo */
    --accent-hover: #1a73d9;
    --bg-dark: #0f172a;          /* Deep Navy Background */
    --bg-alt: #1e293b;           /* Card/Section Background */
    --bg-input: #2a3b50;         /* Muted Input Background */
    --text-main: #ffffff;
    --text-muted: #a1adc7;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.accent { color: var(--primary-color); }

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn-secondary {
    border: 2px solid var(--text-muted);
    color: white;
    padding: 10px 26px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    margin-left: 10px;
    transition: var(--transition);
}

.btn-secondary:hover { border-color: var(--primary-color); color: var(--primary-color); }

/* Navigation */
.navbar { padding: 25px 0; position: fixed; width: 100%; top: 0; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(10px); z-index: 1000; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.2rem; font-weight: 700; letter-spacing: 1px; text-decoration: none; color: white; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.nav-links a:hover { color: var(--primary-color); }

/* Hero Section */
.hero { height: 100vh; display: flex; align-items: center; padding-top: 80px; }
.hero-label { font-size: 0.9rem; letter-spacing: 2px; font-weight: 700; margin-bottom: 10px; }
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; }
.hero-subtext { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 35px; }

/* Sections */
.section { padding: 100px 0; }
.bg-alt { background-color: var(--bg-alt); }
.section-title { font-size: 2.5rem; margin-bottom: 50px; }

/* Services Card */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--bg-alt); padding: 40px; border-radius: 12px; transition: var(--transition); border: 1px solid rgba(255,255,255,0.05); }
.card:hover { border-color: var(--primary-color); transform: translateY(-10px); }
.card h3 { margin: 15px 0; }
.card p { color: var(--text-muted); }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.project-card { background: var(--bg-dark); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.project-img { height: 250px; background: #2a3b50; }
.project-info { padding: 25px; }

/* Contact Form */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form { background: var(--bg-alt); padding: 40px; border-radius: 12px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; margin-bottom: 15px; background: var(--bg-input); border: 1px solid transparent; border-radius: 8px; color: white; font-family: inherit;
}
.contact-form input:focus { border-color: var(--primary-color); outline: none; }

footer { padding: 40px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .contact-wrapper, .portfolio-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Add a hamburger menu later if needed */
}