/* ==========================================================================
   Serious Contact - site styles (layered on Bootstrap 5)
   Palette and section patterns follow the Enterprise Information
   Technologies, Inc. brand family (enterprise-it.com).
   ========================================================================== */

:root {
     --sc-navy: #0a1628;
     --sc-navy-light: #0f2040;
     --sc-blue: #0078d4;
     --sc-blue-dark: #005a9e;
     --sc-cyan: #00b4d8;
     --sc-light: #f0f4f8;
     --sc-light-2: #dbeafe;
     --sc-gray: #64748b;
     --sc-dark-text: #1e293b;
     --sc-border: #e2e8f0;
     --sc-grad-hero: linear-gradient(135deg, rgba(10,22,40,.97) 0%, rgba(0,78,140,.65) 60%, rgba(0,180,216,.18) 100%);
     --sc-grad-cta: linear-gradient(135deg, #003f7f 0%, #0078d4 55%, #00b4d8 100%);
     --sc-heading-font: "Arial Black", "Segoe UI Black", "Helvetica Neue", Arial, system-ui, sans-serif;
     --bs-primary: #0078d4;
     --bs-primary-rgb: 0, 120, 212;
     --bs-link-color: #0078d4;
     --bs-link-color-rgb: 0, 120, 212;
     --bs-link-hover-color: #005a9e;
     --bs-link-hover-color-rgb: 0, 90, 158;
     --bs-body-color: #1e293b;
}

html {
     scroll-behavior: smooth;
}

body {
     color: var(--sc-dark-text);
     background: #fff;
}

h1:focus {
     outline: none;
}

/* Large Bootstrap gutters (g-5) are wider than the container padding on phones; clip the overhang. */
main > section, .site-footer {
     overflow-x: clip;
}

.font-heading,
.hero-title,
.section-title,
.cta-title,
.page-hero h1 {
     font-family: var(--sc-heading-font);
     font-weight: 900;
     letter-spacing: -.01em;
}

/* ---------- Buttons ---------- */
.btn-primary {
     --bs-btn-bg: var(--sc-blue);
     --bs-btn-border-color: var(--sc-blue);
     --bs-btn-hover-bg: var(--sc-blue-dark);
     --bs-btn-hover-border-color: var(--sc-blue-dark);
     --bs-btn-active-bg: var(--sc-blue-dark);
     --bs-btn-active-border-color: var(--sc-blue-dark);
     font-weight: 600;
}

.btn-sc {
     padding: .8rem 1.6rem;
     border-radius: .4rem;
     font-weight: 600;
}

.btn-outline-glass {
     color: #fff;
     border: 1.5px solid rgba(255,255,255,.45);
     background: rgba(255,255,255,.04);
}

     .btn-outline-glass:hover {
          color: #fff;
          background: rgba(255,255,255,.14);
          border-color: #fff;
     }

.btn-white {
     background: #fff;
     color: var(--sc-blue);
     font-weight: 600;
}

     .btn-white:hover {
          background: var(--sc-light);
          color: var(--sc-blue-dark);
     }

/* ---------- Top bar & navbar ---------- */
.top-bar {
     background: var(--sc-navy);
     color: rgba(255,255,255,.75);
     font-size: .8rem;
     padding: .45rem 0;
}

     .top-bar a {
          color: rgba(255,255,255,.75);
          text-decoration: none;
     }

          .top-bar a:hover {
               color: #fff;
          }

     .top-bar .sep {
          opacity: .35;
          margin: 0 .75rem;
     }

     .top-bar .badge-launch {
          background: rgba(0,180,216,.15);
          color: var(--sc-cyan);
          border: 1px solid rgba(0,180,216,.35);
          border-radius: 2rem;
          padding: .1rem .6rem;
          font-weight: 600;
          letter-spacing: .04em;
     }

.site-nav {
     background: #fff;
     box-shadow: 0 1px 0 var(--sc-border);
     padding: .9rem 0;
     z-index: 1030;
}

     .site-nav .navbar-brand {
          display: flex;
          align-items: center;
          gap: .6rem;
     }

.brand-word {
     font-family: var(--sc-heading-font);
     font-weight: 900;
     font-size: 1.15rem;
     line-height: 1;
     color: var(--sc-navy);
     text-transform: uppercase;
     letter-spacing: .02em;
}

     .brand-word span {
          color: var(--sc-blue);
     }

.site-footer .brand-word {
     color: #fff;
}

     .site-footer .brand-word span {
          color: var(--sc-cyan);
     }

.site-nav .nav-link {
     color: var(--sc-dark-text);
     font-weight: 500;
     padding: .5rem .9rem !important;
}

     .site-nav .nav-link:hover,
     .site-nav .nav-link.active {
          color: var(--sc-blue);
     }

.site-nav .dropdown-menu {
     border: 1px solid var(--sc-border);
     box-shadow: 0 12px 32px rgba(10,22,40,.12);
     border-radius: .6rem;
     padding: .5rem;
}

.site-nav .dropdown-item {
     border-radius: .4rem;
     padding: .55rem .8rem;
}

     .site-nav .dropdown-item i {
          color: var(--sc-blue);
          width: 1.4rem;
          display: inline-block;
     }

     .site-nav .dropdown-item:active {
          background: var(--sc-blue);
     }

          .site-nav .dropdown-item:active i {
               color: #fff;
          }

/* ---------- Hero ---------- */
.hero {
     position: relative;
     background: var(--sc-navy);
     color: #fff;
     overflow: hidden;
     padding: 6rem 0 5rem;
}

     .hero::before {
          content: "";
          position: absolute;
          inset: 0;
          background: radial-gradient(circle at 80% 20%, rgba(0,180,216,.18), transparent 45%), var(--sc-grad-hero);
     }

     .hero::after {
          /* subtle grid */
          content: "";
          position: absolute;
          inset: 0;
          background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
          background-size: 48px 48px;
          mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
     }

     .hero > .container {
          position: relative;
          z-index: 1;
     }

.hero-eyebrow {
     display: inline-flex;
     align-items: center;
     gap: .5rem;
     font-size: .75rem;
     font-weight: 700;
     letter-spacing: .12em;
     text-transform: uppercase;
     color: var(--sc-cyan);
     background: rgba(0,180,216,.08);
     border: 1px solid rgba(0,180,216,.35);
     border-radius: 2rem;
     padding: .4rem 1rem;
     margin-bottom: 1.5rem;
}

     .hero-eyebrow .dot {
          width: .45rem;
          height: .45rem;
          border-radius: 50%;
          background: var(--sc-cyan);
          box-shadow: 0 0 0 0 rgba(0,180,216,.6);
          animation: sc-pulse 2s infinite;
     }

@keyframes sc-pulse {
     0% {
          box-shadow: 0 0 0 0 rgba(0,180,216,.6);
     }

     70% {
          box-shadow: 0 0 0 .5rem rgba(0,180,216,0);
     }

     100% {
          box-shadow: 0 0 0 0 rgba(0,180,216,0);
     }
}

.hero-title {
     font-size: clamp(2.5rem, 5.5vw, 4.25rem);
     line-height: 1.05;
     margin-bottom: 1.5rem;
}

     .hero-title .accent {
          color: var(--sc-cyan);
     }

.hero-lead {
     font-size: 1.15rem;
     line-height: 1.75;
     color: rgba(255,255,255,.75);
     max-width: 34rem;
     margin-bottom: 2.25rem;
}

/* Glass card used in hero */
.glass-card {
     background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
     border: 1px solid rgba(255,255,255,.14);
     border-radius: 1.25rem;
     padding: 1.75rem;
     backdrop-filter: blur(8px);
     box-shadow: 0 30px 60px rgba(0,0,0,.25);
}

     .glass-card .glass-label {
          font-size: .68rem;
          letter-spacing: .14em;
          text-transform: uppercase;
          color: rgba(255,255,255,.5);
          padding-bottom: 1rem;
          border-bottom: 1px solid rgba(255,255,255,.1);
          margin-bottom: .5rem;
     }

.contact-row {
     display: flex;
     align-items: center;
     gap: 1rem;
     padding: .9rem 0;
     border-bottom: 1px solid rgba(255,255,255,.08);
}

     .contact-row:last-of-type {
          border-bottom: 0;
     }

     .contact-row .avatar {
          flex: 0 0 2.6rem;
          height: 2.6rem;
          border-radius: .6rem;
          display: grid;
          place-items: center;
          background: rgba(0,120,212,.25);
          color: var(--sc-cyan);
          font-size: 1.15rem;
     }

     .contact-row .name {
          font-weight: 700;
          color: #fff;
          line-height: 1.2;
     }

     .contact-row .meta {
          font-size: .78rem;
          color: rgba(255,255,255,.55);
     }

     .contact-row .status {
          margin-left: auto;
          font-size: .68rem;
          font-weight: 700;
          letter-spacing: .06em;
          text-transform: uppercase;
          border-radius: 2rem;
          padding: .2rem .6rem;
          white-space: nowrap;
     }

.status-ok {
     background: rgba(34,197,94,.15);
     color: #4ade80;
}

.status-due {
     background: rgba(250,204,21,.15);
     color: #facc15;
}

.status-sync {
     background: rgba(0,180,216,.15);
     color: var(--sc-cyan);
}

/* ---------- Stats bar ---------- */
.stats-bar {
     background: var(--sc-blue);
     color: #fff;
     padding: 2.25rem 0;
}

     .stats-bar .stat-value {
          font-family: var(--sc-heading-font);
          font-size: 2rem;
          line-height: 1.1;
     }

     .stats-bar .stat-label {
          font-size: .85rem;
          color: rgba(255,255,255,.8);
     }

     .stats-bar .col + .col {
          border-left: 1px solid rgba(255,255,255,.2);
     }

@media (max-width: 767.98px) {
     .stats-bar .col + .col {
          border-left: 0;
     }
}

/* ---------- Sections ---------- */
.py-section {
     padding: 5.5rem 0;
}

.bg-light-sc {
     background: var(--sc-light);
}

.section-eyebrow {
     display: inline-flex;
     align-items: center;
     gap: .6rem;
     font-size: .75rem;
     font-weight: 700;
     letter-spacing: .14em;
     text-transform: uppercase;
     color: var(--sc-blue);
     margin-bottom: .9rem;
}

     .section-eyebrow::before {
          content: "";
          width: 1.75rem;
          height: 2px;
          background: currentColor;
     }

.section-title {
     font-size: clamp(1.9rem, 3.5vw, 2.6rem);
     color: var(--sc-navy);
     line-height: 1.15;
     margin-bottom: 1rem;
}

.section-lead {
     color: var(--sc-gray);
     font-size: 1.08rem;
     line-height: 1.75;
     max-width: 46rem;
}

.text-center .section-lead {
     margin-left: auto;
     margin-right: auto;
}

/* Dark section */
.section-dark {
     background: var(--sc-navy);
     color: #fff;
     position: relative;
     overflow: hidden;
}

     .section-dark::before {
          content: "";
          position: absolute;
          inset: 0;
          background: radial-gradient(circle at 10% 90%, rgba(0,120,212,.25), transparent 50%);
     }

     .section-dark > .container {
          position: relative;
     }

     .section-dark .section-title {
          color: #fff;
     }

     .section-dark .section-lead {
          color: rgba(255,255,255,.7);
     }

     .section-dark .section-eyebrow {
          color: var(--sc-cyan);
     }

/* ---------- Cards ---------- */
.feature-card {
    /* height: 100%;*/
     background: #fff;
     border: 1px solid var(--sc-border);
     border-radius: 1rem;
     padding: 2rem;
     transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

     .feature-card:hover {
          transform: translateY(-4px);
          box-shadow: 0 18px 40px rgba(10,22,40,.10);
          border-color: rgba(0,120,212,.35);
     }

     .feature-card h3, .feature-card h4 {
          font-size: 1.2rem;
          font-weight: 700;
          color: var(--sc-navy);
          margin-bottom: .6rem;
     }

     .feature-card p {
          color: var(--sc-gray);
          margin-bottom: 0;
          line-height: 1.7;
     }

     .feature-card ul {
          color: var(--sc-gray);
          padding-left: 1.1rem;
          margin: .75rem 0 0;
     }

          .feature-card ul li {
               margin-bottom: .3rem;
          }

.icon-tile {
     width: 3.25rem;
     height: 3.25rem;
     border-radius: .8rem;
     display: grid;
     place-items: center;
     font-size: 1.5rem;
     color: var(--sc-blue);
     background: var(--sc-light-2);
     margin-bottom: 1.25rem;
}

     .icon-tile.cyan {
          color: #007f99;
          background: rgba(0,180,216,.15);
     }

     .icon-tile.navy {
          color: #fff;
          background: var(--sc-navy);
     }

.feature-card.dark {
     background: rgba(255,255,255,.04);
     border-color: rgba(255,255,255,.1);
}

     .feature-card.dark:hover {
          border-color: rgba(0,180,216,.5);
          box-shadow: none;
     }

     .feature-card.dark h3, .feature-card.dark h4 {
          color: #fff;
     }

     .feature-card.dark p {
          color: rgba(255,255,255,.65);
     }

     .feature-card.dark .icon-tile {
          background: rgba(0,120,212,.2);
          color: var(--sc-cyan);
     }

/* Entity type cards (People / Orgs / Things) */
.entity-card {
     position: relative;
     overflow: hidden;
}

     .entity-card .entity-tag {
          position: absolute;
          top: 1.25rem;
          right: 1.25rem;
          font-size: .68rem;
          font-weight: 700;
          letter-spacing: .1em;
          text-transform: uppercase;
          color: var(--sc-gray);
     }

     .entity-card .entity-fields {
          display: flex;
          flex-wrap: wrap;
          gap: .4rem;
          margin-top: 1rem;
     }

          .entity-card .entity-fields span {
               font-size: .75rem;
               padding: .25rem .6rem;
               border-radius: 2rem;
               background: var(--sc-light);
               color: var(--sc-dark-text);
               border: 1px solid var(--sc-border);
          }

/* Steps */
.step {
     position: relative;
     padding-left: 4.25rem;
}

     .step .step-num {
          position: absolute;
          left: 0;
          top: 0;
          width: 3rem;
          height: 3rem;
          border-radius: 50%;
          display: grid;
          place-items: center;
          font-family: var(--sc-heading-font);
          color: #fff;
          background: var(--sc-grad-cta);
          box-shadow: 0 8px 20px rgba(0,120,212,.3);
     }

     .step h4 {
          font-size: 1.15rem;
          font-weight: 700;
          color: var(--sc-navy);
     }

     .step p {
          color: var(--sc-gray);
     }

/* Check list */
.check-list {
     list-style: none;
     padding: 0;
     margin: 0;
}

     .check-list li {
          position: relative;
          padding-left: 1.9rem;
          margin-bottom: .8rem;
          line-height: 1.6;
     }

          .check-list li::before {
               font-family: "bootstrap-icons";
               content: "\F26B"; /* check-circle-fill */
               position: absolute;
               left: 0;
               top: .05rem;
               color: var(--sc-blue);
          }

.section-dark .check-list li::before {
     color: var(--sc-cyan);
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
     position: relative;
     background: var(--sc-navy);
     color: #fff;
     padding: 4.5rem 0 4rem;
     overflow: hidden;
}

     .page-hero::before {
          content: "";
          position: absolute;
          inset: 0;
          background: var(--sc-grad-hero);
     }

     .page-hero > .container {
          position: relative;
     }

     .page-hero h1 {
          font-size: clamp(2.1rem, 4.5vw, 3.2rem);
          margin-bottom: 1rem;
     }

     .page-hero p {
          color: rgba(255,255,255,.75);
          font-size: 1.1rem;
          max-width: 44rem;
          margin: 0;
     }

     .page-hero .breadcrumb {
          --bs-breadcrumb-divider-color: rgba(255,255,255,.4);
          margin-bottom: 1rem;
          font-size: .85rem;
     }

          .page-hero .breadcrumb a {
               color: var(--sc-cyan);
               text-decoration: none;
          }

     .page-hero .breadcrumb-item.active {
          color: rgba(255,255,255,.6);
     }

/* ---------- CTA band ---------- */
.cta-band {
     position: relative;
     background: var(--sc-grad-cta);
     color: #fff;
     overflow: hidden;
     padding: 4.5rem 0;
}

     .cta-band::before, .cta-band::after {
          content: "";
          position: absolute;
          border-radius: 50%;
          background: rgba(255,255,255,.06);
     }

     .cta-band::before {
          width: 22rem;
          height: 22rem;
          right: -6rem;
          top: -8rem;
     }

     .cta-band::after {
          width: 16rem;
          height: 16rem;
          left: -5rem;
          bottom: -8rem;
     }

     .cta-band > .container {
          position: relative;
          z-index: 1;
     }

     .cta-band .section-eyebrow {
          color: rgba(255,255,255,.85);
     }

.cta-title {
     font-size: clamp(1.8rem, 3.5vw, 2.4rem);
     line-height: 1.15;
}

.cta-band p {
     color: rgba(255,255,255,.85);
     max-width: 34rem;
}

/* ---------- Pricing ---------- */
.price-card {
     text-align: left;
}

     .price-card .price {
          font-family: var(--sc-heading-font);
          font-size: 2.4rem;
          color: var(--sc-navy);
          line-height: 1;
     }

          .price-card .price small {
               font-family: system-ui, sans-serif;
               font-size: .9rem;
               font-weight: 500;
               color: var(--sc-gray);
          }

     .price-card.featured {
          border: 2px solid var(--sc-blue);
          box-shadow: 0 24px 48px rgba(0,120,212,.15);
     }

     .price-card .ribbon {
          display: inline-block;
          font-size: .7rem;
          font-weight: 700;
          letter-spacing: .1em;
          text-transform: uppercase;
          color: #fff;
          background: var(--sc-blue);
          padding: .25rem .7rem;
          border-radius: 2rem;
          margin-bottom: 1rem;
     }

/* ---------- FAQ accordion ---------- */
.accordion-sc .accordion-item {
     border: 1px solid var(--sc-border);
     border-radius: .75rem !important;
     margin-bottom: .9rem;
     overflow: hidden;
}

.accordion-sc .accordion-button {
     font-weight: 600;
     color: var(--sc-navy);
     padding: 1.15rem 1.4rem;
}

     .accordion-sc .accordion-button:not(.collapsed) {
          background: var(--sc-light);
          color: var(--sc-blue);
          box-shadow: none;
     }

     .accordion-sc .accordion-button:focus {
          box-shadow: 0 0 0 .2rem rgba(0,120,212,.2);
     }

.accordion-sc .accordion-body {
     color: var(--sc-gray);
     line-height: 1.75;
}

/* ---------- Forms ---------- */
.form-card {
     background: #fff;
     border: 1px solid var(--sc-border);
     border-radius: 1rem;
     padding: 2.25rem;
     box-shadow: 0 18px 40px rgba(10,22,40,.06);
}

.form-control, .form-select {
     padding: .7rem .9rem;
     border-color: var(--sc-border);
}

     .form-control:focus, .form-select:focus {
          border-color: var(--sc-blue);
          box-shadow: 0 0 0 .2rem rgba(0,120,212,.15);
     }

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

.validation-message {
     color: #dc3545;
     font-size: .85rem;
     margin-top: .25rem;
}

.invalid {
     border-color: #dc3545 !important;
}

/* ---------- Prose (legal pages) ---------- */
.prose {
     max-width: 50rem;
     line-height: 1.8;
     color: var(--sc-dark-text);
}

     .prose h2 {
          font-size: 1.35rem;
          font-weight: 700;
          color: var(--sc-navy);
          margin-top: 2.25rem;
     }

     .prose p, .prose li {
          color: #334155;
     }

/* ---------- Footer ---------- */
.site-footer {
     background: var(--sc-navy);
     color: rgba(255,255,255,.65);
     font-size: .9rem;
}

     .site-footer .footer-top {
          padding: 4.5rem 0 3rem;
     }

     .site-footer h6 {
          color: #fff;
          font-size: .78rem;
          font-weight: 700;
          letter-spacing: .12em;
          text-transform: uppercase;
          padding-bottom: .9rem;
          margin-bottom: 1.1rem;
          border-bottom: 1px solid rgba(255,255,255,.08);
     }

     .site-footer .footer-desc {
          line-height: 1.75;
          max-width: 22rem;
          margin-top: 1rem;
     }

     .site-footer ul {
          list-style: none;
          padding: 0;
          margin: 0;
     }

          .site-footer ul li {
               margin-bottom: .65rem;
          }

     .site-footer a {
          color: rgba(255,255,255,.65);
          text-decoration: none;
     }

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

     .site-footer .footer-links a::before {
          content: "\203A";
          margin-right: .5rem;
          color: var(--sc-cyan);
     }

     .site-footer .footer-contact i {
          color: var(--sc-cyan);
          width: 1.6rem;
          display: inline-block;
     }

     .site-footer .footer-social a {
          display: inline-grid;
          place-items: center;
          width: 2.2rem;
          height: 2.2rem;
          border-radius: .5rem;
          background: rgba(255,255,255,.07);
          margin-right: .4rem;
     }

          .site-footer .footer-social a:hover {
               background: var(--sc-blue);
          }

.created-by {
     margin-top: 1.75rem;
}

     .created-by .label {
          display: block;
          font-size: .8rem;
          margin-bottom: .6rem;
     }

     .created-by a.creator {
          display: inline-flex;
          align-items: center;
          gap: .75rem;
          padding: .6rem .9rem;
          border: 1px solid rgba(255,255,255,.12);
          border-radius: .6rem;
          background: rgba(255,255,255,.04);
          transition: border-color .2s ease, background .2s ease;
     }

          .created-by a.creator:hover {
               border-color: var(--sc-cyan);
               background: rgba(0,180,216,.08);
          }

     .created-by img {
          height: 32px;
          width: auto;
     }

     .created-by .creator-name {
          font-size: .78rem;
          line-height: 1.3;
          color: rgba(255,255,255,.8);
     }

.site-footer .footer-bottom {
     border-top: 1px solid rgba(255,255,255,.08);
     padding: 1.25rem 0;
     font-size: .78rem;
}

     .site-footer .footer-bottom a {
          margin-left: 1.25rem;
     }

/* ---------- Loading screen ---------- */
.sc-loading {
     position: fixed;
     inset: 0;
     display: grid;
     place-items: center;
     background: #fff;
}

     .sc-loading > img {
          position: absolute;
          top: calc(20vh + 2rem);
          left: 50%;
          transform: translateX(-50%);
          width: 4rem;
          height: 4rem;
     }

.loading-progress {
     position: absolute;
     display: block;
     width: 8rem;
     height: 8rem;
     inset: 20vh 0 auto 0;
     margin: 0 auto;
}

     .loading-progress circle {
          fill: none;
          stroke: #e0e0e0;
          stroke-width: 0.6rem;
          transform-origin: 50% 50%;
          transform: rotate(-90deg);
     }

          .loading-progress circle:last-child {
               stroke: var(--sc-blue);
               stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
               transition: stroke-dasharray 0.05s ease-in-out;
          }

.loading-progress-text {
     position: absolute;
     text-align: center;
     font-weight: bold;
     inset: calc(20vh + 9rem) 0 auto 0;
     color: var(--sc-navy);
}

     .loading-progress-text:after {
          content: var(--blazor-load-percentage-text, "Loading");
     }

/* ---------- Blazor error UI ---------- */
#blazor-error-ui {
     color-scheme: light only;
     background: lightyellow;
     bottom: 0;
     box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
     box-sizing: border-box;
     display: none;
     left: 0;
     padding: 0.6rem 1.25rem 0.7rem 1.25rem;
     position: fixed;
     width: 100%;
     z-index: 1000;
}

     #blazor-error-ui .dismiss {
          cursor: pointer;
          position: absolute;
          right: 0.75rem;
          top: 0.5rem;
     }

@media (prefers-reduced-motion: reduce) {
     html {
          scroll-behavior: auto;
     }

     .feature-card, .hero-eyebrow .dot {
          transition: none;
          animation: none;
     }
}
