:root {
    --primary: #ffffff;
    /* Primary Color: white */
    --secondary: #2258B5;
    /* Secondary Color */
    --ink: #0f172a;
    /* Slate-900 */
    --muted: #475569;
    /* Slate-600 */
    --card: #ffffff;
    --bg: #f8fafc;
    /* Slate-50 */
    --ring: rgba(34, 88, 181, .35);
    --shadow: 0 10px 30px rgba(2, 8, 23, .08);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

/* Buttons */
.btn-mswd {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.15rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}

.btn-mswd:focus {
    outline: none;
    box-shadow: 0 0 0 4px var(--ring);
}

.btn-mswd:hover {
    transform: translateY(-1px);
}

.btn-primary-mswd {
    background: var(--secondary);
    color: #fff;
    box-shadow: var(--shadow);
}

.btn-primary-mswd:hover {
    filter: brightness(1.05);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: #e2e8f0;
    border: 1px solid #e2e8f0;
}

.btn-report-cases {
    color: #fff;
    border-color: rgba(255, 255, 255, .65);
}

.btn-report-cases:hover {
    background: rgba(255, 255, 255, .10);
}

.chip {
    display: inline-block;
    padding: .45rem .8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .8rem;
    background: #eaf1ff;
    color: #1e40af;
    border: 1px solid #dbe7ff;
}

/* Navbar */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(10px);
    background: rgba(255, 255, 255, .85);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: inherit;
    font-weight: 800;
    letter-spacing: .2px;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    box-shadow: 0 6px 18px rgba(20, 58, 131, .12);
    background: #e5e7eb;
    border: 1px solid #e2e8f0;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    padding: .6rem .9rem;
    border-radius: 999px;
}

.nav-links a:hover {
    background: #eef2ff;
    color: #1e3a8a;
}

/* Hero */
.hero {
    position: relative;
    padding: clamp(48px, 8vw, 96px) 0 32px;
    background-image: linear-gradient(to right, rgba(2, 8, 23, .70) 0%, rgba(2, 8, 23, .50) 35%, rgba(2, 8, 23, .30) 60%, rgba(2, 8, 23, .10) 80%, rgba(2, 8, 23, 0) 100%), url(/images/bg_1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: .55;
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(34, 88, 181, .45), rgba(34, 88, 181, 0));
}

.orb.one {
    width: 520px;
    height: 520px;
    top: -120px;
    left: -120px;
}

.orb.two {
    width: 420px;
    height: 420px;
    bottom: -120px;
    right: -80px;
}

.headline {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.1;
    margin: 8px 0 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.subhead {
    color: var(--muted);
    font-size: clamp(.98rem, 1.1vw, 1.05rem);
    max-width: 48ch;
}

.hero-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 23, 42, .06);
}

.hero-tile {
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff, #f9fbff);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    transition: transform .2s ease, box-shadow .2s ease;
    height: 100%;
}

.hero-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(2, 8, 23, .08);
}

.tile-icon {
    flex: 0 0 38px;
    height: 38px;
    border-radius: 10px;
    background: #eaf1ff;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #1e3a8a;
    border: 1px solid #dbe7ff;
}

.tile-title {
    margin: 0 0 4px;
    font-weight: 700;
}

.tile-desc {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

/* Cards */
section {
    padding: 72px 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 28px;
}

.section-title {
    font-size: clamp(1.4rem, 2.1vw, 2rem);
    margin: 0;
    letter-spacing: -.01em;
}

.card-mswd {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .2s ease;
    height: 100%;
}

.card-mswd:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(2, 8, 23, .10);
}

.card-mswd h4 {
    margin: 10px 0 6px;
    font-size: 1.05rem;
}

.card-mswd p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

.card-mswd .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eaf1ff;
    display: grid;
    place-items: center;
    border: 1px solid #dbe7ff;
}

/* CTA */
.cta {
    background: linear-gradient(120deg, #2258B5 0%, #2f66c4 60%, #3b76d7 100%);
    padding: 36px;
    border-radius: var(--radius-lg);
    color: #fff;
    box-shadow: 0 20px 40px rgba(34, 88, 181, .35);
}

.cta .cta-title {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 1.9vw, 1.8rem);
}

.cta p {
    margin: 0 0 14px;
    opacity: .95;
}

.cta .cta-card {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 14px;
    padding: 14px 16px;
}

/* About */
.about {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

/* Contact */
.panel {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
}

.form {
    display: grid;
    gap: 12px;
}

.form label {
    font-weight: 600;
    font-size: .9rem;
    color: var(--muted);
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: .9rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
    font-size: .98rem;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    outline: none;
    border-color: #b3ccff;
    box-shadow: 0 0 0 4px var(--ring);
}

.form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(15, 23, 42, .06);
    background: #fff;
}

.small {
    color: var(--muted);
    font-size: .92rem;
}

/* Mobile tweaks */
@media (max-width: 640px) {
    .nav-inner {
        height: 66px;
    }

    .nav-links {
        display: none;
    }
}

/* Hero overrides for image legibility */
.hero .headline {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.hero .subhead {
    color: rgba(255, 255, 255, .95);
}

.hero .chip {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}

.hero-card {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(140%) blur(6px);
}

/* Hide decorative orbs when using a photo background */
.hero .orb {
    display: none;
}

/* Subtle parallax on large screens */
@media (min-width: 992px) {
    .hero {
        min-height: 35vh;
        background-attachment: fixed;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 48px 0 24px;
        background-position: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 48px 0;
    }

    .section-head {
        margin-bottom: 20px;
    }

    .headline {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }

    .subhead {
        max-width: 36ch;
    }
}

html,
body {
    overflow-x: hidden;
}

.section-head {
    flex-wrap: wrap;
}

.section-head .chip {
    margin-left: auto;
}

@media (max-width: 576px) {
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .section-head .chip {
        margin-left: 0;
    }
}

.chip {
    font-size: clamp(.72rem, 1.6vw, .8rem);
}

/* Footer (responsive, multi-column) */
footer.footer {
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, .06);
}

.footer-top {
    padding: 40px 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: inherit;
    font-weight: 800;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    background: #e5e7eb;
    border: 1px solid #e2e8f0;
}

.footer h5 {
    font-size: 1rem;
    margin: 0 0 .75rem;
    color: #0f172a;
}

.footer a {
    color: #475569;
    text-decoration: none;
}

.footer a:hover {
    color: #2258B5;
    text-decoration: underline;
}

.footer small,
.footer p {
    color: #475569;
}

.footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, .06);
    padding: 16px 0;
}

.footer a {
    display: inline-block;
    margin: .125rem 0;
}

@media (max-width: 576px) {
    .footer-top {
        padding: 28px;
    }

    .footer .row>[class^='col-'] {
        text-align: left;
    }

    .footer-bottom .container {
        gap: .5rem;
    }
}
