/* --- 1. Variables & Reset --- */
:root {
    --primary: #0f172a; /* Deep Navy (Professional) */
    --accent: #3b82f6;  /* Bright Blue (Action) */
    --text-dark: #334155;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- 2. Utility Classes --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #2563eb; }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }

.section-padding { padding: 80px 0; }
.text-center { text-align: center; }

/* --- 3. Navigation --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--primary); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* Mobile Menu Toggle */
.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

/* --- 4. Hero Section (Global) --- */
.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 120px 0 60px; /* Top padding accounts for fixed nav */
    text-align: center;
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; }

/* Home Hero Specific */
.home-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8)), url('https://source.unsplash.com/random/1920x1080/?office,tech');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; color: var(--text-light); }

/* --- 5. Services Grid --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid #e2e8f0;
}

.card:hover { transform: translateY(-5px); border-color: var(--accent); }
.card i { font-size: 2rem; color: var(--accent); margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; color: var(--primary); }

/* --- 6. About Section --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-img { border-radius: 8px; overflow: hidden; }

/* --- 7. Forms --- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-family: inherit;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* --- 8. Footer --- */
footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 { color: var(--white); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--white); }
.copyright { text-align: center; border-top: 1px solid #1e293b; padding-top: 20px; }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        position: fixed;
        background: var(--white);
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
    }
    .nav-links.active { left: 0; }
    .home-hero h1 { font-size: 2.5rem; }
    .split-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}