/* Reset / base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #0f172a; /* slate-900 */
    background: #ffffff;
    line-height: 1.6;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Global link styles */
a {
    color: #1d4ed8; /* blue-700 */
    text-decoration: none;
}

a:hover,
a:focus {
    color: #1e40af; /* darker blue */
    text-decoration: underline;
}

a:visited {
    color: #1d4ed8; /* keep same as normal, no purple */
}

/* Top bar */
.topbar {
    background: #1e1b4b; /* indigo-950 */
    color: #fff;
    font-size: 0.875rem;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.topbar a {
    color: #e0e7ff; /* indigo-100 */
}

.topbar a:hover,
.topbar a:focus {
    color: #fff;
    text-decoration: underline;
}

.topbar a:visited {
    color: #e0e7ff;
}

/* Navigation bar */
.navbar {
    background: #f8fafc; /* slate-50 */
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.navbar .container {
    padding: 0.75rem 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #475569; /* slate-600 */
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link:focus {
    color: #1e293b; /* slate-800 */
    text-decoration: underline;
}

.nav-link:visited {
    color: #475569;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: linear-gradient(to right, #eef2ff, #ffffff);
}

.hero-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #c7d2fe 0%, #eef2ff 100%);
    opacity: 0.25;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.hero-text { z-index: 1; }

.pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 600;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.hero-title {
    font-size: 2.5rem;
    margin: 0.5rem 0;
    font-weight: 900;
    color: #1e1b4b;
}

.hero-sub {
    display: block;
    font-size: 1.125rem;
    color: #475569;
    font-weight: 500;
}

.lead {
    font-size: 1.125rem;
    color: #334155;
    margin-bottom: 1rem;
}

/* Skills list (replaces pills) */
.skills-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1.2rem 0;
    color: #1e293b; /* slate-800 */
    font-size: 1rem;
    line-height: 1.6;
}
.skills-list li { margin-bottom: 0.4rem; }

/* CTA buttons â€" unified styles */
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, border 0.2s;
    text-align: center;
}

/* Primary */
.btn-primary {
    background: #3730a3;
    color: #fff;
}
.btn-primary:hover { background: #312e81; }

/* Secondary */
.btn-secondary {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
}
.btn-secondary:hover { background: #f1f5f9; }

/* Hero image */
.hero-img img {
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Trust strip */
.trust {
    background: #1e1b4b;
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 1rem 0;
}
.trust-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Section */
.section { padding: 4rem 0; }
.section-alt { background: #f8fafc; }

.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #1e293b;
}
.muted { color: #64748b; font-size: 1rem; margin-bottom: 2rem; }

/* Grid */
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Card */
.card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); }

.card-title { font-size: 1.25rem; font-weight: 700; margin: 0.5rem 0; }
.card-text { font-size: 0.95rem; color: #334155; }

.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}

/* Tags */
.tag-row {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.tag {
    font-size: 0.75rem;
    background: #f1f5f9;
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    color: #475569;
}

/* Service cards */
.svc-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
}
.svc-card h3 { margin-top: 0; font-size: 1.125rem; font-weight: 700; color: #1e293b; }
.svc-card p { color: #475569; font-size: 0.95rem; }

/* Footer */
.footer {
    background: #1e1b4b;
    color: #cbd5e1;
    padding: 1.5rem 0;
    font-size: 0.875rem;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.foot-strong { font-weight: 700; color: #fff; }

.foot-muted a { color: #e0e7ff; text-decoration: none; }
.foot-muted a:hover { color: #fff; text-decoration: underline; }
.foot-muted a:visited { color: #e0e7ff; }

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-img { order: -1; }
    .cta-row { justify-content: center; }
    .btn { min-width: 48%; }

    /* Remove bullet points on mobile */
    .skills-list {
        list-style: none;
        padding-left: 0;
    }

    /* Add left/right padding to topbar and navbar on mobile */
    .topbar .container,
    .navbar .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Adjust navigation for mobile */
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.btn a,
.btn {
    color: #1E1B4B !important; /* or whatever color you want */
}