/* =========================================
   NSIT Services — Main Stylesheet
   Primary: #1a2b4a (dark navy)
   Accent:  #0074d9 (bright blue)
   ========================================= */

:root {
    --nsit-primary: #1a2b4a;
    --nsit-accent: #0074d9;
    --nsit-accent-light: #3d9bff;
    --nsit-light-bg: #f4f7fb;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #2c3e50;
}

/* ---- Navbar ---- */
.nsit-navbar {
    background: var(--nsit-primary);
    padding: 0.75rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nsit-navbar .navbar-brand {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    color: #fff !important;
}
.nsit-navbar .nav-link {
    color: rgba(255,255,255,0.82) !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s;
}
.nsit-navbar .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
}
.text-nsit-accent { color: var(--nsit-accent) !important; }

/* ---- Buttons ---- */
.btn-nsit {
    background: var(--nsit-accent);
    color: #fff;
    border: none;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
}
.btn-nsit:hover {
    background: var(--nsit-accent-light);
    color: #fff;
    transform: translateY(-1px);
}
.btn-nsit-outline {
    border: 2px solid var(--nsit-accent);
    color: var(--nsit-accent);
    background: transparent;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-nsit-outline:hover {
    background: var(--nsit-accent);
    color: #fff;
}

/* ---- Hero ---- */
.nsit-hero {
    background: linear-gradient(135deg, #0f1e36 0%, #1a2b4a 50%, #0e3a6b 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.nsit-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.nsit-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
.nsit-hero .lead { font-size: 1.15rem; color: rgba(255,255,255,0.82); }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.85rem; margin-bottom: 1.5rem;
}

/* ---- Service Cards ---- */
.service-card {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    background: #fff;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,116,217,0.12);
    border-color: var(--nsit-accent);
}
.service-icon {
    width: 56px; height: 56px; border-radius: 12px;
    background: linear-gradient(135deg, var(--nsit-accent), var(--nsit-accent-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; margin-bottom: 1.2rem;
}

/* ---- Stats Section ---- */
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--nsit-accent); }
.stat-label { font-size: 0.9rem; color: #6c757d; }

/* ---- Section Headers ---- */
.section-badge {
    display: inline-block;
    background: rgba(0,116,217,0.1);
    color: var(--nsit-accent);
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--nsit-primary); }

/* ---- Feature List ---- */
.feature-check { color: var(--nsit-accent); font-size: 1.1rem; }

/* ---- Testimonials ---- */
.testimonial-card {
    background: var(--nsit-light-bg);
    border-radius: 12px;
    padding: 1.75rem;
    border-left: 4px solid var(--nsit-accent);
}
.testimonial-stars { color: #ffc107; }

/* ---- CTA Section ---- */
.nsit-cta {
    background: linear-gradient(135deg, var(--nsit-primary), #0e3a6b);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

/* ---- Footer ---- */
.nsit-footer {
    background: #0f1e36;
    color: rgba(255,255,255,0.75);
}
.nsit-footer h5, .nsit-footer h6 { color: #fff; }
.footer-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.15s;
}
.footer-link:hover { color: var(--nsit-accent-light); }

/* ---- Process Steps ---- */
.step-circle {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--nsit-accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem; margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(0,116,217,0.3);
}

/* ---- Dark mode overrides ---- */
[data-bs-theme="dark"] .service-card {
    background: #1e293b;
    border-color: rgba(255,255,255,0.1);
}
[data-bs-theme="dark"] .section-title { color: #e2eaf7; }
[data-bs-theme="dark"] .nsit-hero { background: linear-gradient(135deg, #070f1a 0%, #0f1e36 100%); }
[data-bs-theme="dark"] .testimonial-card { background: #1e293b; }
[data-bs-theme="dark"] body { background: #111827; color: #d1d9e8; }
[data-bs-theme="dark"] #theme-toggle { background: #334155; }

/* ---- Contact form ---- */
.contact-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
[data-bs-theme="dark"] .contact-card { background: #1e293b; }

/* ---- Admin ---- */
.admin-stat-card {
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--nsit-primary), #0e3a6b);
    color: #fff;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
    background: linear-gradient(135deg, #0f1e36, #1a2b4a);
    color: #fff;
    padding: 3.5rem 0 3rem;
}
.page-hero h1 { font-weight: 800; }
