/* Minimal original styles — replaced/augmented when you drop in the licensed
   Aigocy assets/css/style.css. Keep selectors generic so they coexist. */

:root {
    --brand-primary: #4f46e5;
    --brand-dark: #0f172a;
    --brand-soft: #f5f7ff;
}

body { font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1e293b; }

.site-header .navbar-brand .text-primary { color: var(--brand-primary) !important; }
.btn-primary { background: var(--brand-primary); border-color: var(--brand-primary); }
.btn-primary:hover, .btn-primary:focus { background: #4338ca; border-color: #4338ca; }
.text-primary { color: var(--brand-primary) !important; }

.hero-section {
    background: linear-gradient(135deg, var(--brand-soft) 0%, #ffffff 100%);
    padding: 4.5rem 0 5rem;
}
.hero-eyebrow {
    display: inline-block; background: rgba(79, 70, 229, .08);
    color: var(--brand-primary); padding: .35rem .9rem; border-radius: 999px;
    font-size: .82rem; font-weight: 600; letter-spacing: .04em;
}
.hero-section h1 { font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }

.service-card {
    border: 1px solid #e2e8f0; border-radius: 14px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.service-card:hover {
    transform: translateY(-3px); box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.section { padding: 4rem 0; }
.section-eyebrow { color: var(--brand-primary); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
.section h2 { font-weight: 800; letter-spacing: -.02em; }

.fs-13 { font-size: .82rem; }

.site-footer a:hover { color: #fff !important; }

/* ---------- Navbar mega-menus (Products / Solutions / Services) ---------- */
.mega-menu { border-radius: 14px; margin-top: .4rem; }

.mega-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .15rem; }

.mega-item {
    display: flex; align-items: flex-start; gap: .65rem; min-width: 0;
    padding: .55rem .6rem; border-radius: 10px;
    color: #1e293b; text-decoration: none;
    transition: background .12s ease;
}
.mega-item:hover { background: var(--brand-soft); color: #1e293b; }

.mega-ico {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem; background: #eef1ff; color: #5b6cff;
}
/* Rotating, theme-matching icon backgrounds (cycled by item index → ic-0..ic-7). */
.mega-ico.ic-0 { background: #fff0ec; color: #ff4d2d; }
.mega-ico.ic-1 { background: #fdecf3; color: #ff2e6f; }
.mega-ico.ic-2 { background: #eef1ff; color: #5b6cff; }
.mega-ico.ic-3 { background: #e9f8ef; color: #1aa35a; }
.mega-ico.ic-4 { background: #fff4e3; color: #e08a00; }
.mega-ico.ic-5 { background: #e8f7fb; color: #0aa2c0; }
.mega-ico.ic-6 { background: #f1ecfe; color: #7c4dff; }
.mega-ico.ic-7 { background: #fdeee9; color: #d9480f; }
.mega-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mega-name { font-weight: 600; font-size: .92rem; }
.mega-sub {
    font-size: .78rem; color: #64748b;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

@media (min-width: 992px) {
    .mega-menu { width: 800px; padding: 1rem !important; }
    .mega-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .25rem; }
    /* Open on hover for a snappier desktop mega-menu (click still works too). */
    .site-header .navbar-nav .nav-item.dropdown:hover > .dropdown-menu { display: block; }
}
