/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a365d;
    --primary-light: #2b6cb0;
    --accent: #3182ce;
    --accent-glow: #63b3ed;
    --text: #1a202c;
    --text-light: #718096;
    --bg: #ffffff;
    --bg-alt: #f7fafc;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ─── Navbar ──────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark {
    width: 36px; height: 36px; background: var(--primary);
    color: white; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 18px;
}
.logo-text { font-weight: 600; font-size: 18px; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-light); font-size: 15px; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--primary); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: var(--transition); }

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: var(--radius-sm); font-size: 15px;
    font-weight: 500; text-decoration: none; cursor: pointer;
    transition: var(--transition); border: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-nav { padding: 8px 20px; font-size: 14px; }
.btn-full { width: 100%; }

/* ─── Hero ────────────────────────────────────────────── */
.hero {
    position: relative; min-height: 90vh; display: flex; align-items: center;
    padding: 120px 0 80px; overflow: hidden;
}
.hero-content { max-width: 640px; position: relative; z-index: 1; }
.hero-title { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 700; line-height: 1.1; margin-bottom: 24px; }
.text-accent { color: var(--accent); }
.hero-subtitle { font-size: 1.125rem; color: var(--text-light); line-height: 1.7; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-bg {
    position: absolute; top: -20%; right: -10%; width: 60%; height: 140%;
    background: radial-gradient(ellipse at center, rgba(49,130,206,0.06) 0%, transparent 70%);
    z-index: 0;
}

/* ─── Sections ────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
    display: inline-block; font-size: 13px; font-weight: 600;
    color: var(--accent); text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 700; margin-bottom: 16px; }
.section-desc { font-size: 1.1rem; color: var(--text-light); max-width: 560px; margin: 0 auto; }

/* ─── Grid ────────────────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ─── Cards ───────────────────────────────────────────── */
.card {
    background: var(--bg); padding: 36px; border-radius: var(--radius);
    border: 1px solid var(--border); transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-icon { width: 48px; height: 48px; margin-bottom: 20px; color: var(--accent); }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* ─── Service Cards ───────────────────────────────────── */
.service-card {
    background: var(--bg); padding: 40px; border-radius: var(--radius);
    border: 1px solid var(--border); transition: var(--transition);
    position: relative;
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); }
.service-number {
    font-size: 3rem; font-weight: 700; color: var(--bg-alt);
    position: absolute; top: 16px; right: 24px; line-height: 1;
}
.service-card:hover .service-number { color: rgba(49,130,206,0.1); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 0.95rem; }

/* ─── Contact ─────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; max-width: 800px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.contact-item p { color: var(--text-light); font-size: 0.95rem; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 18px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-family: inherit; font-size: 15px;
    transition: var(--transition); background: var(--bg);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(49,130,206,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── Footer ──────────────────────────────────────────── */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-content { display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-copy { color: var(--text-light); font-size: 14px; }

/* ─── Animations ──────────────────────────────────────── */
.fade-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        background: var(--bg); flex-direction: column;
        padding: 40px 24px; gap: 24px;
        transform: translateX(100%); transition: var(--transition);
    }
    .nav-links.active { transform: translateX(0); }

    .grid-2, .grid-3 { grid-template-columns: 1fr; }

    .hero { min-height: 80vh; padding: 100px 0 60px; }
    .hero-title { font-size: 2.25rem; }

    .contact-grid { grid-template-columns: 1fr; gap: 32px; }

    .footer-content { flex-direction: column; gap: 12px; text-align: center; }
}
