/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Variables */
:root {
    --primary: #00f2ff; /* Neon Cyan */
    --secondary: #7000ff; /* Neon Purple */
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-light: #f4f4f4;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 10, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
}

.highlight { color: var(--primary); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #00c8d4;
    box-shadow: 0 0 15px var(--primary);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.7rem 1.4rem;
    border-radius: 5px;
    font-weight: bold;
    margin-left: 10px;
    transition: 0.3s;
}

.btn-secondary:hover { background: rgba(0, 242, 255, 0.1); }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    margin-top: 60px;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 2rem; color: #aaa; }

/* Services Grid */
.services { padding: 5rem 10%; background: #0f0f0f; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; }

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid #333;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }

/* About Section & Code Block */
.about { padding: 5rem 10%; }
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.code-block {
    background: #1e1e1e;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    font-family: 'Courier New', monospace;
    color: #a9b7c6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Contact Form */
.contact { padding: 5rem 10%; background: #0f0f0f; text-align: center; }
.contact form { max-width: 600px; margin: 2rem auto; }

.input-group { display: flex; gap: 1rem; margin-bottom: 1rem; }
input, textarea {
    width: 100%;
    padding: 1rem;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 1rem;
}

input:focus, textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 10%;
}

.socials a { margin-left: 1rem; font-size: 1.2rem; color: #888; }
.socials a:hover { color: var(--primary); }

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Add JS toggle for mobile menu later */
    .about-container { flex-direction: column; }
    .input-group { flex-direction: column; }
    footer { flex-direction: column; gap: 1rem; }
}