﻿/* ===== CSS VARIABLES: mellow modern ===== */
:root {
    --sb-primary: #5B8DEF; /* soft blue */
    --sb-primary-700: #3D6FD4;
    --sb-ink: #0f172a; /* slate-900-ish */
    --sb-body: #1e293b; /* slate-800 */
    --sb-muted: #64748b; /* slate-500 */
    --sb-gradient-1: #0f172a; /* deep navy */
    --sb-gradient-2: #243b55; /* cool steel */
    --sb-hero-overlay: linear-gradient(180deg, rgba(15,23,42,.65), rgba(36,59,85,.75));
}

/* Global text & headings */
body {
    font-family: "Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
    color: var(--sb-body);
}

h1, h2, h3, h4, h5 {
    color: var(--sb-ink);
}

/* Brand buttons */
.btn-primary {
    background: var(--sb-primary);
    border-color: var(--sb-primary);
}

    .btn-primary:hover {
        background: var(--sb-primary-700);
        border-color: var(--sb-primary-700);
    }

/* Navbar gradient like premium kits */
.sb-bg-gradient {
    background: linear-gradient(90deg, var(--sb-gradient-1), var(--sb-gradient-2));
}

/* Hero: soft gradient over subtle abstract image (optional) */
.sb-hero {    
    min-height: 25vh;
    background: var(--sb-hero-overlay), url("/images/Hero-tech.jpg") center/cover no-repeat;
    display: flex;
}

    .sb-hero .lead {
        font-size: 1.15rem;
    }

@media (min-width: 992px) {
    .sb-hero {
        min-height: 25vh;
    }
}

/* Icons in feature cards */
.sb-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(91,141,239,.12);
    color: var(--sb-primary);
    font-size: 1.25rem;
}

/* CTA card */
.sb-cta {
    background: linear-gradient(180deg, #fff, #f8fafc);
}

/* Footer inherits currentColor for the wave */
.sb-footer {
    color: #1f2937;
}
/* Section helpers */
.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Soft gradient section topper (used in About/Contact headers) */
.sb-section-gradient {
    background: linear-gradient(90deg, var(--sb-gradient-1), var(--sb-gradient-2));
}

/* Validation messages look nicer */
.validation-message, .field-validation-error {
    color: #b91c1c;
    font-size: .9rem;
}

.code-window {
    white-space: pre;
    overflow: auto;
    max-height: 420px !important;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: .9rem;
    border-radius: .5rem;
    padding: 1rem;
    background: #0f172a;
    color: #e5e7eb;
}